Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ ================================================================================ Starting Configure Run at Thu Jul 20 17:21:23 2017 Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --with-cc=icc --with-cxx=icpc --with-fc=ifort --with-blas-lapack-dir=/opt/intel/mkl/lib/intel64 --with-mpi=0 Working directory: /home/swong/Downloads/petsc Machine platform: ('Linux', 'localhost.localdomain', '3.10.0-327.28.3.el7.x86_64', '#1 SMP Thu Aug 18 19:05:49 UTC 2016', 'x86_64', 'x86_64') Python version: 2.7.13 |Anaconda custom (64-bit)| (default, Dec 20 2016, 23:09:15) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] ================================================================================ 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(/home/swong/Downloads/petsc/config/BuildSystem/config/framework.py:834) TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:834) ================================================================================ TEST configureDebuggers from config.utilities.debuggers(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/debuggers.py:22) TESTING: configureDebuggers from config.utilities.debuggers(config/BuildSystem/config/utilities/debuggers.py:22) Find a default debugger and determine its arguments Checking for program /home/swong/anaconda2/bin/gdb...not found Checking for program /home/swong/anaconda2/bin/gdb...not found Checking for program /usr/lib64/qt-3.3/bin/gdb...not found Checking for program /home/swong/perl5/bin/gdb...not found Checking for program /usr/local/bin/gdb...not found Checking for program /usr/local/sbin/gdb...not found Checking for program /usr/bin/gdb...found Defined make macro "GDB" to "/usr/bin/gdb" Checking for program /home/swong/anaconda2/bin/dbx...not found Checking for program /home/swong/anaconda2/bin/dbx...not found Checking for program /usr/lib64/qt-3.3/bin/dbx...not found Checking for program /home/swong/perl5/bin/dbx...not found Checking for program /usr/local/bin/dbx...not found Checking for program /usr/local/sbin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /usr/sbin/dbx...not found Checking for program /bin/dbx...not found Checking for program /sbin/dbx...not found Checking for program /opt/intel/bin/dbx...not found Checking for program /opt/intel/impi/5.0.1.035/intel64/bin/dbx...not found Checking for program /usr/local/cuda-8.0/bin/dbx...not found Checking for program /opt/pgi/linux86-64/16.10/bin/dbx...not found Checking for program /home/swong/.local/bin/dbx...not found Checking for program /home/swong/bin/dbx...not found Checking for program /opt/intel/bin/dbx...not found Checking for program /opt/intel/impi/5.0.1.035/intel64/bin/dbx...not found Checking for program /usr/local/cuda-8.0/bin/dbx...not found Checking for program /opt/pgi/linux86-64/16.10/bin/dbx...not found Checking for program /home/swong/dbx...not found Checking for program /home/swong/anaconda2/bin/xdb...not found Checking for program /home/swong/anaconda2/bin/xdb...not found Checking for program /usr/lib64/qt-3.3/bin/xdb...not found Checking for program /home/swong/perl5/bin/xdb...not found Checking for program /usr/local/bin/xdb...not found Checking for program /usr/local/sbin/xdb...not found Checking for program /usr/bin/xdb...not found Checking for program /usr/sbin/xdb...not found Checking for program /bin/xdb...not found Checking for program /sbin/xdb...not found Checking for program /opt/intel/bin/xdb...not found Checking for program /opt/intel/impi/5.0.1.035/intel64/bin/xdb...not found Checking for program /usr/local/cuda-8.0/bin/xdb...not found Checking for program /opt/pgi/linux86-64/16.10/bin/xdb...not found Checking for program /home/swong/.local/bin/xdb...not found Checking for program /home/swong/bin/xdb...not found Checking for program /opt/intel/bin/xdb...not found Checking for program /opt/intel/impi/5.0.1.035/intel64/bin/xdb...not found Checking for program /usr/local/cuda-8.0/bin/xdb...not found Checking for program /opt/pgi/linux86-64/16.10/bin/xdb...not found Checking for program /home/swong/xdb...not found Checking for program /home/swong/anaconda2/bin/dsymutil...not found Checking for program /home/swong/anaconda2/bin/dsymutil...not found Checking for program /usr/lib64/qt-3.3/bin/dsymutil...not found Checking for program /home/swong/perl5/bin/dsymutil...not found Checking for program /usr/local/bin/dsymutil...not found Checking for program /usr/local/sbin/dsymutil...not found Checking for program /usr/bin/dsymutil...not found Checking for program /usr/sbin/dsymutil...not found Checking for program /bin/dsymutil...not found Checking for program /sbin/dsymutil...not found Checking for program /opt/intel/bin/dsymutil...not found Checking for program /opt/intel/impi/5.0.1.035/intel64/bin/dsymutil...not found Checking for program /usr/local/cuda-8.0/bin/dsymutil...not found Checking for program /opt/pgi/linux86-64/16.10/bin/dsymutil...not found Checking for program /home/swong/.local/bin/dsymutil...not found Checking for program /home/swong/bin/dsymutil...not found Checking for program /opt/intel/bin/dsymutil...not found Checking for program /opt/intel/impi/5.0.1.035/intel64/bin/dsymutil...not found Checking for program /usr/local/cuda-8.0/bin/dsymutil...not found Checking for program /opt/pgi/linux86-64/16.10/bin/dsymutil...not found Checking for program /home/swong/dsymutil...not found Defined make macro "DSYMUTIL" to "true" Defined "USE_GDB_DEBUGGER" to "1" ================================================================================ TEST configureGit from config.sourceControl(/home/swong/Downloads/petsc/config/BuildSystem/config/sourceControl.py:24) TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /home/swong/anaconda2/bin/git...not found Checking for program /home/swong/anaconda2/bin/git...not found Checking for program /usr/lib64/qt-3.3/bin/git...not found Checking for program /home/swong/perl5/bin/git...not found Checking for program /usr/local/bin/git...not found Checking for program /usr/local/sbin/git...not found Checking for program /usr/bin/git...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 1.8.3.1 ================================================================================ TEST configureMercurial from config.sourceControl(/home/swong/Downloads/petsc/config/BuildSystem/config/sourceControl.py:35) TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /home/swong/anaconda2/bin/hg...not found Checking for program /home/swong/anaconda2/bin/hg...not found Checking for program /usr/lib64/qt-3.3/bin/hg...not found Checking for program /home/swong/perl5/bin/hg...not found Checking for program /usr/local/bin/hg...not found Checking for program /usr/local/sbin/hg...not found Checking for program /usr/bin/hg...found Defined make macro "HG" to "hg" Executing: hg version -q stdout: Mercurial Distributed SCM (version 2.6.2) ================================================================================ TEST configureCLanguage from PETSc.options.languages(/home/swong/Downloads/petsc/config/PETSc/options/languages.py:27) TESTING: configureCLanguage from PETSc.options.languages(config/PETSc/options/languages.py:27) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" ================================================================================ TEST configureDirectories from PETSc.options.petscdir(/home/swong/Downloads/petsc/config/PETSc/options/petscdir.py:23) TESTING: configureDirectories from PETSc.options.petscdir(config/PETSc/options/petscdir.py:23) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 1 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 7 #define PETSC_VERSION_SUBMINOR 6 #define PETSC_VERSION_PATCH 0 #define PETSC_VERSION_DATE "Apr, 24, 2017" #define PETSC_VERSION_GIT "v3.7.6" #define PETSC_VERSION_DATE_GIT "2017-04-24 08:44:52 -0500" #define PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ Defined make macro "DIR" to "/home/swong/Downloads/petsc" ================================================================================ TEST getDatafilespath from PETSc.options.dataFilesPath(/home/swong/Downloads/petsc/config/PETSc/options/dataFilesPath.py:29) TESTING: getDatafilespath from PETSc.options.dataFilesPath(config/PETSc/options/dataFilesPath.py:29) Checks what DATAFILESPATH should be ================================================================================ TEST configureInstallationMethod from PETSc.options.petscclone(/home/swong/Downloads/petsc/config/PETSc/options/petscclone.py:20) TESTING: configureInstallationMethod from PETSc.options.petscclone(config/PETSc/options/petscclone.py:20) This is a tarball installation ================================================================================ TEST configureArchitecture from PETSc.options.arch(/home/swong/Downloads/petsc/config/PETSc/options/arch.py:36) TESTING: configureArchitecture from PETSc.options.arch(config/PETSc/options/arch.py:36) Checks PETSC_ARCH and sets if not set Defined "ARCH" to ""arch-linux2-c-debug"" ================================================================================ TEST setInstallDir from PETSc.options.installDir(/home/swong/Downloads/petsc/config/PETSc/options/installDir.py:35) TESTING: setInstallDir from PETSc.options.installDir(config/PETSc/options/installDir.py:35) setup installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH ================================================================================ TEST saveReconfigure from PETSc.options.installDir(/home/swong/Downloads/petsc/config/PETSc/options/installDir.py:74) TESTING: saveReconfigure from PETSc.options.installDir(config/PETSc/options/installDir.py:74) ================================================================================ TEST cleanInstallDir from PETSc.options.installDir(/home/swong/Downloads/petsc/config/PETSc/options/installDir.py:67) TESTING: cleanInstallDir from PETSc.options.installDir(config/PETSc/options/installDir.py:67) ================================================================================ TEST configureInstallDir from PETSc.options.installDir(/home/swong/Downloads/petsc/config/PETSc/options/installDir.py:51) TESTING: configureInstallDir from PETSc.options.installDir(config/PETSc/options/installDir.py:51) Makes installDir subdirectories if it does not exist for both prefix install location and PETSc work install location Changed persistence directory to /home/swong/Downloads/petsc/arch-linux2-c-debug/lib/petsc/conf ================================================================================ TEST restoreReconfigure from PETSc.options.installDir(/home/swong/Downloads/petsc/config/PETSc/options/installDir.py:87) TESTING: restoreReconfigure from PETSc.options.installDir(config/PETSc/options/installDir.py:87) ================================================================================ TEST setExternalPackagesDir from PETSc.options.externalpackagesdir(/home/swong/Downloads/petsc/config/PETSc/options/externalpackagesdir.py:15) TESTING: setExternalPackagesDir from PETSc.options.externalpackagesdir(config/PETSc/options/externalpackagesdir.py:15) ================================================================================ TEST cleanExternalpackagesDir from PETSc.options.externalpackagesdir(/home/swong/Downloads/petsc/config/PETSc/options/externalpackagesdir.py:22) TESTING: cleanExternalpackagesDir from PETSc.options.externalpackagesdir(config/PETSc/options/externalpackagesdir.py:22) ================================================================================ TEST printEnvVariables from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1589) TESTING: printEnvVariables from config.setCompilers(config/BuildSystem/config/setCompilers.py:1589) **** printenv **** MKL_LIB_PATH=/opt/intel/composer_xe_2015/mkl/lib PERL_MM_OPT=INSTALL_BASE=/home/swong/perl5 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GJS_DEBUG_OUTPUT=stderr WINDOWPATH=1 LESSOPEN=||/usr/bin/lesspipe.sh %s PERL_LOCAL_LIB_ROOT=:/home/swong/perl5 QT_IM_MODULE=ibus LOGNAME=swong USER=swong PATH=/home/swong/anaconda2/bin:/home/swong/anaconda2/bin:/usr/lib64/qt-3.3/bin:/home/swong/perl5/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/intel/bin:/opt/intel/impi/5.0.1.035/intel64/bin:/usr/local/cuda-8.0/bin:/opt/pgi/linux86-64/16.10/bin:/home/swong/.local/bin:/home/swong/bin:/opt/intel/bin:/opt/intel/impi/5.0.1.035/intel64/bin:/usr/local/cuda-8.0/bin:/opt/pgi/linux86-64/16.10/bin XDG_VTNR=1 QTDIR=/usr/lib64/qt-3.3 LD_LIBRARY_PATH=:/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64/:/usr/local/cuda-8.0/lib64:home/swong/libgpuarray/lib:/usr/local/lib:/home/swong/Downloads/magma-2.2.0/lib:/opt/intel/composerxe/mkl/lib/intel64:/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64/:/usr/local/cuda-8.0/lib64:home/swong/libgpuarray/lib:/usr/local/lib:/home/swong/Downloads/magma-2.2.0/lib:/opt/intel/composerxe/mkl/lib/intel64 SSH_AGENT_PID=4125 LANG=en_US.UTF-8 QTLIB=/usr/lib64/qt-3.3/lib TERM=xterm-256color SHELL=/bin/bash XAUTHORITY=/run/gdm/auth-for-swong-Bh2cLD/database SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/3959,unix/unix:/tmp/.ICE-unix/3959 QTINC=/usr/lib64/qt-3.3/include HISTSIZE=1000 CUDADIR=/usr/local/cuda WINDOWID=48234503 PETSC_DIR=/home/swong/Downloads/petsc MPSS=/home/swong/Downloads/mpss-3.7.2 QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins IMSETTINGS_INTEGRATE_DESKTOP=yes GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1 HOME=/home/swong USERNAME=swong IMSETTINGS_MODULE=none XDG_RUNTIME_DIR=/run/user/1000 KDEDIRS=/usr PYTHONPATH=:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages SSH_AUTH_SOCK=/run/user/1000/keyring/ssh VTE_VERSION=3803 GDMSESSION=gnome-classic XMODIFIERS=@im=ibus GNOME_SHELL_SESSION_MODE=classic MAIL=/var/spool/mail/swong PKG_CONFIG_PATH=/usr/local/lib/pkgconfig QT_GRAPHICSSYSTEM_CHECKED=1 XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME XDG_SESSION_ID=1 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FNx0b0o7cU,guid=6d74f5fe31a51e55bc0a730b5964cbcd _=./configure PERL5LIB=/home/swong/perl5/lib/perl5: DESKTOP_SESSION=gnome-classic DISPLAY=:0 MKLROOT=/opt/intel/composer_xe_2015/mkl OLDPWD=/tmp/petsc-xZA5Hx/config.setCompilers HOSTNAME=localhost.localdomain GDM_LANG=en_US.UTF-8 HISTCONTROL=ignoredups SHLVL=2 PWD=/home/swong/Downloads/petsc PERL_MB_OPT=--install_base /home/swong/perl5 XDG_MENU_PREFIX=gnome- XDG_SESSION_DESKTOP=gnome-classic LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45: GJS_DEBUG_TOPICS=JS ERROR;JS LOG XDG_SEAT=seat0 ================================================================================ TEST resetEnvCompilers from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1596) TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1596) ================================================================================ TEST checkEnvCompilers from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1626) TESTING: checkEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1626) ================================================================================ TEST checkMPICompilerOverride from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1561) TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:1561) Check if --with-mpi-dir is used along with CC CXX or FC compiler options. This usually prevents mpi compilers from being used - so issue a warning ================================================================================ TEST requireMpiLdPath from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1580) TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:1580) OpenMPI wrappers require LD_LIBRARY_PATH set ================================================================================ TEST checkVendor from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:417) TESTING: checkVendor from config.setCompilers(config/BuildSystem/config/setCompilers.py:417) Determine the compiler vendor Compiler vendor is "" ================================================================================ TEST checkInitialFlags from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:427) TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:427) 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(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:553) TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:553) Locate a functional C compiler Checking for program /home/swong/anaconda2/bin/icc...not found Checking for program /home/swong/anaconda2/bin/icc...not found Checking for program /usr/lib64/qt-3.3/bin/icc...not found Checking for program /home/swong/perl5/bin/icc...not found Checking for program /usr/local/bin/icc...not found Checking for program /usr/local/sbin/icc...not found Checking for program /usr/bin/icc...not found Checking for program /usr/sbin/icc...not found Checking for program /bin/icc...not found Checking for program /sbin/icc...not found Checking for program /opt/intel/bin/icc...found Defined make macro "CC" to "icc" Pushing language C All intermediate test results are stored in /tmp/petsc-pA4Uet All intermediate test results are stored in /tmp/petsc-pA4Uet/config.setCompilers Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Testing executable /tmp/petsc-pA4Uet/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Popping language C ================================================================================ TEST checkCPreprocessor from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:586) TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:586) Locate a functional C preprocessor Checking for program /home/swong/anaconda2/bin/icc...not found Checking for program /home/swong/anaconda2/bin/icc...not found Checking for program /usr/lib64/qt-3.3/bin/icc...not found Checking for program /home/swong/perl5/bin/icc...not found Checking for program /usr/local/bin/icc...not found Checking for program /usr/local/sbin/icc...not found Checking for program /usr/bin/icc...not found Checking for program /usr/sbin/icc...not found Checking for program /bin/icc...not found Checking for program /sbin/icc...not found Checking for program /opt/intel/bin/icc...found Defined make macro "CPP" to "icc -E" Pushing language C Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.setCompilers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.setCompilers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.setCompilers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.setCompilers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 25 "/usr/include/stdlib.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 33 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitflags.h" 1 3 # 42 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitstatus.h" 1 3 # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 65 "/usr/include/bits/waitstatus.h" 2 3 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; # 83 "/usr/include/bits/waitstatus.h" 3 } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; # 96 "/usr/include/bits/waitstatus.h" 3 } __wait_stopped; }; # 43 "/usr/include/stdlib.h" 2 3 # 56 "/usr/include/stdlib.h" 3 typedef union { union wait *__uptr; int *__iptr; } __WAIT_STATUS __attribute__ ((__transparent_union__)); # 82 "/usr/include/stdlib.h" 3 # 94 "/usr/include/stdlib.h" 3 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 273 "/usr/include/stdlib.h" 3 extern __inline int __attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) { return (int) strtol (__nptr, (char **) ((void*)0), 10); } extern __inline long int __attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) { return strtol (__nptr, (char **) ((void*)0), 10); } __extension__ extern __inline long long int __attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) { return strtoll (__nptr, (char **) ((void*)0), 10); } extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 315 "/usr/include/stdlib.h" 2 3 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/alloca.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 25 "/usr/include/alloca.h" 2 3 extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); # 492 "/usr/include/stdlib.h" 2 3 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 529 "/usr/include/stdlib.h" 3 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); # 550 "/usr/include/stdlib.h" 3 extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 572 "/usr/include/stdlib.h" 3 extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 632 "/usr/include/stdlib.h" 3 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 655 "/usr/include/stdlib.h" 3 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 709 "/usr/include/stdlib.h" 3 extern int system (const char *__command) ; # 726 "/usr/include/stdlib.h" 3 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; typedef int (*__compar_fn_t) (const void *, const void *); # 750 "/usr/include/stdlib.h" 3 extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)) ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; # 931 "/usr/include/stdlib.h" 3 # 942 "/usr/include/stdlib.h" 3 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/stdlib-float.h" 1 3 extern __inline double __attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) { return strtod (__nptr, (char **) ((void*)0)); } # 952 "/usr/include/stdlib.h" 2 3 # 960 "/usr/include/stdlib.h" 3 # 4 "/tmp/petsc-pA4Uet/config.setCompilers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Popping language C ================================================================================ TEST checkCUDACompiler from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:627) TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:627) Locate a functional CUDA compiler ================================================================================ TEST checkCUDAPreprocessor from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:667) TESTING: checkCUDAPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:667) Locate a functional CUDA preprocessor ================================================================================ TEST checkCxxCompiler from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:779) TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:779) Locate a functional Cxx compiler Checking for program /home/swong/anaconda2/bin/icpc...not found Checking for program /home/swong/anaconda2/bin/icpc...not found Checking for program /usr/lib64/qt-3.3/bin/icpc...not found Checking for program /home/swong/perl5/bin/icpc...not found Checking for program /usr/local/bin/icpc...not found Checking for program /usr/local/sbin/icpc...not found Checking for program /usr/bin/icpc...not found Checking for program /usr/sbin/icpc...not found Checking for program /bin/icpc...not found Checking for program /sbin/icpc...not found Checking for program /opt/intel/bin/icpc...found Defined make macro "CXX" to "icpc" Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language CXX Popping language CXX Executing: icpc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: icpc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: icpc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Testing executable /tmp/petsc-pA4Uet/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Popping language Cxx ================================================================================ TEST checkCxxPreprocessor from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:817) TESTING: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:817) Locate a functional Cxx preprocessor Checking for program /home/swong/anaconda2/bin/icpc...not found Checking for program /home/swong/anaconda2/bin/icpc...not found Checking for program /usr/lib64/qt-3.3/bin/icpc...not found Checking for program /home/swong/perl5/bin/icpc...not found Checking for program /usr/local/bin/icpc...not found Checking for program /usr/local/sbin/icpc...not found Checking for program /usr/bin/icpc...not found Checking for program /usr/sbin/icpc...not found Checking for program /bin/icpc...not found Checking for program /sbin/icpc...not found Checking for program /opt/intel/bin/icpc...found Defined make macro "CXXCPP" to "icpc -E" Pushing language Cxx Executing: icpc -E -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc stdout: # 1 "/tmp/petsc-pA4Uet/config.setCompilers/conftest.cc" # 1 "/tmp/petsc-pA4Uet/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.setCompilers/conftest.cc" 2 # 1 "/tmp/petsc-pA4Uet/config.setCompilers/conffix.h" 1 extern "C" { } # 3 "/tmp/petsc-pA4Uet/config.setCompilers/conftest.cc" 2 # 1 "/usr/include/c++/4.8.5/cstdlib" 1 3 # 40 "/usr/include/c++/4.8.5/cstdlib" 3 # 1 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 4 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 2 3 # 1672 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 # 1744 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 # 1776 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 # 1789 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 # 1801 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 namespace std { typedef unsigned long size_t; typedef long ptrdiff_t; } # 1910 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 # 1958 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 # 1978 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 # 1986 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 # 2029 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 # 2055 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 # 2083 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 3 # 1 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/os_defines.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 40 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/os_defines.h" 2 3 # 2098 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 2 3 # 1 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/cpu_defines.h" 1 3 # 2101 "/usr/include/c++/4.8.5/x86_64-redhat-linux/bits/c++config.h" 2 3 # 42 "/usr/include/c++/4.8.5/cstdlib" 2 3 # 71 "/usr/include/c++/4.8.5/cstdlib" 3 # 1 "/usr/include/stdlib.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 33 "/usr/include/stdlib.h" 2 3 extern "C" { # 1 "/usr/include/bits/waitflags.h" 1 3 # 42 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitstatus.h" 1 3 # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 65 "/usr/include/bits/waitstatus.h" 2 3 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; # 83 "/usr/include/bits/waitstatus.h" 3 } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; # 96 "/usr/include/bits/waitstatus.h" 3 } __wait_stopped; }; # 43 "/usr/include/stdlib.h" 2 3 # 56 "/usr/include/stdlib.h" 3 # 74 "/usr/include/stdlib.h" 3 # 82 "/usr/include/stdlib.h" 3 # 94 "/usr/include/stdlib.h" 3 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; extern size_t __ctype_get_mb_cur_max (void) throw () ; extern double atof (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/xlocale.h" 1 3 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 236 "/usr/include/stdlib.h" 2 3 extern long int strtol_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern unsigned long int strtoul_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern long long int strtoll_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern unsigned long long int strtoull_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern double strtod_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern float strtof_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern long double strtold_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__leaf__)) atoi (const char *__nptr) throw () { return (int) strtol (__nptr, (char **) __null, 10); } extern __inline __attribute__ ((__gnu_inline__)) long int __attribute__ ((__leaf__)) atol (const char *__nptr) throw () { return strtol (__nptr, (char **) __null, 10); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int __attribute__ ((__leaf__)) atoll (const char *__nptr) throw () { return strtoll (__nptr, (char **) __null, 10); } extern char *l64a (long int __n) throw () ; extern long int a64l (const char *__s) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 extern "C" { typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 55 "/usr/include/sys/types.h" 3 typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 93 "/usr/include/sys/types.h" 3 typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef long int __fd_mask; typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern "C" { extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); } # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 extern "C" { __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__leaf__)) gnu_dev_major (unsigned long long int __dev) throw () { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__leaf__)) gnu_dev_minor (unsigned long long int __dev) throw () { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned long long int __attribute__ ((__leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 } # 315 "/usr/include/stdlib.h" 2 3 extern long int random (void) throw (); extern void srandom (unsigned int __seed) throw (); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw () __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) throw (); extern void srand (unsigned int __seed) throw (); extern int rand_r (unsigned int *__seed) throw (); extern double drand48 (void) throw (); extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) throw (); extern long int nrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) throw (); extern long int jrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) throw (); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw () __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) throw (); extern void cfree (void *__ptr) throw (); # 1 "/usr/include/alloca.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 25 "/usr/include/alloca.h" 2 3 extern "C" { extern void *alloca (size_t __size) throw (); } # 492 "/usr/include/stdlib.h" 2 3 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) throw () __attribute__ ((__nonnull__ (1))) ; extern void *aligned_alloc (size_t __alignment, size_t __size) throw () __attribute__ ((__malloc__, __alloc_size__ (2))); extern void abort (void) throw () __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); extern "C++" int at_quick_exit (void (*__func) (void)) throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) throw () __attribute__ ((__nonnull__ (1))); extern void exit (int __status) throw () __attribute__ ((__noreturn__)); extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__)); extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern char *secure_getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) throw () __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))); extern int clearenv (void) throw (); extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))); extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 629 "/usr/include/stdlib.h" 3 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 651 "/usr/include/stdlib.h" 3 extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 683 "/usr/include/stdlib.h" 3 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; extern int mkostemps (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 705 "/usr/include/stdlib.h" 3 extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; extern int system (const char *__command) ; extern char *canonicalize_file_name (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern char *realpath (const char *__restrict __name, char *__restrict __resolved) throw () ; typedef int (*__compar_fn_t) (const void *, const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (const void *, const void *, void *); extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) throw () __attribute__ ((__const__)) ; extern long int labs (long int __x) throw () __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) throw () __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) throw () __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) throw () __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) throw () __attribute__ ((__const__)) ; extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) throw () ; extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) throw () ; extern int wctomb (char *__s, wchar_t __wchar) throw () ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) throw (); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) throw (); extern int rpmatch (const char *__response) throw () __attribute__ ((__nonnull__ (1))) ; extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (const char *__key) throw () __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) throw (); extern int unlockpt (int __fd) throw (); extern char *ptsname (int __fd) throw () ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) throw () __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/stdlib-float.h" 1 3 extern __inline __attribute__ ((__gnu_inline__)) double __attribute__ ((__leaf__)) atof (const char *__nptr) throw () { return strtod (__nptr, (char **) __null); } # 952 "/usr/include/stdlib.h" 2 3 # 960 "/usr/include/stdlib.h" 3 } # 73 "/usr/include/c++/4.8.5/cstdlib" 2 3 # 113 "/usr/include/c++/4.8.5/cstdlib" 3 namespace std __attribute__ ((__visibility__ ("default"))) { using ::div_t; using ::ldiv_t; using ::abort; using ::abs; using ::atexit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::calloc; using ::div; using ::exit; using ::free; using ::getenv; using ::labs; using ::ldiv; using ::malloc; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::qsort; using ::rand; using ::realloc; using ::srand; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; inline long abs(long __i) { return __builtin_labs(__i); } inline ldiv_t div(long __i, long __j) { return ldiv(__i, __j); } inline long long abs(long long __x) { return __builtin_llabs (__x); } inline __int128 abs(__int128 __x) { return __x >= 0 ? __x : -__x; } } # 195 "/usr/include/c++/4.8.5/cstdlib" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { using ::lldiv_t; using ::_Exit; using ::llabs; inline lldiv_t div(long long __n, long long __d) { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } using ::lldiv; # 228 "/usr/include/c++/4.8.5/cstdlib" 3 using ::atoll; using ::strtoll; using ::strtoull; using ::strtof; using ::strtold; } namespace std { using ::__gnu_cxx::lldiv_t; using ::__gnu_cxx::_Exit; using ::__gnu_cxx::llabs; using ::__gnu_cxx::div; using ::__gnu_cxx::lldiv; using ::__gnu_cxx::atoll; using ::__gnu_cxx::strtof; using ::__gnu_cxx::strtoll; using ::__gnu_cxx::strtoull; using ::__gnu_cxx::strtold; } # 4 "/tmp/petsc-pA4Uet/config.setCompilers/conftest.cc" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Popping language Cxx ================================================================================ TEST checkFortranCompiler from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:934) TESTING: checkFortranCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:934) Locate a functional Fortran compiler Executing: uname -s stdout: Linux Checking for program /home/swong/anaconda2/bin/ifort...not found Checking for program /home/swong/anaconda2/bin/ifort...not found Checking for program /usr/lib64/qt-3.3/bin/ifort...not found Checking for program /home/swong/perl5/bin/ifort...not found Checking for program /usr/local/bin/ifort...not found Checking for program /usr/local/sbin/ifort...not found Checking for program /usr/bin/ifort...not found Checking for program /usr/sbin/ifort...not found Checking for program /bin/ifort...not found Checking for program /sbin/ifort...not found Checking for program /opt/intel/bin/ifort...found Defined make macro "FC" to "ifort" Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.setCompilers/conftest /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.setCompilers/conftest /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.setCompilers/conftest /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Testing executable /tmp/petsc-pA4Uet/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkFortranComments from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:955) TESTING: checkFortranComments from config.setCompilers(config/BuildSystem/config/setCompilers.py:955) Make sure fortran comment "!" works Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: ! comment program main end Fortran comments can use ! in column 1 Popping language FC ================================================================================ TEST checkLargeFileIO from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1072) TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:1072) ================================================================================ TEST checkArchiver from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1171) TESTING: checkArchiver from config.setCompilers(config/BuildSystem/config/setCompilers.py:1171) Check that the archiver exists and can make a library usable by the compiler Pushing language C Executing: ar -V stdout: GNU ar version 2.23.52.0.1-55.el7 20130226 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar version 2.23.52.0.1-55.el7 20130226 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /home/swong/anaconda2/bin/ar...not found Checking for program /home/swong/anaconda2/bin/ar...not found Checking for program /usr/lib64/qt-3.3/bin/ar...not found Checking for program /home/swong/perl5/bin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/local/sbin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /home/swong/anaconda2/bin/ranlib...not found Checking for program /home/swong/anaconda2/bin/ranlib...not found Checking for program /usr/lib64/qt-3.3/bin/ranlib...not found Checking for program /home/swong/perl5/bin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/local/sbin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib -c" Executing: /usr/bin/ar cr /tmp/petsc-pA4Uet/config.setCompilers/libconf1.a /tmp/petsc-pA4Uet/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /tmp/petsc-pA4Uet/config.setCompilers/libconf1.a Possible ERROR while running ranlib: stderr: /usr/bin/ranlib: invalid option -- 'c' Ranlib is not functional with your archiver. Try --with-ranlib=true if ranlib is unnecessary. Executing: ar -V stdout: GNU ar version 2.23.52.0.1-55.el7 20130226 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar version 2.23.52.0.1-55.el7 20130226 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /home/swong/anaconda2/bin/ar...not found Checking for program /home/swong/anaconda2/bin/ar...not found Checking for program /usr/lib64/qt-3.3/bin/ar...not found Checking for program /home/swong/perl5/bin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/local/sbin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /home/swong/anaconda2/bin/ranlib...not found Checking for program /home/swong/anaconda2/bin/ranlib...not found Checking for program /usr/lib64/qt-3.3/bin/ranlib...not found Checking for program /home/swong/perl5/bin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/local/sbin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib" Executing: /usr/bin/ar cr /tmp/petsc-pA4Uet/config.setCompilers/libconf1.a /tmp/petsc-pA4Uet/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /tmp/petsc-pA4Uet/config.setCompilers/libconf1.a Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); if (b); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -L/tmp/petsc-pA4Uet/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" Popping language C ================================================================================ TEST checkSharedLinker from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1280) TESTING: checkSharedLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1280) Check that the linker can produce shared libraries Executing: uname -s stdout: Linux Checking shared linker icc using flags ['-shared'] Checking for program /home/swong/anaconda2/bin/icc...not found Checking for program /home/swong/anaconda2/bin/icc...not found Checking for program /usr/lib64/qt-3.3/bin/icc...not found Checking for program /home/swong/perl5/bin/icc...not found Checking for program /usr/local/bin/icc...not found Checking for program /usr/local/sbin/icc...not found Checking for program /usr/bin/icc...not found Checking for program /usr/sbin/icc...not found Checking for program /bin/icc...not found Checking for program /sbin/icc...not found Checking for program /opt/intel/bin/icc...found Defined make macro "LD_SHARED" to "icc" Trying C compiler flag Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -shared /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: ld: /tmp/petsc-pA4Uet/config.setCompilers/conftest.o: relocation R_X86_64_PC32 against undefined symbol `__intel_new_feature_proc_init' can not be used when making a shared object; recompile with -fPIC ld: final link failed: Bad value Rejecting linker flag -shared due to nonzero status from link Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/libconftest.so /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' Rejected C compiler flag because it was not compatible with shared linker icc using flags ['-shared'] Executing: icc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Trying C compiler flag -PIC Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -PIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line warning #10006: ignoring unknown option '-PIC' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -PIC due to icc: command line warning #10006: ignoring unknown option '-PIC' Rejected C compiler flag -PIC because it was not compatible with shared linker icc using flags ['-shared'] Trying C compiler flag -fPIC Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -fPIC Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -shared -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Valid C linker flag -shared Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main() { int ret = foo(); if(ret);; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -L/tmp/petsc-pA4Uet/config.setCompilers -lconftest Using shared linker icc with flags ['-shared'] and library extension so Executing: uname -s stdout: Linux ================================================================================ TEST checkPIC from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1031) TESTING: checkPIC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1031) Determine the PIC option for each compiler Pushing language C Trying C compiler flag Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void foo(void){fprintf(stdout,"hello"); return;} void bar(void){foo();} Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Accepted C compiler flag Popping language C Pushing language Cxx Trying Cxx compiler flag Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void foo(void){fprintf(stdout,"hello"); return;} void bar(void){foo();} Pushing language C Pushing language C Popping language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: ld: /tmp/petsc-pA4Uet/config.setCompilers/conftest.o: relocation R_X86_64_32 against `.rodata.str1.4' can not be used when making a shared object; recompile with -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o: could not read symbols: Bad value Rejected Cxx compiler flag because shared linker cannot handle it Executing: icpc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Trying Cxx compiler flag -PIC Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -PIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Possible ERROR while running compiler: stderr: icpc: command line warning #10006: ignoring unknown option '-PIC' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -PIC due to icpc: command line warning #10006: ignoring unknown option '-PIC' Rejected Cxx compiler flag -PIC because shared linker cannot handle it Trying Cxx compiler flag -fPIC Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -fPIC Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void foo(void){fprintf(stdout,"hello"); return;} void bar(void){foo();} Pushing language C Pushing language C Popping language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Accepted Cxx compiler flag -fPIC Popping language Cxx Pushing language FC Trying FC compiler flag Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: function foo(a) real:: a,x,bar common /xx/ x x=a foo = bar(x) end Pushing language C Pushing language C Popping language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: ld: /tmp/petsc-pA4Uet/config.setCompilers/conftest.o: relocation R_X86_64_32 against `xx_' can not be used when making a shared object; recompile with -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o: could not read symbols: Bad value Rejected FC compiler flag because shared linker cannot handle it Executing: ifort --help stdout: Intel(R) Fortran Compiler Help ============================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: ifort [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a Fortran source (.f .for .ftn .f90 .fpp .F .FOR .F90 .i .i90), assembly (.s .S), object (.o), static library (.a), or other linkable file Commonly used options may be placed in the ifort .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -arch generate specialized code to optimize for processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions SSE3 May generate Intel(R) SSE3, SSE2 and SSE instructions SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2 and SSE instructions SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions AVX May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -f[no-]exceptions enable(DEFAULT)/disable exception handling -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no]pad enable/disable(DEFAULT) changing variable and array memory layout -safe-cray-ptr Cray pointers do not alias with other variables -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -reentrancy specify whether the threaded, reentrant run-time support should be used Keywords: none (same as -noreentrancy), threaded, async -noreentrancy do not use threaded, reentrant run-time support -heap-arrays [n] temporary arrays of minimum size n (in kilobytes) are allocated in heap memory rather than on the stack. If n is not specified, all temporary arrays are allocated in heap memory. -no-heap-arrays temporary arrays are allocated on the stack (DEFAULT) -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -coarray[=] enable/disable(DEFAULT) coarray syntax for data parallel programming, and set the relationship between the coarray images. keywords: shared - default if keyword is omitted single - overrides any other keyword distributed - only valid with the Intel(R) Cluster Toolkit coprocessor - Intel(R) 64 Linux only -coarray-num-images=n set default number of coarray images -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using SIMD directive -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for TARGET directives. This option only applies to Intel(R) MIC Architecture. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -rounding-mode chopped set internal FPU rounding control to truncate -[no-]ftz enable/disable flush denormal results to zero -fpe{0|1|3} specifies program-wide behavior on floating point exceptions -fpe-all={0|1|3} specifies floating point exception behavior on all functions and subroutines. Also sets -assume ieee_fpe_flags -[no]fltconsistency specify that improved floating-point consistency should be used -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -[no]recursive compile all procedures for possible recursive execution -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with ATTRIBUTES INLINE or FORCEINLINE n=2 inline any function, at the compiler's discretion -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -list[=] specify that a listing file should be generated -list-line-len=# overrides the default line length (80) in a listing file -list-page-len=# overrides the default page length (66) in a listing file -show controls the contents of the listing file keywords: all, none, [no]include, [no]map, [no]options -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -debug-parameters [keyword] Control output of debug information for PARAMETERS. Valid [keyword] values: none - Disables generation of debug information for PARAMETERs. used - Generates debug information for referenced PARAMETERs only. all - Generates debug information for all PARAMETERs. -nodebug-parameters Same as "-debug-parameters none". -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -[no]d-lines compile debug statements (indicated by D in column 1) -DD compile debug statements, indicated by D in column 1. This option prevents the definition of a macro named D using the command line -Dname option (use -Dname=n syntax instead) -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -D[=] define macro -nodefines, -noD specifies that any -D macros go to the preprocessor only, and not to the compiler -U remove predefined macro -allow nofpp-comments If a Fortran end-of-line comment is seen within a #define, treat it as part of the definition. Default is allow:fpp-comments -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -preprocess-only same as -P -[no]keep keep/remove preprocessed file generated by preprocessor as input to compiler stage. Not affected by -save-temps. Default is -nokeep -[no]fpp run Fortran preprocessor on source files prior to compilation -module path specify path where mod files should be placed and first location to look for mod files -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -B find libraries, headers and executables in -gen-dep[=filename] generate dependency information. If no filename is specified, output is to stdout. Similar to -MD or -MMD If a filename is specified, output is to filename. Similar to -MF filename -no-gen-dep do not generate dependency information (default) -gen-depformat=keyword generate dependency information in the specified format. One of: make, nmake Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -[no]altparam specify if alternate form of parameter constant declarations (without parenthesis) is recognized. Default is to recognize -assume specify assumptions made by the optimizer and code generator keywords: none, [no]byterecl, [no]buffered_io, [no]buffered_stdout, [no]bscc (nobscc same as -nbs), [no]cc_omp, [no]minus0, [no]dummy_aliases (same as -common-args), [no]ieee_fpe_flags, [no]fpe_summary, [no]old_boz, [no]old_complex_align, [no]old_logical_ldio, [no]old_ldout_format, [no]old_maxminloc, [no]old_unit_star, [no]old_xor, [no]protect_constants, [no]protect_parens, [no]realloc_lhs, [no]2underscore, [no]underscore (same as -us), [no]std_intent_in, [no]std_minus0_rounding, [no]std_mod_proc_name, [no]std_value, [no]source_include, [no]split_common, [no]writeable_strings -ccdefault specify default carriage control for units 6 and * keywords: default, fortran, list or none -[no]check check run-time conditions. Default is -nocheck keywords: all (same as -C), none (same as -nocheck), [no]arg_temp_created, [no]bounds (same as -CB), [no]format, [no]output_conversion, [no]pointer (same as -CA), [no]assume, [no]uninit (same as -CU), [no]stack -common-args assume "by reference" subprogram arguments may alias one another. Same as -assume dummy_aliases -e03 issue errors for language elements that are not standard in Fortran 2003 (same as -stand f03 -warn stderrors options) -e95 issue errors for language elements that are not standard in Fortran 95 (same as -stand f95 -warn stderrors options) -e90 issue errors for language elements that are not standard in Fortran 90 (same as -stand f90 -warn stderrors options) -[no]extend-source [] specify rightmost column for fixed form sources keywords: 72 (same as -noextend-source and -72), 80 (same as -80), 132 (same as -132. Default if you specify -extend-source without a keyword.) -fixed specify source files are in fixed format. Same as -FI -nofixed indicates free format -free specify source files are in free format. Same as -FR -nofree indicates fixed format -[no]mixed-str-len-arg indicate whether hidden lengths are passed after their character argument or after all arguments. -names specify how source code identifiers and external names are interpreted. keywords: as_is, lowercase, uppercase -[no]pad-source make compiler acknowledge blanks at the end of a line -stand [] specifies level of conformance with ANSI standard to check for. If keyword is not specified, level of conformance is f03 keywords: f90 (same as -std90), f95(same as -std95), f03(same as -std95), none (same as -nostand) -standard-semantics explicitly sets assume keywords to conform to the semantics of the Fortran standard. May result in performance loss. assume keywords set by -standard-semantics: byterecl, fpe_summary, minus0, noold_ldout_format, noold_maxminloc, noold_unit_star, noold_xor, protect_parens, realloc_lhs, std_intent_in, std_minus0_rounding, std_mod_proc_name, std_value also sets -fpscomp logicals If -fp-model=strict or -fp-model=except is set then this also sets assume keyword ieee_fpe_flags -syntax-only perform syntax and semantic checking only (no object file produced) -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) -[no-]wrap-margin controls right margin wrapping in list-directed output. By default, list-directed output is wrapped at 80 characters. Compiler Diagnostics -------------------- -w disable all warnings -W disable warnings (n = 0) or show warnings (n = 1 DEFAULT, same as -warn general) -warn specifies the level of warning messages issued keywords: all, none (same as -nowarn) [no]alignments, [no]declarations, [no]errors, [no]general, [no]ignore_loc, [no]interfaces, [no]stderrors, [no]truncated_source, [no]uncalled, [no]unused, [no]usage -nowarn suppress all warning messages -WB turn a compile-time bounds check into a warning -Winline enable inline diagnostics -[no]traceback specify whether the compiler generates PC correlation data used to display a symbolic traceback rather than a hexadecimal traceback at runtime failure -[no]gen-interfaces[:[no]source] generate interface blocks for all routines in the file. Can be checked using -warn interfaces nosource indicates temporary source files should not be saved -error-limit specify the maximum number of error-level or fatal-level compiler errors allowed -noerror-limit set no maximum number on error-level or fatal-level error messages -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted Miscellaneous ------------- -[no]logo display compiler version information. -nologo disables the output -V display compiler version information -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -what display detailed compiler version information -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -Tf compile file as Fortran source -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -i{2|4|8} set default KIND of integer and logical variables to 2, 4, or 8 -integer-size specifies the default size of integer and logical variables size: 16, 32, 64 -r{8|16} set default size of real to 8 or 16 bytes -real-size specify the size of REAL and COMPLEX declarations, constants, functions, and intrinsics size: 32, 64, 128 -autodouble same as -real-size 64 or -r8 -double-size defines the size of DOUBLE PRECISION and DOUBLE COMPLEX declarations, constants, functions, and intrinsics size: 64, 128 -[no]fpconstant extends the precision of single precision constants assigned to double precision variables to double precision -[no]intconstant use Fortran 77 semantics, rather than Fortran 90/95, to determine kind of integer constants -auto make all local variables AUTOMATIC -auto-scalar make scalar local variables AUTOMATIC (DEFAULT) -save save all variables (static allocation) (same as -noauto, opposite of -auto) -[no]zero enable/disable(DEFAULT) implicit initialization to zero of local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized -init= enable/disable(DEFAULT) implicit initialization of local variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized The specifies the initial value keywords: zero (same as -zero), snan (valid only for floating point variables), arrays -dyncom make given common blocks dynamically-allocated -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -[no]align analyze and reorder memory layout for variables and arrays -align specify how data items are aligned keywords: all (same as -align), none (same as -noalign), [no]commons, [no]dcommons, [no]qcommons, [no]zcommons, rec1byte, rec2byte, rec4byte, rec8byte, rec16byte, rec32byte, array8byte, array16byte, array32byte, array64byte, array128byte, array256byte, [no]records, [no]sequence -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -convert specify the format of unformatted files containing numeric data keywords: big_endian, cray, ibm, little_endian, native, vaxd, vaxg -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden Compatibility ------------- -fpscomp specify the level of compatibility to adhere to with Fortran PowerStation keywords: all, none (same as -nofpscomp), [no]filesfromcmd, [no]general, [no]ioformat, [no]ldio_spacing, [no]libs, [no]logicals -nofpscomp no specific level of compatibility with Fortran PowerStation -f66, -66 allow extensions that enhance FORTRAN-66 compatibility -f77rtl specify that the Fortran 77 specific run-time support should be used -nof77rtl disables -vms enable VMS I/O statement extensions -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -cxxlib link using C++ run-time libraries -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -nofor-main do not link against Fortran main object. Used when linking Fortran objects with C main program -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -threads specify that multi-threaded libraries should be linked against -nothreads disables multi-threaded libraries -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -fwritable-strings use -assume writeable-strings -1, -66, -onetrip use -f66 -pthread use -reentrancy threaded -arch pn* use -arch -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Trying FC compiler flag -PIC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -PIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Possible ERROR while running compiler: stderr: ifort: command line warning #10006: ignoring unknown option '-PIC' Source: program main end Rejecting compiler flag -PIC due to ifort: command line warning #10006: ignoring unknown option '-PIC' Rejected FC compiler flag -PIC because shared linker cannot handle it Trying FC compiler flag -fPIC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -fPIC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: function foo(a) real:: a,x,bar common /xx/ x x=a foo = bar(x) end Pushing language C Pushing language C Popping language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Accepted FC compiler flag -fPIC Popping language FC ================================================================================ TEST checkSharedLinkerPaths from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1369) TESTING: checkSharedLinkerPaths from config.setCompilers(config/BuildSystem/config/setCompilers.py:1369) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Pushing language C Executing: uname -s stdout: Linux Executing: icc -V Trying C linker flag -Wl,-rpath, Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -Wl,-rpath,/home/swong/Downloads/petsc -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/home/swong/Downloads/petsc Popping language C Pushing language Cxx Executing: uname -s stdout: Linux Executing: icc -V Trying Cxx linker flag -Wl,-rpath, Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: icpc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -Wl,-rpath,/home/swong/Downloads/petsc /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/home/swong/Downloads/petsc Popping language Cxx Pushing language FC Executing: uname -s stdout: Linux Executing: icc -V Trying FC linker flag -Wl,-rpath, Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -Wl,-rpath,/home/swong/Downloads/petsc -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Valid FC linker flag -Wl,-rpath,/home/swong/Downloads/petsc Popping language FC ================================================================================ TEST checkLibC from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1404) TESTING: checkLibC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1404) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {void *chunk = malloc(31); free(chunk); return 0;} Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o Shared linking does not require an explicit libc reference ================================================================================ TEST checkDynamicLinker from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1453) TESTING: checkDynamicLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1453) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h All intermediate test results are stored in /tmp/petsc-pA4Uet/config.headers Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 24 "/usr/include/dlfcn.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 26 "/usr/include/dlfcn.h" 2 3 # 1 "/usr/include/bits/dlfcn.h" 1 3 # 29 "/usr/include/dlfcn.h" 2 3 # 51 "/usr/include/dlfcn.h" 3 extern void *dlopen (const char *__file, int __mode) __attribute__ ((__nothrow__ , __leaf__)); extern int dlclose (void *__handle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void *dlsym (void *__restrict __handle, const char *__restrict __name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 79 "/usr/include/dlfcn.h" 3 extern char *dlerror (void) __attribute__ ((__nothrow__ , __leaf__)); # 187 "/usr/include/dlfcn.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] Pushing language C All intermediate test results are stored in /tmp/petsc-pA4Uet/config.libraries Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } int main() { _check_dlopen(); _check_dlsym(); _check_dlclose();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl Defined "HAVE_LIBDL" to "1" Popping language C Adding ['dl'] to LIBS Executing: uname -s stdout: Linux Checking dynamic linker icc using flags ['-shared'] Checking for program /home/swong/anaconda2/bin/icc...not found Checking for program /home/swong/anaconda2/bin/icc...not found Checking for program /usr/lib64/qt-3.3/bin/icc...not found Checking for program /home/swong/perl5/bin/icc...not found Checking for program /usr/local/bin/icc...not found Checking for program /usr/local/sbin/icc...not found Checking for program /usr/bin/icc...not found Checking for program /usr/sbin/icc...not found Checking for program /bin/icc...not found Checking for program /sbin/icc...not found Checking for program /opt/intel/bin/icc...found Defined make macro "DYNAMICLINKER" to "icc" Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -shared -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -ldl Valid C linker flag -shared Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -ldl Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *handle = dlopen("/tmp/petsc-pA4Uet/config.setCompilers/libconftest.so", 0); int (*foo)(void) = (int (*)(void)) dlsym(handle, "foo"); if (!foo) { printf("Could not load symbol\n"); return -1; } if ((*foo)()) { printf("Invalid return from foo()\n"); return -1; } if (dlclose(handle)) { printf("Could not close library\n"); return -1; } ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -ldl Using dynamic linker icc with flags ['-shared'] and library extension so ================================================================================ TEST output from config.setCompilers(/home/swong/Downloads/petsc/config/BuildSystem/config/setCompilers.py:1505) TESTING: output from config.setCompilers(config/BuildSystem/config/setCompilers.py:1505) Output module data as defines and substitutions Substituting "CC" with "icc" Substituting "CFLAGS" with " -fPIC " Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "icc -E" Substituting "CPPFLAGS" with "" Substituting "CXX" with "icpc" Substituting "CXX_CXXFLAGS" with " -fPIC" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXCPP" with "icpc -E" Substituting "CXXCPPFLAGS" with "" Substituting "FC" with "ifort" Substituting "FFLAGS" with " -fPIC" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "-shared" ================================================================================ TEST configureIndexSize from PETSc.options.indexTypes(/home/swong/Downloads/petsc/config/PETSc/options/indexTypes.py:31) TESTING: configureIndexSize from PETSc.options.indexTypes(config/PETSc/options/indexTypes.py:31) Defined make macro "PETSC_INDEX_SIZE" to "32" ================================================================================ TEST checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(/home/swong/Downloads/petsc/config/PETSc/options/sharedLibraries.py:37) TESTING: checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:37) ================================================================================ TEST configureSharedLibraries from PETSc.options.sharedLibraries(/home/swong/Downloads/petsc/config/PETSc/options/sharedLibraries.py:53) TESTING: configureSharedLibraries from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:53) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Defined make rule "shared_arch" with dependencies "shared_linux" and code [] Defined make macro "SONAME_FUNCTION" to "$(1).so.$(2)" Defined make macro "SL_LINKER_FUNCTION" to "-shared -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2))" Defined make macro "BUILDSHAREDLIB" to "yes" Defined "HAVE_SHARED_LIBRARIES" to "1" Defined "USE_SHARED_LIBRARIES" to "1" ================================================================================ TEST configureDynamicLibraries from PETSc.options.sharedLibraries(/home/swong/Downloads/petsc/config/PETSc/options/sharedLibraries.py:96) TESTING: configureDynamicLibraries from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:96) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ================================================================================ TEST configureSerializedFunctions from PETSc.options.sharedLibraries(/home/swong/Downloads/petsc/config/PETSc/options/sharedLibraries.py:102) TESTING: configureSerializedFunctions from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:102) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ================================================================================ TEST configureCompilerFlags from config.compilerFlags(/home/swong/Downloads/petsc/config/BuildSystem/config/compilerFlags.py:72) TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:72) Get the default compiler flags Trying C compiler flag -wd1572 Trying C compiler flag -g Trying Cxx compiler flag -wd1572 Trying Cxx compiler flag -g Trying FC compiler flag -g Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -wd1572 /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -wd1572 Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -g Popping language C Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -wd1572 -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -wd1572 Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -g Popping language Cxx Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -g Popping language FC Executing: icc --version stdout: icc (ICC) 15.0.0 20140723 Copyright (C) 1985-2014 Intel Corporation. All rights reserved. getCompilerVersion: icc icc (ICC) 15.0.0 20140723 Executing: icc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: icc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: icc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: icc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: icc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: icpc --version stdout: icpc (ICC) 15.0.0 20140723 Copyright (C) 1985-2014 Intel Corporation. All rights reserved. getCompilerVersion: icpc icpc (ICC) 15.0.0 20140723 Executing: icpc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: icpc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: icpc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: icpc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: icpc --help stdout: Intel(R) C++ Compiler Help ========================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: icc [options] file1 [file2 ...] icpc [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a C/C++ source (.C .c .cc .cpp .cxx .c++ .i .ii), assembly (.s .S), object (.o), static library (.a), or other linkable file The icpc command uses the same compiler options as the icc command. Invoking the compiler using icpc compiles .c and .i files as C++. Invoking the compiler using icc compiles .c and .i files as C. Using icpc always links in C++ libraries. Using icc only links in C++ libraries if C++ source is provided on the command line. Commonly used options may be placed in the icc .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -f[no-]builtin disable inline expansion of intrinsic functions -fno-builtin- disable the intrinsic -ffunction-sections separate functions for the linker (COMDAT) -fdata-sections place each data item into its own section -f[no-]defer-pop disable optimizations which may result in deferred clearance of the stack arguments -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -fnon-call-exceptions enable/disable(DEFAULT) code that allows exceptions from trapping instructions to be caught -regcall make __regcall the default calling convention -hotpatch[=n] generate padding bytes for function entries to enable image hotpatching. If specified, use 'n' as the padding. -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. -mgpu-arch=[,] build offload code for graphics to run on a particular graphics processor ivybridge - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Ivy Bridge. haswell - May generate instructions for the graphics processor that is on Intel(R) microarchitecture code name Haswell Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]ansi-alias-check enable(DEFAULT)/disable ANSI alias checking when using -ansi-alias -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -[no-]alias-const enable/disable(DEFAULT) a heuristic stating that if two arguments to a function have pointer type, a pointer to const does not alias a pointer to non-const. Also known as the input/output buffer rule, it assumes that input and output buffer arguments do not overlap. -fargument-alias arguments may alias each other and may alias global storage -fargument-noalias arguments do not alias each other but may alias global storage -fargument-noalias-global arguments do not alias each other and do not alias global storage -ftls-model= change thread-local storage model, where can be the following: global-dynamic, local-dynamic, initial-exec or local-exec -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-calloc enable/disable(DEFAULT) calls to fast calloc function -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -ffreestanding compile in a freestanding environment where the standard library may not be present -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -ipp[=] link some or all of the Intel(R) Integrated Performance Primitives (Intel(R) IPP) libraries and bring in the associated headers common - link using the main libraries set. This is the default value when -ipp is specified crypto - link using the main libraries set and the crypto library -ipp-link= choose whether to link with static or dynamic libraries to support Intel(R) Integrated Performance Primitives (Intel(R) IPP) dynamic - link using the dynamic libraries set. This is the default value when -ipp is specified on Windows static - link using the static libraries set. This is the default value when -ipp is specified on Linux nonpic - link using the version of the libraries that do not have position independent code nonpic_crypto - link using the crypto library and the version of the libraries that do not have position independent code -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -tbb link to the Intel(R) Threading Building Blocks (Intel(R) TBB) libraries and bring in the associated headers -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -[no-]use-intel-optimized-headers take advantage of the optimized header files -cilk-serialize run a Cilk program as a C/C++ serialized program -[no-]intel-extensions enable(DEFAULT)/disable C/C++ language extensions such as array notation, Intel(R) Cilk(TM) Plus language extensions, and support for decimal floating-point types. -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using simd pragma -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-task= choose which OpenMP tasking model to support omp - support OpenMP 3.0 tasking (DEFAULT) intel - support Intel taskqueuing -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for target pragmas. This option only applies to Intel(R) MIC Architecture and Intel(R) Graphics Technology. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access double - rounds intermediates in 53-bit (double) precision extended - rounds intermediates in 64-bit (extended) precision -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -[no-]ftz enable/disable flush denormal results to zero -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -fp-trap=[,,...] control floating point traps at program start. can be of the following values [no]divzero - [Do not] trap on division by zero [no]inexact - [Do not] trap on inexact result [no]invalid - [Do not] trap on invalid operation [no]overflow - [Do not] trap on overflow [no]underflow - [Do not] trap on underflow [no]denormal - [Do not] trap on denormal all - enable trap on all of the above none - trap on none of the above common - trap on most commonly used IEEE traps (invalid, division by zero, overflow) -fp-trap-all=[,,...] control floating point traps in every routine. can be of the values specified in -fp-trap -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with __inline, and perform C++ inlining n=2 inline any function, at the compiler's discretion -f[no-]inline inline functions declared with __inline, and perform C++ inlining -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -fgnu89-inline use C89 semantics for "inline" functions when in C99 mode -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -fasm-blocks enables the use of blocks and entire functions of assembly code within a C or C++ file -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. [no]expr-source-pos Controls output of source positions for expressions. [no]macros Controls output of debug information for preprocessor macros. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -pch-create create precompiled header file -pch-use use precompiled header file -pch enable automatic precompiled header file creation/usage -pch-dir name precompiled header directory -check-pointers= Specifies what type of bounds checking occurs. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE -check-pointers-mpx= Enables bounds checking using Intel(R) MPX support. Possible values are: none - Disables bounds checking. This is the default. rw - Checks bounds for reads and writes through pointers. write - Checks bounds for writes through pointers only. This switch is only valid with Intel(R) Parallel Studio XE and on targets with Intel(R) MPX support. -check-pointers-dangling= Specifies what type of dangling pointer checking occurs. Possible values are: none - Disables dangling pointer checking. This is the default. heap - Check dangling references on heap. stack - Check dangling references on stack. all - Check dangling references on both heap and stack. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-undimensioned Bounds checking occurs for memory access through arrays that are declared without dimensions. This checking occurs for both dimensioned and undimensioned arrays. This switch is only valid with Intel(R) Parallel Studio XE -[no-]check-pointers-narrowing When this is disabled, Pointer Checker will not give an error when pointers to a structure field are moved to fields in the same structure. This switch is only valid with Intel(R) Parallel Studio XE -f[no-]emit-class-debug-always Emit debug information for a C++ class into each object file where the class is used. This flag is useful for tools which are unable to resolve incomplete type descriptions. Using this option may cause a large increase in the size of the debug information. -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -A[] create an assertion having value -C do not strip comments -D[=] define macro -U remove predefined macro -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -nostdinc++ remove standard C++ directories from include file search path -iprefix use with -iwithprefix as a prefix -iwithprefix append to the prefix passed in by -iprefix and put it on the include search path at the end of the include directories -iwithprefixbefore similar to -iwithprefix except the include directory is placed in the same place as -I command line include directories -iquote add directory to the front of the include file search path for files included with quotes, but not brackets -imacros treat as an #include file, but throw away all preprocessing while macros defined remain defined -H print include file order -B find libraries, headers and executables in -M generate makefile dependency information -MM similar to -M, but do not include system header files -MG similar to -M, but treat missing header files as generated files -MD preprocess and compile, generating output file containing dependency information ending with extension .d -MMD similar to -MD, but do not include system header files -MF generate makefile dependency information in file (must specify -M or -MM) -MP add a phony target for each dependency -MT change the default target rule for dependency generation -MQ same as -MT, but quotes special Make characters -dM output macro definitions in effect after preprocessing (use with -E) -dD same as -dM, but output #define directives in preprocessed source -dN same as -dD, but #define directives contain only macro names -gcc Predefine the "__GNUC__", "__GNUC_MINOR__", and "__GNUC_PATCHLEVEL__" macros (DEFAULT) -no-gcc Do not predefine GNUC macros listed in -gcc mode. Warning: can prevent correct system header compilation, see -gcc-sys -gcc-sys same as -no-gcc, except that the GNU macros are defined only while preprocessing the system include headers -no-icc do not predefine the "__ICC" and "__INTEL_COMPILER" macros. Warning: can prevent correct Intel header compilation -no-gcc-include-dir Do not add the gcc version specific system include directory -pragma-optimization-level=[Intel|GCC] process #pragma optimize using Intel (DEFAULT) or GCC syntax Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -std= enable language support for , as described below c99 conforms to ISO/IEC 9899:1999 standard for C programs c++11 enable C++11 experimental support for C++ programs c++0x same as c++11 c89 conforms to ISO/IEC 9899:1990 standard for C programs gnu89 conforms to ISO C90 plus GNU extensions gnu99 conforms to ISO C99 plus GNU extensions gnu++98 conforms to 1998 ISO C++ standard plus GNU extensions gnu++11 conforms to 2011 ISO C++ standard plus GNU extensions gnu++0x same as gnu++11 -x all source files found subsequent to -x will be recognized as one of the following types: c - C source file c++ - C++ source file c-header - C header file cpp-output - C pre-processed file c++-cpp-output - C++ pre-processed file assembler - assembly file assembler-with-cpp - assembly file that needs to be preprocessed none - revert to original file extension -ansi equivalent to GNU -ansi -strict-ansi strict ANSI conformance dialect -Zp[n] specify alignment constraint for structures where n=1,2,4,8,16. 16 is the default -fsyntax-only perform syntax and semantic checking only (no object file produced) -trigraphs support ISO C trigraphs (enabled in -ansi mode) -fpermissive allows extensions for some non-conformant code -funsigned-char change default char type to unsigned -fshort-enums allocate as many bytes as needed for enumerated types -f[no-]unsigned-bitfields change default bitfield type to unsigned -fno-rtti disable RTTI support -fno-implicit-templates never emit code for non-inline templates which are instantiated implicitly; only emit code for explicit instantiations -fno-implicit-inline-templates do not emit code for implicit instantiations of inline templates -ftemplate-depth-[n] control the depth in which recursive templates are expanded -[no]align analyze and reorder memory layout for variables and arrays -[no-]restrict enable/disable the 'restrict' keyword for disambiguating pointers -[no-]early-template-check enable/disable (DEFAULT) semantic checking of function template prototypes (before instantiation). -help-pragma output supported pragmas and their usage syntax -ffriend-injection inject friend functions into the enclosing namespace. Use -fno-friend-injection to disable -check=[,,...] check run-time conditions. keywords: [no]conversions, [no]stack, [no]uninit -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) Compiler Diagnostics -------------------- -w disable all warnings -w control diagnostics n = 0 enable errors only (same as -w) n = 1 enable warnings and errors (DEFAULT) n = 2 enable verbose warnings, warnings and errors n = 3 enable remarks, verbose warnings, warnings and errors -Wbrief print brief one-line diagnostics -Werror force warnings to be reported as errors -Werror-all force warnings and currently enabled remarks to be reported as errors -Wall enable all warnings -Wremarks enable all remarks and comments -Wcheck enable more strict diagnostics -Weffc++ enable effective C++ diagnostic warnings -wo[,,...] issue diagnostics L1 through LN only once -W[no-]fatal-errors ends compilation after the first error encountered -W[no-]format enable argument checking for calls to printf, scanf, etc -W[no-]format-security warn for uses of format strings and specifiers in printf, scanf, etc that may introduce security problems -W[no-]missing-declarations warn for global functions and variables without prior declaration -W[no-]missing-prototypes warn for missing prototypes -W[no-]strict-aliasing warn for code that might violate the optimizer's strict aliasing rules. Warnings are issued only when using -fstrict-aliasing or -ansi-alias. -W[no-]strict-prototypes warn for functions declared or defined without specified argument types -W[no-]pointer-arith warn for questionable pointer arithmetic -W[no-]uninitialized warn if a variable is used before being initialized -Winline enable inline diagnostics -W[no-]deprecated print warnings related to deprecated features -W[no-]abi warn if generated code is not C++ ABI compliant -Wcontext-limit= set maximum number of template instantiation contexts shown in diagnostic -Wcast-qual warn if cast is used to override pointer type qualifier -W[no-]unused-function warn if declared function is not used -W[no-]unused-parameter warn if declared function parameter is not used -W[no-]unknown-pragmas warn if an unknown #pragma directive is used (DEFAULT) -W[no-]main warn if return type of main is not expected -W[no-]comment[s] warn when comment -W[no-]conversion warn for implicit conversions that may alter a value -W[no-]return-type Issue warnings when a function is declared without a return type or when the definition of a function returning void contains a return statement with an expression -W[no-]extra-tokens warn about extra tokens after preprocessor directives -W[no-]invalid-pch warn about problems with existing precompiled headers -W[no-]shadow warn when a variable declaration hides a previous declaration -Woverloaded-virtual warn when a function declaration hides virtual functions from a base class -W[no-]trigraphs warn about the recognition and conversion of trigraphs -W[no-]multichar warn if a multicharacter constant ('ABC') is used -W[no-]overflow warn for operations that could result in integer overflow -Wwrite-strings Issues a diagnostic message if const char * is converted to (non-const) char *. -W[no-]sign-compare warn for comparisons between signed and unsigned values that could produce unintended results after sign conversion -W[no-]ic-pointer warn for conversions between pointers to distinct scalar types with the same representation -Wp64 print diagnostics for 64-bit porting -W[no-]shorten-64-to-32 warn for values implicitly converted from a 64-bit to a 32-bit type. Similar to -Wp64 -[no]traceback specify whether the compiler generates data to allow for source file traceback information at runtime (only to be used when linking with Fortran programs) -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: thread - diagnostics to aid in thread-enabling source power - controls whether diagnostics are enabled for possibly inefficient code that may affect power consumption when running on Intel(R) processors port-win - diagnostics for GNU extensions that may cause errors when porting to Windows openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted -diag-once=[,,...] issue diagnostics v1 through vN only once -W[no-]pch-messages enable(DEFAULT)/disable PCH information messages Miscellaneous ------------- -V display compiler version information -dumpversion display the compiler version number only -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -[no-]multibyte-chars provide support for multi-byte characters -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time -standalone create standalone compilation environment, helpful for bootstrap environments where gcc is not available during the build Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -freg-struct-return return struct and union values in registers when possible -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -auto-ilp32 specify that the application cannot exceed a 32-bit address space (-ipo[n] required) -auto-p32 instructs the compiler to analyze the program to determine if there are 64-bit pointers that can be safely shrunk to 32-bit pointers. (-ipo required) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden -mlong-double-64 enable 64-bit 'long double' 80-bit floating-point type is available as __float80. -mlong-double-80 enable 80-bit 'long double' Compatibility ------------- -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -fabi-version= directs the compiler to select a specific ABI implementation 0 - most recent ABI implementation 1 - g++ 3.2 compatible ABI implementation 2 - most conformant ABI implementation -fms-dialect[=] enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -pthread use POSIX* thread library for multithreading support -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -u pretend the is undefined -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -[no-]check-uninit use -check=[no]uninit -fwritable-strings no replacement -Kc++ use -x c++ -wn use -diag-error-limit -wd use -diag-disable -we use -diag-error -ww use -diag-warning -wr use -diag-remark -wo use -diag-once -std=c9x use -std=c99 -fmudflap no replacement -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: ifort --version stdout: ifort (IFORT) 15.0.0 20140723 Copyright (C) 1985-2014 Intel Corporation. All rights reserved. getCompilerVersion: ifort ifort (IFORT) 15.0.0 20140723 Executing: ifort --help stdout: Intel(R) Fortran Compiler Help ============================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: ifort [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a Fortran source (.f .for .ftn .f90 .fpp .F .FOR .F90 .i .i90), assembly (.s .S), object (.o), static library (.a), or other linkable file Commonly used options may be placed in the ifort .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -arch generate specialized code to optimize for processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions SSE3 May generate Intel(R) SSE3, SSE2 and SSE instructions SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2 and SSE instructions SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions AVX May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -f[no-]exceptions enable(DEFAULT)/disable exception handling -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no]pad enable/disable(DEFAULT) changing variable and array memory layout -safe-cray-ptr Cray pointers do not alias with other variables -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -reentrancy specify whether the threaded, reentrant run-time support should be used Keywords: none (same as -noreentrancy), threaded, async -noreentrancy do not use threaded, reentrant run-time support -heap-arrays [n] temporary arrays of minimum size n (in kilobytes) are allocated in heap memory rather than on the stack. If n is not specified, all temporary arrays are allocated in heap memory. -no-heap-arrays temporary arrays are allocated on the stack (DEFAULT) -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -coarray[=] enable/disable(DEFAULT) coarray syntax for data parallel programming, and set the relationship between the coarray images. keywords: shared - default if keyword is omitted single - overrides any other keyword distributed - only valid with the Intel(R) Cluster Toolkit coprocessor - Intel(R) 64 Linux only -coarray-num-images=n set default number of coarray images -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using SIMD directive -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for TARGET directives. This option only applies to Intel(R) MIC Architecture. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -rounding-mode chopped set internal FPU rounding control to truncate -[no-]ftz enable/disable flush denormal results to zero -fpe{0|1|3} specifies program-wide behavior on floating point exceptions -fpe-all={0|1|3} specifies floating point exception behavior on all functions and subroutines. Also sets -assume ieee_fpe_flags -[no]fltconsistency specify that improved floating-point consistency should be used -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -[no]recursive compile all procedures for possible recursive execution -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with ATTRIBUTES INLINE or FORCEINLINE n=2 inline any function, at the compiler's discretion -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -list[=] specify that a listing file should be generated -list-line-len=# overrides the default line length (80) in a listing file -list-page-len=# overrides the default page length (66) in a listing file -show controls the contents of the listing file keywords: all, none, [no]include, [no]map, [no]options -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -debug-parameters [keyword] Control output of debug information for PARAMETERS. Valid [keyword] values: none - Disables generation of debug information for PARAMETERs. used - Generates debug information for referenced PARAMETERs only. all - Generates debug information for all PARAMETERs. -nodebug-parameters Same as "-debug-parameters none". -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -[no]d-lines compile debug statements (indicated by D in column 1) -DD compile debug statements, indicated by D in column 1. This option prevents the definition of a macro named D using the command line -Dname option (use -Dname=n syntax instead) -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -D[=] define macro -nodefines, -noD specifies that any -D macros go to the preprocessor only, and not to the compiler -U remove predefined macro -allow nofpp-comments If a Fortran end-of-line comment is seen within a #define, treat it as part of the definition. Default is allow:fpp-comments -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -preprocess-only same as -P -[no]keep keep/remove preprocessed file generated by preprocessor as input to compiler stage. Not affected by -save-temps. Default is -nokeep -[no]fpp run Fortran preprocessor on source files prior to compilation -module path specify path where mod files should be placed and first location to look for mod files -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -B find libraries, headers and executables in -gen-dep[=filename] generate dependency information. If no filename is specified, output is to stdout. Similar to -MD or -MMD If a filename is specified, output is to filename. Similar to -MF filename -no-gen-dep do not generate dependency information (default) -gen-depformat=keyword generate dependency information in the specified format. One of: make, nmake Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -[no]altparam specify if alternate form of parameter constant declarations (without parenthesis) is recognized. Default is to recognize -assume specify assumptions made by the optimizer and code generator keywords: none, [no]byterecl, [no]buffered_io, [no]buffered_stdout, [no]bscc (nobscc same as -nbs), [no]cc_omp, [no]minus0, [no]dummy_aliases (same as -common-args), [no]ieee_fpe_flags, [no]fpe_summary, [no]old_boz, [no]old_complex_align, [no]old_logical_ldio, [no]old_ldout_format, [no]old_maxminloc, [no]old_unit_star, [no]old_xor, [no]protect_constants, [no]protect_parens, [no]realloc_lhs, [no]2underscore, [no]underscore (same as -us), [no]std_intent_in, [no]std_minus0_rounding, [no]std_mod_proc_name, [no]std_value, [no]source_include, [no]split_common, [no]writeable_strings -ccdefault specify default carriage control for units 6 and * keywords: default, fortran, list or none -[no]check check run-time conditions. Default is -nocheck keywords: all (same as -C), none (same as -nocheck), [no]arg_temp_created, [no]bounds (same as -CB), [no]format, [no]output_conversion, [no]pointer (same as -CA), [no]assume, [no]uninit (same as -CU), [no]stack -common-args assume "by reference" subprogram arguments may alias one another. Same as -assume dummy_aliases -e03 issue errors for language elements that are not standard in Fortran 2003 (same as -stand f03 -warn stderrors options) -e95 issue errors for language elements that are not standard in Fortran 95 (same as -stand f95 -warn stderrors options) -e90 issue errors for language elements that are not standard in Fortran 90 (same as -stand f90 -warn stderrors options) -[no]extend-source [] specify rightmost column for fixed form sources keywords: 72 (same as -noextend-source and -72), 80 (same as -80), 132 (same as -132. Default if you specify -extend-source without a keyword.) -fixed specify source files are in fixed format. Same as -FI -nofixed indicates free format -free specify source files are in free format. Same as -FR -nofree indicates fixed format -[no]mixed-str-len-arg indicate whether hidden lengths are passed after their character argument or after all arguments. -names specify how source code identifiers and external names are interpreted. keywords: as_is, lowercase, uppercase -[no]pad-source make compiler acknowledge blanks at the end of a line -stand [] specifies level of conformance with ANSI standard to check for. If keyword is not specified, level of conformance is f03 keywords: f90 (same as -std90), f95(same as -std95), f03(same as -std95), none (same as -nostand) -standard-semantics explicitly sets assume keywords to conform to the semantics of the Fortran standard. May result in performance loss. assume keywords set by -standard-semantics: byterecl, fpe_summary, minus0, noold_ldout_format, noold_maxminloc, noold_unit_star, noold_xor, protect_parens, realloc_lhs, std_intent_in, std_minus0_rounding, std_mod_proc_name, std_value also sets -fpscomp logicals If -fp-model=strict or -fp-model=except is set then this also sets assume keyword ieee_fpe_flags -syntax-only perform syntax and semantic checking only (no object file produced) -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) -[no-]wrap-margin controls right margin wrapping in list-directed output. By default, list-directed output is wrapped at 80 characters. Compiler Diagnostics -------------------- -w disable all warnings -W disable warnings (n = 0) or show warnings (n = 1 DEFAULT, same as -warn general) -warn specifies the level of warning messages issued keywords: all, none (same as -nowarn) [no]alignments, [no]declarations, [no]errors, [no]general, [no]ignore_loc, [no]interfaces, [no]stderrors, [no]truncated_source, [no]uncalled, [no]unused, [no]usage -nowarn suppress all warning messages -WB turn a compile-time bounds check into a warning -Winline enable inline diagnostics -[no]traceback specify whether the compiler generates PC correlation data used to display a symbolic traceback rather than a hexadecimal traceback at runtime failure -[no]gen-interfaces[:[no]source] generate interface blocks for all routines in the file. Can be checked using -warn interfaces nosource indicates temporary source files should not be saved -error-limit specify the maximum number of error-level or fatal-level compiler errors allowed -noerror-limit set no maximum number on error-level or fatal-level error messages -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted Miscellaneous ------------- -[no]logo display compiler version information. -nologo disables the output -V display compiler version information -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -what display detailed compiler version information -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -Tf compile file as Fortran source -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -i{2|4|8} set default KIND of integer and logical variables to 2, 4, or 8 -integer-size specifies the default size of integer and logical variables size: 16, 32, 64 -r{8|16} set default size of real to 8 or 16 bytes -real-size specify the size of REAL and COMPLEX declarations, constants, functions, and intrinsics size: 32, 64, 128 -autodouble same as -real-size 64 or -r8 -double-size defines the size of DOUBLE PRECISION and DOUBLE COMPLEX declarations, constants, functions, and intrinsics size: 64, 128 -[no]fpconstant extends the precision of single precision constants assigned to double precision variables to double precision -[no]intconstant use Fortran 77 semantics, rather than Fortran 90/95, to determine kind of integer constants -auto make all local variables AUTOMATIC -auto-scalar make scalar local variables AUTOMATIC (DEFAULT) -save save all variables (static allocation) (same as -noauto, opposite of -auto) -[no]zero enable/disable(DEFAULT) implicit initialization to zero of local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized -init= enable/disable(DEFAULT) implicit initialization of local variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized The specifies the initial value keywords: zero (same as -zero), snan (valid only for floating point variables), arrays -dyncom make given common blocks dynamically-allocated -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -[no]align analyze and reorder memory layout for variables and arrays -align specify how data items are aligned keywords: all (same as -align), none (same as -noalign), [no]commons, [no]dcommons, [no]qcommons, [no]zcommons, rec1byte, rec2byte, rec4byte, rec8byte, rec16byte, rec32byte, array8byte, array16byte, array32byte, array64byte, array128byte, array256byte, [no]records, [no]sequence -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -convert specify the format of unformatted files containing numeric data keywords: big_endian, cray, ibm, little_endian, native, vaxd, vaxg -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden Compatibility ------------- -fpscomp specify the level of compatibility to adhere to with Fortran PowerStation keywords: all, none (same as -nofpscomp), [no]filesfromcmd, [no]general, [no]ioformat, [no]ldio_spacing, [no]libs, [no]logicals -nofpscomp no specific level of compatibility with Fortran PowerStation -f66, -66 allow extensions that enhance FORTRAN-66 compatibility -f77rtl specify that the Fortran 77 specific run-time support should be used -nof77rtl disables -vms enable VMS I/O statement extensions -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -cxxlib link using C++ run-time libraries -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -nofor-main do not link against Fortran main object. Used when linking Fortran objects with C main program -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -threads specify that multi-threaded libraries should be linked against -nothreads disables multi-threaded libraries -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -fwritable-strings use -assume writeable-strings -1, -66, -onetrip use -f66 -pthread use -reentrancy threaded -arch pn* use -arch -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: ifort --help stdout: Intel(R) Fortran Compiler Help ============================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: ifort [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a Fortran source (.f .for .ftn .f90 .fpp .F .FOR .F90 .i .i90), assembly (.s .S), object (.o), static library (.a), or other linkable file Commonly used options may be placed in the ifort .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -arch generate specialized code to optimize for processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions SSE3 May generate Intel(R) SSE3, SSE2 and SSE instructions SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2 and SSE instructions SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions AVX May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -f[no-]exceptions enable(DEFAULT)/disable exception handling -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no]pad enable/disable(DEFAULT) changing variable and array memory layout -safe-cray-ptr Cray pointers do not alias with other variables -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -reentrancy specify whether the threaded, reentrant run-time support should be used Keywords: none (same as -noreentrancy), threaded, async -noreentrancy do not use threaded, reentrant run-time support -heap-arrays [n] temporary arrays of minimum size n (in kilobytes) are allocated in heap memory rather than on the stack. If n is not specified, all temporary arrays are allocated in heap memory. -no-heap-arrays temporary arrays are allocated on the stack (DEFAULT) -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -coarray[=] enable/disable(DEFAULT) coarray syntax for data parallel programming, and set the relationship between the coarray images. keywords: shared - default if keyword is omitted single - overrides any other keyword distributed - only valid with the Intel(R) Cluster Toolkit coprocessor - Intel(R) 64 Linux only -coarray-num-images=n set default number of coarray images -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using SIMD directive -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for TARGET directives. This option only applies to Intel(R) MIC Architecture. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -rounding-mode chopped set internal FPU rounding control to truncate -[no-]ftz enable/disable flush denormal results to zero -fpe{0|1|3} specifies program-wide behavior on floating point exceptions -fpe-all={0|1|3} specifies floating point exception behavior on all functions and subroutines. Also sets -assume ieee_fpe_flags -[no]fltconsistency specify that improved floating-point consistency should be used -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -[no]recursive compile all procedures for possible recursive execution -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with ATTRIBUTES INLINE or FORCEINLINE n=2 inline any function, at the compiler's discretion -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -list[=] specify that a listing file should be generated -list-line-len=# overrides the default line length (80) in a listing file -list-page-len=# overrides the default page length (66) in a listing file -show controls the contents of the listing file keywords: all, none, [no]include, [no]map, [no]options -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -debug-parameters [keyword] Control output of debug information for PARAMETERS. Valid [keyword] values: none - Disables generation of debug information for PARAMETERs. used - Generates debug information for referenced PARAMETERs only. all - Generates debug information for all PARAMETERs. -nodebug-parameters Same as "-debug-parameters none". -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -[no]d-lines compile debug statements (indicated by D in column 1) -DD compile debug statements, indicated by D in column 1. This option prevents the definition of a macro named D using the command line -Dname option (use -Dname=n syntax instead) -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -D[=] define macro -nodefines, -noD specifies that any -D macros go to the preprocessor only, and not to the compiler -U remove predefined macro -allow nofpp-comments If a Fortran end-of-line comment is seen within a #define, treat it as part of the definition. Default is allow:fpp-comments -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -preprocess-only same as -P -[no]keep keep/remove preprocessed file generated by preprocessor as input to compiler stage. Not affected by -save-temps. Default is -nokeep -[no]fpp run Fortran preprocessor on source files prior to compilation -module path specify path where mod files should be placed and first location to look for mod files -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -B find libraries, headers and executables in -gen-dep[=filename] generate dependency information. If no filename is specified, output is to stdout. Similar to -MD or -MMD If a filename is specified, output is to filename. Similar to -MF filename -no-gen-dep do not generate dependency information (default) -gen-depformat=keyword generate dependency information in the specified format. One of: make, nmake Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -[no]altparam specify if alternate form of parameter constant declarations (without parenthesis) is recognized. Default is to recognize -assume specify assumptions made by the optimizer and code generator keywords: none, [no]byterecl, [no]buffered_io, [no]buffered_stdout, [no]bscc (nobscc same as -nbs), [no]cc_omp, [no]minus0, [no]dummy_aliases (same as -common-args), [no]ieee_fpe_flags, [no]fpe_summary, [no]old_boz, [no]old_complex_align, [no]old_logical_ldio, [no]old_ldout_format, [no]old_maxminloc, [no]old_unit_star, [no]old_xor, [no]protect_constants, [no]protect_parens, [no]realloc_lhs, [no]2underscore, [no]underscore (same as -us), [no]std_intent_in, [no]std_minus0_rounding, [no]std_mod_proc_name, [no]std_value, [no]source_include, [no]split_common, [no]writeable_strings -ccdefault specify default carriage control for units 6 and * keywords: default, fortran, list or none -[no]check check run-time conditions. Default is -nocheck keywords: all (same as -C), none (same as -nocheck), [no]arg_temp_created, [no]bounds (same as -CB), [no]format, [no]output_conversion, [no]pointer (same as -CA), [no]assume, [no]uninit (same as -CU), [no]stack -common-args assume "by reference" subprogram arguments may alias one another. Same as -assume dummy_aliases -e03 issue errors for language elements that are not standard in Fortran 2003 (same as -stand f03 -warn stderrors options) -e95 issue errors for language elements that are not standard in Fortran 95 (same as -stand f95 -warn stderrors options) -e90 issue errors for language elements that are not standard in Fortran 90 (same as -stand f90 -warn stderrors options) -[no]extend-source [] specify rightmost column for fixed form sources keywords: 72 (same as -noextend-source and -72), 80 (same as -80), 132 (same as -132. Default if you specify -extend-source without a keyword.) -fixed specify source files are in fixed format. Same as -FI -nofixed indicates free format -free specify source files are in free format. Same as -FR -nofree indicates fixed format -[no]mixed-str-len-arg indicate whether hidden lengths are passed after their character argument or after all arguments. -names specify how source code identifiers and external names are interpreted. keywords: as_is, lowercase, uppercase -[no]pad-source make compiler acknowledge blanks at the end of a line -stand [] specifies level of conformance with ANSI standard to check for. If keyword is not specified, level of conformance is f03 keywords: f90 (same as -std90), f95(same as -std95), f03(same as -std95), none (same as -nostand) -standard-semantics explicitly sets assume keywords to conform to the semantics of the Fortran standard. May result in performance loss. assume keywords set by -standard-semantics: byterecl, fpe_summary, minus0, noold_ldout_format, noold_maxminloc, noold_unit_star, noold_xor, protect_parens, realloc_lhs, std_intent_in, std_minus0_rounding, std_mod_proc_name, std_value also sets -fpscomp logicals If -fp-model=strict or -fp-model=except is set then this also sets assume keyword ieee_fpe_flags -syntax-only perform syntax and semantic checking only (no object file produced) -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) -[no-]wrap-margin controls right margin wrapping in list-directed output. By default, list-directed output is wrapped at 80 characters. Compiler Diagnostics -------------------- -w disable all warnings -W disable warnings (n = 0) or show warnings (n = 1 DEFAULT, same as -warn general) -warn specifies the level of warning messages issued keywords: all, none (same as -nowarn) [no]alignments, [no]declarations, [no]errors, [no]general, [no]ignore_loc, [no]interfaces, [no]stderrors, [no]truncated_source, [no]uncalled, [no]unused, [no]usage -nowarn suppress all warning messages -WB turn a compile-time bounds check into a warning -Winline enable inline diagnostics -[no]traceback specify whether the compiler generates PC correlation data used to display a symbolic traceback rather than a hexadecimal traceback at runtime failure -[no]gen-interfaces[:[no]source] generate interface blocks for all routines in the file. Can be checked using -warn interfaces nosource indicates temporary source files should not be saved -error-limit specify the maximum number of error-level or fatal-level compiler errors allowed -noerror-limit set no maximum number on error-level or fatal-level error messages -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted Miscellaneous ------------- -[no]logo display compiler version information. -nologo disables the output -V display compiler version information -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -what display detailed compiler version information -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -Tf compile file as Fortran source -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -i{2|4|8} set default KIND of integer and logical variables to 2, 4, or 8 -integer-size specifies the default size of integer and logical variables size: 16, 32, 64 -r{8|16} set default size of real to 8 or 16 bytes -real-size specify the size of REAL and COMPLEX declarations, constants, functions, and intrinsics size: 32, 64, 128 -autodouble same as -real-size 64 or -r8 -double-size defines the size of DOUBLE PRECISION and DOUBLE COMPLEX declarations, constants, functions, and intrinsics size: 64, 128 -[no]fpconstant extends the precision of single precision constants assigned to double precision variables to double precision -[no]intconstant use Fortran 77 semantics, rather than Fortran 90/95, to determine kind of integer constants -auto make all local variables AUTOMATIC -auto-scalar make scalar local variables AUTOMATIC (DEFAULT) -save save all variables (static allocation) (same as -noauto, opposite of -auto) -[no]zero enable/disable(DEFAULT) implicit initialization to zero of local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized -init= enable/disable(DEFAULT) implicit initialization of local variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized The specifies the initial value keywords: zero (same as -zero), snan (valid only for floating point variables), arrays -dyncom make given common blocks dynamically-allocated -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -[no]align analyze and reorder memory layout for variables and arrays -align specify how data items are aligned keywords: all (same as -align), none (same as -noalign), [no]commons, [no]dcommons, [no]qcommons, [no]zcommons, rec1byte, rec2byte, rec4byte, rec8byte, rec16byte, rec32byte, array8byte, array16byte, array32byte, array64byte, array128byte, array256byte, [no]records, [no]sequence -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -convert specify the format of unformatted files containing numeric data keywords: big_endian, cray, ibm, little_endian, native, vaxd, vaxg -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden Compatibility ------------- -fpscomp specify the level of compatibility to adhere to with Fortran PowerStation keywords: all, none (same as -nofpscomp), [no]filesfromcmd, [no]general, [no]ioformat, [no]ldio_spacing, [no]libs, [no]logicals -nofpscomp no specific level of compatibility with Fortran PowerStation -f66, -66 allow extensions that enhance FORTRAN-66 compatibility -f77rtl specify that the Fortran 77 specific run-time support should be used -nof77rtl disables -vms enable VMS I/O statement extensions -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -cxxlib link using C++ run-time libraries -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -nofor-main do not link against Fortran main object. Used when linking Fortran objects with C main program -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -threads specify that multi-threaded libraries should be linked against -nothreads disables multi-threaded libraries -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -fwritable-strings use -assume writeable-strings -1, -66, -onetrip use -f66 -pthread use -reentrancy threaded -arch pn* use -arch -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Executing: ifort --help stdout: Intel(R) Fortran Compiler Help ============================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: ifort [options] file1 [file2 ...] where options represents zero or more compiler options fileN is a Fortran source (.f .for .ftn .f90 .fpp .F .FOR .F90 .i .i90), assembly (.s .S), object (.o), static library (.a), or other linkable file Commonly used options may be placed in the ifort .cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ -O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit -O2 optimize for maximum speed (DEFAULT) -O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs -O same as -O2 -Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit -O0 disable optimizations -fast enable -xHOST -O3 -ipo -no-prec-div -static -Ofast enable -O3 -no-prec-div optimizations -fno-alias assume no aliasing in program -fno-fnalias assume no aliasing within functions, but assume aliasing across calls -nolib-inline disable inline expansion of intrinsic functions -f[no-]optimize-sibling-calls Optimize sibling and tail recursive calls. Enabled at levels -O2, -O3, -Os. Code Generation --------------- -x generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. ATOM_SSE4.2 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSE4.2, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for Intel(R) Atom(TM) processors that support Intel(R) SSE4.2 and MOVBE instructions. ATOM_SSSE3 May generate MOVBE instructions for Intel(R) processors, depending on the setting of option -minstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor that support Intel(R) SSE and MOVBE instructions. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. Optimizes for Intel(R) processors that support Intel(R) AVX-512 instructions. -xHost generate instructions for the highest instruction set and processor available on the compilation host machine -ax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. MIC-AVX512 May generate Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) Foundation instructions, Intel(R) AVX-512 Conflict Detection instructions, Intel(R) AVX-512 Exponential and Reciprocal instructions, Intel(R) AVX-512 Prefetch instructions for Intel(R) processors, and the instructions enabled with CORE-AVX2. -arch generate specialized code to optimize for processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions SSE3 May generate Intel(R) SSE3, SSE2 and SSE instructions SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2 and SSE instructions SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions AVX May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions -mcpu= same as -mtune= -mtune= optimize for a specific slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -march= generate code exclusively for a given slm - processors that support Intel(R) SSE4.2 and MOVBE instructions core-avx2 - processors that support Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) core-avx-i - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm corei7-avx - processors that support Intel(R) Advanced Vector Extensions (Intel(R) AVX) corei7 - processors that support Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions atom - processors that support MOVBE instructions core2 - Intel(R) Core 2(TM) processor family pentium-m - Intel(R) Pentium(R) M processors pentium4 - Intel(R) Pentium(R) 4 processors pentium3 - Intel(R) Pentium(R) III processors (Linux only) -msse3 May generate Intel(R) SSE3, SSE2, and SSE instructions -mssse3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions -msse4 Enable -msse4.2 -msse4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -msse4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -mavx May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions -masm= generate asm instructions specified by , which may be att (DEFAULT) or intel -mmic build an application that runs natively on Intel(R) MIC Architecture -minstruction= Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with ATOM_SSSE3 (requires -xATOM_SSSE3) -f[no-]omit-frame-pointer enable(DEFAULT)/disable use of EBP as general purpose register. -fno-omit-frame-pointer replaces -fp -f[no-]exceptions enable/disable(DEFAULT) C++ exception handling table generation -f[no-]fat-lto-objects enable/disable generation of true code/data when generating an IL object using -ipo -c. Objects generated with -ffat-lto-objects or -fno-fat-lto-objects are added unmodified to an archive when using xiar. xiar behavior remains unchanged for an IL object generated without specifying -f[no-]fat-lto-objects. -f[no-]exceptions enable(DEFAULT)/disable exception handling -fasynchronous-unwind-tables determines whether unwind information is precise at an instruction boundary or at a call boundary. -fno-asynchronous-unwind-tables is the default for IA-32 architecture. -fextend-arguments=[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. Interprocedural Optimization (IPO) ---------------------------------- -[no-]ip enable(DEFAULT)/disable single-file IP optimization within files -ipo[n] enable multi-file IP optimization between files -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.S) -ip-no-inlining disable full and partial inlining -ip-no-pinlining disable partial inlining -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- -unroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller -[no-]unroll-aggressive enables more aggressive unrolling heuristics -funroll-loops unroll loops based on default heuristics -[no-]scalar-rep enable(DEFAULT)/disable scalar replacement (requires -O3) -[no]pad enable/disable(DEFAULT) changing variable and array memory layout -safe-cray-ptr Cray pointers do not alias with other variables -[no-]ansi-alias enable(DEFAULT)/disable use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules -[no-]complex-limited-range enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. -reentrancy specify whether the threaded, reentrant run-time support should be used Keywords: none (same as -noreentrancy), threaded, async -noreentrancy do not use threaded, reentrant run-time support -heap-arrays [n] temporary arrays of minimum size n (in kilobytes) are allocated in heap memory rather than on the stack. If n is not specified, all temporary arrays are allocated in heap memory. -no-heap-arrays temporary arrays are allocated on the stack (DEFAULT) -q[no-]opt-multi-version-aggressive enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement -qopt-ra-region-strategy[=] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option -[no-]vec enables(DEFAULT)/disables vectorization -[no-]vec-guard-write enables cache/bandwidth optimization for stores under conditionals within vector loops -vec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel -vecabi= select vector function ABI legacy - use the legacy vector function ABI compat - use the compatibility vector function ABI (DEFAULT) -qopt-malloc-options={0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory -qopt-jump-tables= control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use -qno-opt-jump-tables to lower switch statements as chains of if-then-else constructs -fno-jump-tables do not generate jump tables for switches and if-then-else statements -qopt-block-factor= specify blocking factor for loop blocking -qopt-streaming-stores specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores -mkl[=] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when -mkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries -q[no-]opt-subscript-in-range assumes no overflows in the intermediate computation of the subscripts -coarray[=] enable/disable(DEFAULT) coarray syntax for data parallel programming, and set the relationship between the coarray images. keywords: shared - default if keyword is omitted single - overrides any other keyword distributed - only valid with the Intel(R) Cluster Toolkit coprocessor - Intel(R) 64 Linux only -coarray-num-images=n set default number of coarray images -q[no-]opt-matmul replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at -O3 -parallel) -[no-]simd enables(DEFAULT)/disables vectorization using SIMD directive -guide-opts= tells the compiler to analyze certain code and generate recommendations that may improve optimizations -guide-file[=] causes the results of guide to be output to a file -guide-file-append[=] causes the results of guide to be appended to a file -guide[=] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) -guide-data-trans[=] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) -guide-par[=] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) -guide-vec[=] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) -guide-profile=<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the -guide option -qopt-mem-layout-trans[=] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as -qno-opt-mem-layout-trans) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations -qopt-prefetch[=n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. -qno-opt-prefetch disable(DEFAULT) prefetch insertion. Equivalent to -qopt-prefetch=0 -qopt-prefetch-distance=n1[,n2] specify the prefetch distance (how many iterations ahead, use n1 and n2 values such that n1>=n2) to be used for compiler generated prefetches inside loops. n1 indicates distance from memory to L2 cache and n2 indicates distance from L2 to L1. (Intel(R) MIC Architecture specific) -qopt-threads-per-core=n specifies the number of threads (1 - 4) per core to be used for an application (Intel(R) MIC Architecture specific) -qopt-streaming-cache-evict=n specifies the cache line eviction level (0 - 3) when streaming loads/stores are used. (Intel(R) MIC Architecture specific) -qopt-gather-scatter-unroll=n specify an alternative loop unroll sequence for gather and scatter loops (Intel(R) MIC Architecture specific). Disable with -qno-opt-gather-scatter-unroll (equivalent to n=0) -qopt-dynamic-align enable(DEFAULT) dynamic data alignment optimizations. Specify -qno-opt-dynamic-align to disable Profile Guided Optimization (PGO) --------------------------------- -prof-dir specify directory for profiling output files (*.dyn and *.dpi) -prof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -prof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory -[no-]prof-src-dir specify whether directory names of sources should be considered when looking up profile records within the .dpi file -prof-file specify file name for profiling summary file -[no-]prof-data-order enable/disable(DEFAULT) static data ordering with profiling -[no-]prof-func-order enable/disable(DEFAULT) function ordering with profiling -[no-]prof-func-groups enable(DEFAULT with PGO)/disable function grouping -prof-gen[=keyword[,keyword]] instrument program for profiling. Optional keywords are as follows. default - Produces an instrumented object file. This is the same as specifying the -prof-gen option with no keyword. srcpos - Produces an instrumented object file and information needed for using the code coverage tool. globdata - Produces an instrumented object file that includes information for global data layout. threadsafe - Collects PGO data with guards for threaded applications. -no-prof-gen disable profiling instrumentation -prof-use[=] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool -no-prof-use disable use of profiling information during optimization -p compile and link for function profiling with UNIX gprof tool On IA32 and Intel(r)64, -pg is also valid -f[no-]instrument-functions determine whether function entry and exit points are instrumented -prof-hotness-threshold= set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires -prof-use and -prof-func-groups or -prof-func-order -prof-value-profiling=[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites -profile-functions enable instrumentation in generated code for collecting function execution time profiles -profile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops -profile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- -vec-report[=n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops -qopt-report[=n] generate an optimization report. Default destination is .optrpt. Levels of 0 - 5 are valid. Please see documentation for additional details of information provided by phase per level. 0 disable optimization report output 2 DEFAULT when enabled -qopt-report-file=[stdout | stderr | ] specify the filename or output stream for the generated report -qopt-report-stdout specify the generated report should be directed to stdout -qopt-report-per-object specify the generated report should be directed to a .optrpt file in the output directory (DEFAULT when another destination for the report is not specified) -qopt-report-phase=[,,...] specify one or more phases that reports are generated against -qopt-report-routine=[,,...] restrict the report to routines containing the given name -qopt-report-filter= restricts the opt-report to specific files, routines or line number ranges. Refer to the documentation for the specific syntax of parameter string. -qopt-report-format=[text|vs] specify the output format to be used for the opt-report as either plain text or a format for use in the Microsoft* Visual Studio IDE -q[no-]opt-report-embed When enabled, if an assembly file is being generated, special loop info annotations will be emitted in the assembly file. If an object file/executable is being generated, these will be emitted into the object file/executable for use by the Intel VTune Amplifier application. Automatically enabled when symbolic debug information is enabled. -qopt-report-help display the optimization phases available for reporting -qopt-report-names= Specifies whether mangled or unmangled names should appear in the optimization report. mangled - use mangled names unmangled - use unmangled names (DEFAULT) -tcheck [mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level -tcollect[=] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library -l is linked in the default being -lVT (requires Intel(R) Trace Collector) -tcollect-filter file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ -qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as -fopenmp) -qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) -qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level -qopenmp-lib= choose which OpenMP library version to link with compat - use the GNU compatible OpenMP run-time libraries (DEFAULT) -qopenmp-link= choose whether to link with the static or dynamic OpenMP libraries. Default is dynamic. -qopenmp-threadprivate= choose which threadprivate implementation to use compat - use the GNU compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) -parallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel -par-report[=n] control the auto-parallelizer diagnostic level (n=0,1,2,3) -par-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 -par-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode -par-schedule-static[=n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. -par-schedule-static_balanced[=n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. -par-schedule-static-steal[=n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads -par-schedule-dynamic[=n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. -par-schedule-guided[=n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. -par-schedule-guided-analytical[=n] Divides iterations by using exponential distribution or dynamic distributions. -par-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. -par-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. -par-affinity=[,...][,][,] tune application performance by setting different thread affinity -par-num-threads= tune application performance by setting different number of threads -parallel-source-info[=n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as -no-parallel-source-info) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information -qopenmp-simd Enables OpenMP* SIMD compilation. Enabled by default with -qopenmp. Use -qno-openmp-simd to disable. -qopenmp-offload Enables OpenMP* offloading compilation for TARGET directives. This option only applies to Intel(R) MIC Architecture. Enabled by default with -qopenmp. Use -qno-openmp-offload to disable. -f[no-]mpc_privatize Enables privatization of all static data for the MPC unified parallel runtime. This will cause calls to extended thread local storage resolution run-time routines which are not supported on standard linux distributions. This option is only usable in conjunction with the MPC unified parallel runtime. The default is -fno-mpc-privatize. Floating Point -------------- -fp-model enable floating point model variation [no-]except - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision sets -assume protect_parens for Fortran strict - enables -fp-model precise -fp-model except, disables contractions and enables pragma stdc fenv_access -fp-speculation= enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations -pc32 set internal FPU precision to 24 bit significand -pc64 set internal FPU precision to 53 bit significand -pc80 set internal FPU precision to 64 bit significand (DEFAULT) -mp1 improve floating-point precision -mieee-fp maintain floating point precision (disables some optimizations) can be disabled with -mno-ieee-fp -[no-]prec-sqrt determine if certain square root optimizations are enabled -[no-]prec-div improve precision of FP divides (some speed impact) -[no-]fast-transcendentals generate a faster version of the transcendental functions -[no-]fp-port round fp results at assignments and casts (some speed impact) -fp-stack-check enable fp stack checking after every function/procedure call -rcd rounding mode to enable fast float-to-int conversions -rounding-mode chopped set internal FPU rounding control to truncate -[no-]ftz enable/disable flush denormal results to zero -fpe{0|1|3} specifies program-wide behavior on floating point exceptions -fpe-all={0|1|3} specifies floating point exception behavior on all functions and subroutines. Also sets -assume ieee_fpe_flags -[no]fltconsistency specify that improved floating-point consistency should be used -[no-]fma enable/disable the combining of floating point multiplies and add/subtract operations -[no]recursive compile all procedures for possible recursive execution -fimf-absolute-error=value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-accuracy-bits=bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-arch-consistency=value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-max-error=ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-precision=value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied -fimf-domain-exclusion=classlist[:funclist] indicates the input arguments domain on which math functions must provide correct results. classlist - defined as one of the following values nans, infinities, denormals, zeros all, none, common funclist - optional list of one or more math library functions to which the attribute should be applied. Inlining -------- -inline-level= control inline expansion: n=0 disable inlining n=1 inline functions declared with ATTRIBUTES INLINE or FORCEINLINE n=2 inline any function, at the compiler's discretion -f[no-]inline-functions inline any function at the compiler's discretion -finline-limit= set maximum number of statements a function can have and still be considered for inlining -inline-min-size= set size limit for inlining small routines -no-inline-min-size no size limit for inlining small routines -inline-max-size= set size limit for inlining large routines -no-inline-max-size no size limit for inlining large routines -inline-max-total-size= maximum increase in size for inline function expansion -no-inline-max-total-size no size limit for inline function expansion -inline-max-per-routine= maximum number of inline instances in any function -no-inline-max-per-routine no maximum number of inline instances in any function -inline-max-per-compile= maximum number of inline instances in the current compilation -no-inline-max-per-compile no maximum number of inline instances in the current compilation -inline-factor= set inlining upper limits by n percentage -no-inline-factor do not set set inlining upper limits -inline-forceinline treat inline routines as forceinline -inline-calloc directs the compiler to inline calloc() calls as malloc()/memset() Output, Debug, PCH ------------------ -c compile to object (.o) only, do not link -S compile to assembly (.s) only, do not link -fsource-asm produce assembly file with optional source annotations (requires -S) -f[no-]verbose-asm produce assembly file with compiler comments (DEFAULT) (requires -S) -fcode-asm produce assembly file with optional code annotations (requires -S) -use-msasm support Microsoft* style assembly language insertion using MASM style syntax -Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) -Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) -o name output file -list[=] specify that a listing file should be generated -list-line-len=# overrides the default line length (80) in a listing file -list-page-len=# overrides the default page length (66) in a listing file -show controls the contents of the listing file keywords: all, none, [no]include, [no]map, [no]options -g[level] Produce symbolic debug information. Valid [level] values: 0 - Disable generation of symbolic debug information. 1 - Emit minimal debug information for performing stack traces. 2 - Emit complete debug information. (default for -g) 3 - Emit extra information which may be useful for some tools. -gdwarf- Enable generation of debug information using the specified DWARF version. These options may require additional tools such as linkers and debuggers which support these formats. Valid values: 2 - DWARF Debug Information Format Version 2. 3 - DWARF Debug Information Format Version 3. (default for -g) 4 - DWARF Debug Information Format Version 4. -debug [keyword] Control the emission of debug information. Valid [keyword] values: none Disables debug generation. all, full (default if no keyword was specified) Generates complete debug information. minimal Generates line number information. extended Generates complete debug information with semantic stepping and variable locations enabled. [no]variable-locations Controls additional debug information useful for tracking variable values in optimized code. [no]semantic-stepping Controls additional debug information useful for stepping through optimized code. [no]pubnames Controls generation of the DWARF .debug_pubnames section. [no]emit-column Controls additional line number information with columns. [no]inline-debug-info Controls additional debug information for inlined code. parallel Emit code instrumentation useful for thread data sharing and reentrant call detection. -debug-parameters [keyword] Control output of debug information for PARAMETERS. Valid [keyword] values: none - Disables generation of debug information for PARAMETERs. used - Generates debug information for referenced PARAMETERs only. all - Generates debug information for all PARAMETERs. -nodebug-parameters Same as "-debug-parameters none". -fvar-tracking Same as "-debug variable-locations". -fvar-tracking-assignments Same as "-debug semantic-stepping". -grecord-gcc-switches Record command line options in the DW_AT_producer attribute in the DWARF debugging information. -fno-merge-debug-strings Do not merge identical debug strings in different object files. -fno-merge-constants Do not merge identical string constants in different object files. -[no]d-lines compile debug statements (indicated by D in column 1) -DD compile debug statements, indicated by D in column 1. This option prevents the definition of a macro named D using the command line -Dname option (use -Dname=n syntax instead) -ftrapuv trap uninitialized variables -map-opts enable option mapping tool -print-multi-lib print information about libraries being used -f[no-]eliminate-unused-debug-types When disabled, debug information for all types present in the sources will be emitted. Using this option may cause a large increase in the size of the debug information. Preprocessor ------------ -D[=] define macro -nodefines, -noD specifies that any -D macros go to the preprocessor only, and not to the compiler -U remove predefined macro -allow nofpp-comments If a Fortran end-of-line comment is seen within a #define, treat it as part of the definition. Default is allow:fpp-comments -E preprocess to stdout -EP preprocess to stdout, omitting #line directives -P preprocess to file, omitting #line directives -preprocess-only same as -P -[no]keep keep/remove preprocessed file generated by preprocessor as input to compiler stage. Not affected by -save-temps. Default is -nokeep -[no]fpp run Fortran preprocessor on source files prior to compilation -module path specify path where mod files should be placed and first location to look for mod files -I add directory to include file search path -idirafter add directory to the second include file search path (after -I) -isystem add directory to the start of the system include path -X, -nostdinc remove standard directories from include file search path -B find libraries, headers and executables in -gen-dep[=filename] generate dependency information. If no filename is specified, output is to stdout. Similar to -MD or -MMD If a filename is specified, output is to filename. Similar to -MF filename -no-gen-dep do not generate dependency information (default) -gen-depformat=keyword generate dependency information in the specified format. One of: make, nmake Component Control ----------------- -Qoption,, pass options to tool specified by -Qlocation,, set as the location of tool specified by -Qinstall set as root of compiler installation Language -------- -[no]altparam specify if alternate form of parameter constant declarations (without parenthesis) is recognized. Default is to recognize -assume specify assumptions made by the optimizer and code generator keywords: none, [no]byterecl, [no]buffered_io, [no]buffered_stdout, [no]bscc (nobscc same as -nbs), [no]cc_omp, [no]minus0, [no]dummy_aliases (same as -common-args), [no]ieee_fpe_flags, [no]fpe_summary, [no]old_boz, [no]old_complex_align, [no]old_logical_ldio, [no]old_ldout_format, [no]old_maxminloc, [no]old_unit_star, [no]old_xor, [no]protect_constants, [no]protect_parens, [no]realloc_lhs, [no]2underscore, [no]underscore (same as -us), [no]std_intent_in, [no]std_minus0_rounding, [no]std_mod_proc_name, [no]std_value, [no]source_include, [no]split_common, [no]writeable_strings -ccdefault specify default carriage control for units 6 and * keywords: default, fortran, list or none -[no]check check run-time conditions. Default is -nocheck keywords: all (same as -C), none (same as -nocheck), [no]arg_temp_created, [no]bounds (same as -CB), [no]format, [no]output_conversion, [no]pointer (same as -CA), [no]assume, [no]uninit (same as -CU), [no]stack -common-args assume "by reference" subprogram arguments may alias one another. Same as -assume dummy_aliases -e03 issue errors for language elements that are not standard in Fortran 2003 (same as -stand f03 -warn stderrors options) -e95 issue errors for language elements that are not standard in Fortran 95 (same as -stand f95 -warn stderrors options) -e90 issue errors for language elements that are not standard in Fortran 90 (same as -stand f90 -warn stderrors options) -[no]extend-source [] specify rightmost column for fixed form sources keywords: 72 (same as -noextend-source and -72), 80 (same as -80), 132 (same as -132. Default if you specify -extend-source without a keyword.) -fixed specify source files are in fixed format. Same as -FI -nofixed indicates free format -free specify source files are in free format. Same as -FR -nofree indicates fixed format -[no]mixed-str-len-arg indicate whether hidden lengths are passed after their character argument or after all arguments. -names specify how source code identifiers and external names are interpreted. keywords: as_is, lowercase, uppercase -[no]pad-source make compiler acknowledge blanks at the end of a line -stand [] specifies level of conformance with ANSI standard to check for. If keyword is not specified, level of conformance is f03 keywords: f90 (same as -std90), f95(same as -std95), f03(same as -std95), none (same as -nostand) -standard-semantics explicitly sets assume keywords to conform to the semantics of the Fortran standard. May result in performance loss. assume keywords set by -standard-semantics: byterecl, fpe_summary, minus0, noold_ldout_format, noold_maxminloc, noold_unit_star, noold_xor, protect_parens, realloc_lhs, std_intent_in, std_minus0_rounding, std_mod_proc_name, std_value also sets -fpscomp logicals If -fp-model=strict or -fp-model=except is set then this also sets assume keyword ieee_fpe_flags -syntax-only perform syntax and semantic checking only (no object file produced) -qopt-assume-safe-padding assume that variables and dynamically allocated memory are padded (Intel(R) MIC Architecture specific) -[no-]wrap-margin controls right margin wrapping in list-directed output. By default, list-directed output is wrapped at 80 characters. Compiler Diagnostics -------------------- -w disable all warnings -W disable warnings (n = 0) or show warnings (n = 1 DEFAULT, same as -warn general) -warn specifies the level of warning messages issued keywords: all, none (same as -nowarn) [no]alignments, [no]declarations, [no]errors, [no]general, [no]ignore_loc, [no]interfaces, [no]stderrors, [no]truncated_source, [no]uncalled, [no]unused, [no]usage -nowarn suppress all warning messages -WB turn a compile-time bounds check into a warning -Winline enable inline diagnostics -[no]traceback specify whether the compiler generates PC correlation data used to display a symbolic traceback rather than a hexadecimal traceback at runtime failure -[no]gen-interfaces[:[no]source] generate interface blocks for all routines in the file. Can be checked using -warn interfaces nosource indicates temporary source files should not be saved -error-limit specify the maximum number of error-level or fatal-level compiler errors allowed -noerror-limit set no maximum number on error-level or fatal-level error messages -diag-enable=[,,...] enable the specified diagnostics or diagnostic groups -diag-disable=[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: openmp - diagnostics issued by the OpenMP* parallelizer warn - diagnostics that have "warning" severity level error - diagnostics that have "error" severity level remark - diagnostics that are remarks or comments vec - diagnostics issued by the vectorizer par - diagnostics issued by the auto-parallelizer cpu-dispatch - specifies the CPU dispatch remarks -diag-error=[,,...] output the specified diagnostics or diagnostic groups as errors -diag-warning=[,,...] output the specified diagnostics or diagnostic groups as warnings -diag-remark=[,,...] output the the specified diagnostics or diagnostic groups as remarks -diag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. -diag-sc-dir= directory where diagnostics from static analysis are created, rather than current working directory. -diag-file[=] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr -diag-file-append[=] where diagnostics are emitted to. When already exists, output is appended to the file -[no-]diag-id-numbers enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form -diag-error-limit= specify the maximum number of errors emitted Miscellaneous ------------- -[no]logo display compiler version information. -nologo disables the output -V display compiler version information -dumpmachine display the target machine only --version display GCC style version information -sox[=[,keyword]] enable saving of compiler options, version and additional information in the executable. Use -no-sox to disable(DEFAULT) profile - include profiling data inline - include inlining information -save-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default -dryrun show driver tool commands but do not execute tools -v show driver tool commands and execute tools -what display detailed compiler version information -watch= tells the driver to output processing information keywords: all, none (same as -nowatch), [no]source, [no]cmd (same as -v) [no]mic-cmd -nowatch suppress processing information output (DEFAULT) -Tf compile file as Fortran source -multiple-processes[=] create multiple processes that can be used to compile large numbers of source files at the same time Offload ------- -qoffload= define whether offload is enabled, and if enabled, whether CPU fallback is permitted keywords: none, optional, mandatory -qoffload-attribute-target= flags every global routine and global data object in the source file with the offload attribute target() name - mic, gfx (gfx for C/C++ compilation only) -qoffload-option,,,"option list" appends additional options for offload compilations given the target and tool. The option list is a space separated quoted list of options target - mic, gfx (gfx for C/C++ compilation only) tool - compiler, ld, as, jit (gfx only) -qno-offload disable any offload usage Data ---- -i{2|4|8} set default KIND of integer and logical variables to 2, 4, or 8 -integer-size specifies the default size of integer and logical variables size: 16, 32, 64 -r{8|16} set default size of real to 8 or 16 bytes -real-size specify the size of REAL and COMPLEX declarations, constants, functions, and intrinsics size: 32, 64, 128 -autodouble same as -real-size 64 or -r8 -double-size defines the size of DOUBLE PRECISION and DOUBLE COMPLEX declarations, constants, functions, and intrinsics size: 64, 128 -[no]fpconstant extends the precision of single precision constants assigned to double precision variables to double precision -[no]intconstant use Fortran 77 semantics, rather than Fortran 90/95, to determine kind of integer constants -auto make all local variables AUTOMATIC -auto-scalar make scalar local variables AUTOMATIC (DEFAULT) -save save all variables (static allocation) (same as -noauto, opposite of -auto) -[no]zero enable/disable(DEFAULT) implicit initialization to zero of local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized -init= enable/disable(DEFAULT) implicit initialization of local variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized The specifies the initial value keywords: zero (same as -zero), snan (valid only for floating point variables), arrays -dyncom make given common blocks dynamically-allocated -Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 -Zp16 DEFAULT) -[no]align analyze and reorder memory layout for variables and arrays -align specify how data items are aligned keywords: all (same as -align), none (same as -noalign), [no]commons, [no]dcommons, [no]qcommons, [no]zcommons, rec1byte, rec2byte, rec4byte, rec8byte, rec16byte, rec32byte, array8byte, array16byte, array32byte, array64byte, array128byte, array256byte, [no]records, [no]sequence -fminshared Compilation is for the main executable. Absolute addressing can be used and non-position independent code generated for symbols that are at least protected -fcommon Enables the compiler to treat common variables as if they were defined. That in turn allows the use of gprel addressing of common data variables. -fno-common disables -fstack-security-check enable overflow security checks. -f[no-]stack-security-check disables (DEFAULT) -fstack-protector enable stack overflow security checks. -f[no-]stack-protector disables (DEFAULT) -fstack-protector-all enable stack overflow security checks including functions. -f[no-]stack-protector-all disables (DEFAULT) -fpic, -fPIC generate position independent code (-fno-pic/-fno-PIC is DEFAULT) -fpie, -fPIE generate position independent code that will be linked into an executable (-fno-pie/-fno-PIE is DEFAULT) -[no-]global-hoist enable(DEFAULT)/disable external globals are load safe -f[no-]keep-static-consts enable/disable(DEFAULT) emission of static const variables even when not referenced -fpack-struct pack structure members together -f[no-]math-errno set ERRNO after calling standard math library functions -no-bss-init disable placement of zero-initialized variables in BSS (use DATA) -f[no-]zero-initialized-in-bss put explicitly zero initialized variables into the DATA section instead of the BSS section -mcmodel= use a specific memory model to generate code and store data small - Restricts code and data to the first 2GB of address space (DEFAULT) medium - Restricts code to the first 2GB; it places no memory restriction on data large - Places no memory restriction on code or data -convert specify the format of unformatted files containing numeric data keywords: big_endian, cray, ibm, little_endian, native, vaxd, vaxg -falign-functions=[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary -falign-functions align the start of functions to an optimal machine-dependent value. -fno-align-functions (DEFAULT) aligns on a 2-byte boundary -fvisibility=[extern|default|protected|hidden|internal] Global symbols (data and functions) will get the visibility attribute given by default. Symbol visibility attributes explicitly set in the source code or using the symbol visibility attribute file options will override the -fvisibility setting -fvisibility-extern= Space separated symbols listed in the argument will get visibility set to extern -fvisibility-default= Space separated symbols listed in the argument will get visibility set to default -fvisibility-protected= Space separated symbols listed in the argument will get visibility set to protected -fvisibility-hidden= Space separated symbols listed in the argument will get visibility set to hidden -fvisibility-internal= Space separated symbols listed in the argument will get visibility set to internal -fvisibility-inlines-hidden mark inline member functions as hidden Compatibility ------------- -fpscomp specify the level of compatibility to adhere to with Fortran PowerStation keywords: all, none (same as -nofpscomp), [no]filesfromcmd, [no]general, [no]ioformat, [no]ldio_spacing, [no]libs, [no]logicals -nofpscomp no specific level of compatibility with Fortran PowerStation -f66, -66 allow extensions that enhance FORTRAN-66 compatibility -f77rtl specify that the Fortran 77 specific run-time support should be used -nof77rtl disables -vms enable VMS I/O statement extensions -gcc-name= name and location of gcc if not where expected -gxx-name= name and location of g++ if not where expected -gnu-prefix=prefix specify a prefix that will be added to the names of GNU utilities called from the compiler Linking/Linker -------------- -L instruct linker to search for libraries -l instruct the linker to link in the -l library -shared-intel link Intel provided libraries dynamically -static-intel link Intel provided libraries statically -shared-libgcc link libgcc dynamically -static-libgcc link libgcc statically -static-libstdc++ link libstdc++ statically -dynamic-linker select dynamic linker other than the default -cxxlib link using C++ run-time libraries -no-cxxlib do not link in C++ runtime libraries -cxxlib[=dir] link using C++ run-time libraries provided with gcc dir is an optional top-level location for the gcc binaries and libraries -nodefaultlibs do not use standard libraries when linking -nostartfiles do not use standard startup files when linking -nostdlib do not use standard libraries and startup files when linking -nofor-main do not link against Fortran main object. Used when linking Fortran objects with C main program -static prevents linking with shared libraries -shared produce a shared object -Bstatic specify following libraries are linked statically -Bdynamic specify following libraries are linked dynamically -cxxlib- tell the compiler which C++ run-time libraries to use nostd - do not link in standard C++ library -T direct linker to read link commands from -Xlinker pass directly to the linker for processing -Wa,[,,...] pass options o1, o2, etc. to the assembler -Wl,[,,...] pass options o1, o2, etc. to the linker for processing -Wp,[,,...] pass options o1, o2, etc. to the preprocessor -threads specify that multi-threaded libraries should be linked against -nothreads disables multi-threaded libraries -pie,-no_pie generate position independent code that will be linked into an executable (-pie is DEFAULT for Mac OS X 10.7 and later) -no-pie/-no_pie disables position independent code Linker Specific Options ----------------------- These options are specific to the linker. Details can be found in the linker documentation and man page -L -T -h -u -z -i -r -s -N -Bsymbolic -Bdynamic -Bstatic Deprecated Options ------------------ -Ob use -inline-level= -use-asm No replacement -gcc-version use -gcc-name= -qopt-report [n] use -qopt-report[=n] -offload-attribute-target= use -qoffload-attribute-target= -offload-option,,, use -qoffload-option,,, -[no-]offload[=] use -q[no-]offload[=] -opt-args-in-regs= use -qopt-args-in-regs= -[no-]opt-assume-safe-padding use -q[no-]opt-assume-safe-padding -opt-block-factor= use -qopt-block-factor= -[no-]opt-calloc use -q[no-]opt-calloc -[no-]opt-class-analysis use -q[no-]opt-class-analysis -[no-]opt-dynamic-align use -q[no-]opt-dynamic-align -[no-]opt-gather-scatter-unroll use -q[no-]opt-gather-scatter-unroll -[no-]opt-jump-tables= use -q[no-]opt-jump-tables= -opt-malloc-options= use -qopt-malloc-options= -[no-]opt-matmul use -q[no-]opt-matmul -[no-]opt-mem-layout-trans= use -q[no-]opt-mem-layout-trans= -[no-]opt-multi-version-aggressive use -q[no-]opt-multi-version-aggressive -[no-]opt-prefetch[=] use -q[no-]opt-prefetch[=] -opt-prefetch-distance= use -qopt-prefetch-distance= -opt-ra-region-strategy[=] use -qopt-ra-region-strategy[=] -[no-]opt-report-embed use -q[no-]opt-report-embed -opt-report-file= use -qopt-report-file= -opt-report-filter= use -qopt-report-filter= -opt-report-format= use -qopt-report-format= -opt-report-phase= use -qopt-report-phase= -opt-report-routine= use -qopt-report-routine= -opt-report-help use -qopt-report-help -opt-report[=] use -qopt-report[=] -opt-report-per-object use -qopt-report-per-object -opt-streaming-cache-evict= use -qopt-streaming-cache-evict= -opt-streaming-stores= use -qopt-streaming-stores= -[no-]opt-subscript-in-range use -q[no-]opt-subscript-in-range -opt-threads-per-core= use -qopt-threads-per-core= -diag-enable=sc[n] No replacement -diag-enable=sc-{full|concise|precise} No replacement -diag-enable=sc-include No replacement -diag-enable=sc-single-file No replacement -diag-enable=sc-enums No replacement -diag-enable=sc-parallel[n] No replacement -vec-report[=n] use -qopt-report[=n] -qopt-report-phase=vec -par-report[=n] use -qopt-report[=n] -qopt-report-phase=par -[no-]openmp use -q[no-]openmp -openmp-lib= use -qopenmp-lib= -openmp-link= use -qopenmp-link= -[no-]openmp-offload use -q[no-]openmp-offload -[no-]openmp-simd use -q[no-]openmp-simd -openmp-stubs use -qopenmp-stubs -openmp-threadprivate= use -qopenmp-threadprivate= -openmp-report[=] use -qopenmp-report[=] -openmp-task= use -qopenmp-task= -openmp-report[=n] use -qopt-report[=n] -qopt-report-phase=openmp -fwritable-strings use -assume writeable-strings -1, -66, -onetrip use -f66 -pthread use -reentrancy threaded -arch pn* use -arch -xT use -xSSSE3 -axT use -axSSSE3 -xS use -xSSE4.1 -axS use -axSSE4.1 -xSSE3_ATOM use -xSSSE3_ATOM -xSSSE3_ATOM use -xATOM_SSSE3 -help [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2014, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. ================================================================================ TEST configureDebugging from PETSc.options.debugging(/home/swong/Downloads/petsc/config/PETSc/options/debugging.py:25) TESTING: configureDebugging from PETSc.options.debugging(config/PETSc/options/debugging.py:25) Defined "USE_ERRORCHECKING" to "1" ================================================================================ TEST checkRestrict from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:137) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:137) Check for the C/CXX restrict keyword Executing: icc -V Pushing language C All intermediate test results are stored in /tmp/petsc-pA4Uet/config.compilers Executing: icc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set C restrict keyword to __restrict Defined "C_RESTRICT" to "__restrict" Popping language C ================================================================================ TEST checkCFormatting from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:322) TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:322) Activate format string checking if using the GNU compilers ================================================================================ TEST checkCStaticInline from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:108) TESTING: checkCStaticInline from config.compilers(config/BuildSystem/config/compilers.py:108) Check for C keyword: static inline Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set C StaticInline keyword to static inline Popping language C Defined "C_STATIC_INLINE" to "static inline" ================================================================================ TEST checkDynamicLoadFlag from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:333) TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:333) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: icc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LAZY); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.compilers/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LAZY" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_NOW); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.compilers/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_NOW" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LOCAL); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.compilers/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LOCAL" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_GLOBAL); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.compilers/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_GLOBAL" to "1" ================================================================================ TEST checkCLibraries from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:171) TESTING: checkCLibraries from config.compilers(config/BuildSystem/config/compilers.py:171) Determines the libraries needed to link with C Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.compilers/conftest -v -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: icc version 15.0.0 (gcc version 4.8.5 compatibility) /opt/intel/composer_xe_2015.0.090/bin/intel64/mcpcom -mP1OPT_version=15.0-intel64 -mGLOB_diag_enable_disable=D:1572 -mGLOB_diag_file=/tmp/petsc-pA4Uet/config.compilers/conftest.diag -mP1OPT_print_version=FALSE -mCG_use_gas_got_workaround=F -mP2OPT_align_option_used=TRUE -mGLOB_gcc_version=485 "-mGLOB_options_string=-o /tmp/petsc-pA4Uet/config.compilers/conftest -v -fPIC -wd1572 -g -ldl" -mGLOB_position_independent_code -mGLOB_preemption_model=3 -mGLOB_cxx_limited_range=FALSE -mCG_extend_parms=FALSE -mGLOB_compiler_bin_directory=/opt/intel/composer_xe_2015.0.090/bin/intel64 -mP3OPT_emit_line_numbers -mGLOB_debug_target=GLOB_DEBUG_TARGET_ALL -mDEBUG_info_level=2 -mDEBUG_use_indirect_strings=TRUE -mGLOB_debug_format=GLOB_DEBUG_FORMAT_DWARF30 -mGLOB_as_output_backup_file_name=/tmp/icc6g9Jh9as_.s -mIPOPT_activate -mGLOB_em64t -mGLOB_product_id_code=0x22006d91 -mP3OPT_use_mspp_call_convention -mP2OPT_subs_out_of_bound=FALSE -mP2OPT_disam_type_based_disam=2 -mP2OPT_disam_assume_ansi_c -mP2OPT_checked_disam_ansi_alias=TRUE -mGLOB_ansi_alias -mPGOPTI_value_profile_use=T -mGLOB_opt_report_use_source_name -mGLOB_opt_report_per_object_dir=/tmp/petsc-pA4Uet/config.compilers -mP2OPT_il0_array_sections=TRUE -mGLOB_offload_mode=1 -mP2OPT_offload_unique_var_string=icc401523973BJJlKy -mP2OPT_hlo -mP2OPT_hpo_rtt_control=0 -mIPOPT_args_in_regs=0 -mP2OPT_disam_assume_nonstd_intent_in=FALSE -mGLOB_imf_mapping_library=/opt/intel/composer_xe_2015.0.090/bin/intel64/libiml_attr.so -mP2OPT_hlo_embed_loopinfo -mPGOPTI_gen_threadsafe_level=0 -mIPOPT_link -mIPOPT_ipo_activate -mIPOPT_mo_activate -mIPOPT_source_files_list=/tmp/iccslispZ7FPm -mIPOPT_mo_global_data -mIPOPT_link_script_file=/tmp/iccscriptof1MYC "-mIPOPT_cmdline_link="/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o" "--eh-frame-hdr" "--build-id" "-dynamic-linker" "/lib64/ld-linux-x86-64.so.2" "-m" "elf_x86_64" "-o" "/tmp/petsc-pA4Uet/config.compilers/conftest" "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/" "-L/lib/../lib64" "-L/lib/../lib64/" "-L/usr/lib/../lib64" "-L/usr/lib/../lib64/" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../" "-L/lib64" "-L/lib/" "-L/usr/lib64" "-L/usr/lib" "/tmp/petsc-pA4Uet/config.compilers/conftest.o" "-ldl" "-Bdynamic" "-Bstatic" "-limf" "-lsvml" "-lirng" "-Bdynamic" "-lm" "-Bstatic" "-lipgo" "-ldecimal" "--as-needed" "-Bdynamic" "-lcilkrts" "-lstdc++" "--no-as-needed" "-lgcc" "-lgcc_s" "-Bstatic" "-lirc" "-lsvml" "-Bdynamic" "-lc" "-lgcc" "-lgcc_s" "-Bstatic" "-lirc_s" "-Bdynamic" "-ldl" "-lc" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o"" -mIPOPT_il_in_obj -mIPOPT_ipo_activate_warn=FALSE -mIPOPT_obj_output_file_name=/tmp/ipo_iccfSMmXN.o -mIPOPT_whole_archive_fixup_file_name=/tmp/iccwarchEy4LbL -mGLOB_linker_version=2.23.52.0.1 -mGLOB_long_size_64 -mGLOB_routine_pointer_size_64 -mGLOB_driver_tempfile_name=/tmp/icctempfilePYeIp1 -mP3OPT_asm_target=P3OPT_ASM_TARGET_GAS -mGLOB_async_unwind_tables=TRUE -mGLOB_obj_output_file=/tmp/ipo_iccfSMmXN.o -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE -mP1OPT_source_file_name=ipo_out.c /tmp/petsc-pA4Uet/config.compilers/conftest.o -mIPOPT_object_files=T -mIPOPT_assembly_files=/tmp/iccalisxxFofk -mIPOPT_generated_tempfiles=/tmp/iccelisEUrroA -mIPOPT_embedded_object_base_name=/tmp/icceobjvPkvxQ -mIPOPT_cmdline_link_new_name=/tmp/iccllisM79zG6 ld /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o --eh-frame-hdr --build-id -dynamic-linker /lib64/ld-linux-x86-64.so.2 -m elf_x86_64 -o /tmp/petsc-pA4Uet/config.compilers/conftest -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/ -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/ -L/lib/../lib64 -L/lib/../lib64/ -L/usr/lib/../lib64 -L/usr/lib/../lib64/ -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../ -L/lib64 -L/lib/ -L/usr/lib64 -L/usr/lib /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl -Bdynamic -Bstatic -limf -lsvml -lirng -Bdynamic -lm -Bstatic -lipgo -ldecimal --as-needed -Bdynamic -lcilkrts -lstdc++ --no-as-needed -lgcc -lgcc_s -Bstatic -lirc -lsvml -Bdynamic -lc -lgcc -lgcc_s -Bstatic -lirc_s -Bdynamic -ldl -lc /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o Popping language C compilers: Checking arg icc compilers: Unknown arg icc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 15.0.0 compilers: Unknown arg 15.0.0 compilers: Checking arg (gcc compilers: Unknown arg (gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 4.8.5 compilers: Unknown arg 4.8.5 compilers: Checking arg compatibility) compilers: Unknown arg compatibility) compilers: Checking arg /opt/intel/composer_xe_2015.0.090/bin/intel64/mcpcom compilers: Unknown arg /opt/intel/composer_xe_2015.0.090/bin/intel64/mcpcom compilers: Checking arg -mP1OPT_version=15.0-intel64 compilers: Unknown arg -mP1OPT_version=15.0-intel64 compilers: Checking arg -mGLOB_diag_enable_disable=D:1572 compilers: Unknown arg -mGLOB_diag_enable_disable=D:1572 compilers: Checking arg -mGLOB_diag_file=/tmp/petsc-pA4Uet/config.compilers/conftest.diag compilers: Unknown arg -mGLOB_diag_file=/tmp/petsc-pA4Uet/config.compilers/conftest.diag compilers: Checking arg -mP1OPT_print_version=FALSE compilers: Unknown arg -mP1OPT_print_version=FALSE compilers: Checking arg -mCG_use_gas_got_workaround=F compilers: Unknown arg -mCG_use_gas_got_workaround=F compilers: Checking arg -mP2OPT_align_option_used=TRUE compilers: Unknown arg -mP2OPT_align_option_used=TRUE compilers: Checking arg -mGLOB_gcc_version=485 compilers: Unknown arg -mGLOB_gcc_version=485 compilers: Checking arg "-mGLOB_options_string=-o compilers: Unknown arg "-mGLOB_options_string=-o compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Checking arg -v compilers: Unknown arg -v compilers: Checking arg -fPIC compilers: Unknown arg -fPIC compilers: Checking arg -wd1572 compilers: Unknown arg -wd1572 compilers: Checking arg -g compilers: Unknown arg -g compilers: Checking arg -ldl" compilers: Found library : -ldl compilers: Checking arg -mGLOB_position_independent_code compilers: Unknown arg -mGLOB_position_independent_code compilers: Checking arg -mGLOB_preemption_model=3 compilers: Unknown arg -mGLOB_preemption_model=3 compilers: Checking arg -mGLOB_cxx_limited_range=FALSE compilers: Unknown arg -mGLOB_cxx_limited_range=FALSE compilers: Checking arg -mCG_extend_parms=FALSE compilers: Unknown arg -mCG_extend_parms=FALSE compilers: Checking arg -mGLOB_compiler_bin_directory=/opt/intel/composer_xe_2015.0.090/bin/intel64 compilers: Unknown arg -mGLOB_compiler_bin_directory=/opt/intel/composer_xe_2015.0.090/bin/intel64 compilers: Checking arg -mP3OPT_emit_line_numbers compilers: Unknown arg -mP3OPT_emit_line_numbers compilers: Checking arg -mGLOB_debug_target=GLOB_DEBUG_TARGET_ALL compilers: Unknown arg -mGLOB_debug_target=GLOB_DEBUG_TARGET_ALL compilers: Checking arg -mDEBUG_info_level=2 compilers: Unknown arg -mDEBUG_info_level=2 compilers: Checking arg -mDEBUG_use_indirect_strings=TRUE compilers: Unknown arg -mDEBUG_use_indirect_strings=TRUE compilers: Checking arg -mGLOB_debug_format=GLOB_DEBUG_FORMAT_DWARF30 compilers: Unknown arg -mGLOB_debug_format=GLOB_DEBUG_FORMAT_DWARF30 compilers: Checking arg -mGLOB_as_output_backup_file_name=/tmp/icc6g9Jh9as_.s compilers: Unknown arg -mGLOB_as_output_backup_file_name=/tmp/icc6g9Jh9as_.s compilers: Checking arg -mIPOPT_activate compilers: Unknown arg -mIPOPT_activate compilers: Checking arg -mGLOB_em64t compilers: Unknown arg -mGLOB_em64t compilers: Checking arg -mGLOB_product_id_code=0x22006d91 compilers: Unknown arg -mGLOB_product_id_code=0x22006d91 compilers: Checking arg -mP3OPT_use_mspp_call_convention compilers: Unknown arg -mP3OPT_use_mspp_call_convention compilers: Checking arg -mP2OPT_subs_out_of_bound=FALSE compilers: Unknown arg -mP2OPT_subs_out_of_bound=FALSE compilers: Checking arg -mP2OPT_disam_type_based_disam=2 compilers: Unknown arg -mP2OPT_disam_type_based_disam=2 compilers: Checking arg -mP2OPT_disam_assume_ansi_c compilers: Unknown arg -mP2OPT_disam_assume_ansi_c compilers: Checking arg -mP2OPT_checked_disam_ansi_alias=TRUE compilers: Unknown arg -mP2OPT_checked_disam_ansi_alias=TRUE compilers: Checking arg -mGLOB_ansi_alias compilers: Unknown arg -mGLOB_ansi_alias compilers: Checking arg -mPGOPTI_value_profile_use=T compilers: Unknown arg -mPGOPTI_value_profile_use=T compilers: Checking arg -mGLOB_opt_report_use_source_name compilers: Unknown arg -mGLOB_opt_report_use_source_name compilers: Checking arg -mGLOB_opt_report_per_object_dir=/tmp/petsc-pA4Uet/config.compilers compilers: Unknown arg -mGLOB_opt_report_per_object_dir=/tmp/petsc-pA4Uet/config.compilers compilers: Checking arg -mP2OPT_il0_array_sections=TRUE compilers: Unknown arg -mP2OPT_il0_array_sections=TRUE compilers: Checking arg -mGLOB_offload_mode=1 compilers: Unknown arg -mGLOB_offload_mode=1 compilers: Checking arg -mP2OPT_offload_unique_var_string=icc401523973BJJlKy compilers: Unknown arg -mP2OPT_offload_unique_var_string=icc401523973BJJlKy compilers: Checking arg -mP2OPT_hlo compilers: Unknown arg -mP2OPT_hlo compilers: Checking arg -mP2OPT_hpo_rtt_control=0 compilers: Unknown arg -mP2OPT_hpo_rtt_control=0 compilers: Checking arg -mIPOPT_args_in_regs=0 compilers: Unknown arg -mIPOPT_args_in_regs=0 compilers: Checking arg -mP2OPT_disam_assume_nonstd_intent_in=FALSE compilers: Unknown arg -mP2OPT_disam_assume_nonstd_intent_in=FALSE compilers: Checking arg -mGLOB_imf_mapping_library=/opt/intel/composer_xe_2015.0.090/bin/intel64/libiml_attr.so compilers: Unknown arg -mGLOB_imf_mapping_library=/opt/intel/composer_xe_2015.0.090/bin/intel64/libiml_attr.so compilers: Checking arg -mP2OPT_hlo_embed_loopinfo compilers: Unknown arg -mP2OPT_hlo_embed_loopinfo compilers: Checking arg -mPGOPTI_gen_threadsafe_level=0 compilers: Unknown arg -mPGOPTI_gen_threadsafe_level=0 compilers: Checking arg -mIPOPT_link compilers: Unknown arg -mIPOPT_link compilers: Checking arg -mIPOPT_ipo_activate compilers: Unknown arg -mIPOPT_ipo_activate compilers: Checking arg -mIPOPT_mo_activate compilers: Unknown arg -mIPOPT_mo_activate compilers: Checking arg -mIPOPT_source_files_list=/tmp/iccslispZ7FPm compilers: Unknown arg -mIPOPT_source_files_list=/tmp/iccslispZ7FPm compilers: Checking arg -mIPOPT_mo_global_data compilers: Unknown arg -mIPOPT_mo_global_data compilers: Checking arg -mIPOPT_link_script_file=/tmp/iccscriptof1MYC compilers: Unknown arg -mIPOPT_link_script_file=/tmp/iccscriptof1MYC compilers: Checking arg "-mIPOPT_cmdline_link="/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o" compilers: Unknown arg -mIPOPT_cmdline_link="/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o compilers: Checking arg "--eh-frame-hdr" compilers: Unknown arg --eh-frame-hdr compilers: Checking arg "--build-id" compilers: Unknown arg --build-id compilers: Checking arg "-dynamic-linker" compilers: Unknown arg -dynamic-linker compilers: Checking arg "/lib64/ld-linux-x86-64.so.2" compilers: Unknown arg /lib64/ld-linux-x86-64.so.2 compilers: Checking arg "-m" compilers: Unknown arg -m compilers: Checking arg "elf_x86_64" compilers: Unknown arg elf_x86_64 compilers: Checking arg "-o" compilers: Unknown arg -o compilers: Checking arg "/tmp/petsc-pA4Uet/config.compilers/conftest" compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Checking arg "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" compilers: Found library directory: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/" compilers: Found library directory: -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64" compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/" compilers: Checking arg "-L/lib/../lib64" compilers: Checking arg "-L/lib/../lib64/" compilers: Checking arg "-L/usr/lib/../lib64" compilers: Checking arg "-L/usr/lib/../lib64/" compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../" compilers: Checking arg "-L/lib64" compilers: Checking arg "-L/lib/" compilers: Checking arg "-L/usr/lib64" compilers: Checking arg "-L/usr/lib" compilers: Checking arg "/tmp/petsc-pA4Uet/config.compilers/conftest.o" compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Checking arg "-ldl" compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-limf" compilers: Found library : -limf compilers: Checking arg "-lsvml" compilers: Found library : -lsvml compilers: Checking arg "-lirng" compilers: Found library : -lirng compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-lm" compilers: Found library : -lm compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-lipgo" compilers: Found library : -lipgo compilers: Checking arg "-ldecimal" compilers: Found library : -ldecimal compilers: Checking arg "--as-needed" compilers: Unknown arg --as-needed compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-lcilkrts" compilers: Found library : -lcilkrts compilers: Checking arg "-lstdc++" compilers: Found library : -lstdc++ compilers: Checking arg "--no-as-needed" compilers: Unknown arg --no-as-needed compilers: Checking arg "-lgcc" compilers: Skipping system library: -lgcc compilers: Checking arg "-lgcc_s" compilers: Found library : -lgcc_s compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-lirc" compilers: Found library : -lirc compilers: Checking arg "-lsvml" compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-lc" compilers: Skipping system library: -lc compilers: Checking arg "-lgcc" compilers: Skipping system library: -lgcc compilers: Checking arg "-lgcc_s" compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-lirc_s" compilers: Found library : -lirc_s compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-ldl" compilers: Checking arg "-lc" compilers: Skipping system library: -lc compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o"" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o compilers: Checking arg -mIPOPT_il_in_obj compilers: Unknown arg -mIPOPT_il_in_obj compilers: Checking arg -mIPOPT_ipo_activate_warn=FALSE compilers: Unknown arg -mIPOPT_ipo_activate_warn=FALSE compilers: Checking arg -mIPOPT_obj_output_file_name=/tmp/ipo_iccfSMmXN.o compilers: Unknown arg -mIPOPT_obj_output_file_name=/tmp/ipo_iccfSMmXN.o compilers: Checking arg -mIPOPT_whole_archive_fixup_file_name=/tmp/iccwarchEy4LbL compilers: Unknown arg -mIPOPT_whole_archive_fixup_file_name=/tmp/iccwarchEy4LbL compilers: Checking arg -mGLOB_linker_version=2.23.52.0.1 compilers: Unknown arg -mGLOB_linker_version=2.23.52.0.1 compilers: Checking arg -mGLOB_long_size_64 compilers: Unknown arg -mGLOB_long_size_64 compilers: Checking arg -mGLOB_routine_pointer_size_64 compilers: Unknown arg -mGLOB_routine_pointer_size_64 compilers: Checking arg -mGLOB_driver_tempfile_name=/tmp/icctempfilePYeIp1 compilers: Unknown arg -mGLOB_driver_tempfile_name=/tmp/icctempfilePYeIp1 compilers: Checking arg -mP3OPT_asm_target=P3OPT_ASM_TARGET_GAS compilers: Unknown arg -mP3OPT_asm_target=P3OPT_ASM_TARGET_GAS compilers: Checking arg -mGLOB_async_unwind_tables=TRUE compilers: Unknown arg -mGLOB_async_unwind_tables=TRUE compilers: Checking arg -mGLOB_obj_output_file=/tmp/ipo_iccfSMmXN.o compilers: Unknown arg -mGLOB_obj_output_file=/tmp/ipo_iccfSMmXN.o compilers: Checking arg -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE compilers: Unknown arg -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE compilers: Checking arg -mP1OPT_source_file_name=ipo_out.c compilers: Unknown arg -mP1OPT_source_file_name=ipo_out.c compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Checking arg -mIPOPT_object_files=T compilers: Unknown arg -mIPOPT_object_files=T compilers: Checking arg -mIPOPT_assembly_files=/tmp/iccalisxxFofk compilers: Unknown arg -mIPOPT_assembly_files=/tmp/iccalisxxFofk compilers: Checking arg -mIPOPT_generated_tempfiles=/tmp/iccelisEUrroA compilers: Unknown arg -mIPOPT_generated_tempfiles=/tmp/iccelisEUrroA compilers: Checking arg -mIPOPT_embedded_object_base_name=/tmp/icceobjvPkvxQ compilers: Unknown arg -mIPOPT_embedded_object_base_name=/tmp/icceobjvPkvxQ compilers: Checking arg -mIPOPT_cmdline_link_new_name=/tmp/iccllisM79zG6 compilers: Unknown arg -mIPOPT_cmdline_link_new_name=/tmp/iccllisM79zG6 compilers: Checking arg ld compilers: Unknown arg ld compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o compilers: Checking arg --eh-frame-hdr compilers: Unknown arg --eh-frame-hdr compilers: Checking arg --build-id compilers: Unknown arg --build-id compilers: Checking arg -dynamic-linker compilers: Unknown arg -dynamic-linker compilers: Checking arg /lib64/ld-linux-x86-64.so.2 compilers: Unknown arg /lib64/ld-linux-x86-64.so.2 compilers: Checking arg -m compilers: Unknown arg -m compilers: Checking arg elf_x86_64 compilers: Unknown arg elf_x86_64 compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Found library directory: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/ compilers: Found library directory: -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/ compilers: Checking arg -L/lib/../lib64 compilers: Checking arg -L/lib/../lib64/ compilers: Checking arg -L/usr/lib/../lib64 compilers: Checking arg -L/usr/lib/../lib64/ compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../ compilers: Checking arg -L/lib64 compilers: Checking arg -L/lib/ compilers: Checking arg -L/usr/lib64 compilers: Checking arg -L/usr/lib compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -limf compilers: Checking arg -lsvml compilers: Checking arg -lirng compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lm compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -lipgo compilers: Checking arg -ldecimal compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lcilkrts compilers: Checking arg -lstdc++ compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg -lgcc_s compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -lirc compilers: Checking arg -lsvml compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lc compilers: Skipping system library: -lc compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg -lgcc_s compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -lirc_s compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -ldl compilers: Checking arg -lc compilers: Skipping system library: -lc compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o compilers: Libraries needed to link C code with another linker: ['-ldl', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-limf', '-lsvml', '-lirng', '-lm', '-lipgo', '-ldecimal', '-lcilkrts', '-lstdc++', '-lgcc_s', '-lirc', '-lirc_s', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5'] compilers: Check that C libraries can be used from Fortran Pushing language FC Popping language FC Pushing language FC Popping language FC Pushing language FC Popping language FC Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkDependencyGenerationFlag from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:1361) TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1361) Check if -MMD works for dependency generation, and add it if it does Trying C compiler flag -MMD -MP Defined make macro "C_DEPFLAGS" to "-MMD -MP" Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g -MMD -MP /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Popping language C Trying Cxx compiler flag -MMD -MP Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -wd1572 -g -fPIC -MMD -MP /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Popping language Cxx Trying FC compiler flag -MMD -MP Rejected FC compiler flag -MMD -MP Trying FC compiler flag -MMD Rejected FC compiler flag -MMD because no dependency file (/tmp/petsc-pA4Uet/config.setCompilers/conftest.d) was generated Trying FC compiler flag -xMMD Rejected FC compiler flag -xMMD Trying FC compiler flag -qmakedep=gcc Rejected FC compiler flag -qmakedep=gcc Trying FC compiler flag -MD Rejected FC compiler flag -MD because no dependency file (/tmp/petsc-pA4Uet/config.setCompilers/conftest.d) was generated Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g -MMD -MP /tmp/petsc-pA4Uet/config.setCompilers/conftest.F stdout: /tmp/petsc-pA4Uet/config.setCompilers/conftest.o : \ /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Possible ERROR while running compiler: stdout: /tmp/petsc-pA4Uet/config.setCompilers/conftest.o : \ /tmp/petsc-pA4Uet/config.setCompilers/conftest.Fstderr: ifort: command line warning #10006: ignoring unknown option '-MP' Source: program main end Rejecting compiler flag -MMD -MP due to /tmp/petsc-pA4Uet/config.setCompilers/conftest.o : \ /tmp/petsc-pA4Uet/config.setCompilers/conftest.Fifort: command line warning #10006: ignoring unknown option '-MP' Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g -MMD /tmp/petsc-pA4Uet/config.setCompilers/conftest.F stdout: /tmp/petsc-pA4Uet/config.setCompilers/conftest.o : \ /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g -xMMD /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: ifort: command line error: Unrecognized keyword 'MMD' for option '-x' Source: program main end Rejecting compiler flag -xMMD due to nonzero status from link Rejecting compiler flag -xMMD due to ifort: command line error: Unrecognized keyword 'MMD' for option '-x' PETSc Error: No output file produced Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g -qmakedep=gcc /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Possible ERROR while running compiler: stderr: ifort: command line warning #10006: ignoring unknown option '-qmakedep=gcc' Source: program main end Rejecting compiler flag -qmakedep=gcc due to ifort: command line warning #10006: ignoring unknown option '-qmakedep=gcc' Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g -MD /tmp/petsc-pA4Uet/config.setCompilers/conftest.F stdout: /tmp/petsc-pA4Uet/config.setCompilers/conftest.o : \ /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Popping language FC ================================================================================ TEST checkC99Flag from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:1407) TESTING: checkC99Flag from config.compilers(config/BuildSystem/config/compilers.py:1407) Check for -std=c99 or equivalent flag Accepted C99 compile flag: -std=c99 Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 512 stderr: /tmp/petsc-pA4Uet/config.setCompilers/conftest.c(11): error: expected an expression for (int i=0; i<2; i++){ ^ /tmp/petsc-pA4Uet/config.setCompilers/conftest.c(11): error: identifier "i" is undefined for (int i=0; i<2; i++){ ^ compilation aborted for /tmp/petsc-pA4Uet/config.setCompilers/conftest.c (code 2) Source: #include "confdefs.h" #include "conffix.h" #include int main() { float x[2],y; y = FLT_ROUNDS; // c++ comment int j = 2; for (int i=0; i<2; i++){ x[i] = i*j*y; } ; return 0; } Rejecting compiler flag due to nonzero status from link Rejecting compiler flag due to /tmp/petsc-pA4Uet/config.setCompilers/conftest.c(11): error: expected an expression for (int i=0; i<2; i++){ ^ /tmp/petsc-pA4Uet/config.setCompilers/conftest.c(11): error: identifier "i" is undefined for (int i=0; i<2; i++){ ^ compilation aborted for /tmp/petsc-pA4Uet/config.setCompilers/conftest.c (code 2) PETSc Error: No output file produced Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g -std=c99 /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { float x[2],y; y = FLT_ROUNDS; // c++ comment int j = 2; for (int i=0; i<2; i++){ x[i] = i*j*y; } ; return 0; } Popping language C ================================================================================ TEST checkRestrict from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:137) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:137) Check for the C/CXX restrict keyword Executing: icc -V Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set Cxx restrict keyword to __restrict Defined "CXX_RESTRICT" to "__restrict" Popping language Cxx ================================================================================ TEST checkCxxNamespace from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:373) TESTING: checkCxxNamespace from config.compilers(config/BuildSystem/config/compilers.py:373) Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" namespace petsc {int dummy;} int main() { ; return 0; } Executing: icpc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" template struct a {}; namespace trouble{ template struct a : public ::a {}; } trouble::a uugh; int main() { ; return 0; } Popping language Cxx compilers: C++ has namespaces Defined "HAVE_CXX_NAMESPACE" to "1" ================================================================================ TEST checkCxxOptionalExtensions from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:346) TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:346) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Added Cxx compiler flag Popping language Cxx ================================================================================ TEST checkCxxStaticInline from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:122) TESTING: checkCxxStaticInline from config.compilers(config/BuildSystem/config/compilers.py:122) Check for C++ keyword: static inline Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set Cxx StaticInline keyword to static inline Popping language Cxx Defined "CXX_STATIC_INLINE" to "static inline" ================================================================================ TEST checkCxxLibraries from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:431) TESTING: checkCxxLibraries from config.compilers(config/BuildSystem/config/compilers.py:431) Determines the libraries needed to link with C++ Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: icpc -o /tmp/petsc-pA4Uet/config.compilers/conftest -v -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: stderr: icpc version 15.0.0 (gcc version 4.8.5 compatibility) /opt/intel/composer_xe_2015.0.090/bin/intel64/mcpcom -mP1OPT_version=15.0-intel64 -mGLOB_diag_enable_disable=D:1572 -mGLOB_diag_file=/tmp/petsc-pA4Uet/config.compilers/conftest.diag -mP1OPT_print_version=FALSE -mCG_use_gas_got_workaround=F -mP2OPT_align_option_used=TRUE -mGLOB_gcc_version=485 "-mGLOB_options_string=-o /tmp/petsc-pA4Uet/config.compilers/conftest -v -wd1572 -g -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl" -mGLOB_cxx_limited_range=FALSE -mCG_extend_parms=FALSE -mGLOB_compiler_bin_directory=/opt/intel/composer_xe_2015.0.090/bin/intel64 -mP3OPT_emit_line_numbers -mGLOB_debug_target=GLOB_DEBUG_TARGET_ALL -mDEBUG_info_level=2 -mDEBUG_use_indirect_strings=TRUE -mGLOB_debug_format=GLOB_DEBUG_FORMAT_DWARF30 -mGLOB_as_output_backup_file_name=/tmp/icpcinVZ0das_.s -mIPOPT_activate -mGLOB_em64t -mGLOB_product_id_code=0x22006d8e -mP3OPT_use_mspp_call_convention -mP2OPT_subs_out_of_bound=FALSE -mP2OPT_disam_type_based_disam=2 -mP2OPT_disam_assume_ansi_c -mP2OPT_checked_disam_ansi_alias=TRUE -mGLOB_ansi_alias -mPGOPTI_value_profile_use=T -mGLOB_opt_report_use_source_name -mGLOB_opt_report_per_object_dir=/tmp/petsc-pA4Uet/config.compilers -mP2OPT_il0_array_sections=TRUE -mGLOB_offload_mode=1 -mP2OPT_offload_unique_var_string=icpc1201372146tizXO -mP2OPT_hlo -mP2OPT_hpo_rtt_control=0 -mIPOPT_args_in_regs=0 -mP2OPT_disam_assume_nonstd_intent_in=FALSE -mGLOB_imf_mapping_library=/opt/intel/composer_xe_2015.0.090/bin/intel64/libiml_attr.so -mP2OPT_hlo_embed_loopinfo -mPGOPTI_gen_threadsafe_level=0 -mIPOPT_link -mIPOPT_ipo_activate -mIPOPT_mo_activate -mIPOPT_source_files_list=/tmp/icpcslis5YpSU8 -mIPOPT_mo_global_data -mIPOPT_link_script_file=/tmp/icpcscriptyAmnhv "-mIPOPT_cmdline_link="/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o" "--eh-frame-hdr" "--build-id" "-dynamic-linker" "/lib64/ld-linux-x86-64.so.2" "-m" "elf_x86_64" "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5" "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5" "-o" "/tmp/petsc-pA4Uet/config.compilers/conftest" "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/" "-L/lib/../lib64" "-L/lib/../lib64/" "-L/usr/lib/../lib64" "-L/usr/lib/../lib64/" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../" "-L/lib64" "-L/lib/" "-L/usr/lib64" "-L/usr/lib" "/tmp/petsc-pA4Uet/config.compilers/conftest.o" "-ldl" "-rpath" "/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-rpath" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5" "-limf" "-lsvml" "-lirng" "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-Bstatic" "-limf" "-Bdynamic" "-lm" "-lipgo" "-ldecimal" "-lcilkrts" "-lstdc++" "-lgcc_s" "-lirc" "-lirc_s" "-rpath" "/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-rpath" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5" "-ldl" "-Bdynamic" "-Bstatic" "-limf" "-lsvml" "-lirng" "-Bdynamic" "-lm" "-Bstatic" "-lipgo" "-ldecimal" "--as-needed" "-Bdynamic" "-lcilkrts" "--no-as-needed" "-lstdc++" "-lgcc" "-lgcc_s" "-Bstatic" "-lirc" "-lsvml" "-Bdynamic" "-lc" "-lgcc" "-lgcc_s" "-Bstatic" "-lirc_s" "-Bdynamic" "-ldl" "-lc" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o"" -mIPOPT_il_in_obj -mIPOPT_ipo_activate_warn=FALSE -mIPOPT_obj_output_file_name=/tmp/ipo_icpcX8KhKY.o -mIPOPT_whole_archive_fixup_file_name=/tmp/icpcwarch2eQFZP -mGLOB_linker_version=2.23.52.0.1 -mGLOB_long_size_64 -mGLOB_routine_pointer_size_64 -mGLOB_driver_tempfile_name=/tmp/icpctempfileFiQRpc -mP3OPT_asm_target=P3OPT_ASM_TARGET_GAS -mGLOB_async_unwind_tables=TRUE -mGLOB_obj_output_file=/tmp/ipo_icpcX8KhKY.o -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE -mP1OPT_source_file_name=ipo_out.c /tmp/petsc-pA4Uet/config.compilers/conftest.o -mIPOPT_object_files=T -mIPOPT_assembly_files=/tmp/icpcalisXoV2sH -mIPOPT_generated_tempfiles=/tmp/icpcelis1GxtP3 -mIPOPT_embedded_object_base_name=/tmp/icpceobjhsDVbq -mIPOPT_cmdline_link_new_name=/tmp/icpcllisw1CoyM ld /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o --eh-frame-hdr --build-id -dynamic-linker /lib64/ld-linux-x86-64.so.2 -m elf_x86_64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -o /tmp/petsc-pA4Uet/config.compilers/conftest -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/ -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/ -L/lib/../lib64 -L/lib/../lib64/ -L/usr/lib/../lib64 -L/usr/lib/../lib64/ -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../ -L/lib64 -L/lib/ -L/usr/lib64 -L/usr/lib /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl -rpath /opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -rpath /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Bstatic -limf -Bdynamic -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -rpath /opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -rpath /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Bdynamic -Bstatic -limf -lsvml -lirng -Bdynamic -lm -Bstatic -lipgo -ldecimal --as-needed -Bdynamic -lcilkrts --no-as-needed -lstdc++ -lgcc -lgcc_s -Bstatic -lirc -lsvml -Bdynamic -lc -lgcc -lgcc_s -Bstatic -lirc_s -Bdynamic -ldl -lc /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o Popping language Cxx compilers: Checking arg icpc compilers: Unknown arg icpc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 15.0.0 compilers: Unknown arg 15.0.0 compilers: Checking arg (gcc compilers: Unknown arg (gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 4.8.5 compilers: Unknown arg 4.8.5 compilers: Checking arg compatibility) compilers: Unknown arg compatibility) compilers: Checking arg /opt/intel/composer_xe_2015.0.090/bin/intel64/mcpcom compilers: Unknown arg /opt/intel/composer_xe_2015.0.090/bin/intel64/mcpcom compilers: Checking arg -mP1OPT_version=15.0-intel64 compilers: Unknown arg -mP1OPT_version=15.0-intel64 compilers: Checking arg -mGLOB_diag_enable_disable=D:1572 compilers: Unknown arg -mGLOB_diag_enable_disable=D:1572 compilers: Checking arg -mGLOB_diag_file=/tmp/petsc-pA4Uet/config.compilers/conftest.diag compilers: Unknown arg -mGLOB_diag_file=/tmp/petsc-pA4Uet/config.compilers/conftest.diag compilers: Checking arg -mP1OPT_print_version=FALSE compilers: Unknown arg -mP1OPT_print_version=FALSE compilers: Checking arg -mCG_use_gas_got_workaround=F compilers: Unknown arg -mCG_use_gas_got_workaround=F compilers: Checking arg -mP2OPT_align_option_used=TRUE compilers: Unknown arg -mP2OPT_align_option_used=TRUE compilers: Checking arg -mGLOB_gcc_version=485 compilers: Unknown arg -mGLOB_gcc_version=485 compilers: Checking arg "-mGLOB_options_string=-o compilers: Unknown arg "-mGLOB_options_string=-o compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Checking arg -v compilers: Unknown arg -v compilers: Checking arg -wd1572 compilers: Unknown arg -wd1572 compilers: Checking arg -g compilers: Unknown arg -g compilers: Checking arg -ldl compilers: Found library: -ldl Library already in C list so skipping in C++ compilers: Checking arg -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Unknown arg -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Found library directory: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Unknown arg -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Found library directory: -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -limf compilers: Found library: -limf Library already in C list so skipping in C++ compilers: Checking arg -lsvml compilers: Found library: -lsvml Library already in C list so skipping in C++ compilers: Checking arg -lirng compilers: Found library: -lirng Library already in C list so skipping in C++ compilers: Checking arg -lm compilers: Found library: -lm Library already in C list so skipping in C++ compilers: Checking arg -lipgo compilers: Found library: -lipgo Library already in C list so skipping in C++ compilers: Checking arg -ldecimal compilers: Found library: -ldecimal Library already in C list so skipping in C++ compilers: Checking arg -lcilkrts compilers: Found library: -lcilkrts Library already in C list so skipping in C++ compilers: Checking arg -lstdc++ compilers: Found library: -lstdc++ Library already in C list so skipping in C++ compilers: Checking arg -lgcc_s compilers: Found library: -lgcc_s Library already in C list so skipping in C++ compilers: Checking arg -lirc compilers: Found library: -lirc Library already in C list so skipping in C++ compilers: Checking arg -lirc_s compilers: Found library: -lirc_s Library already in C list so skipping in C++ compilers: Checking arg -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Unknown arg -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Unknown arg -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -ldl" compilers: Checking arg -mGLOB_cxx_limited_range=FALSE compilers: Unknown arg -mGLOB_cxx_limited_range=FALSE compilers: Checking arg -mCG_extend_parms=FALSE compilers: Unknown arg -mCG_extend_parms=FALSE compilers: Checking arg -mGLOB_compiler_bin_directory=/opt/intel/composer_xe_2015.0.090/bin/intel64 compilers: Unknown arg -mGLOB_compiler_bin_directory=/opt/intel/composer_xe_2015.0.090/bin/intel64 compilers: Checking arg -mP3OPT_emit_line_numbers compilers: Unknown arg -mP3OPT_emit_line_numbers compilers: Checking arg -mGLOB_debug_target=GLOB_DEBUG_TARGET_ALL compilers: Unknown arg -mGLOB_debug_target=GLOB_DEBUG_TARGET_ALL compilers: Checking arg -mDEBUG_info_level=2 compilers: Unknown arg -mDEBUG_info_level=2 compilers: Checking arg -mDEBUG_use_indirect_strings=TRUE compilers: Unknown arg -mDEBUG_use_indirect_strings=TRUE compilers: Checking arg -mGLOB_debug_format=GLOB_DEBUG_FORMAT_DWARF30 compilers: Unknown arg -mGLOB_debug_format=GLOB_DEBUG_FORMAT_DWARF30 compilers: Checking arg -mGLOB_as_output_backup_file_name=/tmp/icpcinVZ0das_.s compilers: Unknown arg -mGLOB_as_output_backup_file_name=/tmp/icpcinVZ0das_.s compilers: Checking arg -mIPOPT_activate compilers: Unknown arg -mIPOPT_activate compilers: Checking arg -mGLOB_em64t compilers: Unknown arg -mGLOB_em64t compilers: Checking arg -mGLOB_product_id_code=0x22006d8e compilers: Unknown arg -mGLOB_product_id_code=0x22006d8e compilers: Checking arg -mP3OPT_use_mspp_call_convention compilers: Unknown arg -mP3OPT_use_mspp_call_convention compilers: Checking arg -mP2OPT_subs_out_of_bound=FALSE compilers: Unknown arg -mP2OPT_subs_out_of_bound=FALSE compilers: Checking arg -mP2OPT_disam_type_based_disam=2 compilers: Unknown arg -mP2OPT_disam_type_based_disam=2 compilers: Checking arg -mP2OPT_disam_assume_ansi_c compilers: Unknown arg -mP2OPT_disam_assume_ansi_c compilers: Checking arg -mP2OPT_checked_disam_ansi_alias=TRUE compilers: Unknown arg -mP2OPT_checked_disam_ansi_alias=TRUE compilers: Checking arg -mGLOB_ansi_alias compilers: Unknown arg -mGLOB_ansi_alias compilers: Checking arg -mPGOPTI_value_profile_use=T compilers: Unknown arg -mPGOPTI_value_profile_use=T compilers: Checking arg -mGLOB_opt_report_use_source_name compilers: Unknown arg -mGLOB_opt_report_use_source_name compilers: Checking arg -mGLOB_opt_report_per_object_dir=/tmp/petsc-pA4Uet/config.compilers compilers: Unknown arg -mGLOB_opt_report_per_object_dir=/tmp/petsc-pA4Uet/config.compilers compilers: Checking arg -mP2OPT_il0_array_sections=TRUE compilers: Unknown arg -mP2OPT_il0_array_sections=TRUE compilers: Checking arg -mGLOB_offload_mode=1 compilers: Unknown arg -mGLOB_offload_mode=1 compilers: Checking arg -mP2OPT_offload_unique_var_string=icpc1201372146tizXO compilers: Unknown arg -mP2OPT_offload_unique_var_string=icpc1201372146tizXO compilers: Checking arg -mP2OPT_hlo compilers: Unknown arg -mP2OPT_hlo compilers: Checking arg -mP2OPT_hpo_rtt_control=0 compilers: Unknown arg -mP2OPT_hpo_rtt_control=0 compilers: Checking arg -mIPOPT_args_in_regs=0 compilers: Unknown arg -mIPOPT_args_in_regs=0 compilers: Checking arg -mP2OPT_disam_assume_nonstd_intent_in=FALSE compilers: Unknown arg -mP2OPT_disam_assume_nonstd_intent_in=FALSE compilers: Checking arg -mGLOB_imf_mapping_library=/opt/intel/composer_xe_2015.0.090/bin/intel64/libiml_attr.so compilers: Unknown arg -mGLOB_imf_mapping_library=/opt/intel/composer_xe_2015.0.090/bin/intel64/libiml_attr.so compilers: Checking arg -mP2OPT_hlo_embed_loopinfo compilers: Unknown arg -mP2OPT_hlo_embed_loopinfo compilers: Checking arg -mPGOPTI_gen_threadsafe_level=0 compilers: Unknown arg -mPGOPTI_gen_threadsafe_level=0 compilers: Checking arg -mIPOPT_link compilers: Unknown arg -mIPOPT_link compilers: Checking arg -mIPOPT_ipo_activate compilers: Unknown arg -mIPOPT_ipo_activate compilers: Checking arg -mIPOPT_mo_activate compilers: Unknown arg -mIPOPT_mo_activate compilers: Checking arg -mIPOPT_source_files_list=/tmp/icpcslis5YpSU8 compilers: Unknown arg -mIPOPT_source_files_list=/tmp/icpcslis5YpSU8 compilers: Checking arg -mIPOPT_mo_global_data compilers: Unknown arg -mIPOPT_mo_global_data compilers: Checking arg -mIPOPT_link_script_file=/tmp/icpcscriptyAmnhv compilers: Unknown arg -mIPOPT_link_script_file=/tmp/icpcscriptyAmnhv compilers: Checking arg "-mIPOPT_cmdline_link="/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o" compilers: Unknown arg -mIPOPT_cmdline_link="/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o compilers: Checking arg "--eh-frame-hdr" compilers: Unknown arg --eh-frame-hdr compilers: Checking arg "--build-id" compilers: Unknown arg --build-id compilers: Checking arg "-dynamic-linker" compilers: Unknown arg -dynamic-linker compilers: Checking arg "/lib64/ld-linux-x86-64.so.2" compilers: Unknown arg /lib64/ld-linux-x86-64.so.2 compilers: Checking arg "-m" compilers: Unknown arg -m compilers: Checking arg "elf_x86_64" compilers: Unknown arg elf_x86_64 compilers: Checking arg "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5" compilers: Checking arg "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5" compilers: Checking arg "-o" compilers: Unknown arg -o compilers: Checking arg "/tmp/petsc-pA4Uet/config.compilers/conftest" compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Checking arg "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/" compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64" compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/" compilers: Checking arg "-L/lib/../lib64" compilers: Checking arg "-L/lib/../lib64/" compilers: Checking arg "-L/usr/lib/../lib64" compilers: Checking arg "-L/usr/lib/../lib64/" compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../" compilers: Checking arg "-L/lib64" compilers: Checking arg "-L/lib/" compilers: Checking arg "-L/usr/lib64" compilers: Checking arg "-L/usr/lib" compilers: Checking arg "/tmp/petsc-pA4Uet/config.compilers/conftest.o" compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Checking arg "-ldl" compilers: Checking arg "-rpath" compilers: Found -rpath library: /opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg "-rpath" compilers: Found -rpath library: /usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg "-limf" compilers: Checking arg "-lsvml" compilers: Checking arg "-lirng" compilers: Checking arg "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-limf" compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-lm" compilers: Checking arg "-lipgo" compilers: Checking arg "-ldecimal" compilers: Checking arg "-lcilkrts" compilers: Checking arg "-lstdc++" compilers: Checking arg "-lgcc_s" compilers: Checking arg "-lirc" compilers: Checking arg "-lirc_s" compilers: Checking arg "-rpath" compilers: Already in rpathflags, skipping:-rpath compilers: Checking arg "-rpath" compilers: Already in rpathflags, skipping:-rpath compilers: Checking arg "-ldl" compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-limf" compilers: Checking arg "-lsvml" compilers: Checking arg "-lirng" compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-lm" compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-lipgo" compilers: Checking arg "-ldecimal" compilers: Checking arg "--as-needed" compilers: Unknown arg --as-needed compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-lcilkrts" compilers: Checking arg "--no-as-needed" compilers: Unknown arg --no-as-needed compilers: Checking arg "-lstdc++" compilers: Checking arg "-lgcc" compilers: Skipping system library: -lgcc compilers: Checking arg "-lgcc_s" compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-lirc" compilers: Checking arg "-lsvml" compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-lc" compilers: Skipping system library: -lc compilers: Checking arg "-lgcc" compilers: Skipping system library: -lgcc compilers: Checking arg "-lgcc_s" compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-lirc_s" compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-ldl" compilers: Checking arg "-lc" compilers: Skipping system library: -lc compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o"" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o compilers: Checking arg -mIPOPT_il_in_obj compilers: Unknown arg -mIPOPT_il_in_obj compilers: Checking arg -mIPOPT_ipo_activate_warn=FALSE compilers: Unknown arg -mIPOPT_ipo_activate_warn=FALSE compilers: Checking arg -mIPOPT_obj_output_file_name=/tmp/ipo_icpcX8KhKY.o compilers: Unknown arg -mIPOPT_obj_output_file_name=/tmp/ipo_icpcX8KhKY.o compilers: Checking arg -mIPOPT_whole_archive_fixup_file_name=/tmp/icpcwarch2eQFZP compilers: Unknown arg -mIPOPT_whole_archive_fixup_file_name=/tmp/icpcwarch2eQFZP compilers: Checking arg -mGLOB_linker_version=2.23.52.0.1 compilers: Unknown arg -mGLOB_linker_version=2.23.52.0.1 compilers: Checking arg -mGLOB_long_size_64 compilers: Unknown arg -mGLOB_long_size_64 compilers: Checking arg -mGLOB_routine_pointer_size_64 compilers: Unknown arg -mGLOB_routine_pointer_size_64 compilers: Checking arg -mGLOB_driver_tempfile_name=/tmp/icpctempfileFiQRpc compilers: Unknown arg -mGLOB_driver_tempfile_name=/tmp/icpctempfileFiQRpc compilers: Checking arg -mP3OPT_asm_target=P3OPT_ASM_TARGET_GAS compilers: Unknown arg -mP3OPT_asm_target=P3OPT_ASM_TARGET_GAS compilers: Checking arg -mGLOB_async_unwind_tables=TRUE compilers: Unknown arg -mGLOB_async_unwind_tables=TRUE compilers: Checking arg -mGLOB_obj_output_file=/tmp/ipo_icpcX8KhKY.o compilers: Unknown arg -mGLOB_obj_output_file=/tmp/ipo_icpcX8KhKY.o compilers: Checking arg -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE compilers: Unknown arg -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE compilers: Checking arg -mP1OPT_source_file_name=ipo_out.c compilers: Unknown arg -mP1OPT_source_file_name=ipo_out.c compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Checking arg -mIPOPT_object_files=T compilers: Unknown arg -mIPOPT_object_files=T compilers: Checking arg -mIPOPT_assembly_files=/tmp/icpcalisXoV2sH compilers: Unknown arg -mIPOPT_assembly_files=/tmp/icpcalisXoV2sH compilers: Checking arg -mIPOPT_generated_tempfiles=/tmp/icpcelis1GxtP3 compilers: Unknown arg -mIPOPT_generated_tempfiles=/tmp/icpcelis1GxtP3 compilers: Checking arg -mIPOPT_embedded_object_base_name=/tmp/icpceobjhsDVbq compilers: Unknown arg -mIPOPT_embedded_object_base_name=/tmp/icpceobjhsDVbq compilers: Checking arg -mIPOPT_cmdline_link_new_name=/tmp/icpcllisw1CoyM compilers: Unknown arg -mIPOPT_cmdline_link_new_name=/tmp/icpcllisw1CoyM compilers: Checking arg ld compilers: Unknown arg ld compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o compilers: Checking arg --eh-frame-hdr compilers: Unknown arg --eh-frame-hdr compilers: Checking arg --build-id compilers: Unknown arg --build-id compilers: Checking arg -dynamic-linker compilers: Unknown arg -dynamic-linker compilers: Checking arg /lib64/ld-linux-x86-64.so.2 compilers: Unknown arg /lib64/ld-linux-x86-64.so.2 compilers: Checking arg -m compilers: Unknown arg -m compilers: Checking arg elf_x86_64 compilers: Unknown arg elf_x86_64 compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/ compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/ compilers: Checking arg -L/lib/../lib64 compilers: Checking arg -L/lib/../lib64/ compilers: Checking arg -L/usr/lib/../lib64 compilers: Checking arg -L/usr/lib/../lib64/ compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../ compilers: Checking arg -L/lib64 compilers: Checking arg -L/lib/ compilers: Checking arg -L/usr/lib64 compilers: Checking arg -L/usr/lib compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Checking arg -rpath compilers: Already in rpathflags, skipping:-rpath compilers: Checking arg -rpath compilers: Already in rpathflags, skipping:-rpath compilers: Checking arg -limf compilers: Checking arg -lsvml compilers: Checking arg -lirng compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -limf compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lm compilers: Checking arg -lipgo compilers: Checking arg -ldecimal compilers: Checking arg -lcilkrts compilers: Checking arg -lstdc++ compilers: Checking arg -lgcc_s compilers: Checking arg -lirc compilers: Checking arg -lirc_s compilers: Checking arg -rpath compilers: Already in rpathflags, skipping:-rpath compilers: Checking arg -rpath compilers: Already in rpathflags, skipping:-rpath compilers: Checking arg -ldl compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -limf compilers: Checking arg -lsvml compilers: Checking arg -lirng compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lm compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -lipgo compilers: Checking arg -ldecimal compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lcilkrts compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg -lstdc++ compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg -lgcc_s compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -lirc compilers: Checking arg -lsvml compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lc compilers: Skipping system library: -lc compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg -lgcc_s compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -lirc_s compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -ldl compilers: Checking arg -lc compilers: Skipping system library: -lc compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o compilers: Libraries needed to link Cxx code with another linker: ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5'] compilers: Check that Cxx libraries can be used from C Pushing language C Popping language C Pushing language C Popping language C Pushing language C Popping language C Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Popping language C compilers: Check that Cxx libraries can be used from Fortran Pushing language FC Popping language FC Pushing language FC Popping language FC Pushing language FC Popping language FC Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkCxx11 from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:388) TESTING: checkCxx11 from config.compilers(config/BuildSystem/config/compilers.py:388) Determine the option needed to support the C++11 dialect We auto-detect C++11 if the compiler supports it without options, otherwise we require with-cxx-dialect=C++11 to try adding flags to support it. Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 512 stderr: In file included from /usr/include/c++/4.8.5/random(35), from /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc(4): /usr/include/c++/4.8.5/bits/c++0x_warning.h(32): error: #error directive: This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc(5): error: identifier "constexpr" is undefined template constexpr T Cubed( T x ) { return x*x*x; } ^ /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc(5): error: "T" is not a function or static data member template constexpr T Cubed( T x ) { return x*x*x; } ^ /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc(16): warning #12: parsing restarts here after previous syntax error /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc(16): error: expected a ";" compilation aborted for /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc (code 2) Source: #include "confdefs.h" #include "conffix.h" #include template constexpr T Cubed( T x ) { return x*x*x; } int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag due to nonzero status from link Rejecting compiler flag due to In file included from /usr/include/c++/4.8.5/random(35), from /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc(4): /usr/include/c++/4.8.5/bits/c++0x_warning.h(32): error: #error directive: This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc(5): error: identifier "constexpr" is undefined template constexpr T Cubed( T x ) { return x*x*x; } ^ /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc(5): error: "T" is not a function or static data member template constexpr T Cubed( T x ) { return x*x*x; } ^ /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc(16): warning #12: parsing restarts here after previous syntax error /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc(16): error: expected a ";" compilation aborted for /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc (code 2) PETSc Error: No output file produced Popping language Cxx ================================================================================ TEST checkFortranTypeSizes from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:594) TESTING: checkFortranTypeSizes from config.compilers(config/BuildSystem/config/compilers.py:594) Check whether real*8 is supported and suggest flags which will allow support Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.F Successful compile: Source: program main real*8 variable end Popping language FC ================================================================================ TEST checkFortranNameMangling from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:653) TESTING: checkFortranNameMangling from config.compilers(config/BuildSystem/config/compilers.py:653) Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS, or HAVE_FORTRAN_STDCALL Testing Fortran mangling type underscore with code void d1chk_(void){return;} Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} Popping language C Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.compilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.o /tmp/petsc-pA4Uet/config.compilers/confc.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language FC compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" ================================================================================ TEST checkFortranNameManglingDouble from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:690) TESTING: checkFortranNameManglingDouble from config.compilers(config/BuildSystem/config/compilers.py:690) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} Popping language C Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.F Successful compile: Source: program main call d1_chk() end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.compilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.o /tmp/petsc-pA4Uet/config.compilers/confc.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.compilers/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.compilers/conftest.F:2: undefined reference to `d1_chk_' Popping language FC ================================================================================ TEST checkFortranPreprocessor from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:700) TESTING: checkFortranPreprocessor from config.compilers(config/BuildSystem/config/compilers.py:700) Determine if Fortran handles preprocessing properly compilers: Fortran uses CPP preprocessor Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Added FC compiler flag Popping language FC ================================================================================ TEST checkFortranDefineCompilerOption from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:724) TESTING: checkFortranDefineCompilerOption from config.compilers(config/BuildSystem/config/compilers.py:724) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Defined make macro "FC_DEFINE_FLAG" to "-D" compilers: Fortran uses -D for defining macro Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g -DTesting /tmp/petsc-pA4Uet/config.setCompilers/conftest.F Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Popping language FC ================================================================================ TEST checkFortranLibraries from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:744) TESTING: checkFortranLibraries from config.compilers(config/BuildSystem/config/compilers.py:744) Substitutes for FLIBS the libraries needed to link with Fortran This macro is intended to be used in those situations when it is necessary to mix, e.g. C++ and Fortran 77, source code into a single program or shared library. For example, if object files from a C++ and Fortran 77 compiler must be linked together, then the C++ compiler/linker must be used for linking (since special C++-ish things need to happen at link time like calling global constructors, instantiating templates, enabling exception support, etc.). However, the Fortran 77 intrinsic and run-time libraries must be linked in as well, but the C++ compiler/linker does not know how to add these Fortran 77 libraries. This code was translated from the autoconf macro which was packaged in its current form by Matthew D. Langston . However, nearly all of this macro came from the OCTAVE_FLIBS macro in octave-2.0.13/aclocal.m4, and full credit should go to John W. Eaton for writing this extremely useful macro. Pushing language FC Executing: ifort -V Executing: ifort -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.compilers/conftest -v -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: stderr: ifort version 15.0.0 /opt/intel/composer_xe_2015.0.090/bin/intel64/fortcom -mP1OPT_version=15.0-intel64 -mGLOB_diag_file=/tmp/petsc-pA4Uet/config.compilers/conftest.diag -mGLOB_source_language=GLOB_SOURCE_LANGUAGE_F90 -mP2OPT_static_promotion -mP1OPT_print_version=FALSE -mCG_use_gas_got_workaround=F -mP2OPT_align_option_used=TRUE -mGLOB_gcc_version=485 "-mGLOB_options_string=-o /tmp/petsc-pA4Uet/config.compilers/conftest -v -fPIC -g -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl" -mGLOB_position_independent_code -mGLOB_preemption_model=3 -mGLOB_cxx_limited_range=FALSE -mCG_extend_parms=FALSE -mGLOB_compiler_bin_directory=/opt/intel/composer_xe_2015.0.090/bin/intel64 -mP3OPT_emit_line_numbers -mGLOB_debug_target=GLOB_DEBUG_TARGET_ALL -mDEBUG_info_level=2 -mDEBUG_use_indirect_strings=TRUE -mGLOB_debug_format=GLOB_DEBUG_FORMAT_DWARF30 -mGLOB_as_output_backup_file_name=/tmp/ifortpwA1g0as_.s -mIPOPT_activate -mGLOB_em64t -mGLOB_product_id_code=0x22006d8f -mP3OPT_use_mspp_call_convention -mP2OPT_subs_out_of_bound=FALSE -mGLOB_ansi_alias -mPGOPTI_value_profile_use=T -mGLOB_opt_report_use_source_name -mGLOB_opt_report_per_object_dir=/tmp/petsc-pA4Uet/config.compilers -mP2OPT_il0_array_sections=TRUE -mGLOB_offload_mode=1 -mP2OPT_offload_unique_var_string=ifort1768901593hNJk3A -mP2OPT_hlo -mP2OPT_hpo_rtt_control=0 -mIPOPT_args_in_regs=0 -mP2OPT_disam_assume_nonstd_intent_in=FALSE -mGLOB_imf_mapping_library=/opt/intel/composer_xe_2015.0.090/bin/intel64/libiml_attr.so -mP2OPT_hlo_embed_loopinfo -mPGOPTI_gen_threadsafe_level=0 -mIPOPT_link -mIPOPT_ipo_activate -mIPOPT_mo_activate -mIPOPT_source_files_list=/tmp/ifortslisiHdWTq -mIPOPT_mo_global_data -mIPOPT_link_script_file=/tmp/ifortscriptHwk0lX "-mIPOPT_cmdline_link="/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o" "--eh-frame-hdr" "--build-id" "-dynamic-linker" "/lib64/ld-linux-x86-64.so.2" "-m" "elf_x86_64" "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5" "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5" "-o" "/tmp/petsc-pA4Uet/config.compilers/conftest" "/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64/for_main.o" "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/" "-L/lib/../lib64" "-L/lib/../lib64/" "-L/usr/lib/../lib64" "-L/usr/lib/../lib64/" "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../" "-L/lib64" "-L/lib/" "-L/usr/lib64" "-L/usr/lib" "/tmp/petsc-pA4Uet/config.compilers/conftest.o" "-ldl" "-rpath" "/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-rpath" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5" "-limf" "-lsvml" "-lirng" "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-Bstatic" "-limf" "-Bdynamic" "-lm" "-lipgo" "-ldecimal" "-lcilkrts" "-lstdc++" "-lgcc_s" "-lirc" "-lirc_s" "-rpath" "/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" "-rpath" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5" "-ldl" "-Bdynamic" "-Bstatic" "-lifport" "-lifcore" "-limf" "-lsvml" "-Bdynamic" "-lm" "-Bstatic" "-lipgo" "-lirc" "-Bdynamic" "-lpthread" "-Bstatic" "-lsvml" "-Bdynamic" "-lc" "-lgcc" "-lgcc_s" "-Bstatic" "-lirc_s" "-Bdynamic" "-ldl" "-lc" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o" "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o"" -mIPOPT_il_in_obj -mIPOPT_ipo_activate_warn=FALSE -mIPOPT_obj_output_file_name=/tmp/ipo_ifortkPSLbi.o -mIPOPT_whole_archive_fixup_file_name=/tmp/ifortwarchbUc3KI -mGLOB_linker_version=2.23.52.0.1 -mGLOB_long_size_64 -mGLOB_routine_pointer_size_64 -mGLOB_driver_tempfile_name=/tmp/iforttempfileoDx0hf -mP3OPT_asm_target=P3OPT_ASM_TARGET_GAS -mGLOB_async_unwind_tables=TRUE -mGLOB_obj_output_file=/tmp/ipo_ifortkPSLbi.o -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE -mP1OPT_source_file_name=ipo_out.f -mP2OPT_symtab_type_copy=true /tmp/petsc-pA4Uet/config.compilers/conftest.o -mIPOPT_object_files=T -mIPOPT_assembly_files=/tmp/ifortalisGJIM5k -mIPOPT_generated_tempfiles=/tmp/ifortelisl9ZNxR -mIPOPT_embedded_object_base_name=/tmp/iforteobje40PZn -mIPOPT_cmdline_link_new_name=/tmp/ifortllisHMLSrU ld /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o --eh-frame-hdr --build-id -dynamic-linker /lib64/ld-linux-x86-64.so.2 -m elf_x86_64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -o /tmp/petsc-pA4Uet/config.compilers/conftest /opt/intel/composer_xe_2015.0.090/compiler/lib/intel64/for_main.o -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/ -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/ -L/lib/../lib64 -L/lib/../lib64/ -L/usr/lib/../lib64 -L/usr/lib/../lib64/ -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../ -L/lib64 -L/lib/ -L/usr/lib64 -L/usr/lib /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl -rpath /opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -rpath /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Bstatic -limf -Bdynamic -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -rpath /opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -rpath /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Bdynamic -Bstatic -lifport -lifcore -limf -lsvml -Bdynamic -lm -Bstatic -lipgo -lirc -Bdynamic -lpthread -Bstatic -lsvml -Bdynamic -lc -lgcc -lgcc_s -Bstatic -lirc_s -Bdynamic -ldl -lc /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o Popping language FC compilers: Checking arg ifort compilers: Unknown arg ifort compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 15.0.0 compilers: Unknown arg 15.0.0 compilers: Checking arg /opt/intel/composer_xe_2015.0.090/bin/intel64/fortcom compilers: Unknown arg /opt/intel/composer_xe_2015.0.090/bin/intel64/fortcom compilers: Checking arg -mP1OPT_version=15.0-intel64 compilers: Unknown arg -mP1OPT_version=15.0-intel64 compilers: Checking arg -mGLOB_diag_file=/tmp/petsc-pA4Uet/config.compilers/conftest.diag compilers: Unknown arg -mGLOB_diag_file=/tmp/petsc-pA4Uet/config.compilers/conftest.diag compilers: Checking arg -mGLOB_source_language=GLOB_SOURCE_LANGUAGE_F90 compilers: Unknown arg -mGLOB_source_language=GLOB_SOURCE_LANGUAGE_F90 compilers: Checking arg -mP2OPT_static_promotion compilers: Unknown arg -mP2OPT_static_promotion compilers: Checking arg -mP1OPT_print_version=FALSE compilers: Unknown arg -mP1OPT_print_version=FALSE compilers: Checking arg -mCG_use_gas_got_workaround=F compilers: Unknown arg -mCG_use_gas_got_workaround=F compilers: Checking arg -mP2OPT_align_option_used=TRUE compilers: Unknown arg -mP2OPT_align_option_used=TRUE compilers: Checking arg -mGLOB_gcc_version=485 compilers: Unknown arg -mGLOB_gcc_version=485 compilers: Checking arg "-mGLOB_options_string=-o compilers: Unknown arg "-mGLOB_options_string=-o compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Checking arg -v compilers: Unknown arg -v compilers: Checking arg -fPIC compilers: Unknown arg -fPIC compilers: Checking arg -g compilers: Unknown arg -g compilers: Checking arg -ldl compilers: Found library: -ldl Library already in C list so skipping in Fortran compilers: Checking arg -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Unknown arg -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Found library directory: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Unknown arg -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Found library directory: -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -limf compilers: Found library: -limf Library already in C list so skipping in Fortran compilers: Checking arg -lsvml compilers: Found library: -lsvml Library already in C list so skipping in Fortran compilers: Checking arg -lirng compilers: Found library: -lirng Library already in C list so skipping in Fortran compilers: Checking arg -lm compilers: Found library: -lm Library already in C list so skipping in Fortran compilers: Checking arg -lipgo compilers: Found library: -lipgo Library already in C list so skipping in Fortran compilers: Checking arg -ldecimal compilers: Found library: -ldecimal Library already in C list so skipping in Fortran compilers: Checking arg -lcilkrts compilers: Found library: -lcilkrts Library already in C list so skipping in Fortran compilers: Checking arg -lstdc++ compilers: Found library: -lstdc++ Library already in C list so skipping in Fortran compilers: Checking arg -lgcc_s compilers: Found library: -lgcc_s Library already in C list so skipping in Fortran compilers: Checking arg -lirc compilers: Found library: -lirc Library already in C list so skipping in Fortran compilers: Checking arg -lirc_s compilers: Found library: -lirc_s Library already in C list so skipping in Fortran compilers: Checking arg -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Unknown arg -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Already in lflags so skipping: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Unknown arg -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Already in lflags so skipping: -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -ldl" compilers: Already in lflags: -ldl compilers: Checking arg -mGLOB_position_independent_code compilers: Unknown arg -mGLOB_position_independent_code compilers: Checking arg -mGLOB_preemption_model=3 compilers: Unknown arg -mGLOB_preemption_model=3 compilers: Checking arg -mGLOB_cxx_limited_range=FALSE compilers: Unknown arg -mGLOB_cxx_limited_range=FALSE compilers: Checking arg -mCG_extend_parms=FALSE compilers: Unknown arg -mCG_extend_parms=FALSE compilers: Checking arg -mGLOB_compiler_bin_directory=/opt/intel/composer_xe_2015.0.090/bin/intel64 compilers: Unknown arg -mGLOB_compiler_bin_directory=/opt/intel/composer_xe_2015.0.090/bin/intel64 compilers: Checking arg -mP3OPT_emit_line_numbers compilers: Unknown arg -mP3OPT_emit_line_numbers compilers: Checking arg -mGLOB_debug_target=GLOB_DEBUG_TARGET_ALL compilers: Unknown arg -mGLOB_debug_target=GLOB_DEBUG_TARGET_ALL compilers: Checking arg -mDEBUG_info_level=2 compilers: Unknown arg -mDEBUG_info_level=2 compilers: Checking arg -mDEBUG_use_indirect_strings=TRUE compilers: Unknown arg -mDEBUG_use_indirect_strings=TRUE compilers: Checking arg -mGLOB_debug_format=GLOB_DEBUG_FORMAT_DWARF30 compilers: Unknown arg -mGLOB_debug_format=GLOB_DEBUG_FORMAT_DWARF30 compilers: Checking arg -mGLOB_as_output_backup_file_name=/tmp/ifortpwA1g0as_.s compilers: Unknown arg -mGLOB_as_output_backup_file_name=/tmp/ifortpwA1g0as_.s compilers: Checking arg -mIPOPT_activate compilers: Unknown arg -mIPOPT_activate compilers: Checking arg -mGLOB_em64t compilers: Unknown arg -mGLOB_em64t compilers: Checking arg -mGLOB_product_id_code=0x22006d8f compilers: Unknown arg -mGLOB_product_id_code=0x22006d8f compilers: Checking arg -mP3OPT_use_mspp_call_convention compilers: Unknown arg -mP3OPT_use_mspp_call_convention compilers: Checking arg -mP2OPT_subs_out_of_bound=FALSE compilers: Unknown arg -mP2OPT_subs_out_of_bound=FALSE compilers: Checking arg -mGLOB_ansi_alias compilers: Unknown arg -mGLOB_ansi_alias compilers: Checking arg -mPGOPTI_value_profile_use=T compilers: Unknown arg -mPGOPTI_value_profile_use=T compilers: Checking arg -mGLOB_opt_report_use_source_name compilers: Unknown arg -mGLOB_opt_report_use_source_name compilers: Checking arg -mGLOB_opt_report_per_object_dir=/tmp/petsc-pA4Uet/config.compilers compilers: Unknown arg -mGLOB_opt_report_per_object_dir=/tmp/petsc-pA4Uet/config.compilers compilers: Checking arg -mP2OPT_il0_array_sections=TRUE compilers: Unknown arg -mP2OPT_il0_array_sections=TRUE compilers: Checking arg -mGLOB_offload_mode=1 compilers: Unknown arg -mGLOB_offload_mode=1 compilers: Checking arg -mP2OPT_offload_unique_var_string=ifort1768901593hNJk3A compilers: Unknown arg -mP2OPT_offload_unique_var_string=ifort1768901593hNJk3A compilers: Checking arg -mP2OPT_hlo compilers: Unknown arg -mP2OPT_hlo compilers: Checking arg -mP2OPT_hpo_rtt_control=0 compilers: Unknown arg -mP2OPT_hpo_rtt_control=0 compilers: Checking arg -mIPOPT_args_in_regs=0 compilers: Unknown arg -mIPOPT_args_in_regs=0 compilers: Checking arg -mP2OPT_disam_assume_nonstd_intent_in=FALSE compilers: Unknown arg -mP2OPT_disam_assume_nonstd_intent_in=FALSE compilers: Checking arg -mGLOB_imf_mapping_library=/opt/intel/composer_xe_2015.0.090/bin/intel64/libiml_attr.so compilers: Unknown arg -mGLOB_imf_mapping_library=/opt/intel/composer_xe_2015.0.090/bin/intel64/libiml_attr.so compilers: Checking arg -mP2OPT_hlo_embed_loopinfo compilers: Unknown arg -mP2OPT_hlo_embed_loopinfo compilers: Checking arg -mPGOPTI_gen_threadsafe_level=0 compilers: Unknown arg -mPGOPTI_gen_threadsafe_level=0 compilers: Checking arg -mIPOPT_link compilers: Unknown arg -mIPOPT_link compilers: Checking arg -mIPOPT_ipo_activate compilers: Unknown arg -mIPOPT_ipo_activate compilers: Checking arg -mIPOPT_mo_activate compilers: Unknown arg -mIPOPT_mo_activate compilers: Checking arg -mIPOPT_source_files_list=/tmp/ifortslisiHdWTq compilers: Unknown arg -mIPOPT_source_files_list=/tmp/ifortslisiHdWTq compilers: Checking arg -mIPOPT_mo_global_data compilers: Unknown arg -mIPOPT_mo_global_data compilers: Checking arg -mIPOPT_link_script_file=/tmp/ifortscriptHwk0lX compilers: Unknown arg -mIPOPT_link_script_file=/tmp/ifortscriptHwk0lX compilers: Checking arg "-mIPOPT_cmdline_link="/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o" compilers: Unknown arg -mIPOPT_cmdline_link="/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o compilers: Checking arg "--eh-frame-hdr" compilers: Unknown arg --eh-frame-hdr compilers: Checking arg "--build-id" compilers: Unknown arg --build-id compilers: Checking arg "-dynamic-linker" compilers: Unknown arg -dynamic-linker compilers: Checking arg "/lib64/ld-linux-x86-64.so.2" compilers: Unknown arg /lib64/ld-linux-x86-64.so.2 compilers: Checking arg "-m" compilers: Unknown arg -m compilers: Checking arg "elf_x86_64" compilers: Unknown arg elf_x86_64 compilers: Checking arg "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" compilers: Already in lflags so skipping: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5" compilers: Already in lflags so skipping: -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" compilers: Already in lflags so skipping: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5" compilers: Already in lflags so skipping: -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg "-o" compilers: Unknown arg -o compilers: Checking arg "/tmp/petsc-pA4Uet/config.compilers/conftest" compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Checking arg "/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64/for_main.o" compilers: Unknown arg /opt/intel/composer_xe_2015.0.090/compiler/lib/intel64/for_main.o compilers: Checking arg "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" compilers: Already in lflags so skipping: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/" compilers: Already in lflags so skipping: -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64" compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/" compilers: Checking arg "-L/lib/../lib64" compilers: Checking arg "-L/lib/../lib64/" compilers: Checking arg "-L/usr/lib/../lib64" compilers: Checking arg "-L/usr/lib/../lib64/" compilers: Checking arg "-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../" compilers: Checking arg "-L/lib64" compilers: Checking arg "-L/lib/" compilers: Checking arg "-L/usr/lib64" compilers: Checking arg "-L/usr/lib" compilers: Checking arg "/tmp/petsc-pA4Uet/config.compilers/conftest.o" compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Checking arg "-ldl" compilers: Already in lflags: -ldl compilers: Checking arg "-rpath" compilers: Found -rpath library: /opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg "-rpath" compilers: Found -rpath library: /usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg "-limf" compilers: Already in lflags: -limf compilers: Checking arg "-lsvml" compilers: Already in lflags: -lsvml compilers: Checking arg "-lirng" compilers: Already in lflags: -lirng compilers: Checking arg "-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64" compilers: Already in lflags so skipping: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-limf" compilers: Already in lflags: -limf compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-lm" compilers: Already in lflags: -lm compilers: Checking arg "-lipgo" compilers: Already in lflags: -lipgo compilers: Checking arg "-ldecimal" compilers: Already in lflags: -ldecimal compilers: Checking arg "-lcilkrts" compilers: Already in lflags: -lcilkrts compilers: Checking arg "-lstdc++" compilers: Already in lflags: -lstdc++ compilers: Checking arg "-lgcc_s" compilers: Already in lflags: -lgcc_s compilers: Checking arg "-lirc" compilers: Already in lflags: -lirc compilers: Checking arg "-lirc_s" compilers: Already in lflags: -lirc_s compilers: Checking arg "-rpath" compilers: Already in rpathflags so skipping: -rpath compilers: Checking arg "-rpath" compilers: Already in rpathflags so skipping: -rpath compilers: Checking arg "-ldl" compilers: Already in lflags: -ldl compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-lifport" compilers: Found library: -lifport compilers: Checking arg "-lifcore" compilers: Found library: -lifcore compilers: Checking arg "-limf" compilers: Already in lflags: -limf compilers: Checking arg "-lsvml" compilers: Already in lflags: -lsvml compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-lm" compilers: Already in lflags: -lm compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-lipgo" compilers: Already in lflags: -lipgo compilers: Checking arg "-lirc" compilers: Already in lflags: -lirc compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-lpthread" compilers: Found library: -lpthread compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-lsvml" compilers: Already in lflags: -lsvml compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-lc" compilers: Found system library therefor skipping: -lc compilers: Checking arg "-lgcc" compilers: Found system library therefor skipping: -lgcc compilers: Checking arg "-lgcc_s" compilers: Already in lflags: -lgcc_s compilers: Checking arg "-Bstatic" compilers: Unknown arg -Bstatic compilers: Checking arg "-lirc_s" compilers: Already in lflags: -lirc_s compilers: Checking arg "-Bdynamic" compilers: Unknown arg -Bdynamic compilers: Checking arg "-ldl" compilers: Already in lflags: -ldl compilers: Checking arg "-lc" compilers: Found system library therefor skipping: -lc compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o compilers: Checking arg "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o"" compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o compilers: Checking arg -mIPOPT_il_in_obj compilers: Unknown arg -mIPOPT_il_in_obj compilers: Checking arg -mIPOPT_ipo_activate_warn=FALSE compilers: Unknown arg -mIPOPT_ipo_activate_warn=FALSE compilers: Checking arg -mIPOPT_obj_output_file_name=/tmp/ipo_ifortkPSLbi.o compilers: Unknown arg -mIPOPT_obj_output_file_name=/tmp/ipo_ifortkPSLbi.o compilers: Checking arg -mIPOPT_whole_archive_fixup_file_name=/tmp/ifortwarchbUc3KI compilers: Unknown arg -mIPOPT_whole_archive_fixup_file_name=/tmp/ifortwarchbUc3KI compilers: Checking arg -mGLOB_linker_version=2.23.52.0.1 compilers: Unknown arg -mGLOB_linker_version=2.23.52.0.1 compilers: Checking arg -mGLOB_long_size_64 compilers: Unknown arg -mGLOB_long_size_64 compilers: Checking arg -mGLOB_routine_pointer_size_64 compilers: Unknown arg -mGLOB_routine_pointer_size_64 compilers: Checking arg -mGLOB_driver_tempfile_name=/tmp/iforttempfileoDx0hf compilers: Unknown arg -mGLOB_driver_tempfile_name=/tmp/iforttempfileoDx0hf compilers: Checking arg -mP3OPT_asm_target=P3OPT_ASM_TARGET_GAS compilers: Unknown arg -mP3OPT_asm_target=P3OPT_ASM_TARGET_GAS compilers: Checking arg -mGLOB_async_unwind_tables=TRUE compilers: Unknown arg -mGLOB_async_unwind_tables=TRUE compilers: Checking arg -mGLOB_obj_output_file=/tmp/ipo_ifortkPSLbi.o compilers: Unknown arg -mGLOB_obj_output_file=/tmp/ipo_ifortkPSLbi.o compilers: Checking arg -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE compilers: Unknown arg -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE compilers: Checking arg -mP1OPT_source_file_name=ipo_out.f compilers: Unknown arg -mP1OPT_source_file_name=ipo_out.f compilers: Checking arg -mP2OPT_symtab_type_copy=true compilers: Unknown arg -mP2OPT_symtab_type_copy=true compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Checking arg -mIPOPT_object_files=T compilers: Unknown arg -mIPOPT_object_files=T compilers: Checking arg -mIPOPT_assembly_files=/tmp/ifortalisGJIM5k compilers: Unknown arg -mIPOPT_assembly_files=/tmp/ifortalisGJIM5k compilers: Checking arg -mIPOPT_generated_tempfiles=/tmp/ifortelisl9ZNxR compilers: Unknown arg -mIPOPT_generated_tempfiles=/tmp/ifortelisl9ZNxR compilers: Checking arg -mIPOPT_embedded_object_base_name=/tmp/iforteobje40PZn compilers: Unknown arg -mIPOPT_embedded_object_base_name=/tmp/iforteobje40PZn compilers: Checking arg -mIPOPT_cmdline_link_new_name=/tmp/ifortllisHMLSrU compilers: Unknown arg -mIPOPT_cmdline_link_new_name=/tmp/ifortllisHMLSrU compilers: Checking arg ld compilers: Unknown arg ld compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o compilers: Checking arg --eh-frame-hdr compilers: Unknown arg --eh-frame-hdr compilers: Checking arg --build-id compilers: Unknown arg --build-id compilers: Checking arg -dynamic-linker compilers: Unknown arg -dynamic-linker compilers: Checking arg /lib64/ld-linux-x86-64.so.2 compilers: Unknown arg /lib64/ld-linux-x86-64.so.2 compilers: Checking arg -m compilers: Unknown arg -m compilers: Checking arg elf_x86_64 compilers: Unknown arg elf_x86_64 compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Already in lflags so skipping: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Already in lflags so skipping: -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Already in lflags so skipping: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Already in lflags so skipping: -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest compilers: Checking arg /opt/intel/composer_xe_2015.0.090/compiler/lib/intel64/for_main.o compilers: Unknown arg /opt/intel/composer_xe_2015.0.090/compiler/lib/intel64/for_main.o compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Already in lflags so skipping: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/ compilers: Already in lflags so skipping: -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/ compilers: Checking arg -L/lib/../lib64 compilers: Checking arg -L/lib/../lib64/ compilers: Checking arg -L/usr/lib/../lib64 compilers: Checking arg -L/usr/lib/../lib64/ compilers: Checking arg -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../ compilers: Checking arg -L/lib64 compilers: Checking arg -L/lib/ compilers: Checking arg -L/usr/lib64 compilers: Checking arg -L/usr/lib compilers: Checking arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-pA4Uet/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -rpath compilers: Already in rpathflags so skipping: -rpath compilers: Checking arg -rpath compilers: Already in rpathflags so skipping: -rpath compilers: Checking arg -limf compilers: Already in lflags: -limf compilers: Checking arg -lsvml compilers: Already in lflags: -lsvml compilers: Checking arg -lirng compilers: Already in lflags: -lirng compilers: Checking arg -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Already in lflags so skipping: -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -limf compilers: Already in lflags: -limf compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lm compilers: Already in lflags: -lm compilers: Checking arg -lipgo compilers: Already in lflags: -lipgo compilers: Checking arg -ldecimal compilers: Already in lflags: -ldecimal compilers: Checking arg -lcilkrts compilers: Already in lflags: -lcilkrts compilers: Checking arg -lstdc++ compilers: Already in lflags: -lstdc++ compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -lirc compilers: Already in lflags: -lirc compilers: Checking arg -lirc_s compilers: Already in lflags: -lirc_s compilers: Checking arg -rpath compilers: Already in rpathflags so skipping: -rpath compilers: Checking arg -rpath compilers: Already in rpathflags so skipping: -rpath compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -lifport compilers: Already in lflags: -lifport compilers: Checking arg -lifcore compilers: Already in lflags: -lifcore compilers: Checking arg -limf compilers: Already in lflags: -limf compilers: Checking arg -lsvml compilers: Already in lflags: -lsvml compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lm compilers: Already in lflags: -lm compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -lipgo compilers: Already in lflags: -lipgo compilers: Checking arg -lirc compilers: Already in lflags: -lirc compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lpthread compilers: Already in lflags: -lpthread compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -lsvml compilers: Already in lflags: -lsvml compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -lc compilers: Found system library therefor skipping: -lc compilers: Checking arg -lgcc compilers: Found system library therefor skipping: -lgcc compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -Bstatic compilers: Unknown arg -Bstatic compilers: Checking arg -lirc_s compilers: Already in lflags: -lirc_s compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -lc compilers: Found system library therefor skipping: -lc compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o compilers: Checking arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o compilers: Unknown arg /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o compilers: Libraries needed to link Fortran code with the C linker: ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] compilers: Libraries needed to link Fortran main with the C linker: [] compilers: Check that Fortran libraries can be used from C Pushing language C Popping language C Pushing language C Popping language C Pushing language C Popping language C Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Popping language C compilers: Check that Fortran libraries can be used from C++ Pushing language CXX Popping language CXX Pushing language CXX Popping language CXX Pushing language CXX Popping language CXX compilers: Fortran libraries can be used from C++ Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icpc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icpc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: icpc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: icpc -o /tmp/petsc-pA4Uet/config.setCompilers/conftest -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Executing: /tmp/petsc-pA4Uet/config.setCompilers/conftest Popping language Cxx ================================================================================ TEST checkFortranLinkingCxx from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:1095) TESTING: checkFortranLinkingCxx from config.compilers(config/BuildSystem/config/compilers.py:1095) Check that Fortran can be linked against C++ Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} Popping language Cxx Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} Popping language Cxx Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.compilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.o /tmp/petsc-pA4Uet/config.compilers/cxxobj.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 /tmp/petsc-pA4Uet/config.compilers/confc.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language FC compilers: Fortran can link C++ functions ================================================================================ TEST checkFortran90 from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:1130) TESTING: checkFortran90 from config.compilers(config/BuildSystem/config/compilers.py:1130) Determine whether the Fortran compiler handles F90 Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.F Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8) INTEGER (KIND=int) :: ierr ierr = 1 end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.compilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "USING_F90" to "1" Fortran compiler supports F90 Popping language FC ================================================================================ TEST checkFortran2003 from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:1143) TESTING: checkFortran2003 from config.compilers(config/BuildSystem/config/compilers.py:1143) Determine whether the Fortran compiler handles F2003 Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.F Successful compile: Source: program main use,intrinsic :: iso_c_binding Type(C_Ptr),Dimension(:),Pointer :: CArray character(kind=c_char),pointer :: nullc => null() character(kind=c_char,len=5),dimension(:),pointer::list1 allocate(list1(5)) CArray = (/(c_loc(list1(i)),i=1,5),c_loc(nullc)/) end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.compilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "USING_F2003" to "1" Fortran compiler supports F2003 Popping language FC ================================================================================ TEST checkFortran90Array from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:1163) TESTING: checkFortran90Array from config.compilers(config/BuildSystem/config/compilers.py:1163) Check for F90 array interfaces Executing: uname -s stdout: Linux Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void f90arraytest_(void* a1, void* a2,void* a3, void* i) { printf("arrays [%p %p %p]\n",a1,a2,a3); fflush(stdout); return; } void f90ptrtest_(void* a1, void* a2,void* a3, void* i, void* p1 ,void* p2, void* p3) { printf("arrays [%p %p %p]\n",a1,a2,a3); if ((p1 == p3) && (p1 != p2)) { printf("pointers match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); } else { printf("pointers do not match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); exit(111); } return; } Popping language C Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.F Successful compile: Source: program main Interface Subroutine f90ptrtest(p1,p2,p3,i) integer, pointer :: p1(:,:) integer, pointer :: p2(:,:) integer, pointer :: p3(:,:) integer i End Subroutine End Interface integer, pointer :: ptr1(:,:),ptr2(:,:) integer, target :: array(6:8,9:21) integer in in = 25 ptr1 => array ptr2 => array call f90arraytest(ptr1,ptr2,ptr1,in) call f90ptrtest(ptr1,ptr2,ptr1,in) end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.compilers/conftest -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.o /tmp/petsc-pA4Uet/config.compilers/fooobj.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.compilers/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.compilers/conftest Executing: /tmp/petsc-pA4Uet/config.compilers/conftest stdout: arrays [0x684300 0x684300 0x684300] arrays [0x684400 0x6843a0 0x684400] pointers do not match! [0x7f4bfb8d5740 0x19] [0x22] ERROR while running executable: Could not execute "/tmp/petsc-pA4Uet/config.compilers/conftest": arrays [0x684300 0x684300 0x684300] arrays [0x684400 0x6843a0 0x684400] pointers do not match! [0x7f4bfb8d5740 0x19] [0x22] Popping language FC compilers: F90 uses a single argument for array pointers ================================================================================ TEST checkFortranModuleInclude from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:1250) TESTING: checkFortranModuleInclude from config.compilers(config/BuildSystem/config/compilers.py:1250) Figures out what flag is used to specify the include path for Fortran modules Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.F Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.compilers/confdir -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.F Successful compile: Source: program main use configtest write(*,*) testint end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.compilers/conftest -I/tmp/petsc-pA4Uet/config.compilers/confdir -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.o /tmp/petsc-pA4Uet/config.compilers/configtest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl compilers: Fortran module include flag -I found Popping language FC ================================================================================ TEST checkFortranModuleOutput from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:1316) TESTING: checkFortranModuleOutput from config.compilers(config/BuildSystem/config/compilers.py:1316) Figures out what flag is used to specify the include path for Fortran modules Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.compilers/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -module /tmp/petsc-pA4Uet/config.compilers/confdir -fPIC -g /tmp/petsc-pA4Uet/config.compilers/conftest.F Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module found Popping language FC ================================================================================ TEST setupFrameworkCompilers from config.compilers(/home/swong/Downloads/petsc/config/BuildSystem/config/compilers.py:1474) TESTING: setupFrameworkCompilers from config.compilers(config/BuildSystem/config/compilers.py:1474) ================================================================================ TEST configureClosure from config.utilities.closure(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/closure.py:18) TESTING: configureClosure from config.utilities.closure(config/BuildSystem/config/utilities/closure.py:18) Determine if Apple ^close syntax is supported in C Pushing language C All intermediate test results are stored in /tmp/petsc-pA4Uet/config.utilities.closure Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.closure/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.closure/conftest.c Possible ERROR while running compiler: exit code 512 stderr: /tmp/petsc-pA4Uet/config.utilities.closure/conftest.c(6): error: expected an identifier int (^closure)(int);; ^ compilation aborted for /tmp/petsc-pA4Uet/config.utilities.closure/conftest.c (code 2) Source: #include "confdefs.h" #include "conffix.h" #include int main() { int (^closure)(int);; return 0; } Compile failed inside link ================================================================================ TEST configureFortranCPP from PETSc.options.fortranCPP(/home/swong/Downloads/petsc/config/PETSc/options/fortranCPP.py:27) TESTING: configureFortranCPP from PETSc.options.fortranCPP(config/PETSc/options/fortranCPP.py:27) Handle case where Fortran cannot preprocess properly Defined make rule ".f.o .f90.o .f95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} -o $@ $<'] Defined make rule ".f.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o'] Defined make rule ".F.o .F90.o .F95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} ${FCPPFLAGS} -o $@ $<'] Defined make rule ".F.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} ${FCPPFLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o'] ================================================================================ TEST checkStdC from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:105) TESTING: checkStdC from config.headers(config/BuildSystem/config/headers.py:105) Executing: icc -c -o /tmp/petsc-pA4Uet/config.headers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.headers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { ; return 0; } Source: #include "confdefs.h" #include "conffix.h" #include Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/string.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/string.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 33 "/usr/include/string.h" 2 3 extern void *memcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, const void *__src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 92 "/usr/include/string.h" 3 extern void *memchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 121 "/usr/include/string.h" 3 extern char *strcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 1 "/usr/include/xlocale.h" 1 3 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 160 "/usr/include/string.h" 2 3 extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (const char *__string, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 206 "/usr/include/string.h" 3 # 232 "/usr/include/string.h" 3 extern char *strchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 259 "/usr/include/string.h" 3 extern char *strrchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 277 "/usr/include/string.h" 3 extern size_t strcspn (const char *__s, const char *__reject) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 311 "/usr/include/string.h" 3 extern char *strpbrk (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 338 "/usr/include/string.h" 3 extern char *strstr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 373 "/usr/include/string.h" 3 # 391 "/usr/include/string.h" 3 extern size_t strlen (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (const char *__string, size_t __maxlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 438 "/usr/include/string.h" 3 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 485 "/usr/include/string.h" 3 extern char *index (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 513 "/usr/include/string.h" 3 extern char *rindex (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 530 "/usr/include/string.h" 3 extern int strcasecmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 551 "/usr/include/string.h" 3 extern char *strsep (char **__restrict __stringp, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 606 "/usr/include/string.h" 3 # 1 "/usr/include/bits/string.h" 1 3 # 631 "/usr/include/string.h" 2 3 # 1 "/usr/include/bits/string2.h" 1 3 # 634 "/usr/include/string.h" 2 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Source: #include "confdefs.h" #include "conffix.h" #include Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 25 "/usr/include/stdlib.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 33 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitflags.h" 1 3 # 42 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitstatus.h" 1 3 # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 65 "/usr/include/bits/waitstatus.h" 2 3 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; # 83 "/usr/include/bits/waitstatus.h" 3 } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; # 96 "/usr/include/bits/waitstatus.h" 3 } __wait_stopped; }; # 43 "/usr/include/stdlib.h" 2 3 # 56 "/usr/include/stdlib.h" 3 typedef union { union wait *__uptr; int *__iptr; } __WAIT_STATUS __attribute__ ((__transparent_union__)); # 82 "/usr/include/stdlib.h" 3 # 94 "/usr/include/stdlib.h" 3 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 273 "/usr/include/stdlib.h" 3 extern __inline int __attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) { return (int) strtol (__nptr, (char **) ((void*)0), 10); } extern __inline long int __attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) { return strtol (__nptr, (char **) ((void*)0), 10); } __extension__ extern __inline long long int __attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) { return strtoll (__nptr, (char **) ((void*)0), 10); } extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 315 "/usr/include/stdlib.h" 2 3 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/alloca.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 25 "/usr/include/alloca.h" 2 3 extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); # 492 "/usr/include/stdlib.h" 2 3 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 529 "/usr/include/stdlib.h" 3 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); # 550 "/usr/include/stdlib.h" 3 extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 572 "/usr/include/stdlib.h" 3 extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 632 "/usr/include/stdlib.h" 3 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 655 "/usr/include/stdlib.h" 3 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 709 "/usr/include/stdlib.h" 3 extern int system (const char *__command) ; # 726 "/usr/include/stdlib.h" 3 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; typedef int (*__compar_fn_t) (const void *, const void *); # 750 "/usr/include/stdlib.h" 3 extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)) ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; # 931 "/usr/include/stdlib.h" 3 # 942 "/usr/include/stdlib.h" 3 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/stdlib-float.h" 1 3 extern __inline double __attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) { return strtod (__nptr, (char **) ((void*)0)); } # 952 "/usr/include/stdlib.h" 2 3 # 960 "/usr/include/stdlib.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Executing: icc -c -o /tmp/petsc-pA4Uet/config.headers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.headers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main() { int i; for(i = 0; i < 256; i++) if (XOR(islower(i), ISLOWER(i)) || toupper(i) != TOUPPER(i)) exit(2); exit(0); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.headers/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.headers/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.headers/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.headers/conftest Executing: /tmp/petsc-pA4Uet/config.headers/conftest Defined "STDC_HEADERS" to "1" ================================================================================ TEST checkStat from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:138) TESTING: checkStat from config.headers(config/BuildSystem/config/headers.py:138) Checks whether stat file-mode macros are broken, and defines STAT_MACROS_BROKEN if they are Source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(S_ISBLK) && defined(S_IFDIR) # if S_ISBLK (S_IFDIR) You lose. # endif #endif #if defined(S_ISBLK) && defined(S_IFCHR) # if S_ISBLK (S_IFCHR) You lose. # endif #endif #if defined(S_ISLNK) && defined(S_IFREG) # if S_ISLNK (S_IFREG) You lose. # endif #endif #if defined(S_ISSOCK) && defined(S_IFREG) # if S_ISSOCK (S_IFREG) You lose. # endif #endif Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/types.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 30 "/usr/include/sys/types.h" 2 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 217 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 5 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/stat.h" 1 3 # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 39 "/usr/include/sys/stat.h" 2 3 # 62 "/usr/include/sys/stat.h" 3 # 81 "/usr/include/sys/stat.h" 3 # 103 "/usr/include/sys/stat.h" 3 # 1 "/usr/include/bits/stat.h" 1 3 # 39 "/usr/include/bits/stat.h" 3 struct stat { __dev_t st_dev; __ino_t st_ino; # 61 "/usr/include/bits/stat.h" 3 __nlink_t st_nlink; __mode_t st_mode; __uid_t st_uid; __gid_t st_gid; int __pad0; __dev_t st_rdev; __off_t st_size; __blksize_t st_blksize; __blkcnt_t st_blocks; struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # 106 "/usr/include/bits/stat.h" 3 __syscall_slong_t __unused[3]; # 115 "/usr/include/bits/stat.h" 3 }; # 170 "/usr/include/bits/stat.h" 3 # 189 "/usr/include/bits/stat.h" 3 # 204 "/usr/include/bits/stat.h" 3 # 107 "/usr/include/sys/stat.h" 2 3 # 125 "/usr/include/sys/stat.h" 3 # 140 "/usr/include/sys/stat.h" 3 # 151 "/usr/include/sys/stat.h" 3 extern int stat (const char *__restrict __file, struct stat *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 233 "/usr/include/sys/stat.h" 3 extern int fstatat (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 252 "/usr/include/sys/stat.h" 3 # 259 "/usr/include/sys/stat.h" 3 extern int lstat (const char *__restrict __file, struct stat *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 282 "/usr/include/sys/stat.h" 3 extern int chmod (const char *__file, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int lchmod (const char *__file, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)); extern int fchmodat (int __fd, const char *__file, __mode_t __mode, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ , __leaf__)); extern int mkdir (const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkdirat (int __fd, const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mknodat (int __fd, const char *__path, __mode_t __mode, __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int mkfifo (const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkfifoat (int __fd, const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int utimensat (int __fd, const char *__path, const struct timespec __times[2], int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int futimens (int __fd, const struct timespec __times[2]) __attribute__ ((__nothrow__ , __leaf__)); # 397 "/usr/include/sys/stat.h" 3 extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int __xstat (int __ver, const char *__filename, struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern int __lxstat (int __ver, const char *__filename, struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern int __fxstatat (int __ver, int __fildes, const char *__filename, struct stat *__stat_buf, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))); # 431 "/usr/include/sys/stat.h" 3 # 443 "/usr/include/sys/stat.h" 3 extern int __xmknod (int __ver, const char *__path, __mode_t __mode, __dev_t *__dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int __xmknodat (int __ver, int __fd, const char *__path, __mode_t __mode, __dev_t *__dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 5))); extern __inline int __attribute__ ((__nothrow__ , __leaf__)) stat (const char *__path, struct stat *__statbuf) { return __xstat (1, __path, __statbuf); } extern __inline int __attribute__ ((__nothrow__ , __leaf__)) lstat (const char *__path, struct stat *__statbuf) { return __lxstat (1, __path, __statbuf); } extern __inline int __attribute__ ((__nothrow__ , __leaf__)) fstat (int __fd, struct stat *__statbuf) { return __fxstat (1, __fd, __statbuf); } extern __inline int __attribute__ ((__nothrow__ , __leaf__)) fstatat (int __fd, const char *__filename, struct stat *__statbuf, int __flag) { return __fxstatat (1, __fd, __filename, __statbuf, __flag); } extern __inline int __attribute__ ((__nothrow__ , __leaf__)) mknod (const char *__path, __mode_t __mode, __dev_t __dev) { return __xmknod (0, __path, __mode, &__dev); } extern __inline int __attribute__ ((__nothrow__ , __leaf__)) mknodat (int __fd, const char *__path, __mode_t __mode, __dev_t __dev) { return __xmknodat (0, __fd, __path, __mode, &__dev); } # 532 "/usr/include/sys/stat.h" 3 # 6 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 ================================================================================ TEST checkSysWait from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:173) TESTING: checkSysWait from config.headers(config/BuildSystem/config/headers.py:173) Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found Executing: icc -c -o /tmp/petsc-pA4Uet/config.headers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.headers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifndef WEXITSTATUS #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main() { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } Defined "HAVE_SYS_WAIT_H" to "1" ================================================================================ TEST checkTime from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:195) TESTING: checkTime from config.headers(config/BuildSystem/config/headers.py:195) Checks if you can safely include both and , and if so defines TIME_WITH_SYS_TIME Checking for header: time.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/time.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 28 "/usr/include/time.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 38 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 # 37 "/usr/include/bits/time.h" 3 # 58 "/usr/include/bits/time.h" 3 # 95 "/usr/include/bits/time.h" 3 # 42 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 56 "/usr/include/time.h" 2 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; typedef __pid_t pid_t; extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); # 217 "/usr/include/time.h" 3 # 1 "/usr/include/xlocale.h" 1 3 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 222 "/usr/include/time.h" 2 3 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); # 414 "/usr/include/time.h" 3 # 429 "/usr/include/time.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_TIME_H" to "1" Checking for header: sys/time.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/time.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 23 "/usr/include/sys/time.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 25 "/usr/include/sys/time.h" 2 3 # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 typedef __time_t time_t; # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 27 "/usr/include/sys/time.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 29 "/usr/include/sys/time.h" 2 3 # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 # 37 "/usr/include/bits/time.h" 3 # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 31 "/usr/include/sys/time.h" 2 3 # 51 "/usr/include/sys/time.h" 3 struct timezone { int tz_minuteswest; int tz_dsttime; }; typedef struct timezone *__restrict __timezone_ptr_t; extern int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int settimeofday (const struct timeval *__tv, const struct timezone *__tz) __attribute__ ((__nothrow__ , __leaf__)); extern int adjtime (const struct timeval *__delta, struct timeval *__olddelta) __attribute__ ((__nothrow__ , __leaf__)); enum __itimer_which { ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_PROF = 2 }; struct itimerval { struct timeval it_interval; struct timeval it_value; }; typedef int __itimer_which_t; extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int setitimer (__itimer_which_t __which, const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__ ((__nothrow__ , __leaf__)); extern int utimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int lutimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int futimes (int __fd, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)); # 158 "/usr/include/sys/time.h" 3 # 189 "/usr/include/sys/time.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_TIME_H" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/config.headers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.headers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { struct tm *tp = 0; if (tp); ; return 0; } Defined "TIME_WITH_SYS_TIME" to "1" ================================================================================ TEST checkMath from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:203) TESTING: checkMath from config.headers(config/BuildSystem/config/headers.py:203) Checks for the math headers and defines Checking for header: math.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 1 3 # 1 "/usr/include/math.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 28 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/huge_val.h" 1 3 # 34 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/huge_valf.h" 1 3 # 36 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/huge_vall.h" 1 3 # 37 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/inf.h" 1 3 # 40 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/nan.h" 1 3 # 43 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/mathdef.h" 1 3 typedef float float_t; typedef double double_t; # 40 "/usr/include/bits/mathdef.h" 3 # 47 "/usr/include/math.h" 2 3 # 65 "/usr/include/math.h" 3 # 1 "/usr/include/bits/mathcalls.h" 1 3 extern double acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 125 "/usr/include/bits/mathcalls.h" 3 extern double expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double nan (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nan (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __fpclassify (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbit (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); extern double scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); # 71 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/mathcalls.h" 1 3 extern float acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 125 "/usr/include/bits/mathcalls.h" 3 extern float expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float nanf (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nanf (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbitf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); # 90 "/usr/include/math.h" 2 3 # 121 "/usr/include/math.h" 3 # 1 "/usr/include/bits/mathcalls.h" 1 3 extern long double acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 125 "/usr/include/bits/mathcalls.h" 3 extern long double expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double nanl (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nanl (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbitl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); # 134 "/usr/include/math.h" 2 3 extern int signgam; enum { FP_NAN = 0, FP_INFINITE = 1, FP_ZERO = 2, FP_SUBNORMAL = 3, FP_NORMAL = 4 }; # 220 "/usr/include/math.h" 3 # 232 "/usr/include/math.h" 3 # 244 "/usr/include/math.h" 3 # 260 "/usr/include/math.h" 3 # 272 "/usr/include/math.h" 3 typedef enum { _IEEE_ = -1, _SVID_, _XOPEN_, _POSIX_, _ISOC_ } _LIB_VERSION_TYPE; extern _LIB_VERSION_TYPE _LIB_VERSION; struct exception { int type; char *name; double arg1; double arg2; double retval; }; extern int matherr (struct exception *__exc); # 338 "/usr/include/math.h" 3 # 350 "/usr/include/math.h" 3 # 368 "/usr/include/math.h" 3 # 387 "/usr/include/math.h" 3 # 410 "/usr/include/math.h" 3 # 1 "/usr/include/bits/mathinline.h" 1 3 # 119 "/usr/include/bits/mathinline.h" 3 extern __inline __attribute__ ((__always_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) __signbitf (float __x) { int __m; __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); return (__m & 0x8) != 0; } extern __inline __attribute__ ((__always_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) __signbit (double __x) { int __m; __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); return (__m & 0x80) != 0; } extern __inline __attribute__ ((__always_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) __signbitl (long double __x) { __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; return (__u.__i[2] & 0x8000) != 0; } # 384 "/usr/include/bits/mathinline.h" 3 # 414 "/usr/include/math.h" 2 3 # 432 "/usr/include/math.h" 3 # 440 "/usr/include/math.h" 3 # 448 "/usr/include/math.h" 3 # 456 "/usr/include/math.h" 3 # 464 "/usr/include/math.h" 3 # 472 "/usr/include/math.h" 3 # 20 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 2 3 # 38 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 62 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 110 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 118 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 129 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 158 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 172 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 197 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 213 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 extern int fpclassifyf ( float __x ) ; extern int fpclassify ( double __x ) ; extern int fpclassifyd ( double __x ) ; extern int fpclassifyl ( long double __x ) ; extern int __fpclassifyf ( float __x ) ; extern int __fpclassify ( double __x ) ; extern int __fpclassifyd ( double __x ) ; extern int __fpclassifyl ( long double __x ) ; extern int isinff ( float __x ) ; extern int isinf ( double __x ) ; extern int isinfd ( double __x ) ; extern int isinfl ( long double __x ) ; extern int __isinff ( float __x ) ; extern int __isinf ( double __x ) ; extern int __isinfd ( double __x ) ; extern int __isinfl ( long double __x ) ; extern int isnanf ( float __x ) ; extern int isnan ( double __x ) ; extern int isnand ( double __x ) ; extern int isnanl ( long double __x ) ; extern int __isnanf ( float __x ) ; extern int __isnan ( double __x ) ; extern int __isnand ( double __x ) ; extern int __isnanl ( long double __x ) ; extern int isnormalf ( float __x ) ; extern int isnormal ( double __x ) ; extern int isnormald ( double __x ) ; extern int isnormall ( long double __x ) ; extern int __isnormalf ( float __x ) ; extern int __isnormal ( double __x ) ; extern int __isnormald ( double __x ) ; extern int __isnormall ( long double __x ) ; extern int isfinitef ( float __x ) ; extern int isfinite ( double __x ) ; extern int isfinited ( double __x ) ; extern int isfinitel ( long double __x ) ; extern int __isfinitef ( float __x ) ; extern int __isfinite ( double __x ) ; extern int __isfinited ( double __x ) ; extern int __isfinitel ( long double __x ) ; extern int finitef ( float __x ) ; extern int finite ( double __x ) ; extern int finited ( double __x ) ; extern int finitel ( long double __x ) ; extern int __finitef ( float __x ) ; extern int __finite ( double __x ) ; extern int __finited ( double __x ) ; extern int __finitel ( long double __x ) ; extern int signbitf ( float __x ) ; extern int signbit ( double __x ) ; extern int signbitd ( double __x ) ; extern int signbitl ( long double __x ) ; extern int __signbitf ( float __x ) ; extern int __signbit ( double __x ) ; extern int __signbitd ( double __x ) ; extern int __signbitl ( long double __x ) ; # 322 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 343 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 350 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 extern int isgreaterf( float __xf, float __yf ); extern int isgreater( double __xd, double __yd ); extern int isgreaterl( long double __xl, long double __yl ); extern int __isgreaterf( float __xf, float __yf ); extern int __isgreater( double __xd, double __yd ); extern int __isgreaterl( long double __xl, long double __yl ); extern int isgreaterequalf( float __xf, float __yf ); extern int isgreaterequal( double __xd, double __yd ); extern int isgreaterequall( long double __xl, long double __yl ); extern int __isgreaterequalf( float __xf, float __yf ); extern int __isgreaterequal( double __xd, double __yd ); extern int __isgreaterequall( long double __xl, long double __yl ); extern int islessf( float __xf, float __yf ); extern int isless( double __xd, double __yd ); extern int islessl( long double __xl, long double __yl ); extern int __islessf( float __xf, float __yf ); extern int __isless( double __xd, double __yd ); extern int __islessl( long double __xl, long double __yl ); extern int islessequalf( float __xf, float __yf ); extern int islessequal( double __xd, double __yd ); extern int islessequall( long double __xl, long double __yl ); extern int __islessequalf( float __xf, float __yf ); extern int __islessequal( double __xd, double __yd ); extern int __islessequall( long double __xl, long double __yl ); extern int islessgreaterf( float __xf, float __yf ); extern int islessgreater( double __xd, double __yd ); extern int islessgreaterl( long double __xl, long double __yl ); extern int __islessgreaterf( float __xf, float __yf ); extern int __islessgreater( double __xd, double __yd ); extern int __islessgreaterl( long double __xl, long double __yl ); extern int isunorderedf( float __xf, float __yf ); extern int isunordered( double __xd, double __yd ); extern int isunorderedl( long double __xl, long double __yl ); extern int __isunorderedf( float __xf, float __yf ); extern int __isunordered( double __xd, double __yd ); extern int __isunorderedl( long double __xl, long double __yl ); # 404 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 411 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 427 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 437 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 extern double cot( double __x ); extern float cotf( float __x ); extern long double cotl( long double __x ); extern double cosd( double __x ); extern float cosdf( float __x ); extern long double cosdl( long double __x ); extern double sind( double __x ); extern float sindf( float __x ); extern long double sindl( long double __x ); extern double tand( double __x ); extern float tandf( float __x ); extern long double tandl( long double __x ); extern double cotd( double __x ); extern float cotdf( float __x ); extern long double cotdl( long double __x ); extern double acosd( double __x ); extern float acosdf( float __x ); extern long double acosdl( long double __x ); extern double asind( double __x ); extern float asindf( float __x ); extern long double asindl( long double __x ); extern double atand( double __x ); extern float atandf( float __x ); extern long double atandl( long double __x ); extern double atand2( double __y, double __x ); extern float atand2f( float __y, float __x ); extern long double atand2l( long double __y, long double __x ); extern double atan2d( double __y, double __x ); extern float atan2df( float __y, float __x ); extern long double atan2dl( long double __y, long double __x ); extern void sincosd( double __x, double *__psin, double *__pcos ); extern void sincosdf( float __x, float *__psin, float *__pcos ); extern void sincosdl( long double __x, long double *__psin, long double *__pcos ); # 503 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 extern void sinhcosh( double __x, double *__psinh, double *__pcosh ); extern void sinhcoshf( float __x, float *__psinh, float *__pcosh ); extern void sinhcoshl( long double __x, long double *__psinh, long double *__pcosh ); # 517 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 544 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 558 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 599 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 622 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 641 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 652 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 661 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 extern double invsqrt( double __x ); extern float invsqrtf( float __x ); extern long double invsqrtl( long double __x ); # 680 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 extern double cdfnorm( double __x ); extern float cdfnormf( float __x ); extern double cdfnorminv( double __x ); extern float cdfnorminvf( float __x ); extern double erfinv( double __x ); extern float erfinvf( float __x ); extern long double erfinvl( long double __x ); extern double erfcinv( double __x ); extern float erfcinvf( float __x ); extern double gamma_r( double __x, int *__signgam ); extern float gammaf_r( float __x, int *__signgam ); extern long double gammal_r( long double __x, int *__signgam ); # 706 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 722 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 740 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 760 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 779 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 794 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 803 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 826 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 extern double annuity( double __x, double __y ); extern double compound( double __x, double __y ); extern float annuityf( float __x, float __y ); extern long double annuityl( long double __x, long double __y ); extern float compoundf( float __x, float __y ); extern long double compoundl( long double __x, long double __y ); # 846 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 864 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 875 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 916 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 937 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 1107 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 1121 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 typedef struct ____exception { int type; const char *name; double arg1; double arg2; double retval; } ___exception; # 1142 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 typedef struct ____exceptionf { int type; const char *name; float arg1; float arg2; float retval; } ___exceptionf; typedef struct ____exceptionl { int type; const char *name; long double arg1; long double arg2; long double retval; } ___exceptionl; extern int matherrf( struct ____exceptionf *__e ); extern int matherrl( struct ____exceptionl *__e ); # 1174 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 typedef int ( *___pmatherr )( struct ____exception *__e ); typedef int ( *___pmatherrf )( struct ____exceptionf *__e ); typedef int ( *___pmatherrl )( struct ____exceptionl *__e ); extern ___pmatherr __libm_setusermatherr( ___pmatherr __user_matherr ); extern ___pmatherrf __libm_setusermatherrf( ___pmatherrf __user_matherrf ); extern ___pmatherrl __libm_setusermatherrl( ___pmatherrl __user_matherrl ); # 1212 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 extern _LIB_VERSION_TYPE _LIB_VERSIONIMF; # 1226 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 1439 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_MATH_H" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/config.headers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.headers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double pi = M_PI; if (pi); ; return 0; } Found math #defines, like M_PI ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/socket.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/socket.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 24 "/usr/include/sys/socket.h" 2 3 # 1 "/usr/include/sys/uio.h" 1 3 # 1 "/usr/include/sys/types.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 30 "/usr/include/sys/types.h" 2 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 217 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 25 "/usr/include/sys/uio.h" 2 3 # 1 "/usr/include/bits/uio.h" 1 3 struct iovec { void *iov_base; size_t iov_len; }; # 30 "/usr/include/sys/uio.h" 2 3 extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count) ; extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count) ; extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; # 93 "/usr/include/sys/uio.h" 3 # 120 "/usr/include/sys/uio.h" 3 # 28 "/usr/include/sys/socket.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 30 "/usr/include/sys/socket.h" 2 3 # 1 "/usr/include/bits/socket.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 29 "/usr/include/bits/socket.h" 2 3 typedef __socklen_t socklen_t; # 1 "/usr/include/bits/socket_type.h" 1 3 enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_DCCP = 6, SOCK_PACKET = 10, SOCK_CLOEXEC = 02000000, SOCK_NONBLOCK = 00004000 }; # 40 "/usr/include/bits/socket.h" 2 3 # 84 "/usr/include/bits/socket.h" 3 # 128 "/usr/include/bits/socket.h" 3 # 140 "/usr/include/bits/socket.h" 3 # 1 "/usr/include/bits/sockaddr.h" 1 3 typedef unsigned short int sa_family_t; # 146 "/usr/include/bits/socket.h" 2 3 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; struct sockaddr_storage { sa_family_t ss_family; unsigned long int __ss_align; char __ss_padding[(128 - (2 * sizeof (unsigned long int)))]; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, # 183 "/usr/include/bits/socket.h" 3 MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000, MSG_WAITFORONE = 0x10000, MSG_CMSG_CLOEXEC = 0x40000000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 268 "/usr/include/bits/socket.h" 3 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ , __leaf__)); extern __inline struct cmsghdr * __attribute__ ((__nothrow__ , __leaf__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) { if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) return (struct cmsghdr *) 0; __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen) || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) return (struct cmsghdr *) 0; return __cmsg; } enum { SCM_RIGHTS = 0x01 }; # 315 "/usr/include/bits/socket.h" 3 # 340 "/usr/include/bits/socket.h" 3 # 1 "/usr/include/asm/socket.h" 1 3 # 1 "/usr/include/asm-generic/socket.h" 1 3 # 1 "/usr/include/asm/sockios.h" 1 3 # 1 "/usr/include/asm-generic/sockios.h" 1 3 # 12 "/usr/include/asm-generic/sockios.h" 3 # 2 "/usr/include/asm/sockios.h" 2 3 # 5 "/usr/include/asm-generic/socket.h" 2 3 # 34 "/usr/include/asm-generic/socket.h" 3 # 2 "/usr/include/asm/socket.h" 2 3 # 343 "/usr/include/bits/socket.h" 2 3 # 374 "/usr/include/bits/socket.h" 3 struct linger { int l_onoff; int l_linger; }; # 40 "/usr/include/sys/socket.h" 2 3 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 99 "/usr/include/sys/socket.h" 3 # 109 "/usr/include/sys/socket.h" 3 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ , __leaf__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__ , __leaf__)); extern int bind (int __fd, const struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); extern int connect (int __fd, const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, const void *__buf, size_t __n, int __flags, const struct sockaddr * __addr, socklen_t __addr_len); extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, const struct msghdr *__message, int __flags); # 197 "/usr/include/sys/socket.h" 3 extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); # 215 "/usr/include/sys/socket.h" 3 extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int setsockopt (int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); # 255 "/usr/include/sys/socket.h" 3 extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ , __leaf__)); extern int sockatmark (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ , __leaf__)); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_SOCKET_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/types.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/types.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 30 "/usr/include/sys/types.h" 2 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 217 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_TYPES_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/malloc.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 24 "/usr/include/malloc.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 25 "/usr/include/malloc.h" 2 3 # 1 "/usr/include/stdio.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 34 "/usr/include/stdio.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 36 "/usr/include/stdio.h" 2 3 struct _IO_FILE; typedef struct _IO_FILE FILE; typedef struct _IO_FILE __FILE; # 1 "/usr/include/libio.h" 1 3 # 1 "/usr/include/_G_config.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 16 "/usr/include/_G_config.h" 2 3 # 1 "/usr/include/wchar.h" 1 3 # 78 "/usr/include/wchar.h" 3 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 894 "/usr/include/wchar.h" 3 # 21 "/usr/include/_G_config.h" 2 3 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 43 "/usr/include/_G_config.h" 3 # 33 "/usr/include/libio.h" 2 3 # 47 "/usr/include/libio.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdarg.h" 1 3 # 102 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdarg.h" 3 typedef __builtin_va_list va_list; typedef __builtin_va_list __gnuc_va_list; # 51 "/usr/include/libio.h" 2 3 # 77 "/usr/include/libio.h" 3 # 86 "/usr/include/libio.h" 3 # 112 "/usr/include/libio.h" 3 # 124 "/usr/include/libio.h" 3 # 143 "/usr/include/libio.h" 3 struct _IO_jump_t; struct _IO_FILE; # 155 "/usr/include/libio.h" 3 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 178 "/usr/include/libio.h" 3 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 245 "/usr/include/libio.h" 3 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 294 "/usr/include/libio.h" 3 __off64_t _offset; # 303 "/usr/include/libio.h" 3 void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 333 "/usr/include/libio.h" 3 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); # 385 "/usr/include/libio.h" 3 extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); # 417 "/usr/include/libio.h" 3 # 431 "/usr/include/libio.h" 3 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); # 464 "/usr/include/libio.h" 3 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); # 521 "/usr/include/libio.h" 3 # 75 "/usr/include/stdio.h" 2 3 typedef __gnuc_va_list va_list; # 86 "/usr/include/stdio.h" 3 typedef __off_t off_t; # 100 "/usr/include/stdio.h" 3 typedef __ssize_t ssize_t; typedef _G_fpos_t fpos_t; # 147 "/usr/include/stdio.h" 3 # 1 "/usr/include/bits/stdio_lim.h" 1 3 # 34 "/usr/include/bits/stdio_lim.h" 3 # 165 "/usr/include/stdio.h" 2 3 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern int renameat (int __oldfd, const char *__old, int __newfd, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern FILE *tmpfile (void) ; # 203 "/usr/include/stdio.h" 3 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *tempnam (const char *__dir, const char *__pfx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); extern int fflush_unlocked (FILE *__stream); # 264 "/usr/include/stdio.h" 3 extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; # 295 "/usr/include/stdio.h" 3 # 303 "/usr/include/stdio.h" 3 extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; # 316 "/usr/include/stdio.h" 3 extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ; extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int fprintf (FILE *__restrict __stream, const char *__restrict __format, ...); extern int printf (const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); # 409 "/usr/include/stdio.h" 3 extern int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) ; extern int scanf (const char *__restrict __format, ...) ; extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") ; extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") ; extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__)); # 462 "/usr/include/stdio.h" 3 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 521 "/usr/include/stdio.h" 3 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; extern char *gets (char *__s) __attribute__ ((__deprecated__)); # 652 "/usr/include/stdio.h" 3 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) ; extern int fputs (const char *__restrict __s, FILE *__restrict __stream); extern int puts (const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); # 729 "/usr/include/stdio.h" 3 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream); extern int fseeko (FILE *__stream, __off_t __off, int __whence); extern __off_t ftello (FILE *__stream) ; # 791 "/usr/include/stdio.h" 3 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, const fpos_t *__pos); # 815 "/usr/include/stdio.h" 3 # 823 "/usr/include/stdio.h" 3 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void perror (const char *__s); # 1 "/usr/include/bits/sys_errlist.h" 1 3 extern int sys_nerr; extern const char *const sys_errlist[]; # 854 "/usr/include/stdio.h" 2 3 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *popen (const char *__command, const char *__modes) ; extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); # 907 "/usr/include/stdio.h" 3 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); # 930 "/usr/include/stdio.h" 3 # 1 "/usr/include/bits/stdio.h" 1 3 extern __inline int vprintf (const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } extern __inline int getchar (void) { return _IO_getc (stdin); } extern __inline int fgetc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getchar_unlocked (void) { return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline int putchar (int __c) { return _IO_putc (__c, stdout); } extern __inline int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putchar_unlocked (int __c) { return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } # 120 "/usr/include/bits/stdio.h" 3 extern __inline int __attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x10) != 0); } extern __inline int __attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x20) != 0); } # 167 "/usr/include/bits/stdio.h" 3 # 188 "/usr/include/bits/stdio.h" 3 # 935 "/usr/include/stdio.h" 2 3 # 942 "/usr/include/stdio.h" 3 # 26 "/usr/include/malloc.h" 2 3 # 46 "/usr/include/malloc.h" 3 # 55 "/usr/include/malloc.h" 3 extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void *memalign (size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void * pvalloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *(*__morecore) (ptrdiff_t __size); extern void *__default_morecore (ptrdiff_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); struct mallinfo { int arena; int ordblks; int smblks; int hblks; int hblkhd; int usmblks; int fsmblks; int uordblks; int fordblks; int keepcost; }; extern struct mallinfo mallinfo (void) __attribute__ ((__nothrow__ , __leaf__)); # 131 "/usr/include/malloc.h" 3 # 141 "/usr/include/malloc.h" 3 extern int mallopt (int __param, int __val) __attribute__ ((__nothrow__ , __leaf__)); extern int malloc_trim (size_t __pad) __attribute__ ((__nothrow__ , __leaf__)); extern size_t malloc_usable_size (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void malloc_stats (void) __attribute__ ((__nothrow__ , __leaf__)); extern int malloc_info (int __options, FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern void *malloc_get_state (void) __attribute__ ((__nothrow__ , __leaf__)); extern int malloc_set_state (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void (*volatile __malloc_initialize_hook) (void) __attribute__ ((__deprecated__)); extern void (*volatile __free_hook) (void *__ptr, const void *) __attribute__ ((__deprecated__)); extern void *(*volatile __malloc_hook) (size_t __size, const void *) __attribute__ ((__deprecated__)); extern void *(*volatile __realloc_hook) (void *__ptr, size_t __size, const void *) __attribute__ ((__deprecated__)); extern void *(*volatile __memalign_hook) (size_t __alignment, size_t __size, const void *) __attribute__ ((__deprecated__)); extern void (*volatile __after_morecore_hook) (void); extern void __malloc_check_init (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_MALLOC_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/time.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 28 "/usr/include/time.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 38 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 # 37 "/usr/include/bits/time.h" 3 # 58 "/usr/include/bits/time.h" 3 # 95 "/usr/include/bits/time.h" 3 # 42 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 56 "/usr/include/time.h" 2 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; typedef __pid_t pid_t; extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); # 217 "/usr/include/time.h" 3 # 1 "/usr/include/xlocale.h" 1 3 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 222 "/usr/include/time.h" 2 3 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); # 414 "/usr/include/time.h" 3 # 429 "/usr/include/time.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_TIME_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Direct.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "Direct.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "Direct.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "Direct.h" #include ^: ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "Ws2tcpip.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "Ws2tcpip.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "Ws2tcpip.h" #include ^: ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: endian.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 22 "/usr/include/endian.h" 2 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_ENDIAN_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "ieeefp.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "ieeefp.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "ieeefp.h" #include ^: ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/strings.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 28 "/usr/include/strings.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 30 "/usr/include/strings.h" 2 3 extern int bcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern void bcopy (const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); # 73 "/usr/include/strings.h" 3 extern char *index (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 101 "/usr/include/strings.h" 3 extern char *rindex (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((const)); extern int strcasecmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); # 1 "/usr/include/xlocale.h" 1 3 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 125 "/usr/include/strings.h" 2 3 extern int strcasecmp_l (const char *__s1, const char *__s2, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int strncasecmp_l (const char *__s1, const char *__s2, size_t __n, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_STRINGS_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: inttypes.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/inttypes.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/inttypes.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 1 3 # 74 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h" 1 3 # 1 "/usr/include/stdint.h" 1 3 # 1 "/usr/include/bits/wchar.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/wchar.h" 2 3 # 31 "/usr/include/bits/wchar.h" 3 # 27 "/usr/include/stdint.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/stdint.h" 2 3 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; typedef long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; typedef long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long int uint_least64_t; typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 101 "/usr/include/stdint.h" 3 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 114 "/usr/include/stdint.h" 3 typedef long int intptr_t; typedef unsigned long int uintptr_t; # 130 "/usr/include/stdint.h" 3 typedef long int intmax_t; typedef unsigned long int uintmax_t; # 142 "/usr/include/stdint.h" 3 # 155 "/usr/include/stdint.h" 3 # 204 "/usr/include/stdint.h" 3 # 214 "/usr/include/stdint.h" 3 # 225 "/usr/include/stdint.h" 3 # 237 "/usr/include/stdint.h" 3 # 258 "/usr/include/stdint.h" 3 # 297 "/usr/include/stdint.h" 3 # 307 "/usr/include/stdint.h" 3 # 316 "/usr/include/stdint.h" 3 # 10 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h" 2 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 2 3 # 85 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 28 "/usr/include/inttypes.h" 2 3 typedef int __gwchar_t; # 42 "/usr/include/inttypes.h" 3 # 55 "/usr/include/inttypes.h" 3 # 162 "/usr/include/inttypes.h" 3 # 171 "/usr/include/inttypes.h" 3 typedef struct { long int quot; long int rem; } imaxdiv_t; # 294 "/usr/include/inttypes.h" 3 extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern intmax_t strtoimax (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern uintmax_t strtoumax (const char *__restrict __nptr, char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, __gwchar_t **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr, __gwchar_t ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern long int __strtol_internal (const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern __inline intmax_t __attribute__ ((__nothrow__ , __leaf__)) strtoimax (const char *__restrict nptr, char * *__restrict endptr, int base) { return __strtol_internal (nptr, endptr, base, 0); } extern unsigned long int __strtoul_internal (const char *__restrict __nptr, char ** __restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern __inline uintmax_t __attribute__ ((__nothrow__ , __leaf__)) strtoumax (const char *__restrict nptr, char * *__restrict endptr, int base) { return __strtoul_internal (nptr, endptr, base, 0); } extern long int __wcstol_internal (const __gwchar_t * __restrict __nptr, __gwchar_t **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern __inline intmax_t __attribute__ ((__nothrow__ , __leaf__)) wcstoimax (const __gwchar_t *__restrict nptr, __gwchar_t * *__restrict endptr, int base) { return __wcstol_internal (nptr, endptr, base, 0); } extern unsigned long int __wcstoul_internal (const __gwchar_t * __restrict __nptr, __gwchar_t ** __restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern __inline uintmax_t __attribute__ ((__nothrow__ , __leaf__)) wcstoumax (const __gwchar_t *__restrict nptr, __gwchar_t * *__restrict endptr, int base) { return __wcstoul_internal (nptr, endptr, base, 0); } # 438 "/usr/include/inttypes.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_INTTYPES_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sched.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sched.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 24 "/usr/include/sched.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 27 "/usr/include/sched.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 30 "/usr/include/sched.h" 2 3 # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 typedef __time_t time_t; # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 34 "/usr/include/sched.h" 2 3 typedef __pid_t pid_t; # 1 "/usr/include/bits/sched.h" 1 3 # 38 "/usr/include/bits/sched.h" 3 # 71 "/usr/include/bits/sched.h" 3 struct sched_param { int __sched_priority; }; # 94 "/usr/include/bits/sched.h" 3 struct __sched_param { int __sched_priority; }; typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 166 "/usr/include/bits/sched.h" 3 # 185 "/usr/include/bits/sched.h" 3 # 196 "/usr/include/bits/sched.h" 3 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) __attribute__ ((__nothrow__ , __leaf__)); extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__ , __leaf__)) ; extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__ , __leaf__)); # 43 "/usr/include/sched.h" 2 3 extern int sched_setparam (__pid_t __pid, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_setscheduler (__pid_t __pid, int __policy, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_yield (void) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__ , __leaf__)); # 124 "/usr/include/sched.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SCHED_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: cxxabi.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "cxxabi.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "cxxabi.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "cxxabi.h" #include ^: ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/systeminfo.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "sys/systeminfo.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "sys/systeminfo.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "sys/systeminfo.h" #include ^: ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "dos.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "dos.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "dos.h" #include ^: ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "WindowsX.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "WindowsX.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "WindowsX.h" #include ^: ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/sysinfo.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/sysinfo.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 22 "/usr/include/sys/sysinfo.h" 2 3 # 1 "/usr/include/linux/kernel.h" 1 3 # 1 "/usr/include/linux/sysinfo.h" 1 3 # 1 "/usr/include/linux/types.h" 1 3 # 1 "/usr/include/asm/types.h" 1 3 # 1 "/usr/include/asm-generic/types.h" 1 3 # 1 "/usr/include/asm-generic/int-ll64.h" 1 3 # 1 "/usr/include/asm/bitsperlong.h" 1 3 # 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 # 11 "/usr/include/asm/bitsperlong.h" 2 3 # 12 "/usr/include/asm-generic/int-ll64.h" 2 3 typedef __signed__ char __s8; typedef unsigned char __u8; typedef __signed__ short __s16; typedef unsigned short __u16; typedef __signed__ int __s32; typedef unsigned int __u32; __extension__ typedef __signed__ long long __s64; __extension__ typedef unsigned long long __u64; # 8 "/usr/include/asm-generic/types.h" 2 3 # 5 "/usr/include/asm/types.h" 2 3 # 5 "/usr/include/linux/types.h" 2 3 # 1 "/usr/include/linux/posix_types.h" 1 3 # 1 "/usr/include/linux/stddef.h" 1 3 # 5 "/usr/include/linux/posix_types.h" 2 3 typedef struct { unsigned long fds_bits[1024 / (8 * sizeof(long))]; } __kernel_fd_set; typedef void (*__kernel_sighandler_t)(int); typedef int __kernel_key_t; typedef int __kernel_mqd_t; # 1 "/usr/include/asm/posix_types.h" 1 3 # 1 "/usr/include/asm/posix_types_64.h" 1 3 typedef unsigned short __kernel_old_uid_t; typedef unsigned short __kernel_old_gid_t; typedef unsigned long __kernel_old_dev_t; # 1 "/usr/include/asm-generic/posix_types.h" 1 3 typedef long __kernel_long_t; typedef unsigned long __kernel_ulong_t; typedef __kernel_ulong_t __kernel_ino_t; typedef unsigned int __kernel_mode_t; typedef int __kernel_pid_t; typedef int __kernel_ipc_pid_t; typedef unsigned int __kernel_uid_t; typedef unsigned int __kernel_gid_t; typedef __kernel_long_t __kernel_suseconds_t; typedef int __kernel_daddr_t; typedef unsigned int __kernel_uid32_t; typedef unsigned int __kernel_gid32_t; # 71 "/usr/include/asm-generic/posix_types.h" 3 typedef __kernel_ulong_t __kernel_size_t; typedef __kernel_long_t __kernel_ssize_t; typedef __kernel_long_t __kernel_ptrdiff_t; typedef struct { int val[2]; } __kernel_fsid_t; typedef __kernel_long_t __kernel_off_t; typedef long long __kernel_loff_t; typedef __kernel_long_t __kernel_time_t; typedef __kernel_long_t __kernel_clock_t; typedef int __kernel_timer_t; typedef int __kernel_clockid_t; typedef char * __kernel_caddr_t; typedef unsigned short __kernel_uid16_t; typedef unsigned short __kernel_gid16_t; # 18 "/usr/include/asm/posix_types_64.h" 2 3 # 7 "/usr/include/asm/posix_types.h" 2 3 # 36 "/usr/include/linux/posix_types.h" 2 3 # 9 "/usr/include/linux/types.h" 2 3 # 26 "/usr/include/linux/types.h" 3 typedef __u16 __le16; typedef __u16 __be16; typedef __u32 __le32; typedef __u32 __be32; typedef __u64 __le64; typedef __u64 __be64; typedef __u16 __sum16; typedef __u32 __wsum; # 5 "/usr/include/linux/sysinfo.h" 2 3 struct sysinfo { __kernel_long_t uptime; __kernel_ulong_t loads[3]; __kernel_ulong_t totalram; __kernel_ulong_t freeram; __kernel_ulong_t sharedram; __kernel_ulong_t bufferram; __kernel_ulong_t totalswap; __kernel_ulong_t freeswap; __u16 procs; __u16 pad; __kernel_ulong_t totalhigh; __kernel_ulong_t freehigh; __u32 mem_unit; char _f[20-2*sizeof(__kernel_ulong_t)-sizeof(__u32)]; }; # 5 "/usr/include/linux/kernel.h" 2 3 # 25 "/usr/include/sys/sysinfo.h" 2 3 extern int sysinfo (struct sysinfo *__info) __attribute__ ((__nothrow__ , __leaf__)); extern int get_nprocs_conf (void) __attribute__ ((__nothrow__ , __leaf__)); extern int get_nprocs (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int get_phys_pages (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int get_avphys_pages (void) __attribute__ ((__nothrow__ , __leaf__)); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_SYSINFO_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/wait.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/wait.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 27 "/usr/include/sys/wait.h" 2 3 # 1 "/usr/include/signal.h" 1 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 67 "/usr/include/bits/sigset.h" 3 # 99 "/usr/include/bits/sigset.h" 3 extern int __sigismember (const __sigset_t *, int); extern int __sigaddset (__sigset_t *, int); extern int __sigdelset (__sigset_t *, int); # 116 "/usr/include/bits/sigset.h" 3 extern __inline int __sigismember (const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; } extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); } extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); } # 33 "/usr/include/signal.h" 2 3 typedef __sig_atomic_t sig_atomic_t; typedef __sigset_t sigset_t; # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 57 "/usr/include/signal.h" 2 3 # 1 "/usr/include/bits/signum.h" 1 3 # 67 "/usr/include/bits/signum.h" 3 # 58 "/usr/include/signal.h" 2 3 typedef __pid_t pid_t; typedef __uid_t uid_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 76 "/usr/include/signal.h" 2 3 # 1 "/usr/include/bits/siginfo.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 25 "/usr/include/bits/siginfo.h" 2 3 typedef union sigval { int sival_int; void *sival_ptr; } sigval_t; # 49 "/usr/include/bits/siginfo.h" 3 # 58 "/usr/include/bits/siginfo.h" 3 typedef __clock_t __sigchld_clock_t; typedef struct { int si_signo; int si_errno; int si_code; union { int _pad[((128 / sizeof (int)) - 4)]; struct { __pid_t si_pid; __uid_t si_uid; } _kill; struct { int si_tid; int si_overrun; sigval_t si_sigval; } _timer; struct { __pid_t si_pid; __uid_t si_uid; sigval_t si_sigval; } _rt; struct { __pid_t si_pid; __uid_t si_uid; int si_status; __sigchld_clock_t si_utime; __sigchld_clock_t si_stime; } _sigchld; struct { void *si_addr; } _sigfault; struct { long int si_band; int si_fd; } _sigpoll; struct { void *_call_addr; int _syscall; unsigned int _arch; } _sigsys; } _sifields; } siginfo_t ; # 147 "/usr/include/bits/siginfo.h" 3 enum { SI_ASYNCNL = -60, SI_TKILL = -6, SI_SIGIO, SI_ASYNCIO, SI_MESGQ, SI_TIMER, SI_QUEUE, SI_USER, SI_KERNEL = 0x80 }; enum { ILL_ILLOPC = 1, ILL_ILLOPN, ILL_ILLADR, ILL_ILLTRP, ILL_PRVOPC, ILL_PRVREG, ILL_COPROC, ILL_BADSTK }; enum { FPE_INTDIV = 1, FPE_INTOVF, FPE_FLTDIV, FPE_FLTOVF, FPE_FLTUND, FPE_FLTRES, FPE_FLTINV, FPE_FLTSUB }; enum { SEGV_MAPERR = 1, SEGV_ACCERR }; enum { BUS_ADRALN = 1, BUS_ADRERR, BUS_OBJERR }; enum { TRAP_BRKPT = 1, TRAP_TRACE }; enum { CLD_EXITED = 1, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED, CLD_STOPPED, CLD_CONTINUED }; enum { POLL_IN = 1, POLL_OUT, POLL_MSG, POLL_ERR, POLL_PRI, POLL_HUP }; # 294 "/usr/include/bits/siginfo.h" 3 typedef union pthread_attr_t pthread_attr_t; typedef struct sigevent { sigval_t sigev_value; int sigev_signo; int sigev_notify; union { int _pad[((64 / sizeof (int)) - 4)]; __pid_t _tid; struct { void (*_function) (sigval_t); pthread_attr_t *_attribute; } _sigev_thread; } _sigev_un; } sigevent_t; enum { SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD, SIGEV_THREAD_ID = 4 }; # 81 "/usr/include/signal.h" 2 3 typedef void (*__sighandler_t) (int); extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); extern __sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); # 114 "/usr/include/signal.h" 3 # 122 "/usr/include/signal.h" 3 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int raise (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); extern int gsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern void psignal (int __sig, const char *__s); extern void psiginfo (const siginfo_t *__pinfo, const char *__s); extern int __sigpause (int __sig_or_mask, int __is_sig); # 185 "/usr/include/signal.h" 3 extern int sigblock (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int sigsetmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int siggetmask (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); typedef __sighandler_t sig_t; extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigismember (const sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 250 "/usr/include/signal.h" 3 # 1 "/usr/include/bits/sigaction.h" 1 3 struct sigaction { union { __sighandler_t sa_handler; void (*sa_sigaction) (int, siginfo_t *, void *); } __sigaction_handler; __sigset_t sa_mask; int sa_flags; void (*sa_restorer) (void); }; # 68 "/usr/include/bits/sigaction.h" 3 # 254 "/usr/include/signal.h" 2 3 extern int sigprocmask (int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__ ((__nothrow__ , __leaf__)); extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1))); extern int sigaction (int __sig, const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ , __leaf__)); extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) __attribute__ ((__nonnull__ (1, 2))); extern int sigwaitinfo (const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); extern int sigtimedwait (const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __attribute__ ((__nonnull__ (1))); extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val) __attribute__ ((__nothrow__ , __leaf__)); extern const char *const _sys_siglist[65]; extern const char *const sys_siglist[65]; struct sigvec { __sighandler_t sv_handler; int sv_mask; int sv_flags; }; extern int sigvec (int __sig, const struct sigvec *__vec, struct sigvec *__ovec) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/sigcontext.h" 1 3 struct _fpx_sw_bytes { __uint32_t magic1; __uint32_t extended_size; __uint64_t xstate_bv; __uint32_t xstate_size; __uint32_t padding[7]; }; struct _fpreg { unsigned short significand[4]; unsigned short exponent; }; struct _fpxreg { unsigned short significand[4]; unsigned short exponent; unsigned short padding[3]; }; struct _xmmreg { __uint32_t element[4]; }; # 120 "/usr/include/bits/sigcontext.h" 3 struct _fpstate { __uint16_t cwd; __uint16_t swd; __uint16_t ftw; __uint16_t fop; __uint64_t rip; __uint64_t rdp; __uint32_t mxcsr; __uint32_t mxcr_mask; struct _fpxreg _st[8]; struct _xmmreg _xmm[16]; __uint32_t padding[24]; }; struct sigcontext { __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 rdi; __uint64_t rsi; __uint64_t rbp; __uint64_t rbx; __uint64_t rdx; __uint64_t rax; __uint64_t rcx; __uint64_t rsp; __uint64_t rip; __uint64_t eflags; unsigned short cs; unsigned short gs; unsigned short fs; unsigned short __pad0; __uint64_t err; __uint64_t trapno; __uint64_t oldmask; __uint64_t cr2; __extension__ union { struct _fpstate * fpstate; __uint64_t __fpstate_word; }; __uint64_t __reserved1 [8]; }; struct _xsave_hdr { __uint64_t xstate_bv; __uint64_t reserved1[2]; __uint64_t reserved2[5]; }; struct _ymmh_state { __uint32_t ymmh_space[64]; }; struct _xstate { struct _fpstate fpstate; struct _xsave_hdr xstate_hdr; struct _ymmh_state ymmh; }; # 341 "/usr/include/signal.h" 2 3 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 351 "/usr/include/signal.h" 2 3 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/sigstack.h" 1 3 struct sigstack { void *ss_sp; int ss_onstack; }; enum { SS_ONSTACK = 1, SS_DISABLE }; typedef struct sigaltstack { void *ss_sp; int ss_flags; size_t ss_size; } stack_t; # 358 "/usr/include/signal.h" 2 3 # 1 "/usr/include/sys/ucontext.h" 1 3 # 1 "/usr/include/signal.h" 1 3 # 23 "/usr/include/sys/ucontext.h" 2 3 __extension__ typedef long long int greg_t; typedef greg_t gregset_t[23]; # 91 "/usr/include/sys/ucontext.h" 3 struct _libc_fpxreg { unsigned short int significand[4]; unsigned short int exponent; unsigned short int padding[3]; }; struct _libc_xmmreg { __uint32_t element[4]; }; struct _libc_fpstate { __uint16_t cwd; __uint16_t swd; __uint16_t ftw; __uint16_t fop; __uint64_t rip; __uint64_t rdp; __uint32_t mxcsr; __uint32_t mxcr_mask; struct _libc_fpxreg _st[8]; struct _libc_xmmreg _xmm[16]; __uint32_t padding[24]; }; typedef struct _libc_fpstate *fpregset_t; typedef struct { gregset_t gregs; fpregset_t fpregs; __extension__ unsigned long long __reserved1 [8]; } mcontext_t; typedef struct ucontext { unsigned long int uc_flags; struct ucontext *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; __sigset_t uc_sigmask; struct _libc_fpstate __fpregs_mem; } ucontext_t; # 245 "/usr/include/sys/ucontext.h" 3 # 361 "/usr/include/signal.h" 2 3 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int sigaltstack (const struct sigaltstack *__restrict __ss, struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__ , __leaf__)); # 391 "/usr/include/signal.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 396 "/usr/include/signal.h" 2 3 # 1 "/usr/include/bits/sigthread.h" 1 3 extern int pthread_sigmask (int __how, const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ , __leaf__)); extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ , __leaf__)); # 397 "/usr/include/signal.h" 2 3 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ , __leaf__)); extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ , __leaf__)); # 31 "/usr/include/sys/wait.h" 2 3 # 1 "/usr/include/bits/waitflags.h" 1 3 # 37 "/usr/include/sys/wait.h" 2 3 # 50 "/usr/include/sys/wait.h" 3 typedef union { union wait *__uptr; int *__iptr; } __WAIT_STATUS __attribute__ ((__transparent_union__)); # 76 "/usr/include/sys/wait.h" 3 # 1 "/usr/include/bits/waitstatus.h" 1 3 # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 65 "/usr/include/bits/waitstatus.h" 2 3 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; # 83 "/usr/include/bits/waitstatus.h" 3 } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; # 96 "/usr/include/bits/waitstatus.h" 3 } __wait_stopped; }; # 79 "/usr/include/sys/wait.h" 2 3 # 90 "/usr/include/sys/wait.h" 3 # 97 "/usr/include/sys/wait.h" 3 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; extern __pid_t wait (__WAIT_STATUS __stat_loc); extern __pid_t waitpid (__pid_t __pid, int *__stat_loc, int __options); typedef __id_t id_t; # 1 "/usr/include/bits/siginfo.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 25 "/usr/include/bits/siginfo.h" 2 3 # 38 "/usr/include/bits/siginfo.h" 3 # 281 "/usr/include/bits/siginfo.h" 3 # 148 "/usr/include/sys/wait.h" 2 3 extern int waitid (idtype_t __idtype, __id_t __id, siginfo_t *__infop, int __options); struct rusage; extern __pid_t wait3 (__WAIT_STATUS __stat_loc, int __options, struct rusage * __usage) __attribute__ ((__nothrow__)); extern __pid_t wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, int __options, struct rusage *__usage) __attribute__ ((__nothrow__)); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_WAIT_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdlib.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 25 "/usr/include/stdlib.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 33 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitflags.h" 1 3 # 42 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitstatus.h" 1 3 # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 65 "/usr/include/bits/waitstatus.h" 2 3 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; # 83 "/usr/include/bits/waitstatus.h" 3 } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; # 96 "/usr/include/bits/waitstatus.h" 3 } __wait_stopped; }; # 43 "/usr/include/stdlib.h" 2 3 # 56 "/usr/include/stdlib.h" 3 typedef union { union wait *__uptr; int *__iptr; } __WAIT_STATUS __attribute__ ((__transparent_union__)); # 82 "/usr/include/stdlib.h" 3 # 94 "/usr/include/stdlib.h" 3 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 273 "/usr/include/stdlib.h" 3 extern __inline int __attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) { return (int) strtol (__nptr, (char **) ((void*)0), 10); } extern __inline long int __attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) { return strtol (__nptr, (char **) ((void*)0), 10); } __extension__ extern __inline long long int __attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) { return strtoll (__nptr, (char **) ((void*)0), 10); } extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 315 "/usr/include/stdlib.h" 2 3 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/alloca.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 25 "/usr/include/alloca.h" 2 3 extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); # 492 "/usr/include/stdlib.h" 2 3 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 529 "/usr/include/stdlib.h" 3 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); # 550 "/usr/include/stdlib.h" 3 extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 572 "/usr/include/stdlib.h" 3 extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 632 "/usr/include/stdlib.h" 3 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 655 "/usr/include/stdlib.h" 3 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 709 "/usr/include/stdlib.h" 3 extern int system (const char *__command) ; # 726 "/usr/include/stdlib.h" 3 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; typedef int (*__compar_fn_t) (const void *, const void *); # 750 "/usr/include/stdlib.h" 3 extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)) ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; # 931 "/usr/include/stdlib.h" 3 # 942 "/usr/include/stdlib.h" 3 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/stdlib-float.h" 1 3 extern __inline double __attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) { return strtod (__nptr, (char **) ((void*)0)); } # 952 "/usr/include/stdlib.h" 2 3 # 960 "/usr/include/stdlib.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_STDLIB_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pthread.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/pthread.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 22 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 23 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/sched.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 30 "/usr/include/sched.h" 2 3 # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 typedef __time_t time_t; # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 34 "/usr/include/sched.h" 2 3 typedef __pid_t pid_t; # 1 "/usr/include/bits/sched.h" 1 3 # 38 "/usr/include/bits/sched.h" 3 # 71 "/usr/include/bits/sched.h" 3 struct sched_param { int __sched_priority; }; # 94 "/usr/include/bits/sched.h" 3 struct __sched_param { int __sched_priority; }; typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 166 "/usr/include/bits/sched.h" 3 # 185 "/usr/include/bits/sched.h" 3 # 196 "/usr/include/bits/sched.h" 3 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) __attribute__ ((__nothrow__ , __leaf__)); extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__ , __leaf__)) ; extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__ , __leaf__)); # 43 "/usr/include/sched.h" 2 3 extern int sched_setparam (__pid_t __pid, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_setscheduler (__pid_t __pid, int __policy, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_yield (void) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__ , __leaf__)); # 124 "/usr/include/sched.h" 3 # 24 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/time.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 38 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 # 37 "/usr/include/bits/time.h" 3 # 58 "/usr/include/bits/time.h" 3 # 95 "/usr/include/bits/time.h" 3 # 42 "/usr/include/time.h" 2 3 typedef __clock_t clock_t; # 83 "/usr/include/time.h" 3 typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; # 178 "/usr/include/time.h" 3 extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); # 217 "/usr/include/time.h" 3 # 1 "/usr/include/xlocale.h" 1 3 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 222 "/usr/include/time.h" 2 3 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); # 414 "/usr/include/time.h" 3 # 429 "/usr/include/time.h" 3 # 25 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 27 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/bits/setjmp.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 27 "/usr/include/bits/setjmp.h" 2 3 typedef long int __jmp_buf[8]; # 28 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/pthread.h" 2 3 enum { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP , PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL }; enum { PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST }; enum { PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT }; # 109 "/usr/include/pthread.h" 3 enum { PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP }; # 151 "/usr/include/pthread.h" 3 enum { PTHREAD_INHERIT_SCHED, PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_PROCESS_PRIVATE, PTHREAD_PROCESS_SHARED }; struct _pthread_cleanup_buffer { void (*__routine) (void *); void *__arg; int __canceltype; struct _pthread_cleanup_buffer *__prev; }; enum { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; enum { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; extern int pthread_create (pthread_t *__restrict __newthread, const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); # 265 "/usr/include/pthread.h" 3 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__ , __leaf__)); extern pthread_t pthread_self (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr, int *__detachstate) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getguardsize (const pthread_attr_t *__attr, size_t *__guardsize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, const struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict __attr, int *__restrict __policy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict __attr, int *__restrict __inherit) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr, int *__restrict __scope) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 414 "/usr/include/pthread.h" 3 extern int pthread_setschedparam (pthread_t __target_thread, int __policy, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int pthread_getschedparam (pthread_t __target_thread, int *__restrict __policy, struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern int pthread_setschedprio (pthread_t __target_thread, int __prio) __attribute__ ((__nothrow__ , __leaf__)); # 445 "/usr/include/pthread.h" 3 # 454 "/usr/include/pthread.h" 3 # 474 "/usr/include/pthread.h" 3 extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __th); extern void pthread_testcancel (void); typedef struct { struct { __jmp_buf __cancel_jmp_buf; int __mask_was_saved; } __cancel_jmp_buf[1]; void *__pad[4]; } __pthread_unwind_buf_t __attribute__ ((__aligned__)); struct __pthread_cleanup_frame { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; }; # 648 "/usr/include/pthread.h" 3 # 671 "/usr/include/pthread.h" 3 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) ; # 683 "/usr/include/pthread.h" 3 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) ; # 722 "/usr/include/pthread.h" 3 extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) __attribute__ ((__noreturn__)) __attribute__ ((__weak__)) ; struct __jmp_buf_tag; extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__)); extern int pthread_mutex_init (pthread_mutex_t *__mutex, const pthread_mutexattr_t *__mutexattr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_getprioceiling (const pthread_mutex_t * __restrict __mutex, int *__restrict __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, int __prioceiling, int *__restrict __old_ceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern int pthread_mutex_consistent (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict __attr, int *__restrict __kind) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t * __restrict __attr, int *__restrict __protocol) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, int __protocol) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t * __restrict __attr, int *__restrict __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, int __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr, int *__robustness) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, int __robustness) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 872 "/usr/include/pthread.h" 3 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, const pthread_rwlockattr_t *__restrict __attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pref) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, int __pref) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_init (pthread_cond_t *__restrict __cond, const pthread_condattr_t *__restrict __cond_attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getpshared (const pthread_condattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getclock (const pthread_condattr_t * __restrict __attr, __clockid_t *__restrict __clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setclock (pthread_condattr_t *__attr, __clockid_t __clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_destroy (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_lock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_trylock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_unlock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, const pthread_barrierattr_t *__restrict __attr, unsigned int __count) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_wait (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__)); extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__)); extern int pthread_setspecific (pthread_key_t __key, const void *__pointer) __attribute__ ((__nothrow__ , __leaf__)) ; extern int pthread_getcpuclockid (pthread_t __thread_id, __clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __attribute__ ((__nothrow__ , __leaf__)); extern __inline int __attribute__ ((__nothrow__ , __leaf__)) pthread_equal (pthread_t __thread1, pthread_t __thread2) { return __thread1 == __thread2; } # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_PTHREAD_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/setjmp.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/setjmp.h" 2 3 # 1 "/usr/include/bits/setjmp.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 27 "/usr/include/bits/setjmp.h" 2 3 typedef long int __jmp_buf[8]; # 30 "/usr/include/setjmp.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 31 "/usr/include/setjmp.h" 2 3 struct __jmp_buf_tag { __jmp_buf __jmpbuf; int __mask_was_saved; __sigset_t __saved_mask; }; typedef struct __jmp_buf_tag jmp_buf[1]; extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__)); extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__)); extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__)); # 75 "/usr/include/setjmp.h" 3 extern void longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); typedef struct __jmp_buf_tag sigjmp_buf[1]; extern void siglongjmp (sigjmp_buf __env, int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SETJMP_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/utsname.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/utsname.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/sys/utsname.h" 2 3 # 1 "/usr/include/bits/utsname.h" 1 3 # 30 "/usr/include/sys/utsname.h" 2 3 # 46 "/usr/include/sys/utsname.h" 3 struct utsname { char sysname[65]; char nodename[65]; char release[65]; char version[65]; char machine[65]; char __domainname[65]; }; extern int uname (struct utsname *__name) __attribute__ ((__nothrow__ , __leaf__)); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_UTSNAME_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: machine/endian.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "machine/endian.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "machine/endian.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "machine/endian.h" #include ^: ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: limits.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 1 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h" 1 3 # 166 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h" 3 # 1 "/usr/include/limits.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 27 "/usr/include/limits.h" 2 3 # 114 "/usr/include/limits.h" 3 # 141 "/usr/include/limits.h" 3 # 1 "/usr/include/bits/posix1_lim.h" 1 3 # 154 "/usr/include/bits/posix1_lim.h" 3 # 1 "/usr/include/bits/local_lim.h" 1 3 # 36 "/usr/include/bits/local_lim.h" 3 # 1 "/usr/include/linux/limits.h" 1 3 # 17 "/usr/include/linux/limits.h" 3 # 39 "/usr/include/bits/local_lim.h" 2 3 # 161 "/usr/include/bits/posix1_lim.h" 2 3 # 145 "/usr/include/limits.h" 2 3 # 1 "/usr/include/bits/posix2_lim.h" 1 3 # 86 "/usr/include/bits/posix2_lim.h" 3 # 149 "/usr/include/limits.h" 2 3 # 169 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h" 2 3 # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 2 3 # 73 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 3 # 107 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 3 # 131 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_LIMITS_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/fcntl.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/fcntl.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/fcntl.h" 2 3 # 1 "/usr/include/bits/fcntl.h" 1 3 struct flock { short int l_type; short int l_whence; __off_t l_start; __off_t l_len; __pid_t l_pid; }; # 59 "/usr/include/bits/fcntl.h" 3 # 1 "/usr/include/bits/fcntl-linux.h" 1 3 # 77 "/usr/include/bits/fcntl-linux.h" 3 # 99 "/usr/include/bits/fcntl-linux.h" 3 # 116 "/usr/include/bits/fcntl-linux.h" 3 # 144 "/usr/include/bits/fcntl-linux.h" 3 # 170 "/usr/include/bits/fcntl-linux.h" 3 # 177 "/usr/include/bits/fcntl-linux.h" 3 # 189 "/usr/include/bits/fcntl-linux.h" 3 # 215 "/usr/include/bits/fcntl-linux.h" 3 # 222 "/usr/include/bits/fcntl-linux.h" 3 # 233 "/usr/include/bits/fcntl-linux.h" 3 # 252 "/usr/include/bits/fcntl-linux.h" 3 # 262 "/usr/include/bits/fcntl-linux.h" 3 # 276 "/usr/include/bits/fcntl-linux.h" 3 # 311 "/usr/include/bits/fcntl-linux.h" 3 # 385 "/usr/include/bits/fcntl-linux.h" 3 # 62 "/usr/include/bits/fcntl.h" 2 3 # 36 "/usr/include/fcntl.h" 2 3 typedef __mode_t mode_t; typedef __off_t off_t; typedef __pid_t pid_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 68 "/usr/include/fcntl.h" 2 3 # 1 "/usr/include/bits/stat.h" 1 3 # 39 "/usr/include/bits/stat.h" 3 struct stat { __dev_t st_dev; __ino_t st_ino; # 61 "/usr/include/bits/stat.h" 3 __nlink_t st_nlink; __mode_t st_mode; __uid_t st_uid; __gid_t st_gid; int __pad0; __dev_t st_rdev; __off_t st_size; __blksize_t st_blksize; __blkcnt_t st_blocks; struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # 106 "/usr/include/bits/stat.h" 3 __syscall_slong_t __unused[3]; # 115 "/usr/include/bits/stat.h" 3 }; # 170 "/usr/include/bits/stat.h" 3 # 189 "/usr/include/bits/stat.h" 3 # 204 "/usr/include/bits/stat.h" 3 # 69 "/usr/include/fcntl.h" 2 3 # 84 "/usr/include/fcntl.h" 3 # 124 "/usr/include/fcntl.h" 3 # 148 "/usr/include/fcntl.h" 3 extern int fcntl (int __fd, int __cmd, ...); extern int open (const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); # 175 "/usr/include/fcntl.h" 3 extern int openat (int __fd, const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (2))); # 202 "/usr/include/fcntl.h" 3 extern int creat (const char *__file, mode_t __mode) __attribute__ ((__nonnull__ (1))); # 221 "/usr/include/fcntl.h" 3 extern int lockf (int __fd, int __cmd, off_t __len); # 250 "/usr/include/fcntl.h" 3 extern int posix_fadvise (int __fd, off_t __offset, off_t __len, int __advise) __attribute__ ((__nothrow__ , __leaf__)); # 270 "/usr/include/fcntl.h" 3 extern int posix_fallocate (int __fd, off_t __offset, off_t __len); # 291 "/usr/include/fcntl.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_FCNTL_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: string.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/string.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/string.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 33 "/usr/include/string.h" 2 3 extern void *memcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, const void *__src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 92 "/usr/include/string.h" 3 extern void *memchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 121 "/usr/include/string.h" 3 extern char *strcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 1 "/usr/include/xlocale.h" 1 3 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 160 "/usr/include/string.h" 2 3 extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (const char *__string, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 206 "/usr/include/string.h" 3 # 232 "/usr/include/string.h" 3 extern char *strchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 259 "/usr/include/string.h" 3 extern char *strrchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 277 "/usr/include/string.h" 3 extern size_t strcspn (const char *__s, const char *__reject) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 311 "/usr/include/string.h" 3 extern char *strpbrk (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 338 "/usr/include/string.h" 3 extern char *strstr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 373 "/usr/include/string.h" 3 # 391 "/usr/include/string.h" 3 extern size_t strlen (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (const char *__string, size_t __maxlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 438 "/usr/include/string.h" 3 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 485 "/usr/include/string.h" 3 extern char *index (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 513 "/usr/include/string.h" 3 extern char *rindex (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 530 "/usr/include/string.h" 3 extern int strcasecmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 551 "/usr/include/string.h" 3 extern char *strsep (char **__restrict __stringp, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 606 "/usr/include/string.h" 3 # 1 "/usr/include/bits/string.h" 1 3 # 631 "/usr/include/string.h" 2 3 # 1 "/usr/include/bits/string2.h" 1 3 # 634 "/usr/include/string.h" 2 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_STRING_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/times.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/times.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/sys/times.h" 2 3 # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 56 "/usr/include/time.h" 2 3 typedef __clock_t clock_t; # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 29 "/usr/include/sys/times.h" 2 3 struct tms { clock_t tms_utime; clock_t tms_stime; clock_t tms_cutime; clock_t tms_cstime; }; extern clock_t times (struct tms *__buffer) __attribute__ ((__nothrow__ , __leaf__)); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_TIMES_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "io.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "io.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "io.h" #include ^: ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 1 3 # 74 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h" 1 3 # 1 "/usr/include/stdint.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/stdint.h" 2 3 # 1 "/usr/include/bits/wchar.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/wchar.h" 2 3 # 31 "/usr/include/bits/wchar.h" 3 # 27 "/usr/include/stdint.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/stdint.h" 2 3 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; typedef long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; typedef long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long int uint_least64_t; typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 101 "/usr/include/stdint.h" 3 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 114 "/usr/include/stdint.h" 3 typedef long int intptr_t; typedef unsigned long int uintptr_t; # 130 "/usr/include/stdint.h" 3 typedef long int intmax_t; typedef unsigned long int uintmax_t; # 142 "/usr/include/stdint.h" 3 # 155 "/usr/include/stdint.h" 3 # 204 "/usr/include/stdint.h" 3 # 214 "/usr/include/stdint.h" 3 # 225 "/usr/include/stdint.h" 3 # 237 "/usr/include/stdint.h" 3 # 258 "/usr/include/stdint.h" 3 # 297 "/usr/include/stdint.h" 3 # 307 "/usr/include/stdint.h" 3 # 316 "/usr/include/stdint.h" 3 # 10 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h" 2 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 2 3 # 85 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_STDINT_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/pwd.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 27 "/usr/include/pwd.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 31 "/usr/include/pwd.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 34 "/usr/include/pwd.h" 2 3 typedef __gid_t gid_t; typedef __uid_t uid_t; struct passwd { char *pw_name; char *pw_passwd; __uid_t pw_uid; __gid_t pw_gid; char *pw_gecos; char *pw_dir; char *pw_shell; }; # 1 "/usr/include/stdio.h" 1 3 # 39 "/usr/include/stdio.h" 3 struct _IO_FILE; typedef struct _IO_FILE FILE; # 69 "/usr/include/stdio.h" 3 # 946 "/usr/include/stdio.h" 3 # 65 "/usr/include/pwd.h" 2 3 extern void setpwent (void); extern void endpwent (void); extern struct passwd *getpwent (void); extern struct passwd *fgetpwent (FILE *__stream); extern int putpwent (const struct passwd *__restrict __p, FILE *__restrict __f); extern struct passwd *getpwuid (__uid_t __uid); extern struct passwd *getpwnam (const char *__name); extern int getpwent_r (struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); extern int getpwuid_r (__uid_t __uid, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); extern int getpwnam_r (const char *__restrict __name, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); extern int fgetpwent_r (FILE *__restrict __stream, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); # 183 "/usr/include/pwd.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_PWD_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 1 3 # 45 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 3 extern int __libm_flt_rounds (void) ; # 81 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 3 # 93 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 3 # 103 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 3 # 114 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 3 # 124 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 3 # 135 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 3 # 143 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 3 # 179 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 3 # 193 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 3 # 267 "/opt/intel/composer_xe_2015.0.090/compiler/include/float.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_FLOAT_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/param.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/param.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 24 "/usr/include/sys/param.h" 2 3 # 1 "/usr/include/sys/types.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 30 "/usr/include/sys/types.h" 2 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 217 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 26 "/usr/include/sys/param.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 1 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h" 1 3 # 166 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h" 3 # 1 "/usr/include/limits.h" 1 3 # 114 "/usr/include/limits.h" 3 # 141 "/usr/include/limits.h" 3 # 1 "/usr/include/bits/posix1_lim.h" 1 3 # 154 "/usr/include/bits/posix1_lim.h" 3 # 1 "/usr/include/bits/local_lim.h" 1 3 # 36 "/usr/include/bits/local_lim.h" 3 # 1 "/usr/include/linux/limits.h" 1 3 # 17 "/usr/include/linux/limits.h" 3 # 39 "/usr/include/bits/local_lim.h" 2 3 # 161 "/usr/include/bits/posix1_lim.h" 2 3 # 145 "/usr/include/limits.h" 2 3 # 1 "/usr/include/bits/posix2_lim.h" 1 3 # 86 "/usr/include/bits/posix2_lim.h" 3 # 149 "/usr/include/limits.h" 2 3 # 169 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h" 2 3 # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 2 3 # 73 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 3 # 107 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 3 # 131 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 3 # 27 "/usr/include/sys/param.h" 2 3 # 1 "/usr/include/signal.h" 1 3 # 1 "/usr/include/bits/sigset.h" 1 3 # 34 "/usr/include/bits/sigset.h" 3 # 67 "/usr/include/bits/sigset.h" 3 # 99 "/usr/include/bits/sigset.h" 3 extern int __sigismember (const __sigset_t *, int); extern int __sigaddset (__sigset_t *, int); extern int __sigdelset (__sigset_t *, int); # 116 "/usr/include/bits/sigset.h" 3 extern __inline int __sigismember (const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; } extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); } extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); } # 33 "/usr/include/signal.h" 2 3 typedef __sig_atomic_t sig_atomic_t; # 53 "/usr/include/signal.h" 3 # 1 "/usr/include/bits/signum.h" 1 3 # 67 "/usr/include/bits/signum.h" 3 # 58 "/usr/include/signal.h" 2 3 # 71 "/usr/include/signal.h" 3 # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 76 "/usr/include/signal.h" 2 3 # 1 "/usr/include/bits/siginfo.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 25 "/usr/include/bits/siginfo.h" 2 3 typedef union sigval { int sival_int; void *sival_ptr; } sigval_t; # 49 "/usr/include/bits/siginfo.h" 3 # 58 "/usr/include/bits/siginfo.h" 3 typedef __clock_t __sigchld_clock_t; typedef struct { int si_signo; int si_errno; int si_code; union { int _pad[((128 / sizeof (int)) - 4)]; struct { __pid_t si_pid; __uid_t si_uid; } _kill; struct { int si_tid; int si_overrun; sigval_t si_sigval; } _timer; struct { __pid_t si_pid; __uid_t si_uid; sigval_t si_sigval; } _rt; struct { __pid_t si_pid; __uid_t si_uid; int si_status; __sigchld_clock_t si_utime; __sigchld_clock_t si_stime; } _sigchld; struct { void *si_addr; } _sigfault; struct { long int si_band; int si_fd; } _sigpoll; struct { void *_call_addr; int _syscall; unsigned int _arch; } _sigsys; } _sifields; } siginfo_t ; # 147 "/usr/include/bits/siginfo.h" 3 enum { SI_ASYNCNL = -60, SI_TKILL = -6, SI_SIGIO, SI_ASYNCIO, SI_MESGQ, SI_TIMER, SI_QUEUE, SI_USER, SI_KERNEL = 0x80 }; enum { ILL_ILLOPC = 1, ILL_ILLOPN, ILL_ILLADR, ILL_ILLTRP, ILL_PRVOPC, ILL_PRVREG, ILL_COPROC, ILL_BADSTK }; enum { FPE_INTDIV = 1, FPE_INTOVF, FPE_FLTDIV, FPE_FLTOVF, FPE_FLTUND, FPE_FLTRES, FPE_FLTINV, FPE_FLTSUB }; enum { SEGV_MAPERR = 1, SEGV_ACCERR }; enum { BUS_ADRALN = 1, BUS_ADRERR, BUS_OBJERR }; enum { TRAP_BRKPT = 1, TRAP_TRACE }; enum { CLD_EXITED = 1, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED, CLD_STOPPED, CLD_CONTINUED }; enum { POLL_IN = 1, POLL_OUT, POLL_MSG, POLL_ERR, POLL_PRI, POLL_HUP }; # 294 "/usr/include/bits/siginfo.h" 3 typedef struct sigevent { sigval_t sigev_value; int sigev_signo; int sigev_notify; union { int _pad[((64 / sizeof (int)) - 4)]; __pid_t _tid; struct { void (*_function) (sigval_t); pthread_attr_t *_attribute; } _sigev_thread; } _sigev_un; } sigevent_t; enum { SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD, SIGEV_THREAD_ID = 4 }; # 81 "/usr/include/signal.h" 2 3 typedef void (*__sighandler_t) (int); extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); extern __sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); # 114 "/usr/include/signal.h" 3 # 122 "/usr/include/signal.h" 3 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int raise (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); extern int gsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern void psignal (int __sig, const char *__s); extern void psiginfo (const siginfo_t *__pinfo, const char *__s); extern int __sigpause (int __sig_or_mask, int __is_sig); # 185 "/usr/include/signal.h" 3 extern int sigblock (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int sigsetmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int siggetmask (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); typedef __sighandler_t sig_t; extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigismember (const sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 250 "/usr/include/signal.h" 3 # 1 "/usr/include/bits/sigaction.h" 1 3 struct sigaction { union { __sighandler_t sa_handler; void (*sa_sigaction) (int, siginfo_t *, void *); } __sigaction_handler; __sigset_t sa_mask; int sa_flags; void (*sa_restorer) (void); }; # 68 "/usr/include/bits/sigaction.h" 3 # 254 "/usr/include/signal.h" 2 3 extern int sigprocmask (int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__ ((__nothrow__ , __leaf__)); extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1))); extern int sigaction (int __sig, const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ , __leaf__)); extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) __attribute__ ((__nonnull__ (1, 2))); extern int sigwaitinfo (const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); extern int sigtimedwait (const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __attribute__ ((__nonnull__ (1))); extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val) __attribute__ ((__nothrow__ , __leaf__)); extern const char *const _sys_siglist[65]; extern const char *const sys_siglist[65]; struct sigvec { __sighandler_t sv_handler; int sv_mask; int sv_flags; }; extern int sigvec (int __sig, const struct sigvec *__vec, struct sigvec *__ovec) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/sigcontext.h" 1 3 struct _fpx_sw_bytes { __uint32_t magic1; __uint32_t extended_size; __uint64_t xstate_bv; __uint32_t xstate_size; __uint32_t padding[7]; }; struct _fpreg { unsigned short significand[4]; unsigned short exponent; }; struct _fpxreg { unsigned short significand[4]; unsigned short exponent; unsigned short padding[3]; }; struct _xmmreg { __uint32_t element[4]; }; # 120 "/usr/include/bits/sigcontext.h" 3 struct _fpstate { __uint16_t cwd; __uint16_t swd; __uint16_t ftw; __uint16_t fop; __uint64_t rip; __uint64_t rdp; __uint32_t mxcsr; __uint32_t mxcr_mask; struct _fpxreg _st[8]; struct _xmmreg _xmm[16]; __uint32_t padding[24]; }; struct sigcontext { __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 rdi; __uint64_t rsi; __uint64_t rbp; __uint64_t rbx; __uint64_t rdx; __uint64_t rax; __uint64_t rcx; __uint64_t rsp; __uint64_t rip; __uint64_t eflags; unsigned short cs; unsigned short gs; unsigned short fs; unsigned short __pad0; __uint64_t err; __uint64_t trapno; __uint64_t oldmask; __uint64_t cr2; __extension__ union { struct _fpstate * fpstate; __uint64_t __fpstate_word; }; __uint64_t __reserved1 [8]; }; struct _xsave_hdr { __uint64_t xstate_bv; __uint64_t reserved1[2]; __uint64_t reserved2[5]; }; struct _ymmh_state { __uint32_t ymmh_space[64]; }; struct _xstate { struct _fpstate fpstate; struct _xsave_hdr xstate_hdr; struct _ymmh_state ymmh; }; # 341 "/usr/include/signal.h" 2 3 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 351 "/usr/include/signal.h" 2 3 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/sigstack.h" 1 3 struct sigstack { void *ss_sp; int ss_onstack; }; enum { SS_ONSTACK = 1, SS_DISABLE }; typedef struct sigaltstack { void *ss_sp; int ss_flags; size_t ss_size; } stack_t; # 358 "/usr/include/signal.h" 2 3 # 1 "/usr/include/sys/ucontext.h" 1 3 # 1 "/usr/include/signal.h" 1 3 # 23 "/usr/include/sys/ucontext.h" 2 3 __extension__ typedef long long int greg_t; typedef greg_t gregset_t[23]; # 91 "/usr/include/sys/ucontext.h" 3 struct _libc_fpxreg { unsigned short int significand[4]; unsigned short int exponent; unsigned short int padding[3]; }; struct _libc_xmmreg { __uint32_t element[4]; }; struct _libc_fpstate { __uint16_t cwd; __uint16_t swd; __uint16_t ftw; __uint16_t fop; __uint64_t rip; __uint64_t rdp; __uint32_t mxcsr; __uint32_t mxcr_mask; struct _libc_fpxreg _st[8]; struct _libc_xmmreg _xmm[16]; __uint32_t padding[24]; }; typedef struct _libc_fpstate *fpregset_t; typedef struct { gregset_t gregs; fpregset_t fpregs; __extension__ unsigned long long __reserved1 [8]; } mcontext_t; typedef struct ucontext { unsigned long int uc_flags; struct ucontext *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; __sigset_t uc_sigmask; struct _libc_fpstate __fpregs_mem; } ucontext_t; # 245 "/usr/include/sys/ucontext.h" 3 # 361 "/usr/include/signal.h" 2 3 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int sigaltstack (const struct sigaltstack *__restrict __ss, struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__ , __leaf__)); # 391 "/usr/include/signal.h" 3 # 1 "/usr/include/bits/sigthread.h" 1 3 extern int pthread_sigmask (int __how, const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ , __leaf__)); extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ , __leaf__)); # 397 "/usr/include/signal.h" 2 3 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ , __leaf__)); extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ , __leaf__)); # 29 "/usr/include/sys/param.h" 2 3 # 1 "/usr/include/bits/param.h" 1 3 # 1 "/usr/include/linux/param.h" 1 3 # 1 "/usr/include/asm/param.h" 1 3 # 1 "/usr/include/asm-generic/param.h" 1 3 # 2 "/usr/include/asm/param.h" 2 3 # 5 "/usr/include/linux/param.h" 2 3 # 29 "/usr/include/bits/param.h" 2 3 # 32 "/usr/include/sys/param.h" 2 3 # 62 "/usr/include/sys/param.h" 3 # 71 "/usr/include/sys/param.h" 3 # 95 "/usr/include/sys/param.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_PARAM_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/netdb.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/netdb.h" 2 3 # 1 "/usr/include/netinet/in.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 1 3 # 74 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h" 1 3 # 1 "/usr/include/stdint.h" 1 3 # 1 "/usr/include/bits/wchar.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/wchar.h" 2 3 # 31 "/usr/include/bits/wchar.h" 3 # 27 "/usr/include/stdint.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/stdint.h" 2 3 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; typedef long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; typedef long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long int uint_least64_t; typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 101 "/usr/include/stdint.h" 3 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 114 "/usr/include/stdint.h" 3 typedef long int intptr_t; typedef unsigned long int uintptr_t; # 130 "/usr/include/stdint.h" 3 typedef long int intmax_t; typedef unsigned long int uintmax_t; # 142 "/usr/include/stdint.h" 3 # 155 "/usr/include/stdint.h" 3 # 204 "/usr/include/stdint.h" 3 # 214 "/usr/include/stdint.h" 3 # 225 "/usr/include/stdint.h" 3 # 237 "/usr/include/stdint.h" 3 # 258 "/usr/include/stdint.h" 3 # 297 "/usr/include/stdint.h" 3 # 307 "/usr/include/stdint.h" 3 # 316 "/usr/include/stdint.h" 3 # 10 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h" 2 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 2 3 # 85 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 24 "/usr/include/netinet/in.h" 2 3 # 1 "/usr/include/sys/socket.h" 1 3 # 1 "/usr/include/sys/uio.h" 1 3 # 1 "/usr/include/sys/types.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 30 "/usr/include/sys/types.h" 2 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 # 199 "/usr/include/sys/types.h" 3 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 217 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 25 "/usr/include/sys/uio.h" 2 3 # 1 "/usr/include/bits/uio.h" 1 3 struct iovec { void *iov_base; size_t iov_len; }; # 30 "/usr/include/sys/uio.h" 2 3 extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count) ; extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count) ; extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; # 93 "/usr/include/sys/uio.h" 3 # 120 "/usr/include/sys/uio.h" 3 # 28 "/usr/include/sys/socket.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 30 "/usr/include/sys/socket.h" 2 3 # 1 "/usr/include/bits/socket.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 29 "/usr/include/bits/socket.h" 2 3 typedef __socklen_t socklen_t; # 1 "/usr/include/bits/socket_type.h" 1 3 enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_DCCP = 6, SOCK_PACKET = 10, SOCK_CLOEXEC = 02000000, SOCK_NONBLOCK = 00004000 }; # 40 "/usr/include/bits/socket.h" 2 3 # 84 "/usr/include/bits/socket.h" 3 # 128 "/usr/include/bits/socket.h" 3 # 140 "/usr/include/bits/socket.h" 3 # 1 "/usr/include/bits/sockaddr.h" 1 3 typedef unsigned short int sa_family_t; # 146 "/usr/include/bits/socket.h" 2 3 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; struct sockaddr_storage { sa_family_t ss_family; unsigned long int __ss_align; char __ss_padding[(128 - (2 * sizeof (unsigned long int)))]; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, # 183 "/usr/include/bits/socket.h" 3 MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000, MSG_WAITFORONE = 0x10000, MSG_CMSG_CLOEXEC = 0x40000000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 268 "/usr/include/bits/socket.h" 3 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ , __leaf__)); extern __inline struct cmsghdr * __attribute__ ((__nothrow__ , __leaf__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) { if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) return (struct cmsghdr *) 0; __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen) || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) return (struct cmsghdr *) 0; return __cmsg; } enum { SCM_RIGHTS = 0x01 }; # 315 "/usr/include/bits/socket.h" 3 # 340 "/usr/include/bits/socket.h" 3 # 1 "/usr/include/asm/socket.h" 1 3 # 1 "/usr/include/asm-generic/socket.h" 1 3 # 1 "/usr/include/asm/sockios.h" 1 3 # 1 "/usr/include/asm-generic/sockios.h" 1 3 # 12 "/usr/include/asm-generic/sockios.h" 3 # 2 "/usr/include/asm/sockios.h" 2 3 # 5 "/usr/include/asm-generic/socket.h" 2 3 # 34 "/usr/include/asm-generic/socket.h" 3 # 2 "/usr/include/asm/socket.h" 2 3 # 343 "/usr/include/bits/socket.h" 2 3 # 374 "/usr/include/bits/socket.h" 3 struct linger { int l_onoff; int l_linger; }; # 40 "/usr/include/sys/socket.h" 2 3 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 99 "/usr/include/sys/socket.h" 3 # 109 "/usr/include/sys/socket.h" 3 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ , __leaf__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__ , __leaf__)); extern int bind (int __fd, const struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); extern int connect (int __fd, const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, const void *__buf, size_t __n, int __flags, const struct sockaddr * __addr, socklen_t __addr_len); extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, const struct msghdr *__message, int __flags); # 197 "/usr/include/sys/socket.h" 3 extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); # 215 "/usr/include/sys/socket.h" 3 extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int setsockopt (int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); # 255 "/usr/include/sys/socket.h" 3 extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ , __leaf__)); extern int sockatmark (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ , __leaf__)); # 25 "/usr/include/netinet/in.h" 2 3 typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; }; # 1 "/usr/include/bits/in.h" 1 3 # 43 "/usr/include/bits/in.h" 3 # 75 "/usr/include/bits/in.h" 3 # 95 "/usr/include/bits/in.h" 3 struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 154 "/usr/include/bits/in.h" 3 # 174 "/usr/include/bits/in.h" 3 # 186 "/usr/include/bits/in.h" 3 # 197 "/usr/include/bits/in.h" 3 # 39 "/usr/include/netinet/in.h" 2 3 enum { IPPROTO_IP = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_DCCP = 33, IPPROTO_IPV6 = 41, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_MTP = 92, IPPROTO_BEETPH = 94, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_RAW = 255, IPPROTO_MAX }; enum { IPPROTO_HOPOPTS = 0, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MH = 135 }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; struct in6_addr { union { uint8_t __u6_addr8[16]; uint16_t __u6_addr16[8]; uint32_t __u6_addr32[4]; } __in6_u; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_interface; struct in_addr imr_sourceaddr; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint16_t ntohs (uint16_t __netshort) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint32_t htonl (uint32_t __hostlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint16_t htons (uint16_t __hostshort) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 1 "/usr/include/bits/byteswap.h" 1 3 # 387 "/usr/include/netinet/in.h" 2 3 # 408 "/usr/include/netinet/in.h" 3 # 417 "/usr/include/netinet/in.h" 3 # 425 "/usr/include/netinet/in.h" 3 # 442 "/usr/include/netinet/in.h" 3 # 450 "/usr/include/netinet/in.h" 3 # 497 "/usr/include/netinet/in.h" 3 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__ , __leaf__)); extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) __attribute__ ((__nothrow__ , __leaf__)); # 629 "/usr/include/netinet/in.h" 3 # 28 "/usr/include/netdb.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 1 3 # 74 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 85 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 29 "/usr/include/netdb.h" 2 3 # 1 "/usr/include/rpc/netdb.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 43 "/usr/include/rpc/netdb.h" 2 3 struct rpcent { char *r_name; char **r_aliases; int r_number; }; extern void setrpcent (int __stayopen) __attribute__ ((__nothrow__ , __leaf__)); extern void endrpcent (void) __attribute__ ((__nothrow__ , __leaf__)); extern struct rpcent *getrpcbyname (const char *__name) __attribute__ ((__nothrow__ , __leaf__)); extern struct rpcent *getrpcbynumber (int __number) __attribute__ ((__nothrow__ , __leaf__)); extern struct rpcent *getrpcent (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getrpcbyname_r (const char *__name, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); # 33 "/usr/include/netdb.h" 2 3 # 41 "/usr/include/netdb.h" 3 # 1 "/usr/include/bits/netdb.h" 1 3 struct netent { char *n_name; char **n_aliases; int n_addrtype; uint32_t n_net; }; # 43 "/usr/include/netdb.h" 2 3 # 51 "/usr/include/netdb.h" 3 extern int *__h_errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 78 "/usr/include/netdb.h" 3 extern void herror (const char *__str) __attribute__ ((__nothrow__ , __leaf__)); extern const char *hstrerror (int __err_num) __attribute__ ((__nothrow__ , __leaf__)); struct hostent { char *h_name; char **h_aliases; int h_addrtype; int h_length; char **h_addr_list; }; extern void sethostent (int __stay_open); extern void endhostent (void); extern struct hostent *gethostent (void); extern struct hostent *gethostbyaddr (const void *__addr, __socklen_t __len, int __type); extern struct hostent *gethostbyname (const char *__name); extern struct hostent *gethostbyname2 (const char *__name, int __af); extern int gethostent_r (struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, int __type, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname_r (const char *__restrict __name, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname2_r (const char *__restrict __name, int __af, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern void setnetent (int __stay_open); extern void endnetent (void); extern struct netent *getnetent (void); extern struct netent *getnetbyaddr (uint32_t __net, int __type); extern struct netent *getnetbyname (const char *__name); extern int getnetent_r (struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyaddr_r (uint32_t __net, int __type, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyname_r (const char *__restrict __name, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); struct servent { char *s_name; char **s_aliases; int s_port; char *s_proto; }; extern void setservent (int __stay_open); extern void endservent (void); extern struct servent *getservent (void); extern struct servent *getservbyname (const char *__name, const char *__proto); extern struct servent *getservbyport (int __port, const char *__proto); extern int getservent_r (struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyname_r (const char *__restrict __name, const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyport_r (int __port, const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); struct protoent { char *p_name; char **p_aliases; int p_proto; }; extern void setprotoent (int __stay_open); extern void endprotoent (void); extern struct protoent *getprotoent (void); extern struct protoent *getprotobyname (const char *__name); extern struct protoent *getprotobynumber (int __proto); extern int getprotoent_r (struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobyname_r (const char *__restrict __name, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobynumber_r (int __proto, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int setnetgrent (const char *__netgroup); extern void endnetgrent (void); extern int getnetgrent (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp); extern int innetgr (const char *__netgroup, const char *__host, const char *__user, const char *__domain); extern int getnetgrent_r (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp, char *__restrict __buffer, size_t __buflen); extern int rcmd (char **__restrict __ahost, unsigned short int __rport, const char *__restrict __locuser, const char *__restrict __remuser, const char *__restrict __cmd, int *__restrict __fd2p); extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport, const char *__restrict __locuser, const char *__restrict __remuser, const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); extern int rexec (char **__restrict __ahost, int __rport, const char *__restrict __name, const char *__restrict __pass, const char *__restrict __cmd, int *__restrict __fd2p); extern int rexec_af (char **__restrict __ahost, int __rport, const char *__restrict __name, const char *__restrict __pass, const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); extern int ruserok (const char *__rhost, int __suser, const char *__remuser, const char *__locuser); extern int ruserok_af (const char *__rhost, int __suser, const char *__remuser, const char *__locuser, sa_family_t __af); extern int iruserok (uint32_t __raddr, int __suser, const char *__remuser, const char *__locuser); extern int iruserok_af (const void *__raddr, int __suser, const char *__remuser, const char *__locuser, sa_family_t __af); extern int rresvport (int *__alport); extern int rresvport_af (int *__alport, sa_family_t __af); struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; socklen_t ai_addrlen; struct sockaddr *ai_addr; char *ai_canonname; struct addrinfo *ai_next; }; # 596 "/usr/include/netdb.h" 3 # 616 "/usr/include/netdb.h" 3 # 638 "/usr/include/netdb.h" 3 # 656 "/usr/include/netdb.h" 3 extern int getaddrinfo (const char *__restrict __name, const char *__restrict __service, const struct addrinfo *__restrict __req, struct addrinfo **__restrict __pai); extern void freeaddrinfo (struct addrinfo *__ai) __attribute__ ((__nothrow__ , __leaf__)); extern const char *gai_strerror (int __ecode) __attribute__ ((__nothrow__ , __leaf__)); extern int getnameinfo (const struct sockaddr *__restrict __sa, socklen_t __salen, char *__restrict __host, socklen_t __hostlen, char *__restrict __serv, socklen_t __servlen, int __flags); # 712 "/usr/include/netdb.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_NETDB_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: search.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/search.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 23 "/usr/include/search.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 26 "/usr/include/search.h" 2 3 # 41 "/usr/include/search.h" 3 extern void insque (void *__elem, void *__prev) __attribute__ ((__nothrow__ , __leaf__)); extern void remque (void *__elem) __attribute__ ((__nothrow__ , __leaf__)); typedef int (*__compar_fn_t) (const void *, const void *); typedef enum { FIND, ENTER } ACTION; typedef struct entry { char *key; void *data; } ENTRY; struct _ENTRY; extern ENTRY *hsearch (ENTRY __item, ACTION __action) __attribute__ ((__nothrow__ , __leaf__)); extern int hcreate (size_t __nel) __attribute__ ((__nothrow__ , __leaf__)); extern void hdestroy (void) __attribute__ ((__nothrow__ , __leaf__)); # 111 "/usr/include/search.h" 3 typedef enum { preorder, postorder, endorder, leaf } VISIT; extern void *tsearch (const void *__key, void **__rootp, __compar_fn_t __compar); extern void *tfind (const void *__key, void *const *__rootp, __compar_fn_t __compar); extern void *tdelete (const void *__restrict __key, void **__restrict __rootp, __compar_fn_t __compar); typedef void (*__action_fn_t) (const void *__nodep, VISIT __value, int __level); extern void twalk (const void *__root, __action_fn_t __action); # 160 "/usr/include/search.h" 3 extern void *lfind (const void *__key, const void *__base, size_t *__nmemb, size_t __size, __compar_fn_t __compar); extern void *lsearch (const void *__key, void *__base, size_t *__nmemb, size_t __size, __compar_fn_t __compar); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SEARCH_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: mathimf.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 1 3 # 43 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 1 3 # 1 "/usr/include/math.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 28 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/huge_val.h" 1 3 # 34 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/huge_valf.h" 1 3 # 36 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/huge_vall.h" 1 3 # 37 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/inf.h" 1 3 # 40 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/nan.h" 1 3 # 43 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/mathdef.h" 1 3 typedef float float_t; typedef double double_t; # 40 "/usr/include/bits/mathdef.h" 3 # 47 "/usr/include/math.h" 2 3 # 65 "/usr/include/math.h" 3 # 1 "/usr/include/bits/mathcalls.h" 1 3 extern double acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 125 "/usr/include/bits/mathcalls.h" 3 extern double expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double nan (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nan (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __fpclassify (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbit (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); extern double scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); # 71 "/usr/include/math.h" 2 3 # 1 "/usr/include/bits/mathcalls.h" 1 3 extern float acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 125 "/usr/include/bits/mathcalls.h" 3 extern float expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float nanf (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nanf (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbitf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); # 90 "/usr/include/math.h" 2 3 # 121 "/usr/include/math.h" 3 # 1 "/usr/include/bits/mathcalls.h" 1 3 extern long double acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 125 "/usr/include/bits/mathcalls.h" 3 extern long double expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double nanl (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nanl (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbitl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); # 134 "/usr/include/math.h" 2 3 extern int signgam; enum { FP_NAN = 0, FP_INFINITE = 1, FP_ZERO = 2, FP_SUBNORMAL = 3, FP_NORMAL = 4 }; # 220 "/usr/include/math.h" 3 # 232 "/usr/include/math.h" 3 # 244 "/usr/include/math.h" 3 # 260 "/usr/include/math.h" 3 # 272 "/usr/include/math.h" 3 typedef enum { _IEEE_ = -1, _SVID_, _XOPEN_, _POSIX_, _ISOC_ } _LIB_VERSION_TYPE; extern _LIB_VERSION_TYPE _LIB_VERSION; struct exception { int type; char *name; double arg1; double arg2; double retval; }; extern int matherr (struct exception *__exc); # 338 "/usr/include/math.h" 3 # 350 "/usr/include/math.h" 3 # 368 "/usr/include/math.h" 3 # 387 "/usr/include/math.h" 3 # 410 "/usr/include/math.h" 3 # 1 "/usr/include/bits/mathinline.h" 1 3 # 119 "/usr/include/bits/mathinline.h" 3 extern __inline __attribute__ ((__always_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) __signbitf (float __x) { int __m; __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); return (__m & 0x8) != 0; } extern __inline __attribute__ ((__always_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) __signbit (double __x) { int __m; __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); return (__m & 0x80) != 0; } extern __inline __attribute__ ((__always_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) __signbitl (long double __x) { __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; return (__u.__i[2] & 0x8000) != 0; } # 384 "/usr/include/bits/mathinline.h" 3 # 414 "/usr/include/math.h" 2 3 # 432 "/usr/include/math.h" 3 # 440 "/usr/include/math.h" 3 # 448 "/usr/include/math.h" 3 # 456 "/usr/include/math.h" 3 # 464 "/usr/include/math.h" 3 # 472 "/usr/include/math.h" 3 # 20 "/opt/intel/composer_xe_2015.0.090/compiler/include/math.h" 2 3 # 47 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 1 3 # 1 "/usr/include/complex.h" 1 3 # 1 "/usr/include/bits/mathdef.h" 1 3 # 29 "/usr/include/complex.h" 2 3 # 59 "/usr/include/complex.h" 3 # 72 "/usr/include/complex.h" 3 # 1 "/usr/include/bits/cmathcalls.h" 1 3 extern double _Complex cacos (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __cacos (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex casin (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __casin (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex catan (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __catan (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex ccos (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __ccos (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex csin (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __csin (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex ctan (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __ctan (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex cacosh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __cacosh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex casinh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __casinh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex catanh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __catanh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex ccosh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __ccosh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex csinh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __csinh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex ctanh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __ctanh (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex cexp (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __cexp (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex clog (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __clog (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex cpow (double _Complex __x, double _Complex __y) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __cpow (double _Complex __x, double _Complex __y) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex csqrt (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __csqrt (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double cabs (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double __cabs (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double carg (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double __carg (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex conj (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __conj (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex cproj (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double _Complex __cproj (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double cimag (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double __cimag (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double creal (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern double __creal (double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); # 76 "/usr/include/complex.h" 2 3 # 1 "/usr/include/bits/cmathcalls.h" 1 3 extern float _Complex cacosf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __cacosf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex casinf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __casinf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex catanf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __catanf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex ccosf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __ccosf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex csinf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __csinf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex ctanf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __ctanf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex cacoshf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __cacoshf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex casinhf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __casinhf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex catanhf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __catanhf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex ccoshf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __ccoshf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex csinhf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __csinhf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex ctanhf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __ctanhf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex cexpf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __cexpf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex clogf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __clogf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex cpowf (float _Complex __x, float _Complex __y) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __cpowf (float _Complex __x, float _Complex __y) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex csqrtf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __csqrtf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float cabsf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float __cabsf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float cargf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float __cargf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex conjf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __conjf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex cprojf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float _Complex __cprojf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float cimagf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float __cimagf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float crealf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern float __crealf (float _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); # 86 "/usr/include/complex.h" 2 3 # 98 "/usr/include/complex.h" 3 # 1 "/usr/include/bits/cmathcalls.h" 1 3 extern long double _Complex cacosl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __cacosl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex casinl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __casinl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex catanl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __catanl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex ccosl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __ccosl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex csinl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __csinl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex ctanl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __ctanl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex cacoshl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __cacoshl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex casinhl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __casinhl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex catanhl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __catanhl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex ccoshl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __ccoshl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex csinhl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __csinhl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex ctanhl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __ctanhl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex cexpl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __cexpl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex clogl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __clogl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex cpowl (long double _Complex __x, long double _Complex __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __cpowl (long double _Complex __x, long double _Complex __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex csqrtl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __csqrtl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double cabsl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cabsl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double cargl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cargl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex conjl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __conjl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex cprojl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double _Complex __cprojl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double cimagl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cimagl (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double creall (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double __creall (long double _Complex __z) __attribute__ ((__nothrow__ , __leaf__)); # 105 "/usr/include/complex.h" 2 3 # 111 "/usr/include/complex.h" 3 # 19 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 2 3 # 55 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 # 69 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 # 84 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 # 111 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 extern double _Complex cis( double __x ); extern float _Complex cisf( float __x ); extern long double _Complex cisl( long double __x ); extern double _Complex cisd( double __x ); extern float _Complex cisdf( float __x ); extern long double _Complex cisdl( long double __x ); # 128 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 extern double _Complex cexp2( double _Complex __z ); extern float _Complex cexp2f( float _Complex __z ); extern long double _Complex cexp2l( long double _Complex __z ); extern double _Complex cexp10( double _Complex __z ); extern float _Complex cexp10f( float _Complex __z ); extern long double _Complex cexp10l( long double _Complex __z ); # 158 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 # 167 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 extern double _Complex clog2( double _Complex __z ); extern float _Complex clog2f( float _Complex __z ); extern long double _Complex clog2l( long double _Complex __z ); extern double _Complex clog10( double _Complex __z ); extern float _Complex clog10f( float _Complex __z ); extern long double _Complex clog10l( long double _Complex __z ); # 190 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 # 208 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 # 234 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 # 265 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 # 280 "/opt/intel/composer_xe_2015.0.090/compiler/include/complex.h" 3 # 49 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 2 3 # 63 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 87 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 108 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 124 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 135 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 143 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 154 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 186 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 195 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 220 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 236 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 extern int fpclassifyf ( float __x ) ; extern int fpclassify ( double __x ) ; extern int fpclassifyd ( double __x ) ; extern int fpclassifyl ( long double __x ) ; extern int __fpclassifyf ( float __x ) ; extern int __fpclassify ( double __x ) ; extern int __fpclassifyd ( double __x ) ; extern int __fpclassifyl ( long double __x ) ; extern int isinff ( float __x ) ; extern int isinf ( double __x ) ; extern int isinfd ( double __x ) ; extern int isinfl ( long double __x ) ; extern int __isinff ( float __x ) ; extern int __isinf ( double __x ) ; extern int __isinfd ( double __x ) ; extern int __isinfl ( long double __x ) ; extern int isnanf ( float __x ) ; extern int isnan ( double __x ) ; extern int isnand ( double __x ) ; extern int isnanl ( long double __x ) ; extern int __isnanf ( float __x ) ; extern int __isnan ( double __x ) ; extern int __isnand ( double __x ) ; extern int __isnanl ( long double __x ) ; extern int isnormalf ( float __x ) ; extern int isnormal ( double __x ) ; extern int isnormald ( double __x ) ; extern int isnormall ( long double __x ) ; extern int __isnormalf ( float __x ) ; extern int __isnormal ( double __x ) ; extern int __isnormald ( double __x ) ; extern int __isnormall ( long double __x ) ; extern int isfinitef ( float __x ) ; extern int isfinite ( double __x ) ; extern int isfinited ( double __x ) ; extern int isfinitel ( long double __x ) ; extern int __isfinitef ( float __x ) ; extern int __isfinite ( double __x ) ; extern int __isfinited ( double __x ) ; extern int __isfinitel ( long double __x ) ; extern int finitef ( float __x ) ; extern int finite ( double __x ) ; extern int finited ( double __x ) ; extern int finitel ( long double __x ) ; extern int __finitef ( float __x ) ; extern int __finite ( double __x ) ; extern int __finited ( double __x ) ; extern int __finitel ( long double __x ) ; extern int signbitf ( float __x ) ; extern int signbit ( double __x ) ; extern int signbitd ( double __x ) ; extern int signbitl ( long double __x ) ; extern int __signbitf ( float __x ) ; extern int __signbit ( double __x ) ; extern int __signbitd ( double __x ) ; extern int __signbitl ( long double __x ) ; # 328 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 349 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 356 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 extern int isgreaterf( float __xf, float __yf ); extern int isgreater( double __xd, double __yd ); extern int isgreaterl( long double __xl, long double __yl ); extern int __isgreaterf( float __xf, float __yf ); extern int __isgreater( double __xd, double __yd ); extern int __isgreaterl( long double __xl, long double __yl ); extern int isgreaterequalf( float __xf, float __yf ); extern int isgreaterequal( double __xd, double __yd ); extern int isgreaterequall( long double __xl, long double __yl ); extern int __isgreaterequalf( float __xf, float __yf ); extern int __isgreaterequal( double __xd, double __yd ); extern int __isgreaterequall( long double __xl, long double __yl ); extern int islessf( float __xf, float __yf ); extern int isless( double __xd, double __yd ); extern int islessl( long double __xl, long double __yl ); extern int __islessf( float __xf, float __yf ); extern int __isless( double __xd, double __yd ); extern int __islessl( long double __xl, long double __yl ); extern int islessequalf( float __xf, float __yf ); extern int islessequal( double __xd, double __yd ); extern int islessequall( long double __xl, long double __yl ); extern int __islessequalf( float __xf, float __yf ); extern int __islessequal( double __xd, double __yd ); extern int __islessequall( long double __xl, long double __yl ); extern int islessgreaterf( float __xf, float __yf ); extern int islessgreater( double __xd, double __yd ); extern int islessgreaterl( long double __xl, long double __yl ); extern int __islessgreaterf( float __xf, float __yf ); extern int __islessgreater( double __xd, double __yd ); extern int __islessgreaterl( long double __xl, long double __yl ); extern int isunorderedf( float __xf, float __yf ); extern int isunordered( double __xd, double __yd ); extern int isunorderedl( long double __xl, long double __yl ); extern int __isunorderedf( float __xf, float __yf ); extern int __isunordered( double __xd, double __yd ); extern int __isunorderedl( long double __xl, long double __yl ); # 410 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 417 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 433 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 443 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 extern double cot( double __x ); extern float cotf( float __x ); extern long double cotl( long double __x ); extern double cosd( double __x ); extern float cosdf( float __x ); extern long double cosdl( long double __x ); extern double sind( double __x ); extern float sindf( float __x ); extern long double sindl( long double __x ); extern double tand( double __x ); extern float tandf( float __x ); extern long double tandl( long double __x ); extern double cotd( double __x ); extern float cotdf( float __x ); extern long double cotdl( long double __x ); extern double acosd( double __x ); extern float acosdf( float __x ); extern long double acosdl( long double __x ); extern double asind( double __x ); extern float asindf( float __x ); extern long double asindl( long double __x ); extern double atand( double __x ); extern float atandf( float __x ); extern long double atandl( long double __x ); extern double atand2( double __y, double __x ); extern float atand2f( float __y, float __x ); extern long double atand2l( long double __y, long double __x ); extern double atan2d( double __y, double __x ); extern float atan2df( float __y, float __x ); extern long double atan2dl( long double __y, long double __x ); extern void sincosd( double __x, double *__psin, double *__pcos ); extern void sincosdf( float __x, float *__psin, float *__pcos ); extern void sincosdl( long double __x, long double *__psin, long double *__pcos ); # 509 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 extern void sinhcosh( double __x, double *__psinh, double *__pcosh ); extern void sinhcoshf( float __x, float *__psinh, float *__pcosh ); extern void sinhcoshl( long double __x, long double *__psinh, long double *__pcosh ); # 523 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 550 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 564 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 605 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 628 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 647 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 657 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 665 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 extern double invsqrt( double __x ); extern float invsqrtf( float __x ); extern long double invsqrtl( long double __x ); # 684 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 extern double cdfnorm( double __x ); extern float cdfnormf( float __x ); extern double cdfnorminv( double __x ); extern float cdfnorminvf( float __x ); extern double erfinv( double __x ); extern float erfinvf( float __x ); extern long double erfinvl( long double __x ); extern double erfcinv( double __x ); extern float erfcinvf( float __x ); extern double gamma_r( double __x, int *__signgam ); extern float gammaf_r( float __x, int *__signgam ); extern long double gammal_r( long double __x, int *__signgam ); # 710 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 726 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 744 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 764 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 783 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 798 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 807 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 830 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 extern double annuity( double __x, double __y ); extern double compound( double __x, double __y ); extern float annuityf( float __x, float __y ); extern long double annuityl( long double __x, long double __y ); extern float compoundf( float __x, float __y ); extern long double compoundl( long double __x, long double __y ); # 850 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 868 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 879 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 938 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 948 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1064 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1081 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1108 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 extern double _Complex cis( double __x ); extern float _Complex cisf( float __x ); extern long double _Complex cisl( long double __x ); extern double _Complex cisd( double __x ); extern float _Complex cisdf( float __x ); extern long double _Complex cisdl( long double __x ); # 1125 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 extern double _Complex cexp2( double _Complex __z ); extern float _Complex cexp2f( float _Complex __z ); extern long double _Complex cexp2l( long double _Complex __z ); extern double _Complex cexp10( double _Complex __z ); extern float _Complex cexp10f( float _Complex __z ); extern long double _Complex cexp10l( long double _Complex __z ); # 1155 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1164 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 extern double _Complex clog2( double _Complex __z ); extern float _Complex clog2f( float _Complex __z ); extern long double _Complex clog2l( long double _Complex __z ); extern double _Complex clog10( double _Complex __z ); extern float _Complex clog10f( float _Complex __z ); extern long double _Complex clog10l( long double _Complex __z ); # 1187 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1205 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1231 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1262 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1278 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1366 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1381 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1594 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 1608 "/opt/intel/composer_xe_2015.0.090/compiler/include/mathimf.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_MATHIMF_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/procfs.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/procfs.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 31 "/usr/include/sys/procfs.h" 2 3 # 1 "/usr/include/sys/time.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 25 "/usr/include/sys/time.h" 2 3 # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 typedef __time_t time_t; # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 27 "/usr/include/sys/time.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 29 "/usr/include/sys/time.h" 2 3 # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 # 37 "/usr/include/bits/time.h" 3 # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 31 "/usr/include/sys/time.h" 2 3 # 51 "/usr/include/sys/time.h" 3 struct timezone { int tz_minuteswest; int tz_dsttime; }; typedef struct timezone *__restrict __timezone_ptr_t; extern int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int settimeofday (const struct timeval *__tv, const struct timezone *__tz) __attribute__ ((__nothrow__ , __leaf__)); extern int adjtime (const struct timeval *__delta, struct timeval *__olddelta) __attribute__ ((__nothrow__ , __leaf__)); enum __itimer_which { ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_PROF = 2 }; struct itimerval { struct timeval it_interval; struct timeval it_value; }; typedef int __itimer_which_t; extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int setitimer (__itimer_which_t __which, const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__ ((__nothrow__ , __leaf__)); extern int utimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int lutimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int futimes (int __fd, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)); # 158 "/usr/include/sys/time.h" 3 # 189 "/usr/include/sys/time.h" 3 # 32 "/usr/include/sys/procfs.h" 2 3 # 1 "/usr/include/sys/types.h" 1 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; # 83 "/usr/include/time.h" 3 typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 217 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 33 "/usr/include/sys/procfs.h" 2 3 # 1 "/usr/include/sys/user.h" 1 3 struct user_fpregs_struct { unsigned short int cwd; unsigned short int swd; unsigned short int ftw; unsigned short int fop; __extension__ unsigned long long int rip; __extension__ unsigned long long int rdp; unsigned int mxcsr; unsigned int mxcr_mask; unsigned int st_space[32]; unsigned int xmm_space[64]; unsigned int padding[24]; }; struct user_regs_struct { __extension__ unsigned long long int r15; __extension__ unsigned long long int r14; __extension__ unsigned long long int r13; __extension__ unsigned long long int r12; __extension__ unsigned long long int rbp; __extension__ unsigned long long int rbx; __extension__ unsigned long long int r11; __extension__ unsigned long long int r10; __extension__ unsigned long long int r9; __extension__ unsigned long long int r8; __extension__ unsigned long long int rax; __extension__ unsigned long long int rcx; __extension__ unsigned long long int rdx; __extension__ unsigned long long int rsi; __extension__ unsigned long long int rdi; __extension__ unsigned long long int orig_rax; __extension__ unsigned long long int rip; __extension__ unsigned long long int cs; __extension__ unsigned long long int eflags; __extension__ unsigned long long int rsp; __extension__ unsigned long long int ss; __extension__ unsigned long long int fs_base; __extension__ unsigned long long int gs_base; __extension__ unsigned long long int ds; __extension__ unsigned long long int es; __extension__ unsigned long long int fs; __extension__ unsigned long long int gs; }; struct user { struct user_regs_struct regs; int u_fpvalid; struct user_fpregs_struct i387; __extension__ unsigned long long int u_tsize; __extension__ unsigned long long int u_dsize; __extension__ unsigned long long int u_ssize; __extension__ unsigned long long int start_code; __extension__ unsigned long long int start_stack; __extension__ long long int signal; int reserved; __extension__ union { struct user_regs_struct* u_ar0; __extension__ unsigned long long int __u_ar0_word; }; __extension__ union { struct user_fpregs_struct* u_fpstate; __extension__ unsigned long long int __u_fpstate_word; }; __extension__ unsigned long long int magic; char u_comm [32]; __extension__ unsigned long long int u_debugreg [8]; }; # 171 "/usr/include/sys/user.h" 3 # 179 "/usr/include/sys/user.h" 3 # 34 "/usr/include/sys/procfs.h" 2 3 typedef unsigned long long elf_greg_t; typedef elf_greg_t elf_gregset_t[(sizeof (struct user_regs_struct) / sizeof(elf_greg_t))]; # 60 "/usr/include/sys/procfs.h" 3 typedef struct user_fpregs_struct elf_fpregset_t; struct elf_siginfo { int si_signo; int si_code; int si_errno; }; struct elf_prstatus { struct elf_siginfo pr_info; short int pr_cursig; unsigned long int pr_sigpend; unsigned long int pr_sighold; __pid_t pr_pid; __pid_t pr_ppid; __pid_t pr_pgrp; __pid_t pr_sid; struct timeval pr_utime; struct timeval pr_stime; struct timeval pr_cutime; struct timeval pr_cstime; elf_gregset_t pr_reg; int pr_fpvalid; }; struct elf_prpsinfo { char pr_state; char pr_sname; char pr_zomb; char pr_nice; unsigned long int pr_flag; unsigned int pr_uid; unsigned int pr_gid; int pr_pid, pr_ppid, pr_pgrp, pr_sid; char pr_fname[16]; char pr_psargs[(80)]; }; typedef void *psaddr_t; typedef elf_gregset_t prgregset_t; typedef elf_fpregset_t prfpregset_t; typedef __pid_t lwpid_t; typedef struct elf_prstatus prstatus_t; typedef struct elf_prpsinfo prpsinfo_t; # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_PROCFS_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/resource.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/resource.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 23 "/usr/include/sys/resource.h" 2 3 # 1 "/usr/include/bits/resource.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 24 "/usr/include/bits/resource.h" 2 3 enum __rlimit_resource { RLIMIT_CPU = 0, RLIMIT_FSIZE = 1, RLIMIT_DATA = 2, RLIMIT_STACK = 3, RLIMIT_CORE = 4, __RLIMIT_RSS = 5, RLIMIT_NOFILE = 7, __RLIMIT_OFILE = RLIMIT_NOFILE, RLIMIT_AS = 9, __RLIMIT_NPROC = 6, __RLIMIT_MEMLOCK = 8, __RLIMIT_LOCKS = 10, __RLIMIT_SIGPENDING = 11, __RLIMIT_MSGQUEUE = 12, __RLIMIT_NICE = 13, __RLIMIT_RTPRIO = 14, __RLIMIT_RTTIME = 15, __RLIMIT_NLIMITS = 16, __RLIM_NLIMITS = __RLIMIT_NLIMITS }; typedef __rlim_t rlim_t; # 138 "/usr/include/bits/resource.h" 3 struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; # 156 "/usr/include/bits/resource.h" 3 enum __rusage_who { RUSAGE_SELF = 0, RUSAGE_CHILDREN = -1 # 176 "/usr/include/bits/resource.h" 3 }; # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 180 "/usr/include/bits/resource.h" 2 3 struct rusage { struct timeval ru_utime; struct timeval ru_stime; __extension__ union { long int ru_maxrss; __syscall_slong_t __ru_maxrss_word; }; __extension__ union { long int ru_ixrss; __syscall_slong_t __ru_ixrss_word; }; __extension__ union { long int ru_idrss; __syscall_slong_t __ru_idrss_word; }; __extension__ union { long int ru_isrss; __syscall_slong_t __ru_isrss_word; }; __extension__ union { long int ru_minflt; __syscall_slong_t __ru_minflt_word; }; __extension__ union { long int ru_majflt; __syscall_slong_t __ru_majflt_word; }; __extension__ union { long int ru_nswap; __syscall_slong_t __ru_nswap_word; }; __extension__ union { long int ru_inblock; __syscall_slong_t __ru_inblock_word; }; __extension__ union { long int ru_oublock; __syscall_slong_t __ru_oublock_word; }; __extension__ union { long int ru_msgsnd; __syscall_slong_t __ru_msgsnd_word; }; __extension__ union { long int ru_msgrcv; __syscall_slong_t __ru_msgrcv_word; }; __extension__ union { long int ru_nsignals; __syscall_slong_t __ru_nsignals_word; }; __extension__ union { long int ru_nvcsw; __syscall_slong_t __ru_nvcsw_word; }; __extension__ union { long int ru_nivcsw; __syscall_slong_t __ru_nivcsw_word; }; }; enum __priority_which { PRIO_PROCESS = 0, PRIO_PGRP = 1, PRIO_USER = 2 }; # 327 "/usr/include/bits/resource.h" 3 # 26 "/usr/include/sys/resource.h" 2 3 typedef __id_t id_t; typedef int __rlimit_resource_t; typedef int __rusage_who_t; typedef int __priority_which_t; extern int getrlimit (__rlimit_resource_t __resource, struct rlimit *__rlimits) __attribute__ ((__nothrow__ , __leaf__)); # 65 "/usr/include/sys/resource.h" 3 extern int setrlimit (__rlimit_resource_t __resource, const struct rlimit *__rlimits) __attribute__ ((__nothrow__ , __leaf__)); # 85 "/usr/include/sys/resource.h" 3 extern int getrusage (__rusage_who_t __who, struct rusage *__usage) __attribute__ ((__nothrow__ , __leaf__)); extern int getpriority (__priority_which_t __which, id_t __who) __attribute__ ((__nothrow__ , __leaf__)); extern int setpriority (__priority_which_t __which, id_t __who, int __prio) __attribute__ ((__nothrow__ , __leaf__)); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_RESOURCE_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/unistd.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/unistd.h" 2 3 # 48 "/usr/include/unistd.h" 3 # 65 "/usr/include/unistd.h" 3 # 95 "/usr/include/unistd.h" 3 # 1 "/usr/include/bits/posix_opt.h" 1 3 # 203 "/usr/include/unistd.h" 2 3 # 1 "/usr/include/bits/environments.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/environments.h" 2 3 # 90 "/usr/include/bits/environments.h" 3 # 207 "/usr/include/unistd.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 218 "/usr/include/unistd.h" 2 3 typedef __ssize_t ssize_t; # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 227 "/usr/include/unistd.h" 2 3 typedef __gid_t gid_t; typedef __uid_t uid_t; typedef __off_t off_t; # 253 "/usr/include/unistd.h" 3 typedef __useconds_t useconds_t; typedef __pid_t pid_t; typedef __intptr_t intptr_t; typedef __socklen_t socklen_t; extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 299 "/usr/include/unistd.h" 3 extern int faccessat (int __fd, const char *__file, int __type, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; # 319 "/usr/include/unistd.h" 3 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__ , __leaf__)); # 348 "/usr/include/unistd.h" 3 extern int close (int __fd); extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ; extern ssize_t write (int __fd, const void *__buf, size_t __n) ; extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset) ; extern ssize_t pwrite (int __fd, const void *__buf, size_t __n, __off_t __offset) ; # 399 "/usr/include/unistd.h" 3 # 412 "/usr/include/unistd.h" 3 extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) ; extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned int sleep (unsigned int __seconds); extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) __attribute__ ((__nothrow__ , __leaf__)); extern int usleep (__useconds_t __useconds); extern int pause (void); extern int chown (const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) ; extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchownat (int __fd, const char *__file, __uid_t __owner, __gid_t __group, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) ; # 519 "/usr/include/unistd.h" 3 extern char *getwd (char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ; extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__)); extern char **__environ; extern int execve (const char *__path, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int fexecve (int __fd, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int execv (const char *__path, char *const __argv[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execle (const char *__path, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execl (const char *__path, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execvp (const char *__file, char *const __argv[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execlp (const char *__file, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 594 "/usr/include/unistd.h" 3 extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) ; extern void _exit (int __status) __attribute__ ((__noreturn__)); # 1 "/usr/include/bits/confname.h" 1 3 enum { _PC_LINK_MAX, _PC_MAX_CANON, _PC_MAX_INPUT, _PC_NAME_MAX, _PC_PATH_MAX, _PC_PIPE_BUF, _PC_CHOWN_RESTRICTED, _PC_NO_TRUNC, _PC_VDISABLE, _PC_SYNC_IO, _PC_ASYNC_IO, _PC_PRIO_IO, _PC_SOCK_MAXBUF, _PC_FILESIZEBITS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, _PC_ALLOC_SIZE_MIN, _PC_SYMLINK_MAX, _PC_2_SYMLINKS }; enum { _SC_ARG_MAX, _SC_CHILD_MAX, _SC_CLK_TCK, _SC_NGROUPS_MAX, _SC_OPEN_MAX, _SC_STREAM_MAX, _SC_TZNAME_MAX, _SC_JOB_CONTROL, _SC_SAVED_IDS, _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS, _SC_AIO_LISTIO_MAX, _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_VERSION, _SC_PAGESIZE, _SC_RTSIG_MAX, _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, _SC_TIMER_MAX, _SC_BC_BASE_MAX, _SC_BC_DIM_MAX, _SC_BC_SCALE_MAX, _SC_BC_STRING_MAX, _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_EXPR_NEST_MAX, _SC_LINE_MAX, _SC_RE_DUP_MAX, _SC_CHARCLASS_NAME_MAX, _SC_2_VERSION, _SC_2_C_BIND, _SC_2_C_DEV, _SC_2_FORT_DEV, _SC_2_FORT_RUN, _SC_2_SW_DEV, _SC_2_LOCALEDEF, _SC_PII, _SC_PII_XTI, _SC_PII_SOCKET, _SC_PII_INTERNET, _SC_PII_OSI, _SC_POLL, _SC_SELECT, _SC_UIO_MAXIOV, _SC_IOV_MAX = _SC_UIO_MAXIOV, _SC_PII_INTERNET_STREAM, _SC_PII_INTERNET_DGRAM, _SC_PII_OSI_COTS, _SC_PII_OSI_CLTS, _SC_PII_OSI_M, _SC_T_IOV_MAX, _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX, _SC_TTY_NAME_MAX, _SC_THREAD_DESTRUCTOR_ITERATIONS, _SC_THREAD_KEYS_MAX, _SC_THREAD_STACK_MIN, _SC_THREAD_THREADS_MAX, _SC_THREAD_ATTR_STACKADDR, _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT, _SC_THREAD_PROCESS_SHARED, _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, _SC_ATEXIT_MAX, _SC_PASS_MAX, _SC_XOPEN_VERSION, _SC_XOPEN_XCU_VERSION, _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, _SC_2_UPE, _SC_XOPEN_XPG2, _SC_XOPEN_XPG3, _SC_XOPEN_XPG4, _SC_CHAR_BIT, _SC_CHAR_MAX, _SC_CHAR_MIN, _SC_INT_MAX, _SC_INT_MIN, _SC_LONG_BIT, _SC_WORD_BIT, _SC_MB_LEN_MAX, _SC_NZERO, _SC_SSIZE_MAX, _SC_SCHAR_MAX, _SC_SCHAR_MIN, _SC_SHRT_MAX, _SC_SHRT_MIN, _SC_UCHAR_MAX, _SC_UINT_MAX, _SC_ULONG_MAX, _SC_USHRT_MAX, _SC_NL_ARGMAX, _SC_NL_LANGMAX, _SC_NL_MSGMAX, _SC_NL_NMAX, _SC_NL_SETMAX, _SC_NL_TEXTMAX, _SC_XBS5_ILP32_OFF32, _SC_XBS5_ILP32_OFFBIG, _SC_XBS5_LP64_OFF64, _SC_XBS5_LPBIG_OFFBIG, _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME, _SC_XOPEN_REALTIME_THREADS, _SC_ADVISORY_INFO, _SC_BARRIERS, _SC_BASE, _SC_C_LANG_SUPPORT, _SC_C_LANG_SUPPORT_R, _SC_CLOCK_SELECTION, _SC_CPUTIME, _SC_THREAD_CPUTIME, _SC_DEVICE_IO, _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, _SC_PIPE, _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, _SC_MONOTONIC_CLOCK, _SC_MULTI_PROCESS, _SC_SINGLE_PROCESS, _SC_NETWORKING, _SC_READER_WRITER_LOCKS, _SC_SPIN_LOCKS, _SC_REGEXP, _SC_REGEX_VERSION, _SC_SHELL, _SC_SIGNALS, _SC_SPAWN, _SC_SPORADIC_SERVER, _SC_THREAD_SPORADIC_SERVER, _SC_SYSTEM_DATABASE, _SC_SYSTEM_DATABASE_R, _SC_TIMEOUTS, _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, _SC_SYMLOOP_MAX, _SC_STREAMS, _SC_2_PBS_CHECKPOINT, _SC_V6_ILP32_OFF32, _SC_V6_ILP32_OFFBIG, _SC_V6_LP64_OFF64, _SC_V6_LPBIG_OFFBIG, _SC_HOST_NAME_MAX, _SC_TRACE, _SC_TRACE_EVENT_FILTER, _SC_TRACE_INHERIT, _SC_TRACE_LOG, _SC_LEVEL1_ICACHE_SIZE, _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC, _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE, _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE, _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC, _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE, _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE, _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, _SC_RAW_SOCKETS, _SC_V7_ILP32_OFF32, _SC_V7_ILP32_OFFBIG, _SC_V7_LP64_OFF64, _SC_V7_LPBIG_OFFBIG, _SC_SS_REPL_MAX, _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS, _SC_THREAD_ROBUST_PRIO_INHERIT, _SC_THREAD_ROBUST_PRIO_PROTECT }; enum { _CS_PATH, _CS_V6_WIDTH_RESTRICTED_ENVS, _CS_GNU_LIBC_VERSION, _CS_GNU_LIBPTHREAD_VERSION, _CS_V5_WIDTH_RESTRICTED_ENVS, _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_LFS_CFLAGS = 1000, _CS_LFS_LDFLAGS, _CS_LFS_LIBS, _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, _CS_LFS64_LDFLAGS, _CS_LFS64_LIBS, _CS_LFS64_LINTFLAGS, _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, _CS_XBS5_ILP32_OFF32_LDFLAGS, _CS_XBS5_ILP32_OFF32_LIBS, _CS_XBS5_ILP32_OFF32_LINTFLAGS, _CS_XBS5_ILP32_OFFBIG_CFLAGS, _CS_XBS5_ILP32_OFFBIG_LDFLAGS, _CS_XBS5_ILP32_OFFBIG_LIBS, _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, _CS_XBS5_LP64_OFF64_CFLAGS, _CS_XBS5_LP64_OFF64_LDFLAGS, _CS_XBS5_LP64_OFF64_LIBS, _CS_XBS5_LP64_OFF64_LINTFLAGS, _CS_XBS5_LPBIG_OFFBIG_CFLAGS, _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, _CS_XBS5_LPBIG_OFFBIG_LIBS, _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V6_ILP32_OFF32_CFLAGS, _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, _CS_POSIX_V6_ILP32_OFF32_LIBS, _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LIBS, _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V6_LP64_OFF64_CFLAGS, _CS_POSIX_V6_LP64_OFF64_LDFLAGS, _CS_POSIX_V6_LP64_OFF64_LIBS, _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V7_ILP32_OFF32_CFLAGS, _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, _CS_POSIX_V7_ILP32_OFF32_LIBS, _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LIBS, _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V7_LP64_OFF64_CFLAGS, _CS_POSIX_V7_LP64_OFF64_LDFLAGS, _CS_POSIX_V7_LP64_OFF64_LIBS, _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, _CS_V6_ENV, _CS_V7_ENV }; # 610 "/usr/include/unistd.h" 2 3 extern long int pathconf (const char *__path, int __name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__)); extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__)); extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); # 644 "/usr/include/unistd.h" 3 extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__)); extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); # 685 "/usr/include/unistd.h" 3 extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; # 773 "/usr/include/unistd.h" 3 extern __pid_t fork (void) __attribute__ ((__nothrow__)); extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int ttyname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__)); extern int link (const char *__from, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; extern int linkat (int __fromfd, const char *__from, int __tofd, const char *__to, int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) ; extern int symlink (const char *__from, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; extern ssize_t readlink (const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; extern int symlinkat (const char *__from, int __tofd, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) ; extern ssize_t readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) ; extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int unlinkat (int __fd, const char *__name, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__)); extern char *getlogin (void); extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/getopt.h" 1 3 # 47 "/usr/include/getopt.h" 3 extern char *optarg; extern int optind; extern int opterr; extern int optopt; # 121 "/usr/include/getopt.h" 3 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __attribute__ ((__nothrow__ , __leaf__)); # 172 "/usr/include/getopt.h" 3 # 184 "/usr/include/getopt.h" 3 # 894 "/usr/include/unistd.h" 2 3 extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sethostname (const char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) ; extern int getdomainname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int setdomainname (const char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__)); extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__)); extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) ; extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1))); extern int fsync (int __fd); extern long int gethostid (void); extern void sync (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__)); extern int truncate (const char *__file, __off_t __length) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 1030 "/usr/include/unistd.h" 3 extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__ , __leaf__)) ; # 1050 "/usr/include/unistd.h" 3 extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) ; extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__)); extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__)); extern int lockf (int __fd, int __cmd, __off_t __len) ; # 1116 "/usr/include/unistd.h" 3 # 1130 "/usr/include/unistd.h" 3 extern int fdatasync (int __fildes); # 1157 "/usr/include/unistd.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_UNISTD_H" to "1" ================================================================================ TEST check from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netinet/in.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/netinet/in.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 23 "/usr/include/netinet/in.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 1 3 # 74 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h" 1 3 # 1 "/usr/include/stdint.h" 1 3 # 1 "/usr/include/bits/wchar.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/wchar.h" 2 3 # 31 "/usr/include/bits/wchar.h" 3 # 27 "/usr/include/stdint.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/stdint.h" 2 3 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; typedef long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; typedef long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long int uint_least64_t; typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 101 "/usr/include/stdint.h" 3 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 114 "/usr/include/stdint.h" 3 typedef long int intptr_t; typedef unsigned long int uintptr_t; # 130 "/usr/include/stdint.h" 3 typedef long int intmax_t; typedef unsigned long int uintmax_t; # 142 "/usr/include/stdint.h" 3 # 155 "/usr/include/stdint.h" 3 # 204 "/usr/include/stdint.h" 3 # 214 "/usr/include/stdint.h" 3 # 225 "/usr/include/stdint.h" 3 # 237 "/usr/include/stdint.h" 3 # 258 "/usr/include/stdint.h" 3 # 297 "/usr/include/stdint.h" 3 # 307 "/usr/include/stdint.h" 3 # 316 "/usr/include/stdint.h" 3 # 10 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h" 2 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 2 3 # 85 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 24 "/usr/include/netinet/in.h" 2 3 # 1 "/usr/include/sys/socket.h" 1 3 # 1 "/usr/include/sys/uio.h" 1 3 # 1 "/usr/include/sys/types.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 30 "/usr/include/sys/types.h" 2 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 # 199 "/usr/include/sys/types.h" 3 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 217 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 25 "/usr/include/sys/uio.h" 2 3 # 1 "/usr/include/bits/uio.h" 1 3 struct iovec { void *iov_base; size_t iov_len; }; # 30 "/usr/include/sys/uio.h" 2 3 extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count) ; extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count) ; extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; # 93 "/usr/include/sys/uio.h" 3 # 120 "/usr/include/sys/uio.h" 3 # 28 "/usr/include/sys/socket.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 30 "/usr/include/sys/socket.h" 2 3 # 1 "/usr/include/bits/socket.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 29 "/usr/include/bits/socket.h" 2 3 typedef __socklen_t socklen_t; # 1 "/usr/include/bits/socket_type.h" 1 3 enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_DCCP = 6, SOCK_PACKET = 10, SOCK_CLOEXEC = 02000000, SOCK_NONBLOCK = 00004000 }; # 40 "/usr/include/bits/socket.h" 2 3 # 84 "/usr/include/bits/socket.h" 3 # 128 "/usr/include/bits/socket.h" 3 # 140 "/usr/include/bits/socket.h" 3 # 1 "/usr/include/bits/sockaddr.h" 1 3 typedef unsigned short int sa_family_t; # 146 "/usr/include/bits/socket.h" 2 3 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; struct sockaddr_storage { sa_family_t ss_family; unsigned long int __ss_align; char __ss_padding[(128 - (2 * sizeof (unsigned long int)))]; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, # 183 "/usr/include/bits/socket.h" 3 MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000, MSG_WAITFORONE = 0x10000, MSG_CMSG_CLOEXEC = 0x40000000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 268 "/usr/include/bits/socket.h" 3 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ , __leaf__)); extern __inline struct cmsghdr * __attribute__ ((__nothrow__ , __leaf__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) { if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) return (struct cmsghdr *) 0; __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen) || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) return (struct cmsghdr *) 0; return __cmsg; } enum { SCM_RIGHTS = 0x01 }; # 315 "/usr/include/bits/socket.h" 3 # 340 "/usr/include/bits/socket.h" 3 # 1 "/usr/include/asm/socket.h" 1 3 # 1 "/usr/include/asm-generic/socket.h" 1 3 # 1 "/usr/include/asm/sockios.h" 1 3 # 1 "/usr/include/asm-generic/sockios.h" 1 3 # 12 "/usr/include/asm-generic/sockios.h" 3 # 2 "/usr/include/asm/sockios.h" 2 3 # 5 "/usr/include/asm-generic/socket.h" 2 3 # 34 "/usr/include/asm-generic/socket.h" 3 # 2 "/usr/include/asm/socket.h" 2 3 # 343 "/usr/include/bits/socket.h" 2 3 # 374 "/usr/include/bits/socket.h" 3 struct linger { int l_onoff; int l_linger; }; # 40 "/usr/include/sys/socket.h" 2 3 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 99 "/usr/include/sys/socket.h" 3 # 109 "/usr/include/sys/socket.h" 3 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ , __leaf__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__ , __leaf__)); extern int bind (int __fd, const struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); extern int connect (int __fd, const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, const void *__buf, size_t __n, int __flags, const struct sockaddr * __addr, socklen_t __addr_len); extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, const struct msghdr *__message, int __flags); # 197 "/usr/include/sys/socket.h" 3 extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); # 215 "/usr/include/sys/socket.h" 3 extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int setsockopt (int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); # 255 "/usr/include/sys/socket.h" 3 extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ , __leaf__)); extern int sockatmark (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ , __leaf__)); # 25 "/usr/include/netinet/in.h" 2 3 typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; }; # 1 "/usr/include/bits/in.h" 1 3 # 43 "/usr/include/bits/in.h" 3 # 75 "/usr/include/bits/in.h" 3 # 95 "/usr/include/bits/in.h" 3 struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 154 "/usr/include/bits/in.h" 3 # 174 "/usr/include/bits/in.h" 3 # 186 "/usr/include/bits/in.h" 3 # 197 "/usr/include/bits/in.h" 3 # 39 "/usr/include/netinet/in.h" 2 3 enum { IPPROTO_IP = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_DCCP = 33, IPPROTO_IPV6 = 41, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_MTP = 92, IPPROTO_BEETPH = 94, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_RAW = 255, IPPROTO_MAX }; enum { IPPROTO_HOPOPTS = 0, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MH = 135 }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; struct in6_addr { union { uint8_t __u6_addr8[16]; uint16_t __u6_addr16[8]; uint32_t __u6_addr32[4]; } __in6_u; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_interface; struct in_addr imr_sourceaddr; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint16_t ntohs (uint16_t __netshort) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint32_t htonl (uint32_t __hostlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint16_t htons (uint16_t __hostshort) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 1 "/usr/include/bits/byteswap.h" 1 3 # 387 "/usr/include/netinet/in.h" 2 3 # 408 "/usr/include/netinet/in.h" 3 # 417 "/usr/include/netinet/in.h" 3 # 425 "/usr/include/netinet/in.h" 3 # 442 "/usr/include/netinet/in.h" 3 # 450 "/usr/include/netinet/in.h" 3 # 497 "/usr/include/netinet/in.h" 3 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__ , __leaf__)); extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) __attribute__ ((__nothrow__ , __leaf__)); # 629 "/usr/include/netinet/in.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_NETINET_IN_H" to "1" ================================================================================ TEST checkRecursiveMacros from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:218) TESTING: checkRecursiveMacros from config.headers(config/BuildSystem/config/headers.py:218) Checks that the preprocessor allows recursive macros, and if not defines HAVE_BROKEN_RECURSIVE_MACRO Executing: icc -c -o /tmp/petsc-pA4Uet/config.headers/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.headers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void a(int i, int j) {} #define a(b) a(b,__LINE__) int main() { a(0); ; return 0; } ================================================================================ TEST configureCacheDetails from config.utilities.cacheDetails(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/cacheDetails.py:78) TESTING: configureCacheDetails from config.utilities.cacheDetails(config/BuildSystem/config/utilities/cacheDetails.py:78) Try to determine the size and associativity of the cache. Pushing language C All intermediate test results are stored in /tmp/petsc-pA4Uet/config.utilities.cacheDetails Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.headers -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include long getconf_LEVEL1_DCACHE_SIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_SIZE); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { ; return 0; } Popping language C Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_SIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_SIZE); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_SIZE()); fclose(output);; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest Executing: /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest Popping language C Defined "LEVEL1_DCACHE_SIZE" to "32768" Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_LINESIZE()); fclose(output);; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest Executing: /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest Popping language C Defined "LEVEL1_DCACHE_LINESIZE" to "64" Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_ASSOC() { long val = sysconf(_SC_LEVEL1_DCACHE_ASSOC); return (0 <= val && val <= 2147483647) ? val : 2; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_ASSOC()); fclose(output);; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest Executing: /tmp/petsc-pA4Uet/config.utilities.cacheDetails/conftest Popping language C Defined "LEVEL1_DCACHE_ASSOC" to "8" ================================================================================ TEST check_siginfo_t from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:46) TESTING: check_siginfo_t from config.types(config/BuildSystem/config/types.py:46) Checks if siginfo_t exists in signal.h. This check is for windows, and C89 check. Checking for type: siginfo_t All intermediate test results are stored in /tmp/petsc-pA4Uet/config.types Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { siginfo_t a;; return 0; } siginfo_t found Defined "HAVE_SIGINFO_T" to "1" ================================================================================ TEST check__int64 from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:52) TESTING: check__int64 from config.types(config/BuildSystem/config/types.py:52) Checks if __int64 exists. This is primarily for windows. Checking for type: __int64 Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { __int64 a;; return 0; } __int64 found Defined "HAVE___INT64" to "1" ================================================================================ TEST checkSizeTypes from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:58) TESTING: checkSizeTypes from config.types(config/BuildSystem/config/types.py:58) Checks for types associated with sizes, such as size_t. Checking for type: size_t Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { size_t a;; return 0; } size_t found ================================================================================ TEST checkFileTypes from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:68) TESTING: checkFileTypes from config.types(config/BuildSystem/config/types.py:68) Checks for types associated with files, such as mode_t, off_t, etc. Checking for type: mode_t Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { mode_t a;; return 0; } mode_t found Checking for type: off_t Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { off_t a;; return 0; } off_t found ================================================================================ TEST checkIntegerTypes from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:63) TESTING: checkIntegerTypes from config.types(config/BuildSystem/config/types.py:63) Checks for types associated with integers, such as int32_t. Checking for type: int32_t Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { int32_t a;; return 0; } int32_t found ================================================================================ TEST checkPID from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:74) TESTING: checkPID from config.types(config/BuildSystem/config/types.py:74) Checks for pid_t, and defines it if necessary Checking for type: pid_t Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { pid_t a;; return 0; } pid_t found ================================================================================ TEST checkUID from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:78) TESTING: checkUID from config.types(config/BuildSystem/config/types.py:78) Checks for uid_t and gid_t, and defines them if necessary Source: #include "confdefs.h" #include "conffix.h" #include Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.types /tmp/petsc-pA4Uet/config.types/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.types/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.types/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.types/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.types/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.types/conftest.c" 2 # 1 "/usr/include/sys/types.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 30 "/usr/include/sys/types.h" 2 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 217 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 4 "/tmp/petsc-pA4Uet/config.types/conftest.c" 2 ================================================================================ TEST checkSignal from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:85) TESTING: checkSignal from config.types(config/BuildSystem/config/types.py:85) Checks the return type of signal() and defines RETSIGTYPE to that type name Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifdef signal #undef signal #endif #ifdef __cplusplus extern "C" void (*signal (int, void(*)(int)))(int); #else void (*signal())(); #endif int main() { ; return 0; } Defined "RETSIGTYPE" to "void" ================================================================================ TEST checkC99Complex from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:106) TESTING: checkC99Complex from config.types(config/BuildSystem/config/types.py:106) Check for complex numbers in in C99 std Note that since PETSc source code uses _Complex we test specifically for that, not complex Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.types/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_C99_COMPLEX" to "1" ================================================================================ TEST checkCxxComplex from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:117) TESTING: checkCxxComplex from config.types(config/BuildSystem/config/types.py:117) Check for complex numbers in namespace std Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::complex x; ; return 0; } Pushing language CXX Popping language CXX Executing: icpc -o /tmp/petsc-pA4Uet/config.types/conftest -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_CXX_COMPLEX" to "1" Popping language Cxx ================================================================================ TEST checkFortranKind from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:138) TESTING: checkFortranKind from config.types(config/BuildSystem/config/types.py:138) Checks whether selected_int_kind etc work USE_FORTRANKIND Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -fPIC -g /tmp/petsc-pA4Uet/config.types/conftest.F Successful compile: Source: program main integer(kind=selected_int_kind(10)) i real(kind=selected_real_kind(10)) d end Defined "USE_FORTRANKIND" to "1" Popping language FC ================================================================================ TEST checkConst from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:150) TESTING: checkConst from config.types(config/BuildSystem/config/types.py:150) Checks for working const, and if not found defines it to empty string Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; /* This section avoids unused variable warnings */ if (zero.x); if (x[0]); { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (*s); } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; /* Get rid of unused variable warning */ if (foo); } ; return 0; } ================================================================================ TEST checkEndian from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:206) TESTING: checkEndian from config.types(config/BuildSystem/config/types.py:206) If the machine is big endian, defines WORDS_BIGENDIAN Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #ifdef HAVE_SYS_PARAM_H #include #endif int main() { #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN bogus endian macros #endif ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Possible ERROR while running compiler: exit code 512 stderr: /tmp/petsc-pA4Uet/config.types/conftest.c(11): error: identifier "not" is undefined not big endian ^ /tmp/petsc-pA4Uet/config.types/conftest.c(11): error: expected a ";" not big endian ^ compilation aborted for /tmp/petsc-pA4Uet/config.types/conftest.c (code 2) Source: #include "confdefs.h" #include "conffix.h" #include #ifdef HAVE_SYS_PARAM_H #include #endif int main() { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } ================================================================================ TEST checkSizeof from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: char Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(char)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.types/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.types/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.types/conftest Executing: /tmp/petsc-pA4Uet/config.types/conftest Popping language C Defined "SIZEOF_CHAR" to "1" ================================================================================ TEST checkSizeof from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: void * Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(void *)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.types/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.types/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.types/conftest Executing: /tmp/petsc-pA4Uet/config.types/conftest Popping language C Defined "SIZEOF_VOID_P" to "8" ================================================================================ TEST checkSizeof from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: short Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(short)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.types/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.types/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.types/conftest Executing: /tmp/petsc-pA4Uet/config.types/conftest Popping language C Defined "SIZEOF_SHORT" to "2" ================================================================================ TEST checkSizeof from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: int Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(int)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.types/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.types/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.types/conftest Executing: /tmp/petsc-pA4Uet/config.types/conftest Popping language C Defined "SIZEOF_INT" to "4" ================================================================================ TEST checkSizeof from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(long)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.types/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.types/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.types/conftest Executing: /tmp/petsc-pA4Uet/config.types/conftest Popping language C Defined "SIZEOF_LONG" to "8" ================================================================================ TEST checkSizeof from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long long Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(long long)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.types/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.types/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.types/conftest Executing: /tmp/petsc-pA4Uet/config.types/conftest Popping language C Defined "SIZEOF_LONG_LONG" to "8" ================================================================================ TEST checkSizeof from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: float Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(float)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.types/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.types/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.types/conftest Executing: /tmp/petsc-pA4Uet/config.types/conftest Popping language C Defined "SIZEOF_FLOAT" to "4" ================================================================================ TEST checkSizeof from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: double Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(double)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.types/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.types/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.types/conftest Executing: /tmp/petsc-pA4Uet/config.types/conftest Popping language C Defined "SIZEOF_DOUBLE" to "8" ================================================================================ TEST checkSizeof from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: size_t Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(size_t)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.types/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.types/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.types/conftest Executing: /tmp/petsc-pA4Uet/config.types/conftest Popping language C Defined "SIZEOF_SIZE_T" to "8" ================================================================================ TEST checkBitsPerByte from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:310) TESTING: checkBitsPerByte from config.types(config/BuildSystem/config/types.py:310) Determine the nubmer of bits per byte and define BITS_PER_BYTE Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if STDC_HEADERS #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); char val[2]; int i = 0; if (!f) exit(1); val[0]='\1'; val[1]='\0'; while(val[0]) {val[0] <<= 1; i++;} fprintf(f, "%d\n", i); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.types/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.types/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.types/conftest Executing: /tmp/petsc-pA4Uet/config.types/conftest Defined "BITS_PER_BYTE" to "8" ================================================================================ TEST checkVisibility from config.types(/home/swong/Downloads/petsc/config/BuildSystem/config/types.py:356) TESTING: checkVisibility from config.types(config/BuildSystem/config/types.py:356) Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { __attribute__((visibility ("default"))) int foo(void);; return 0; } Defined "USE_VISIBILITY_C" to "1" Popping language C Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.types -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { __attribute__((visibility ("default"))) int foo(void);; return 0; } Defined "USE_VISIBILITY_CXX" to "1" Popping language Cxx ================================================================================ TEST configureMemAlign from PETSc.options.memAlign(/home/swong/Downloads/petsc/config/PETSc/options/memAlign.py:30) TESTING: configureMemAlign from PETSc.options.memAlign(config/PETSc/options/memAlign.py:30) Choose alignment Defined "MEMALIGN" to "16" Memory alignment is 16 ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -lsocket -lnsl -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lsocket Popping language C ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -lfpe -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lfpe Popping language C ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -lsocket -lnsl -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lsocket Popping language C ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -lfpe -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lfpe Popping language C ================================================================================ TEST checkMath from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:264) TESTING: checkMath from config.libraries(config/BuildSystem/config/libraries.py:264) Check for sin() in libm, the math library Checking for functions [sin floor log10 pow] in library [''] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double sin(double); static void _check_sin() { double x = 0,y; y = sin(x); ; } double floor(double); static void _check_floor() { double x = 0,y; y = floor(x); ; } double log10(double); static void _check_log10() { double x = 0,y; y = log10(x); ; } double pow(double, double); static void _check_pow() { double x = 0,y ; y = pow(x, x); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language C Math functions are linked in by default ================================================================================ TEST checkMathErf from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:280) TESTING: checkMathErf from config.libraries(config/BuildSystem/config/libraries.py:280) Check for erf() in libm, the math library Checking for functions [erf] in library [] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double erf(double); static void _check_erf() { double x = 0,y; y = erf(x); ; } int main() { _check_erf();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language C erf() found Defined "HAVE_ERF" to "1" ================================================================================ TEST checkMathTgamma from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:289) TESTING: checkMathTgamma from config.libraries(config/BuildSystem/config/libraries.py:289) Check for tgama() in libm, the math library Checking for functions [tgamma] in library [] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double tgamma(double); static void _check_tgamma() { double x = 0,y; y = tgamma(x); ; } int main() { _check_tgamma();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language C tgamma() found Defined "HAVE_TGAMMA" to "1" ================================================================================ TEST checkMathFenv from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:298) TESTING: checkMathFenv from config.libraries(config/BuildSystem/config/libraries.py:298) Checks if can be used with FE_DFL_ENV Checking for functions [fesetenv] in library [] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; } int main() { _check_fesetenv();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language C Defined "HAVE_FENV_H" to "1" ================================================================================ TEST checkMathLog2 from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:306) TESTING: checkMathLog2 from config.libraries(config/BuildSystem/config/libraries.py:306) Check for log2() in libm, the math library Checking for functions [log2] in library [] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double log2(double); static void _check_log2() { double x = 1,y; y = log2(x); ; } int main() { _check_log2();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language C log2() found Defined "HAVE_LOG2" to "1" ================================================================================ TEST checkCompression from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:315) TESTING: checkCompression from config.libraries(config/BuildSystem/config/libraries.py:315) Check for libz, the compression library Checking for functions [compress uncompress] in library [''] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_compress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; } int uncompress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_uncompress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = uncompress(dest, &destLen, source, sourceLen); ; } int main() { _check_compress(); _check_uncompress();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.o: In function `_check_compress': /tmp/petsc-pA4Uet/config.libraries/conftest.c:5: undefined reference to `compress' /tmp/petsc-pA4Uet/config.libraries/conftest.o: In function `_check_uncompress': /tmp/petsc-pA4Uet/config.libraries/conftest.c:8: undefined reference to `uncompress' Popping language C Checking for functions [compress uncompress] in library ['z'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_compress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; } int uncompress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_uncompress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = uncompress(dest, &destLen, source, sourceLen); ; } int main() { _check_compress(); _check_uncompress();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -lz -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LIBZ" to "1" Popping language C Using libz for the compression library ================================================================================ TEST checkRealtime from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:336) TESTING: checkRealtime from config.libraries(config/BuildSystem/config/libraries.py:336) Check for presence of clock_gettime() in realtime library (POSIX Realtime extensions) Checking for functions [clock_gettime] in library [''] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } int main() { _check_clock_gettime();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language C realtime functions are linked in by default ================================================================================ TEST checkDynamic from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:352) TESTING: checkDynamic from config.libraries(config/BuildSystem/config/libraries.py:352) Check for the header and libraries necessary for dynamic library manipulation Checking for functions [dlopen] in library ['dl'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } int main() { _check_dlopen();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LIBDL" to "1" Popping language C Checking for header: dlfcn.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 24 "/usr/include/dlfcn.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 26 "/usr/include/dlfcn.h" 2 3 # 1 "/usr/include/bits/dlfcn.h" 1 3 # 29 "/usr/include/dlfcn.h" 2 3 # 51 "/usr/include/dlfcn.h" 3 extern void *dlopen (const char *__file, int __mode) __attribute__ ((__nothrow__ , __leaf__)); extern int dlclose (void *__handle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void *dlsym (void *__restrict __handle, const char *__restrict __name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 79 "/usr/include/dlfcn.h" 3 extern char *dlerror (void) __attribute__ ((__nothrow__ , __leaf__)); # 187 "/usr/include/dlfcn.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_DLFCN_H" to "1" ================================================================================ TEST configureLibraryOptions from PETSc.options.libraryOptions(/home/swong/Downloads/petsc/config/PETSc/options/libraryOptions.py:37) TESTING: configureLibraryOptions from PETSc.options.libraryOptions(config/PETSc/options/libraryOptions.py:37) Sets PETSC_USE_DEBUG, PETSC_USE_INFO, PETSC_USE_LOG, PETSC_USE_CTABLE and PETSC_USE_FORTRAN_KERNELS Defined "USE_LOG" to "1" Defined "USE_DEBUG" to "1" Defined "USE_INFO" to "1" Defined "USE_CTABLE" to "1" Defined "USE_BACKWARD_LOOP" to "1" **********Checking if running on BGL/IBM detected Checking for functions [bgl_perfctr_void] in library [''] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char bgl_perfctr_void(); static void _check_bgl_perfctr_void() { bgl_perfctr_void(); } int main() { _check_bgl_perfctr_void();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.o: In function `_check_bgl_perfctr_void': /tmp/petsc-pA4Uet/config.libraries/conftest.c:5: undefined reference to `bgl_perfctr_void' Popping language C Checking for functions [ADIOI_BGL_Open] in library [''] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ADIOI_BGL_Open(); static void _check_ADIOI_BGL_Open() { ADIOI_BGL_Open(); } int main() { _check_ADIOI_BGL_Open();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.o: In function `_check_ADIOI_BGL_Open': /tmp/petsc-pA4Uet/config.libraries/conftest.c:5: undefined reference to `ADIOI_BGL_Open' Popping language C *********BGL/IBM test failure Defined "Alignx(a,b)" to " " ================================================================================ TEST configureISColorValueType from PETSc.options.libraryOptions(/home/swong/Downloads/petsc/config/PETSc/options/libraryOptions.py:91) TESTING: configureISColorValueType from PETSc.options.libraryOptions(config/PETSc/options/libraryOptions.py:91) Sets PETSC_IS_COLOR_VALUE_TYPE, MPIU_COLORING_VALUE, IS_COLORING_MAX required by ISColor Defined "MPIU_COLORING_VALUE" to "MPI_UNSIGNED_SHORT" Defined "IS_COLORING_MAX" to "65535" Defined "IS_COLOR_VALUE_TYPE" to "short" Defined "IS_COLOR_VALUE_TYPE_F" to "integer2" ================================================================================ TEST configureCPURelax from config.atomics(/home/swong/Downloads/petsc/config/BuildSystem/config/atomics.py:17) TESTING: configureCPURelax from config.atomics(config/BuildSystem/config/atomics.py:17) Definitions for cpu relax assembly instructions All intermediate test results are stored in /tmp/petsc-pA4Uet/config.atomics Executing: icc -c -o /tmp/petsc-pA4Uet/config.atomics/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("rep; nop" ::: "memory");; return 0; } Defined "CPU_RELAX()" to "asm volatile("rep; nop" ::: "memory")" ================================================================================ TEST configureMemoryBarriers from config.atomics(/home/swong/Downloads/petsc/config/BuildSystem/config/atomics.py:36) TESTING: configureMemoryBarriers from config.atomics(config/BuildSystem/config/atomics.py:36) Definitions for memory barrier instructions Executing: icc -c -o /tmp/petsc-pA4Uet/config.atomics/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("mfence":::"memory"); return 0; } Defined "MEMORY_BARRIER()" to "asm volatile("mfence":::"memory")" Executing: icc -c -o /tmp/petsc-pA4Uet/config.atomics/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("lfence":::"memory"); return 0; } Defined "READ_MEMORY_BARRIER()" to "asm volatile("lfence":::"memory")" Executing: icc -c -o /tmp/petsc-pA4Uet/config.atomics/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("sfence":::"memory"); return 0; } Defined "WRITE_MEMORY_BARRIER()" to "asm volatile("sfence":::"memory")" ================================================================================ TEST checkMemcmp from config.functions(/home/swong/Downloads/petsc/config/BuildSystem/config/functions.py:110) TESTING: checkMemcmp from config.functions(config/BuildSystem/config/functions.py:110) Check for 8-bit clean memcmp Making executable to test memcmp() All intermediate test results are stored in /tmp/petsc-pA4Uet/config.functions Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.atomics -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void exit(int); int main() { char c0 = 0x40; char c1 = (char) 0x80; char c2 = (char) 0x81; exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.functions/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.functions/conftest Executing: /tmp/petsc-pA4Uet/config.functions/conftest ================================================================================ TEST checkSysinfo from config.functions(/home/swong/Downloads/petsc/config/BuildSystem/config/functions.py:135) TESTING: checkSysinfo from config.functions(config/BuildSystem/config/functions.py:135) Check whether sysinfo takes three arguments, and if it does define HAVE_SYSINFO_3ARG Checking for functions [sysinfo] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysinfo(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sysinfo) || defined (__stub___sysinfo) sysinfo_will_always_fail_with_ENOSYS(); #else sysinfo(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_SYSINFO" to "1" Checking for header: linux/kernel.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/linux/kernel.h" 1 3 # 1 "/usr/include/linux/sysinfo.h" 1 3 # 1 "/usr/include/linux/types.h" 1 3 # 1 "/usr/include/asm/types.h" 1 3 # 1 "/usr/include/asm-generic/types.h" 1 3 # 1 "/usr/include/asm-generic/int-ll64.h" 1 3 # 1 "/usr/include/asm/bitsperlong.h" 1 3 # 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 # 11 "/usr/include/asm/bitsperlong.h" 2 3 # 12 "/usr/include/asm-generic/int-ll64.h" 2 3 typedef __signed__ char __s8; typedef unsigned char __u8; typedef __signed__ short __s16; typedef unsigned short __u16; typedef __signed__ int __s32; typedef unsigned int __u32; __extension__ typedef __signed__ long long __s64; __extension__ typedef unsigned long long __u64; # 8 "/usr/include/asm-generic/types.h" 2 3 # 5 "/usr/include/asm/types.h" 2 3 # 5 "/usr/include/linux/types.h" 2 3 # 1 "/usr/include/linux/posix_types.h" 1 3 # 1 "/usr/include/linux/stddef.h" 1 3 # 5 "/usr/include/linux/posix_types.h" 2 3 typedef struct { unsigned long fds_bits[1024 / (8 * sizeof(long))]; } __kernel_fd_set; typedef void (*__kernel_sighandler_t)(int); typedef int __kernel_key_t; typedef int __kernel_mqd_t; # 1 "/usr/include/asm/posix_types.h" 1 3 # 1 "/usr/include/asm/posix_types_64.h" 1 3 typedef unsigned short __kernel_old_uid_t; typedef unsigned short __kernel_old_gid_t; typedef unsigned long __kernel_old_dev_t; # 1 "/usr/include/asm-generic/posix_types.h" 1 3 typedef long __kernel_long_t; typedef unsigned long __kernel_ulong_t; typedef __kernel_ulong_t __kernel_ino_t; typedef unsigned int __kernel_mode_t; typedef int __kernel_pid_t; typedef int __kernel_ipc_pid_t; typedef unsigned int __kernel_uid_t; typedef unsigned int __kernel_gid_t; typedef __kernel_long_t __kernel_suseconds_t; typedef int __kernel_daddr_t; typedef unsigned int __kernel_uid32_t; typedef unsigned int __kernel_gid32_t; # 71 "/usr/include/asm-generic/posix_types.h" 3 typedef __kernel_ulong_t __kernel_size_t; typedef __kernel_long_t __kernel_ssize_t; typedef __kernel_long_t __kernel_ptrdiff_t; typedef struct { int val[2]; } __kernel_fsid_t; typedef __kernel_long_t __kernel_off_t; typedef long long __kernel_loff_t; typedef __kernel_long_t __kernel_time_t; typedef __kernel_long_t __kernel_clock_t; typedef int __kernel_timer_t; typedef int __kernel_clockid_t; typedef char * __kernel_caddr_t; typedef unsigned short __kernel_uid16_t; typedef unsigned short __kernel_gid16_t; # 18 "/usr/include/asm/posix_types_64.h" 2 3 # 7 "/usr/include/asm/posix_types.h" 2 3 # 36 "/usr/include/linux/posix_types.h" 2 3 # 9 "/usr/include/linux/types.h" 2 3 # 26 "/usr/include/linux/types.h" 3 typedef __u16 __le16; typedef __u16 __be16; typedef __u32 __le32; typedef __u32 __be32; typedef __u64 __le64; typedef __u64 __be64; typedef __u16 __sum16; typedef __u32 __wsum; # 5 "/usr/include/linux/sysinfo.h" 2 3 struct sysinfo { __kernel_long_t uptime; __kernel_ulong_t loads[3]; __kernel_ulong_t totalram; __kernel_ulong_t freeram; __kernel_ulong_t sharedram; __kernel_ulong_t bufferram; __kernel_ulong_t totalswap; __kernel_ulong_t freeswap; __u16 procs; __u16 pad; __kernel_ulong_t totalhigh; __kernel_ulong_t freehigh; __u32 mem_unit; char _f[20-2*sizeof(__kernel_ulong_t)-sizeof(__u32)]; }; # 5 "/usr/include/linux/kernel.h" 2 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_LINUX_KERNEL_H" to "1" Checking for header: sys/sysinfo.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/sys/sysinfo.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 22 "/usr/include/sys/sysinfo.h" 2 3 # 1 "/usr/include/linux/kernel.h" 1 3 # 1 "/usr/include/linux/sysinfo.h" 1 3 # 1 "/usr/include/linux/types.h" 1 3 # 1 "/usr/include/asm/types.h" 1 3 # 1 "/usr/include/asm-generic/types.h" 1 3 # 1 "/usr/include/asm-generic/int-ll64.h" 1 3 # 1 "/usr/include/asm/bitsperlong.h" 1 3 # 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 # 11 "/usr/include/asm/bitsperlong.h" 2 3 # 12 "/usr/include/asm-generic/int-ll64.h" 2 3 typedef __signed__ char __s8; typedef unsigned char __u8; typedef __signed__ short __s16; typedef unsigned short __u16; typedef __signed__ int __s32; typedef unsigned int __u32; __extension__ typedef __signed__ long long __s64; __extension__ typedef unsigned long long __u64; # 8 "/usr/include/asm-generic/types.h" 2 3 # 5 "/usr/include/asm/types.h" 2 3 # 5 "/usr/include/linux/types.h" 2 3 # 1 "/usr/include/linux/posix_types.h" 1 3 # 1 "/usr/include/linux/stddef.h" 1 3 # 5 "/usr/include/linux/posix_types.h" 2 3 typedef struct { unsigned long fds_bits[1024 / (8 * sizeof(long))]; } __kernel_fd_set; typedef void (*__kernel_sighandler_t)(int); typedef int __kernel_key_t; typedef int __kernel_mqd_t; # 1 "/usr/include/asm/posix_types.h" 1 3 # 1 "/usr/include/asm/posix_types_64.h" 1 3 typedef unsigned short __kernel_old_uid_t; typedef unsigned short __kernel_old_gid_t; typedef unsigned long __kernel_old_dev_t; # 1 "/usr/include/asm-generic/posix_types.h" 1 3 typedef long __kernel_long_t; typedef unsigned long __kernel_ulong_t; typedef __kernel_ulong_t __kernel_ino_t; typedef unsigned int __kernel_mode_t; typedef int __kernel_pid_t; typedef int __kernel_ipc_pid_t; typedef unsigned int __kernel_uid_t; typedef unsigned int __kernel_gid_t; typedef __kernel_long_t __kernel_suseconds_t; typedef int __kernel_daddr_t; typedef unsigned int __kernel_uid32_t; typedef unsigned int __kernel_gid32_t; # 71 "/usr/include/asm-generic/posix_types.h" 3 typedef __kernel_ulong_t __kernel_size_t; typedef __kernel_long_t __kernel_ssize_t; typedef __kernel_long_t __kernel_ptrdiff_t; typedef struct { int val[2]; } __kernel_fsid_t; typedef __kernel_long_t __kernel_off_t; typedef long long __kernel_loff_t; typedef __kernel_long_t __kernel_time_t; typedef __kernel_long_t __kernel_clock_t; typedef int __kernel_timer_t; typedef int __kernel_clockid_t; typedef char * __kernel_caddr_t; typedef unsigned short __kernel_uid16_t; typedef unsigned short __kernel_gid16_t; # 18 "/usr/include/asm/posix_types_64.h" 2 3 # 7 "/usr/include/asm/posix_types.h" 2 3 # 36 "/usr/include/linux/posix_types.h" 2 3 # 9 "/usr/include/linux/types.h" 2 3 # 26 "/usr/include/linux/types.h" 3 typedef __u16 __le16; typedef __u16 __be16; typedef __u32 __le32; typedef __u32 __be32; typedef __u64 __le64; typedef __u64 __be64; typedef __u16 __sum16; typedef __u32 __wsum; # 5 "/usr/include/linux/sysinfo.h" 2 3 struct sysinfo { __kernel_long_t uptime; __kernel_ulong_t loads[3]; __kernel_ulong_t totalram; __kernel_ulong_t freeram; __kernel_ulong_t sharedram; __kernel_ulong_t bufferram; __kernel_ulong_t totalswap; __kernel_ulong_t freeswap; __u16 procs; __u16 pad; __kernel_ulong_t totalhigh; __kernel_ulong_t freehigh; __u32 mem_unit; char _f[20-2*sizeof(__kernel_ulong_t)-sizeof(__u32)]; }; # 5 "/usr/include/linux/kernel.h" 2 3 # 25 "/usr/include/sys/sysinfo.h" 2 3 extern int sysinfo (struct sysinfo *__info) __attribute__ ((__nothrow__ , __leaf__)); extern int get_nprocs_conf (void) __attribute__ ((__nothrow__ , __leaf__)); extern int get_nprocs (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int get_phys_pages (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int get_avphys_pages (void) __attribute__ ((__nothrow__ , __leaf__)); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_SYSINFO_H" to "1" Checking for header: sys/systeminfo.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "sys/systeminfo.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "sys/systeminfo.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "sys/systeminfo.h" #include ^: Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Possible ERROR while running compiler: exit code 512 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.c(13): error: #error directive: "Cannot check sysinfo without special headers" # error "Cannot check sysinfo without special headers" ^ compilation aborted for /tmp/petsc-pA4Uet/config.functions/conftest.c (code 2) Source: #include "confdefs.h" #include "conffix.h" #ifdef HAVE_LINUX_KERNEL_H # include # include # ifdef HAVE_SYS_SYSINFO_H # include # endif #elif defined(HAVE_SYS_SYSTEMINFO_H) # include #else # error "Cannot check sysinfo without special headers" #endif int main() { char buf[10]; long count=10; sysinfo(1, buf, count); ; return 0; } Compile failed inside link ================================================================================ TEST checkVPrintf from config.functions(/home/swong/Downloads/petsc/config/BuildSystem/config/functions.py:158) TESTING: checkVPrintf from config.functions(config/BuildSystem/config/functions.py:158) Checks whether vprintf requires a char * last argument, and if it does defines HAVE_VPRINTF_CHAR Checking for functions [vprintf] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vprintf) || defined (__stub___vprintf) vprintf_will_always_fail_with_ENOSYS(); #else vprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_VPRINTF" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vprintf( "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl ================================================================================ TEST checkVFPrintf from config.functions(/home/swong/Downloads/petsc/config/BuildSystem/config/functions.py:165) TESTING: checkVFPrintf from config.functions(config/BuildSystem/config/functions.py:165) Checks whether vfprintf requires a char * last argument, and if it does defines HAVE_VFPRINTF_CHAR Checking for functions [vfprintf] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vfprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vfprintf) || defined (__stub___vfprintf) vfprintf_will_always_fail_with_ENOSYS(); #else vfprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_VFPRINTF" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vfprintf(stdout, "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl ================================================================================ TEST checkVSNPrintf from config.functions(/home/swong/Downloads/petsc/config/BuildSystem/config/functions.py:172) TESTING: checkVSNPrintf from config.functions(config/BuildSystem/config/functions.py:172) Checks whether vsnprintf requires a char * last argument, and if it does defines HAVE_VSNPRINTF_CHAR Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { _vsnprintf(0,0,0,0); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:6: undefined reference to `_vsnprintf' Checking for functions [vsnprintf] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vsnprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf) vsnprintf_will_always_fail_with_ENOSYS(); #else vsnprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_VSNPRINTF" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp;char str[6]; vsnprintf(str,5, "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl ================================================================================ TEST checkNanosleep from config.functions(/home/swong/Downloads/petsc/config/BuildSystem/config/functions.py:206) TESTING: checkNanosleep from config.functions(config/BuildSystem/config/functions.py:206) Check for functional nanosleep() - as time.h behaves differently for different compiler flags - like -std=c89 Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { struct timespec tp; tp.tv_sec = 0; tp.tv_nsec = (long)(1e9); nanosleep(&tp,0); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_NANOSLEEP" to "1" ================================================================================ TEST checkSignalHandlerType from config.functions(/home/swong/Downloads/petsc/config/BuildSystem/config/functions.py:182) TESTING: checkSignalHandlerType from config.functions(config/BuildSystem/config/functions.py:182) Checks the type of C++ signals handlers, and defines SIGNAL_CAST to the correct value Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.types -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.functions/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include static void myhandler(int sig) {} int main() { signal(SIGFPE,myhandler); ; return 0; } Pushing language CXX Popping language CXX Executing: icpc -o /tmp/petsc-pA4Uet/config.functions/conftest -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "SIGNAL_CAST" to " " Popping language Cxx ================================================================================ TEST checkFreeReturnType from config.functions(/home/swong/Downloads/petsc/config/BuildSystem/config/functions.py:192) TESTING: checkFreeReturnType from config.functions(config/BuildSystem/config/functions.py:192) Checks whether free returns void or int, and defines HAVE_FREE_RETURN_INT Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Possible ERROR while running compiler: exit code 512 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.c(6): error: a value of type "void" cannot be assigned to an entity of type "int" int ierr; void *p; ierr = free(p); return 0; ^ compilation aborted for /tmp/petsc-pA4Uet/config.functions/conftest.c (code 2) Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ierr; void *p; ierr = free(p); return 0; ; return 0; } Compile failed inside link ================================================================================ TEST checkVariableArgumentLists from config.functions(/home/swong/Downloads/petsc/config/BuildSystem/config/functions.py:198) TESTING: checkVariableArgumentLists from config.functions(config/BuildSystem/config/functions.py:198) Checks whether the variable argument list functionality is working Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; va_copy(l1, l2); return 0; ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_VA_COPY" to "1" ================================================================================ TEST checkClassify from config.functions(/home/swong/Downloads/petsc/config/BuildSystem/config/functions.py:89) TESTING: checkClassify from config.functions(config/BuildSystem/config/functions.py:89) Recursive decompose to rapidly classify functions as found or missing To confirm that a function is missing, we require a compile/link failure with only that function in a compilation unit. In contrast, we can confirm that many functions are present by compiling them all together in a large compilation unit. We optimistically compile everything together, then trim all functions that were named in the error message and bisect the result. The trimming is only an optimization to increase the likelihood of a big-batch compile succeeding; we do not rely on the compiler naming missing functions. Checking for functions [rand getdomainname _sleep snprintf realpath dlsym bzero _getcwd getwd uname _lseek sleep _access lseek usleep dlclose gethostname clock get_nprocs access _snprintf dlerror mkstemp fork getpagesize sbreak memalign sigset getcwd gethostbyname gettimeofday readlink _set_output_format PXFGETARG sigaction strcasecmp dlopen drand48 socket memmove signal popen getrusage times _mkdir time sysctlbyname stricmp] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand(); char getdomainname(); char _sleep(); char snprintf(); char realpath(); char dlsym(); char bzero(); char _getcwd(); char getwd(); char uname(); char _lseek(); char sleep(); char _access(); char lseek(); char usleep(); char dlclose(); char gethostname(); char clock(); char get_nprocs(); char access(); char _snprintf(); char dlerror(); char mkstemp(); char fork(); char getpagesize(); char sbreak(); char memalign(); char sigset(); char getcwd(); char gethostbyname(); char gettimeofday(); char readlink(); char _set_output_format(); char PXFGETARG(); char sigaction(); char strcasecmp(); char dlopen(); char drand48(); char socket(); char memmove(); char signal(); char popen(); char getrusage(); char times(); char _mkdir(); char time(); char sysctlbyname(); char stricmp(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_get_nprocs) || defined (__stub___get_nprocs) get_nprocs_will_always_fail_with_ENOSYS(); #else get_nprocs(); #endif #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_mkstemp) || defined (__stub___mkstemp) mkstemp_will_always_fail_with_ENOSYS(); #else mkstemp(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_sigset) || defined (__stub___sigset) sigset_will_always_fail_with_ENOSYS(); #else sigset(); #endif #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) gettimeofday_will_always_fail_with_ENOSYS(); #else gettimeofday(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub__set_output_format) || defined (__stub____set_output_format) _set_output_format_will_always_fail_with_ENOSYS(); #else _set_output_format(); #endif #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif #if defined (__stub_sigaction) || defined (__stub___sigaction) sigaction_will_always_fail_with_ENOSYS(); #else sigaction(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_memmove) || defined (__stub___memmove) memmove_will_always_fail_with_ENOSYS(); #else memmove(); #endif #if defined (__stub_signal) || defined (__stub___signal) signal_will_always_fail_with_ENOSYS(); #else signal(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_times) || defined (__stub___times) times_will_always_fail_with_ENOSYS(); #else times(); #endif #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_sysctlbyname) || defined (__stub___sysctlbyname) sysctlbyname_will_always_fail_with_ENOSYS(); #else sysctlbyname(); #endif #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:83: undefined reference to `_sleep' /tmp/petsc-pA4Uet/config.functions/conftest.c:113: undefined reference to `_getcwd' /tmp/petsc-pA4Uet/config.functions/conftest.c:131: undefined reference to `_lseek' /tmp/petsc-pA4Uet/config.functions/conftest.c:143: undefined reference to `_access' /tmp/petsc-pA4Uet/config.functions/conftest.c:191: undefined reference to `_snprintf' /tmp/petsc-pA4Uet/config.functions/conftest.c:221: undefined reference to `sbreak' /tmp/petsc-pA4Uet/config.functions/conftest.c:263: undefined reference to `_set_output_format' /tmp/petsc-pA4Uet/config.functions/conftest.c:269: undefined reference to `PXFGETARG' /tmp/petsc-pA4Uet/config.functions/conftest.c:335: undefined reference to `_mkdir' /tmp/petsc-pA4Uet/config.functions/conftest.c:347: undefined reference to `sysctlbyname' /tmp/petsc-pA4Uet/config.functions/conftest.c:353: undefined reference to `stricmp' Checking for functions [rand getdomainname realpath dlsym bzero getwd uname usleep dlclose gethostname clock get_nprocs dlerror mkstemp fork getpagesize] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand(); char getdomainname(); char realpath(); char dlsym(); char bzero(); char getwd(); char uname(); char usleep(); char dlclose(); char gethostname(); char clock(); char get_nprocs(); char dlerror(); char mkstemp(); char fork(); char getpagesize(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_get_nprocs) || defined (__stub___get_nprocs) get_nprocs_will_always_fail_with_ENOSYS(); #else get_nprocs(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_mkstemp) || defined (__stub___mkstemp) mkstemp_will_always_fail_with_ENOSYS(); #else mkstemp(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_RAND" to "1" Defined "HAVE_GETDOMAINNAME" to "1" Defined "HAVE_REALPATH" to "1" Defined "HAVE_DLSYM" to "1" Defined "HAVE_BZERO" to "1" Defined "HAVE_GETWD" to "1" Defined "HAVE_UNAME" to "1" Defined "HAVE_USLEEP" to "1" Defined "HAVE_DLCLOSE" to "1" Defined "HAVE_GETHOSTNAME" to "1" Defined "HAVE_CLOCK" to "1" Defined "HAVE_GET_NPROCS" to "1" Defined "HAVE_DLERROR" to "1" Defined "HAVE_MKSTEMP" to "1" Defined "HAVE_FORK" to "1" Defined "HAVE_GETPAGESIZE" to "1" Checking for functions [memalign sigset gethostbyname gettimeofday readlink sigaction strcasecmp dlopen drand48 socket memmove signal popen getrusage times time] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char memalign(); char sigset(); char gethostbyname(); char gettimeofday(); char readlink(); char sigaction(); char strcasecmp(); char dlopen(); char drand48(); char socket(); char memmove(); char signal(); char popen(); char getrusage(); char times(); char time(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_sigset) || defined (__stub___sigset) sigset_will_always_fail_with_ENOSYS(); #else sigset(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) gettimeofday_will_always_fail_with_ENOSYS(); #else gettimeofday(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_sigaction) || defined (__stub___sigaction) sigaction_will_always_fail_with_ENOSYS(); #else sigaction(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_memmove) || defined (__stub___memmove) memmove_will_always_fail_with_ENOSYS(); #else memmove(); #endif #if defined (__stub_signal) || defined (__stub___signal) signal_will_always_fail_with_ENOSYS(); #else signal(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_times) || defined (__stub___times) times_will_always_fail_with_ENOSYS(); #else times(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_MEMALIGN" to "1" Defined "HAVE_SIGSET" to "1" Defined "HAVE_GETHOSTBYNAME" to "1" Defined "HAVE_GETTIMEOFDAY" to "1" Defined "HAVE_READLINK" to "1" Defined "HAVE_SIGACTION" to "1" Defined "HAVE_STRCASECMP" to "1" Defined "HAVE_DLOPEN" to "1" Defined "HAVE_DRAND48" to "1" Defined "HAVE_SOCKET" to "1" Defined "HAVE_MEMMOVE" to "1" Defined "HAVE_SIGNAL" to "1" Defined "HAVE_POPEN" to "1" Defined "HAVE_GETRUSAGE" to "1" Defined "HAVE_TIMES" to "1" Defined "HAVE_TIME" to "1" Checking for functions [_sleep] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:24: undefined reference to `_sleep' Checking for functions [snprintf] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_SNPRINTF" to "1" Checking for functions [_getcwd] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:24: undefined reference to `_getcwd' Checking for functions [_lseek] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:24: undefined reference to `_lseek' Checking for functions [sleep] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_SLEEP" to "1" Checking for functions [_access] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:24: undefined reference to `_access' Checking for functions [lseek] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LSEEK" to "1" Checking for functions [access] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_ACCESS" to "1" Checking for functions [_snprintf] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:24: undefined reference to `_snprintf' Checking for functions [sbreak] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sbreak(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:24: undefined reference to `sbreak' Checking for functions [getcwd] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_GETCWD" to "1" Checking for functions [_set_output_format] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _set_output_format(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__set_output_format) || defined (__stub____set_output_format) _set_output_format_will_always_fail_with_ENOSYS(); #else _set_output_format(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:24: undefined reference to `_set_output_format' Checking for functions [PXFGETARG] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:24: undefined reference to `PXFGETARG' Checking for functions [_mkdir] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _mkdir(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:24: undefined reference to `_mkdir' Checking for functions [sysctlbyname] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysctlbyname(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sysctlbyname) || defined (__stub___sysctlbyname) sysctlbyname_will_always_fail_with_ENOSYS(); #else sysctlbyname(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:24: undefined reference to `sysctlbyname' Checking for functions [stricmp] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char stricmp(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.functions/conftest.o: In function `main': /tmp/petsc-pA4Uet/config.functions/conftest.c:24: undefined reference to `stricmp' ================================================================================ TEST configureMemorySize from config.utilities.getResidentSetSize(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/getResidentSetSize.py:31) TESTING: configureMemorySize from config.utilities.getResidentSetSize(config/BuildSystem/config/utilities/getResidentSetSize.py:31) Try to determine how to measure the memory usage Defined "USE_PROC_FOR_SIZE" to "1" Using /proc for PetscMemoryGetCurrentUsage() ================================================================================ TEST configureFortranCommandLine from config.utilities.fortranCommandLine(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/fortranCommandLine.py:27) TESTING: configureFortranCommandLine from config.utilities.fortranCommandLine(config/BuildSystem/config/utilities/fortranCommandLine.py:27) Check for the mechanism to retrieve command line arguments in Fortran Defined "HAVE_FORTRAN_GET_COMMAND_ARGUMENT" to "1" Pushing language FC Checking for functions [] in library [''] [] Pushing language FC Executing: ifort -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.libraries -fPIC -g /tmp/petsc-pA4Uet/config.libraries/conftest.F Successful compile: Source: program main integer i character*(80) arg i = command_argument_count() call get_command_argument(i,arg) end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language FC Popping language FC Pushing language C Defined "HAVE_GETARG" to "1" Defined "HAVE_PXFGETARG_NEW" to "1" Popping language C Checking for functions [get_command_argument_] in library [''] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char get_command_argument_(); static void _check_get_command_argument_() { get_command_argument_(); } int main() { _check_get_command_argument_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.o: In function `_check_get_command_argument_': /tmp/petsc-pA4Uet/config.libraries/conftest.c:5: undefined reference to `get_command_argument_' Popping language C Checking for functions [getarg_] in library [''] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char getarg_(); static void _check_getarg_() { getarg_(); } int main() { _check_getarg_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language C Pushing language C Popping language C Checking for functions [ipxfargc_] Executing: icc -c -o /tmp/petsc-pA4Uet/config.functions/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ipxfargc_(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_ipxfargc_) || defined (__stub___ipxfargc_) ipxfargc__will_always_fail_with_ENOSYS(); #else ipxfargc_(); #endif ; return 0; } Executing: icc -o /tmp/petsc-pA4Uet/config.functions/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.functions/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread Defined "HAVE_IPXFARGC_" to "1" ================================================================================ TEST configureFeatureTestMacros from config.utilities.featureTestMacros(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/featureTestMacros.py:13) TESTING: configureFeatureTestMacros from config.utilities.featureTestMacros(config/BuildSystem/config/utilities/featureTestMacros.py:13) Checks if certain feature test macros are support All intermediate test results are stored in /tmp/petsc-pA4Uet/config.utilities.featureTestMacros Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: exit code 1024 stderr: /tmp/petsc-pA4Uet/config.utilities.featureTestMacros/conftest.c(4): catastrophic error: cannot open source file "sysctl.h" #include ^ compilation aborted for /tmp/petsc-pA4Uet/config.utilities.featureTestMacros/conftest.c (code 4) Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #include int main() { ; return 0; } Defined "_BSD_SOURCE" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _DEFAULT_SOURCE #include int main() { ; return 0; } Defined "_DEFAULT_SOURCE" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { cpu_set_t mset; CPU_ZERO(&mset);; return 0; } Defined "_GNU_SOURCE" to "1" ================================================================================ TEST configureMissingDefines from config.utilities.missing(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/missing.py:57) TESTING: configureMissingDefines from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:57) Checks for limits All intermediate test results are stored in /tmp/petsc-pA4Uet/config.utilities.missing Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_LIMITS_H #include #endif int main() { int i=INT_MAX; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_FLOAT_H #include #endif int main() { double d=DBL_MAX; if (d); ; return 0; } ================================================================================ TEST configureMissingUtypeTypedefs from config.utilities.missing(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/missing.py:67) TESTING: configureMissingUtypeTypedefs from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:67) Checks if u_short is undefined Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { u_short foo; ; return 0; } ================================================================================ TEST configureMissingFunctions from config.utilities.missing(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/missing.py:73) TESTING: configureMissingFunctions from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:73) Checks for SOCKETS ================================================================================ TEST configureMissingSignals from config.utilities.missing(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/missing.py:93) TESTING: configureMissingSignals from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:93) Check for missing signals, and define MISSING_ if necessary Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGABRT; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGALRM; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGBUS; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCHLD; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCONT; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGFPE; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGHUP; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGILL; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGINT; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGKILL; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGPIPE; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGQUIT; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSEGV; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSTOP; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSYS; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTERM; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTRAP; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTSTP; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGURG; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR1; if (i); ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR2; if (i); ; return 0; } ================================================================================ TEST configureMissingGetdomainnamePrototype from config.utilities.missing(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/missing.py:110) TESTING: configureMissingGetdomainnamePrototype from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:110) Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.utilities.missing -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Pushing language CXX Popping language CXX Executing: icpc -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language Cxx ================================================================================ TEST configureMissingSrandPrototype from config.utilities.missing(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/missing.py:135) TESTING: configureMissingSrandPrototype from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:135) Executing: icc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_STDLIB_H #include #endif int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.utilities.missing -wd1572 -g -fPIC /tmp/petsc-pA4Uet/config.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_STDLIB_H #include #endif int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } Pushing language CXX Popping language CXX Executing: icpc -o /tmp/petsc-pA4Uet/config.utilities.missing/conftest -wd1572 -g /tmp/petsc-pA4Uet/config.utilities.missing/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language Cxx ================================================================================ TEST configureFPTrap from config.utilities.FPTrap(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/FPTrap.py:27) TESTING: configureFPTrap from config.utilities.FPTrap(config/BuildSystem/config/utilities/FPTrap.py:27) Checking the handling of floating point traps Checking for header: sigfpe.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "sigfpe.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "sigfpe.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "sigfpe.h" #include ^: Checking for header: fpxcp.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "fpxcp.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "fpxcp.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "fpxcp.h" #include ^: Checking for header: floatingpoint.h Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "floatingpoint.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "floatingpoint.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "floatingpoint.h" #include ^: ================================================================================ TEST configureMkdir from config.programs(/home/swong/Downloads/petsc/config/BuildSystem/config/programs.py:23) TESTING: configureMkdir from config.programs(config/BuildSystem/config/programs.py:23) Make sure we can have mkdir automatically make intermediate directories Checking for program /home/swong/anaconda2/bin/mkdir...not found Checking for program /home/swong/anaconda2/bin/mkdir...not found Checking for program /usr/lib64/qt-3.3/bin/mkdir...not found Checking for program /home/swong/perl5/bin/mkdir...not found Checking for program /usr/local/bin/mkdir...not found Checking for program /usr/local/sbin/mkdir...not found Checking for program /usr/bin/mkdir...found Executing: /usr/bin/mkdir -p .conftest/tmp Adding -p flag to /usr/bin/mkdir -p to automatically create directories Defined make macro "MKDIR" to "/usr/bin/mkdir -p" ================================================================================ TEST configureAutoreconf from config.programs(/home/swong/Downloads/petsc/config/BuildSystem/config/programs.py:45) TESTING: configureAutoreconf from config.programs(config/BuildSystem/config/programs.py:45) Check for autoreconf Checking for program /home/swong/anaconda2/bin/autoreconf...not found Checking for program /home/swong/anaconda2/bin/autoreconf...not found Checking for program /usr/lib64/qt-3.3/bin/autoreconf...not found Checking for program /home/swong/perl5/bin/autoreconf...not found Checking for program /usr/local/bin/autoreconf...not found Checking for program /usr/local/sbin/autoreconf...not found Checking for program /usr/bin/autoreconf...found All intermediate test results are stored in /tmp/petsc-pA4Uet/config.programs Executing: cd /tmp/petsc-pA4Uet/config.programs/autoconfdir&&/usr/bin/autoreconf autoreconf test successful! Checking for program /home/swong/anaconda2/bin/libtoolize...not found Checking for program /home/swong/anaconda2/bin/libtoolize...not found Checking for program /usr/lib64/qt-3.3/bin/libtoolize...not found Checking for program /home/swong/perl5/bin/libtoolize...not found Checking for program /usr/local/bin/libtoolize...not found Checking for program /usr/local/sbin/libtoolize...not found Checking for program /usr/bin/libtoolize...found ================================================================================ TEST configurePrograms from config.programs(/home/swong/Downloads/petsc/config/BuildSystem/config/programs.py:72) TESTING: configurePrograms from config.programs(config/BuildSystem/config/programs.py:72) Check for the programs needed to build and run PETSc Checking for program /home/swong/anaconda2/bin/sh...not found Checking for program /home/swong/anaconda2/bin/sh...not found Checking for program /usr/lib64/qt-3.3/bin/sh...not found Checking for program /home/swong/perl5/bin/sh...not found Checking for program /usr/local/bin/sh...not found Checking for program /usr/local/sbin/sh...not found Checking for program /usr/bin/sh...found Defined make macro "SHELL" to "/usr/bin/sh" Checking for program /home/swong/anaconda2/bin/sed...not found Checking for program /home/swong/anaconda2/bin/sed...not found Checking for program /usr/lib64/qt-3.3/bin/sed...not found Checking for program /home/swong/perl5/bin/sed...not found Checking for program /usr/local/bin/sed...not found Checking for program /usr/local/sbin/sed...not found Checking for program /usr/bin/sed...found Defined make macro "SED" to "/usr/bin/sed" Executing: /usr/bin/sed -i s/sed/sd/g "/tmp/petsc-pA4Uet/config.programs/sed1" Adding SEDINPLACE cmd: /usr/bin/sed -i Defined make macro "SEDINPLACE" to "/usr/bin/sed -i" Checking for program /home/swong/anaconda2/bin/mv...not found Checking for program /home/swong/anaconda2/bin/mv...not found Checking for program /usr/lib64/qt-3.3/bin/mv...not found Checking for program /home/swong/perl5/bin/mv...not found Checking for program /usr/local/bin/mv...not found Checking for program /usr/local/sbin/mv...not found Checking for program /usr/bin/mv...found Defined make macro "MV" to "/usr/bin/mv" Checking for program /home/swong/anaconda2/bin/cp...not found Checking for program /home/swong/anaconda2/bin/cp...not found Checking for program /usr/lib64/qt-3.3/bin/cp...not found Checking for program /home/swong/perl5/bin/cp...not found Checking for program /usr/local/bin/cp...not found Checking for program /usr/local/sbin/cp...not found Checking for program /usr/bin/cp...found Defined make macro "CP" to "/usr/bin/cp" Checking for program /home/swong/anaconda2/bin/grep...not found Checking for program /home/swong/anaconda2/bin/grep...not found Checking for program /usr/lib64/qt-3.3/bin/grep...not found Checking for program /home/swong/perl5/bin/grep...not found Checking for program /usr/local/bin/grep...not found Checking for program /usr/local/sbin/grep...not found Checking for program /usr/bin/grep...found Defined make macro "GREP" to "/usr/bin/grep" Checking for program /home/swong/anaconda2/bin/rm...not found Checking for program /home/swong/anaconda2/bin/rm...not found Checking for program /usr/lib64/qt-3.3/bin/rm...not found Checking for program /home/swong/perl5/bin/rm...not found Checking for program /usr/local/bin/rm...not found Checking for program /usr/local/sbin/rm...not found Checking for program /usr/bin/rm...found Defined make macro "RM" to "/usr/bin/rm -f" Checking for program /home/swong/anaconda2/bin/diff...not found Checking for program /home/swong/anaconda2/bin/diff...not found Checking for program /usr/lib64/qt-3.3/bin/diff...not found Checking for program /home/swong/perl5/bin/diff...not found Checking for program /usr/local/bin/diff...not found Checking for program /usr/local/sbin/diff...not found Checking for program /usr/bin/diff...found Executing: "/usr/bin/diff" -w "/tmp/petsc-pA4Uet/config.programs/diff1" "/tmp/petsc-pA4Uet/config.programs/diff2" Defined make macro "DIFF" to "/usr/bin/diff -w" Checking for program /usr/ucb/ps...not found Checking for program /usr/usb/ps...not found Checking for program /home/swong/ps...not found Checking for program /home/swong/Downloads/petsc/bin/win32fe/ps...not found Checking for program /home/swong/anaconda2/bin/gzip...not found Checking for program /home/swong/anaconda2/bin/gzip...not found Checking for program /usr/lib64/qt-3.3/bin/gzip...not found Checking for program /home/swong/perl5/bin/gzip...not found Checking for program /usr/local/bin/gzip...not found Checking for program /usr/local/sbin/gzip...not found Checking for program /usr/bin/gzip...found Defined make macro "GZIP" to "/usr/bin/gzip" Defined "HAVE_GZIP" to "1" Defined make macro "PYTHON" to "/home/swong/anaconda2/bin/python" ================================================================================ TEST configureMake from config.packages.make(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/make.py:83) TESTING: configureMake from config.packages.make(config/BuildSystem/config/packages/make.py:83) Check for user specified make - or gmake, make Checking for program /home/swong/anaconda2/bin/gmake...not found Checking for program /home/swong/anaconda2/bin/gmake...not found Checking for program /usr/lib64/qt-3.3/bin/gmake...not found Checking for program /home/swong/perl5/bin/gmake...not found Checking for program /usr/local/bin/gmake...not found Checking for program /usr/local/sbin/gmake...not found Checking for program /usr/bin/gmake...found Defined make macro "MAKE" to "/usr/bin/gmake" Executing: /usr/bin/gmake --version stdout: GNU Make 3.82 Built for x86_64-redhat-linux-gnu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ================================================================================ TEST configureCheckGNUMake from config.packages.make(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/make.py:120) TESTING: configureCheckGNUMake from config.packages.make(config/BuildSystem/config/packages/make.py:120) Setup other GNU make stuff Executing: /usr/bin/gmake --version stdout: GNU Make 3.82 Built for x86_64-redhat-linux-gnu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Defined make macro "MAKE_IS_GNUMAKE" to "1" Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC})" and code [] Defined make rule "libcxx" with dependencies "${LIBNAME}(${OBJSCXX})" and code [] Defined make rule "libcu" with dependencies "${LIBNAME}(${OBJSCU})" and code [] Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} ================================================================================ TEST configureMakeNP from config.packages.make(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/make.py:158) TESTING: configureMakeNP from config.packages.make(config/BuildSystem/config/packages/make.py:158) check no of cores on the build machine [perhaps to do make '-j ncores'] module multiprocessing found 32 cores: using make_np = 24 Defined make macro "MAKE_NP" to "24" Defined make macro "NPMAX" to "32" Defined make macro "OMAKE_PRINTDIR " to "/usr/bin/gmake --print-directory" Defined make macro "OMAKE" to "/usr/bin/gmake --no-print-directory" Defined make macro "MAKE_PAR_OUT_FLG" to "" ================================================================================ TEST alternateConfigureLibrary from config.packages.OpenMPI(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.OpenMPI(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default Executing: uname -s stdout: Linux Executing: uname -s stdout: Linux ================================================================================ TEST alternateConfigureLibrary from config.packages.MPICH(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.MPICH(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.MPI(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/MPI.py:292) TESTING: alternateConfigureLibrary from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:292) Setup MPIUNI, our uniprocessor version of MPI Defined "HAVE_MPIUNI" to "1" Defined make macro "MPI_IS_MPIUNI" to "1" Defined make macro "MPIEXEC" to "${PETSC_DIR}/bin/petsc-mpiexec.uni" Defined "HAVE_MPI_COMM_F2C" to "1" Defined "HAVE_MPI_COMM_C2F" to "1" Defined "HAVE_MPI_FINT" to "1" Defined "HAVE_MPI_IN_PLACE" to "1" Defined "MPI_Type_create_struct(count,lens,displs,types,newtype)" to "MPI_Type_struct((count),(lens),(displs),(types),(newtype))" Defined "MPI_Comm_create_errhandler(p_err_fun,p_errhandler)" to "MPI_Errhandler_create((p_err_fun),(p_errhandler))" Defined "MPI_Comm_set_errhandler(comm,p_errhandler)" to "MPI_Errhandler_set((comm),(p_errhandler))" Defined "MPIUNI_FORTRAN_BINDING" to "1" ================================================================================ TEST alternateConfigureLibrary from config.packages.tetgen(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.tetgen(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.yaml(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.yaml(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.ctetgen(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.ctetgen(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.sprng(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.sprng(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default Not a clone of PETSc, don't need Lgrind Pushing language C ================================================================================ TEST configureLibrary from config.packages.valgrind(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:679) TESTING: configureLibrary from config.packages.valgrind(config/BuildSystem/config/package.py:679) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional valgrind Not checking for library in Compiler specific search VALGRIND: [] because no functions given to check for ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names No functions to check for in library [] [] Checking for headers Compiler specific search VALGRIND: [] Pushing language C ================================================================================ TEST checkInclude from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['valgrind/valgrind.h'] in [] Checking include with compiler flags var CPPFLAGS [] Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "valgrind/valgrind.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "valgrind/valgrind.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "valgrind/valgrind.h" #include ^: Popping language C Not checking for library in Package specific search directory VALGRIND: [] because no functions given to check for ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names No functions to check for in library [] [] Checking for headers Package specific search directory VALGRIND: ['/usr/local/include'] Pushing language C ================================================================================ TEST checkInclude from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['valgrind/valgrind.h'] in ['/usr/local/include'] Checking include with compiler flags var CPPFLAGS ['/usr/local/include'] Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers -I/usr/local/include /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "valgrind/valgrind.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "valgrind/valgrind.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "valgrind/valgrind.h" #include ^: Popping language C Not checking for library in Package specific search directory VALGRIND: [] because no functions given to check for ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names No functions to check for in library [] [] Checking for headers Package specific search directory VALGRIND: ['/usr/local/include'] Pushing language C ================================================================================ TEST checkInclude from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['valgrind/valgrind.h'] in ['/usr/local/include'] Checking include with compiler flags var CPPFLAGS ['/usr/local/include'] Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers -I/usr/local/include /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 512 stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2stderr: /tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "valgrind/valgrind.h" #include ^ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "valgrind/valgrind.h" #include ^ : Preprocess stderr after filtering:/tmp/petsc-pA4Uet/config.headers/conftest.c(3): error #2379: cannot open source file "valgrind/valgrind.h" #include ^: Popping language C VALGRIND: SearchDir DirPath not found.. skipping: /opt/local Executing: uname -s stdout: Linux =============================================================================== It appears you do not have valgrind installed on your system. We HIGHLY recommend you install it from www.valgrind.org Or install valgrind-devel or equivalent using your package manager. Then rerun ./configure =============================================================================== Popping language C ================================================================================ TEST alternateConfigureLibrary from config.packages.pami(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.pami(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.concurrencykit(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.concurrencykit(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.PARTY(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.PARTY(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default Pushing language C ================================================================================ TEST configureLibrary from config.packages.ssl(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/ssl.py:27) TESTING: configureLibrary from config.packages.ssl(config/BuildSystem/config/packages/ssl.py:27) ================================================================================== Checking for a functional ssl Checking for library in Compiler specific search SSL: [] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [SSLv23_method] in library [] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char SSLv23_method(); static void _check_SSLv23_method() { SSLv23_method(); } int main() { _check_SSLv23_method();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.o: In function `_check_SSLv23_method': /tmp/petsc-pA4Uet/config.libraries/conftest.c:5: undefined reference to `SSLv23_method' Popping language C Checking for library in Compiler specific search SSL: ['libssl.a', 'libcrypto.a'] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [SSLv23_method] in library ['libssl.a', 'libcrypto.a'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char SSLv23_method(); static void _check_SSLv23_method() { SSLv23_method(); } int main() { _check_SSLv23_method();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -lssl -lcrypto -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LIBSSL" to "1" Defined "HAVE_LIBCRYPTO" to "1" Popping language C Checking for headers Compiler specific search SSL: [] Pushing language C ================================================================================ TEST checkInclude from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['openssl/ssl.h'] in [] Checking include with compiler flags var CPPFLAGS [] Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/openssl/ssl.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 118 "/usr/include/openssl/e_os2.h" 3 # 127 "/usr/include/openssl/e_os2.h" 3 # 139 "/usr/include/openssl/e_os2.h" 3 # 153 "/usr/include/openssl/e_os2.h" 3 # 194 "/usr/include/openssl/e_os2.h" 3 # 205 "/usr/include/openssl/e_os2.h" 3 # 221 "/usr/include/openssl/e_os2.h" 3 # 235 "/usr/include/openssl/e_os2.h" 3 # 269 "/usr/include/openssl/e_os2.h" 3 # 291 "/usr/include/openssl/e_os2.h" 3 # 147 "/usr/include/openssl/ssl.h" 2 3 # 1 "/usr/include/openssl/comp.h" 1 3 # 1 "/usr/include/openssl/crypto.h" 1 3 # 1 "/usr/include/stdlib.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 25 "/usr/include/stdlib.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 33 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitflags.h" 1 3 # 42 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitstatus.h" 1 3 # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 65 "/usr/include/bits/waitstatus.h" 2 3 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; # 83 "/usr/include/bits/waitstatus.h" 3 } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; # 96 "/usr/include/bits/waitstatus.h" 3 } __wait_stopped; }; # 43 "/usr/include/stdlib.h" 2 3 # 56 "/usr/include/stdlib.h" 3 typedef union { union wait *__uptr; int *__iptr; } __WAIT_STATUS __attribute__ ((__transparent_union__)); # 82 "/usr/include/stdlib.h" 3 # 94 "/usr/include/stdlib.h" 3 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 273 "/usr/include/stdlib.h" 3 extern __inline int __attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) { return (int) strtol (__nptr, (char **) ((void*)0), 10); } extern __inline long int __attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) { return strtol (__nptr, (char **) ((void*)0), 10); } __extension__ extern __inline long long int __attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) { return strtoll (__nptr, (char **) ((void*)0), 10); } extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 315 "/usr/include/stdlib.h" 2 3 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/alloca.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 25 "/usr/include/alloca.h" 2 3 extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); # 492 "/usr/include/stdlib.h" 2 3 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 529 "/usr/include/stdlib.h" 3 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); # 550 "/usr/include/stdlib.h" 3 extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 572 "/usr/include/stdlib.h" 3 extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 632 "/usr/include/stdlib.h" 3 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 655 "/usr/include/stdlib.h" 3 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 709 "/usr/include/stdlib.h" 3 extern int system (const char *__command) ; # 726 "/usr/include/stdlib.h" 3 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; typedef int (*__compar_fn_t) (const void *, const void *); # 750 "/usr/include/stdlib.h" 3 extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)) ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; # 931 "/usr/include/stdlib.h" 3 # 942 "/usr/include/stdlib.h" 3 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/stdlib-float.h" 1 3 extern __inline double __attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) { return strtod (__nptr, (char **) ((void*)0)); } # 952 "/usr/include/stdlib.h" 2 3 # 960 "/usr/include/stdlib.h" 3 # 121 "/usr/include/openssl/crypto.h" 2 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 123 "/usr/include/openssl/crypto.h" 2 3 # 1 "/usr/include/stdio.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 34 "/usr/include/stdio.h" 2 3 struct _IO_FILE; typedef struct _IO_FILE FILE; typedef struct _IO_FILE __FILE; # 1 "/usr/include/libio.h" 1 3 # 1 "/usr/include/_G_config.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 16 "/usr/include/_G_config.h" 2 3 # 1 "/usr/include/wchar.h" 1 3 # 78 "/usr/include/wchar.h" 3 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 894 "/usr/include/wchar.h" 3 # 21 "/usr/include/_G_config.h" 2 3 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 43 "/usr/include/_G_config.h" 3 # 33 "/usr/include/libio.h" 2 3 # 47 "/usr/include/libio.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdarg.h" 1 3 # 102 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdarg.h" 3 typedef __builtin_va_list va_list; typedef __builtin_va_list __gnuc_va_list; # 51 "/usr/include/libio.h" 2 3 # 77 "/usr/include/libio.h" 3 # 86 "/usr/include/libio.h" 3 # 112 "/usr/include/libio.h" 3 # 124 "/usr/include/libio.h" 3 # 143 "/usr/include/libio.h" 3 struct _IO_jump_t; struct _IO_FILE; # 155 "/usr/include/libio.h" 3 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 178 "/usr/include/libio.h" 3 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 245 "/usr/include/libio.h" 3 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 294 "/usr/include/libio.h" 3 __off64_t _offset; # 303 "/usr/include/libio.h" 3 void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 333 "/usr/include/libio.h" 3 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); # 385 "/usr/include/libio.h" 3 extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); # 417 "/usr/include/libio.h" 3 # 431 "/usr/include/libio.h" 3 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); # 464 "/usr/include/libio.h" 3 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); # 521 "/usr/include/libio.h" 3 # 75 "/usr/include/stdio.h" 2 3 typedef __gnuc_va_list va_list; # 86 "/usr/include/stdio.h" 3 # 100 "/usr/include/stdio.h" 3 typedef _G_fpos_t fpos_t; # 147 "/usr/include/stdio.h" 3 # 1 "/usr/include/bits/stdio_lim.h" 1 3 # 34 "/usr/include/bits/stdio_lim.h" 3 # 165 "/usr/include/stdio.h" 2 3 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern int renameat (int __oldfd, const char *__old, int __newfd, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern FILE *tmpfile (void) ; # 203 "/usr/include/stdio.h" 3 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *tempnam (const char *__dir, const char *__pfx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); extern int fflush_unlocked (FILE *__stream); # 264 "/usr/include/stdio.h" 3 extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; # 295 "/usr/include/stdio.h" 3 # 303 "/usr/include/stdio.h" 3 extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; # 316 "/usr/include/stdio.h" 3 extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ; extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int fprintf (FILE *__restrict __stream, const char *__restrict __format, ...); extern int printf (const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); # 409 "/usr/include/stdio.h" 3 extern int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) ; extern int scanf (const char *__restrict __format, ...) ; extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") ; extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") ; extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__)); # 462 "/usr/include/stdio.h" 3 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 521 "/usr/include/stdio.h" 3 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; extern char *gets (char *__s) __attribute__ ((__deprecated__)); # 652 "/usr/include/stdio.h" 3 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) ; extern int fputs (const char *__restrict __s, FILE *__restrict __stream); extern int puts (const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); # 729 "/usr/include/stdio.h" 3 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream); extern int fseeko (FILE *__stream, __off_t __off, int __whence); extern __off_t ftello (FILE *__stream) ; # 791 "/usr/include/stdio.h" 3 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, const fpos_t *__pos); # 815 "/usr/include/stdio.h" 3 # 823 "/usr/include/stdio.h" 3 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void perror (const char *__s); # 1 "/usr/include/bits/sys_errlist.h" 1 3 extern int sys_nerr; extern const char *const sys_errlist[]; # 854 "/usr/include/stdio.h" 2 3 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *popen (const char *__command, const char *__modes) ; extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); # 907 "/usr/include/stdio.h" 3 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); # 930 "/usr/include/stdio.h" 3 # 1 "/usr/include/bits/stdio.h" 1 3 extern __inline int vprintf (const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } extern __inline int getchar (void) { return _IO_getc (stdin); } extern __inline int fgetc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getchar_unlocked (void) { return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline int putchar (int __c) { return _IO_putc (__c, stdout); } extern __inline int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putchar_unlocked (int __c) { return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } # 120 "/usr/include/bits/stdio.h" 3 extern __inline int __attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x10) != 0); } extern __inline int __attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x20) != 0); } # 167 "/usr/include/bits/stdio.h" 3 # 188 "/usr/include/bits/stdio.h" 3 # 935 "/usr/include/stdio.h" 2 3 # 942 "/usr/include/stdio.h" 3 # 126 "/usr/include/openssl/crypto.h" 2 3 # 1 "/usr/include/openssl/stack.h" 1 3 typedef struct stack_st { int num; char **data; int sorted; int num_alloc; int (*comp)(const void *, const void *); } _STACK; int sk_num(const _STACK *); void *sk_value(const _STACK *, int); void *sk_set(_STACK *, int, void *); _STACK *sk_new(int (*cmp)(const void *, const void *)); _STACK *sk_new_null(void); void sk_free(_STACK *); void sk_pop_free(_STACK *st, void (*func)(void *)); int sk_insert(_STACK *sk, void *data, int where); void *sk_delete(_STACK *st, int loc); void *sk_delete_ptr(_STACK *st, void *p); int sk_find(_STACK *st, void *data); int sk_find_ex(_STACK *st, void *data); int sk_push(_STACK *st, void *data); int sk_unshift(_STACK *st, void *data); void *sk_shift(_STACK *st); void *sk_pop(_STACK *st); void sk_zero(_STACK *st); int (*sk_set_cmp_func(_STACK *sk, int (*c)(const void *, const void *))) (const void *, const void *); _STACK *sk_dup(_STACK *st); void sk_sort(_STACK *st); int sk_is_sorted(const _STACK *st); # 129 "/usr/include/openssl/crypto.h" 2 3 # 1 "/usr/include/openssl/safestack.h" 1 3 # 96 "/usr/include/openssl/safestack.h" 3 typedef char *OPENSSL_STRING; typedef const char *OPENSSL_CSTRING; struct stack_st_OPENSSL_STRING { _STACK stack; }; typedef void *OPENSSL_BLOCK; struct stack_st_OPENSSL_BLOCK { _STACK stack; }; # 180 "/usr/include/openssl/safestack.h" 3 # 188 "/usr/include/openssl/safestack.h" 3 # 229 "/usr/include/openssl/safestack.h" 3 # 251 "/usr/include/openssl/safestack.h" 3 # 273 "/usr/include/openssl/safestack.h" 3 # 295 "/usr/include/openssl/safestack.h" 3 # 317 "/usr/include/openssl/safestack.h" 3 # 339 "/usr/include/openssl/safestack.h" 3 # 361 "/usr/include/openssl/safestack.h" 3 # 383 "/usr/include/openssl/safestack.h" 3 # 405 "/usr/include/openssl/safestack.h" 3 # 427 "/usr/include/openssl/safestack.h" 3 # 449 "/usr/include/openssl/safestack.h" 3 # 471 "/usr/include/openssl/safestack.h" 3 # 493 "/usr/include/openssl/safestack.h" 3 # 515 "/usr/include/openssl/safestack.h" 3 # 537 "/usr/include/openssl/safestack.h" 3 # 559 "/usr/include/openssl/safestack.h" 3 # 581 "/usr/include/openssl/safestack.h" 3 # 603 "/usr/include/openssl/safestack.h" 3 # 625 "/usr/include/openssl/safestack.h" 3 # 647 "/usr/include/openssl/safestack.h" 3 # 669 "/usr/include/openssl/safestack.h" 3 # 691 "/usr/include/openssl/safestack.h" 3 # 713 "/usr/include/openssl/safestack.h" 3 # 735 "/usr/include/openssl/safestack.h" 3 # 757 "/usr/include/openssl/safestack.h" 3 # 779 "/usr/include/openssl/safestack.h" 3 # 801 "/usr/include/openssl/safestack.h" 3 # 823 "/usr/include/openssl/safestack.h" 3 # 845 "/usr/include/openssl/safestack.h" 3 # 867 "/usr/include/openssl/safestack.h" 3 # 889 "/usr/include/openssl/safestack.h" 3 # 911 "/usr/include/openssl/safestack.h" 3 # 933 "/usr/include/openssl/safestack.h" 3 # 955 "/usr/include/openssl/safestack.h" 3 # 977 "/usr/include/openssl/safestack.h" 3 # 999 "/usr/include/openssl/safestack.h" 3 # 1021 "/usr/include/openssl/safestack.h" 3 # 1043 "/usr/include/openssl/safestack.h" 3 # 1065 "/usr/include/openssl/safestack.h" 3 # 1087 "/usr/include/openssl/safestack.h" 3 # 1109 "/usr/include/openssl/safestack.h" 3 # 1131 "/usr/include/openssl/safestack.h" 3 # 1153 "/usr/include/openssl/safestack.h" 3 # 1175 "/usr/include/openssl/safestack.h" 3 # 1197 "/usr/include/openssl/safestack.h" 3 # 1219 "/usr/include/openssl/safestack.h" 3 # 1241 "/usr/include/openssl/safestack.h" 3 # 1263 "/usr/include/openssl/safestack.h" 3 # 1285 "/usr/include/openssl/safestack.h" 3 # 1307 "/usr/include/openssl/safestack.h" 3 # 1329 "/usr/include/openssl/safestack.h" 3 # 1351 "/usr/include/openssl/safestack.h" 3 # 1373 "/usr/include/openssl/safestack.h" 3 # 1395 "/usr/include/openssl/safestack.h" 3 # 1417 "/usr/include/openssl/safestack.h" 3 # 1439 "/usr/include/openssl/safestack.h" 3 # 1461 "/usr/include/openssl/safestack.h" 3 # 1483 "/usr/include/openssl/safestack.h" 3 # 1505 "/usr/include/openssl/safestack.h" 3 # 1527 "/usr/include/openssl/safestack.h" 3 # 1549 "/usr/include/openssl/safestack.h" 3 # 1571 "/usr/include/openssl/safestack.h" 3 # 1593 "/usr/include/openssl/safestack.h" 3 # 1615 "/usr/include/openssl/safestack.h" 3 # 1637 "/usr/include/openssl/safestack.h" 3 # 1659 "/usr/include/openssl/safestack.h" 3 # 1681 "/usr/include/openssl/safestack.h" 3 # 1703 "/usr/include/openssl/safestack.h" 3 # 1725 "/usr/include/openssl/safestack.h" 3 # 1747 "/usr/include/openssl/safestack.h" 3 # 1769 "/usr/include/openssl/safestack.h" 3 # 1791 "/usr/include/openssl/safestack.h" 3 # 1813 "/usr/include/openssl/safestack.h" 3 # 1835 "/usr/include/openssl/safestack.h" 3 # 1857 "/usr/include/openssl/safestack.h" 3 # 1879 "/usr/include/openssl/safestack.h" 3 # 1901 "/usr/include/openssl/safestack.h" 3 # 1923 "/usr/include/openssl/safestack.h" 3 # 1945 "/usr/include/openssl/safestack.h" 3 # 1967 "/usr/include/openssl/safestack.h" 3 # 1989 "/usr/include/openssl/safestack.h" 3 # 2011 "/usr/include/openssl/safestack.h" 3 # 2033 "/usr/include/openssl/safestack.h" 3 # 2055 "/usr/include/openssl/safestack.h" 3 # 2077 "/usr/include/openssl/safestack.h" 3 # 2099 "/usr/include/openssl/safestack.h" 3 # 2121 "/usr/include/openssl/safestack.h" 3 # 2145 "/usr/include/openssl/safestack.h" 3 # 2170 "/usr/include/openssl/safestack.h" 3 # 2195 "/usr/include/openssl/safestack.h" 3 # 2205 "/usr/include/openssl/safestack.h" 3 # 2214 "/usr/include/openssl/safestack.h" 3 # 2223 "/usr/include/openssl/safestack.h" 3 # 2232 "/usr/include/openssl/safestack.h" 3 # 2241 "/usr/include/openssl/safestack.h" 3 # 2250 "/usr/include/openssl/safestack.h" 3 # 2259 "/usr/include/openssl/safestack.h" 3 # 2268 "/usr/include/openssl/safestack.h" 3 # 2277 "/usr/include/openssl/safestack.h" 3 # 2286 "/usr/include/openssl/safestack.h" 3 # 2295 "/usr/include/openssl/safestack.h" 3 # 2304 "/usr/include/openssl/safestack.h" 3 # 2313 "/usr/include/openssl/safestack.h" 3 # 2322 "/usr/include/openssl/safestack.h" 3 # 2331 "/usr/include/openssl/safestack.h" 3 # 2340 "/usr/include/openssl/safestack.h" 3 # 2349 "/usr/include/openssl/safestack.h" 3 # 2358 "/usr/include/openssl/safestack.h" 3 # 2367 "/usr/include/openssl/safestack.h" 3 # 2376 "/usr/include/openssl/safestack.h" 3 # 2385 "/usr/include/openssl/safestack.h" 3 # 2394 "/usr/include/openssl/safestack.h" 3 # 2403 "/usr/include/openssl/safestack.h" 3 # 2412 "/usr/include/openssl/safestack.h" 3 # 2421 "/usr/include/openssl/safestack.h" 3 # 2445 "/usr/include/openssl/safestack.h" 3 # 2463 "/usr/include/openssl/safestack.h" 3 # 2481 "/usr/include/openssl/safestack.h" 3 # 2499 "/usr/include/openssl/safestack.h" 3 # 2517 "/usr/include/openssl/safestack.h" 3 # 2535 "/usr/include/openssl/safestack.h" 3 # 2553 "/usr/include/openssl/safestack.h" 3 # 2571 "/usr/include/openssl/safestack.h" 3 # 2589 "/usr/include/openssl/safestack.h" 3 # 2607 "/usr/include/openssl/safestack.h" 3 # 2625 "/usr/include/openssl/safestack.h" 3 # 2643 "/usr/include/openssl/safestack.h" 3 # 2661 "/usr/include/openssl/safestack.h" 3 # 130 "/usr/include/openssl/crypto.h" 2 3 # 1 "/usr/include/openssl/opensslv.h" 1 3 # 35 "/usr/include/openssl/opensslv.h" 3 # 131 "/usr/include/openssl/crypto.h" 2 3 # 1 "/usr/include/openssl/ossl_typ.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 59 "/usr/include/openssl/ossl_typ.h" 2 3 # 79 "/usr/include/openssl/ossl_typ.h" 3 typedef struct asn1_string_st ASN1_INTEGER; typedef struct asn1_string_st ASN1_ENUMERATED; typedef struct asn1_string_st ASN1_BIT_STRING; typedef struct asn1_string_st ASN1_OCTET_STRING; typedef struct asn1_string_st ASN1_PRINTABLESTRING; typedef struct asn1_string_st ASN1_T61STRING; typedef struct asn1_string_st ASN1_IA5STRING; typedef struct asn1_string_st ASN1_GENERALSTRING; typedef struct asn1_string_st ASN1_UNIVERSALSTRING; typedef struct asn1_string_st ASN1_BMPSTRING; typedef struct asn1_string_st ASN1_UTCTIME; typedef struct asn1_string_st ASN1_TIME; typedef struct asn1_string_st ASN1_GENERALIZEDTIME; typedef struct asn1_string_st ASN1_VISIBLESTRING; typedef struct asn1_string_st ASN1_UTF8STRING; typedef struct asn1_string_st ASN1_STRING; typedef int ASN1_BOOLEAN; typedef int ASN1_NULL; typedef struct ASN1_ITEM_st ASN1_ITEM; typedef struct asn1_pctx_st ASN1_PCTX; # 110 "/usr/include/openssl/ossl_typ.h" 3 typedef struct bignum_st BIGNUM; typedef struct bignum_ctx BN_CTX; typedef struct bn_blinding_st BN_BLINDING; typedef struct bn_mont_ctx_st BN_MONT_CTX; typedef struct bn_recp_ctx_st BN_RECP_CTX; typedef struct bn_gencb_st BN_GENCB; typedef struct buf_mem_st BUF_MEM; typedef struct evp_cipher_st EVP_CIPHER; typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; typedef struct env_md_st EVP_MD; typedef struct env_md_ctx_st EVP_MD_CTX; typedef struct evp_pkey_st EVP_PKEY; typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD; typedef struct evp_pkey_method_st EVP_PKEY_METHOD; typedef struct evp_pkey_ctx_st EVP_PKEY_CTX; typedef struct dh_st DH; typedef struct dh_method DH_METHOD; typedef struct dsa_st DSA; typedef struct dsa_method DSA_METHOD; typedef struct rsa_st RSA; typedef struct rsa_meth_st RSA_METHOD; typedef struct rand_meth_st RAND_METHOD; typedef struct ecdh_method ECDH_METHOD; typedef struct ecdsa_method ECDSA_METHOD; typedef struct x509_st X509; typedef struct X509_algor_st X509_ALGOR; typedef struct X509_crl_st X509_CRL; typedef struct x509_crl_method_st X509_CRL_METHOD; typedef struct x509_revoked_st X509_REVOKED; typedef struct X509_name_st X509_NAME; typedef struct X509_pubkey_st X509_PUBKEY; typedef struct x509_store_st X509_STORE; typedef struct x509_store_ctx_st X509_STORE_CTX; typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO; typedef struct v3_ext_ctx X509V3_CTX; typedef struct conf_st CONF; typedef struct store_st STORE; typedef struct store_method_st STORE_METHOD; typedef struct ui_st UI; typedef struct ui_method_st UI_METHOD; typedef struct st_ERR_FNS ERR_FNS; typedef struct engine_st ENGINE; typedef struct ssl_st SSL; typedef struct ssl_ctx_st SSL_CTX; typedef struct X509_POLICY_NODE_st X509_POLICY_NODE; typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL; typedef struct X509_POLICY_TREE_st X509_POLICY_TREE; typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE; typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID; typedef struct DIST_POINT_st DIST_POINT; typedef struct ISSUING_DIST_POINT_st ISSUING_DIST_POINT; typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS; typedef struct crypto_ex_data_st CRYPTO_EX_DATA; typedef int CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp); typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp); typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d, int idx, long argl, void *argp); typedef struct ocsp_req_ctx_st OCSP_REQ_CTX; typedef struct ocsp_response_st OCSP_RESPONSE; typedef struct ocsp_responder_id_st OCSP_RESPID; # 132 "/usr/include/openssl/crypto.h" 2 3 # 1 "/usr/include/openssl/symhacks.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 59 "/usr/include/openssl/symhacks.h" 2 3 # 435 "/usr/include/openssl/symhacks.h" 3 # 473 "/usr/include/openssl/symhacks.h" 3 # 140 "/usr/include/openssl/crypto.h" 2 3 # 169 "/usr/include/openssl/crypto.h" 3 typedef struct openssl_item_st { int code; void *value; size_t value_size; size_t *value_length; } OPENSSL_ITEM; # 225 "/usr/include/openssl/crypto.h" 3 # 251 "/usr/include/openssl/crypto.h" 3 typedef struct { int references; struct CRYPTO_dynlock_value *data; } CRYPTO_dynlock; typedef struct bio_st BIO_dummy; struct crypto_ex_data_st { struct stack_st_void *sk; int dummy; }; struct stack_st_void { _STACK stack; }; typedef struct crypto_ex_data_func_st { long argl; void *argp; CRYPTO_EX_new *new_func; CRYPTO_EX_free *free_func; CRYPTO_EX_dup *dup_func; } CRYPTO_EX_DATA_FUNCS; struct stack_st_CRYPTO_EX_DATA_FUNCS { _STACK stack; }; # 326 "/usr/include/openssl/crypto.h" 3 # 355 "/usr/include/openssl/crypto.h" 3 int CRYPTO_mem_ctrl(int mode); int CRYPTO_is_mem_check_on(void); # 378 "/usr/include/openssl/crypto.h" 3 const char *SSLeay_version(int type); unsigned long SSLeay(void); int OPENSSL_issetugid(void); typedef struct st_CRYPTO_EX_DATA_IMPL CRYPTO_EX_DATA_IMPL; const CRYPTO_EX_DATA_IMPL *CRYPTO_get_ex_data_implementation(void); int CRYPTO_set_ex_data_implementation(const CRYPTO_EX_DATA_IMPL *i); int CRYPTO_ex_data_new_class(void); int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad); int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from); void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad); int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val); void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad,int idx); void CRYPTO_cleanup_all_ex_data(void); int CRYPTO_get_new_lockid(char *name); int CRYPTO_num_locks(void); void CRYPTO_lock(int mode, int type,const char *file,int line); void CRYPTO_set_locking_callback(void (*func)(int mode,int type, const char *file,int line)); void (*CRYPTO_get_locking_callback(void))(int mode,int type,const char *file, int line); void CRYPTO_set_add_lock_callback(int (*func)(int *num,int mount,int type, const char *file, int line)); int (*CRYPTO_get_add_lock_callback(void))(int *num,int mount,int type, const char *file,int line); typedef struct crypto_threadid_st { void *ptr; unsigned long val; } CRYPTO_THREADID; void CRYPTO_THREADID_set_numeric(CRYPTO_THREADID *id, unsigned long val); void CRYPTO_THREADID_set_pointer(CRYPTO_THREADID *id, void *ptr); int CRYPTO_THREADID_set_callback(void (*threadid_func)(CRYPTO_THREADID *)); void (*CRYPTO_THREADID_get_callback(void))(CRYPTO_THREADID *); void CRYPTO_THREADID_current(CRYPTO_THREADID *id); int CRYPTO_THREADID_cmp(const CRYPTO_THREADID *a, const CRYPTO_THREADID *b); void CRYPTO_THREADID_cpy(CRYPTO_THREADID *dest, const CRYPTO_THREADID *src); unsigned long CRYPTO_THREADID_hash(const CRYPTO_THREADID *id); void CRYPTO_set_id_callback(unsigned long (*func)(void)); unsigned long (*CRYPTO_get_id_callback(void))(void); unsigned long CRYPTO_thread_id(void); const char *CRYPTO_get_lock_name(int type); int CRYPTO_add_lock(int *pointer,int amount,int type, const char *file, int line); int CRYPTO_get_new_dynlockid(void); void CRYPTO_destroy_dynlockid(int i); struct CRYPTO_dynlock_value *CRYPTO_get_dynlock_value(int i); void CRYPTO_set_dynlock_create_callback(struct CRYPTO_dynlock_value *(*dyn_create_function)(const char *file, int line)); void CRYPTO_set_dynlock_lock_callback(void (*dyn_lock_function)(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)); void CRYPTO_set_dynlock_destroy_callback(void (*dyn_destroy_function)(struct CRYPTO_dynlock_value *l, const char *file, int line)); struct CRYPTO_dynlock_value *(*CRYPTO_get_dynlock_create_callback(void))(const char *file,int line); void (*CRYPTO_get_dynlock_lock_callback(void))(int mode, struct CRYPTO_dynlock_value *l, const char *file,int line); void (*CRYPTO_get_dynlock_destroy_callback(void))(struct CRYPTO_dynlock_value *l, const char *file,int line); int CRYPTO_set_mem_functions(void *(*m)(size_t),void *(*r)(void *,size_t), void (*f)(void *)); int CRYPTO_set_locked_mem_functions(void *(*m)(size_t), void (*free_func)(void *)); int CRYPTO_set_mem_ex_functions(void *(*m)(size_t,const char *,int), void *(*r)(void *,size_t,const char *,int), void (*f)(void *)); int CRYPTO_set_locked_mem_ex_functions(void *(*m)(size_t,const char *,int), void (*free_func)(void *)); int CRYPTO_set_mem_debug_functions(void (*m)(void *,int,const char *,int,int), void (*r)(void *,void *,int,const char *,int,int), void (*f)(void *,int), void (*so)(long), long (*go)(void)); void CRYPTO_get_mem_functions(void *(**m)(size_t),void *(**r)(void *, size_t), void (**f)(void *)); void CRYPTO_get_locked_mem_functions(void *(**m)(size_t), void (**f)(void *)); void CRYPTO_get_mem_ex_functions(void *(**m)(size_t,const char *,int), void *(**r)(void *, size_t,const char *,int), void (**f)(void *)); void CRYPTO_get_locked_mem_ex_functions(void *(**m)(size_t,const char *,int), void (**f)(void *)); void CRYPTO_get_mem_debug_functions(void (**m)(void *,int,const char *,int,int), void (**r)(void *,void *,int,const char *,int,int), void (**f)(void *,int), void (**so)(long), long (**go)(void)); void *CRYPTO_malloc_locked(int num, const char *file, int line); void CRYPTO_free_locked(void *ptr); void *CRYPTO_malloc(int num, const char *file, int line); char *CRYPTO_strdup(const char *str, const char *file, int line); void CRYPTO_free(void *ptr); void *CRYPTO_realloc(void *addr,int num, const char *file, int line); void *CRYPTO_realloc_clean(void *addr,int old_num,int num,const char *file, int line); void *CRYPTO_remalloc(void *addr,int num, const char *file, int line); void OPENSSL_cleanse(void *ptr, size_t len); void CRYPTO_set_mem_debug_options(long bits); long CRYPTO_get_mem_debug_options(void); int CRYPTO_push_info_(const char *info, const char *file, int line); int CRYPTO_pop_info(void); int CRYPTO_remove_all_info(void); void CRYPTO_dbg_malloc(void *addr,int num,const char *file,int line,int before_p); void CRYPTO_dbg_realloc(void *addr1,void *addr2,int num,const char *file,int line,int before_p); void CRYPTO_dbg_free(void *addr,int before_p); void CRYPTO_dbg_set_options(long bits); long CRYPTO_dbg_get_options(void); void CRYPTO_mem_leaks_fp(FILE *); void CRYPTO_mem_leaks(struct bio_st *bio); typedef void *CRYPTO_MEM_LEAK_CB(unsigned long, const char *, int, int, void *); void CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb); void OpenSSLDie(const char *file,int line,const char *assertion); unsigned long *OPENSSL_ia32cap_loc(void); int OPENSSL_isservice(void); int FIPS_mode(void); int FIPS_mode_set(int r); void OPENSSL_init(void); # 569 "/usr/include/openssl/crypto.h" 3 void FIPS_selftest_check(void); int CRYPTO_memcmp(const void *a, const void *b, size_t len); void ERR_load_CRYPTO_strings(void); void OPENSSL_init_library(void); # 611 "/usr/include/openssl/crypto.h" 3 # 6 "/usr/include/openssl/comp.h" 2 3 typedef struct comp_ctx_st COMP_CTX; typedef struct comp_method_st { int type; const char *name; int (*init)(COMP_CTX *ctx); void (*finish)(COMP_CTX *ctx); int (*compress)(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen); int (*expand)(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen); long (*ctrl)(void); long (*callback_ctrl)(void); } COMP_METHOD; struct comp_ctx_st { COMP_METHOD *meth; unsigned long compress_in; unsigned long compress_out; unsigned long expand_in; unsigned long expand_out; CRYPTO_EX_DATA ex_data; }; COMP_CTX *COMP_CTX_new(COMP_METHOD *meth); void COMP_CTX_free(COMP_CTX *ctx); int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, unsigned char *in, int ilen); int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, unsigned char *in, int ilen); COMP_METHOD *COMP_rle(void ); COMP_METHOD *COMP_zlib(void ); void COMP_zlib_cleanup(void); void ERR_load_COMP_strings(void); # 150 "/usr/include/openssl/ssl.h" 2 3 # 1 "/usr/include/openssl/bio.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 63 "/usr/include/openssl/bio.h" 2 3 # 78 "/usr/include/openssl/bio.h" 3 # 111 "/usr/include/openssl/bio.h" 3 # 136 "/usr/include/openssl/bio.h" 3 # 151 "/usr/include/openssl/bio.h" 3 # 166 "/usr/include/openssl/bio.h" 3 # 192 "/usr/include/openssl/bio.h" 3 # 205 "/usr/include/openssl/bio.h" 3 typedef struct bio_st BIO; void BIO_set_flags(BIO *b, int flags); int BIO_test_flags(const BIO *b, int flags); void BIO_clear_flags(BIO *b, int flags); # 244 "/usr/include/openssl/bio.h" 3 # 277 "/usr/include/openssl/bio.h" 3 long (*BIO_get_callback(const BIO *b)) (struct bio_st *,int,const char *,int, long,long); void BIO_set_callback(BIO *b, long (*callback)(struct bio_st *,int,const char *,int, long,long)); char *BIO_get_callback_arg(const BIO *b); void BIO_set_callback_arg(BIO *b, char *arg); const char * BIO_method_name(const BIO *b); int BIO_method_type(const BIO *b); typedef void bio_info_cb(struct bio_st *, int, const char *, int, long, long); typedef struct bio_method_st { int type; const char *name; int (*bwrite)(BIO *, const char *, int); int (*bread)(BIO *, char *, int); int (*bputs)(BIO *, const char *); int (*bgets)(BIO *, char *, int); long (*ctrl)(BIO *, int, long, void *); int (*create)(BIO *); int (*destroy)(BIO *); long (*callback_ctrl)(BIO *, int, bio_info_cb *); } BIO_METHOD; struct bio_st { BIO_METHOD *method; long (*callback)(struct bio_st *,int,const char *,int, long,long); char *cb_arg; int init; int shutdown; int flags; int retry_reason; int num; void *ptr; struct bio_st *next_bio; struct bio_st *prev_bio; int references; unsigned long num_read; unsigned long num_write; CRYPTO_EX_DATA ex_data; }; struct stack_st_BIO { _STACK stack; }; typedef struct bio_f_buffer_ctx_struct { int ibuf_size; int obuf_size; char *ibuf; int ibuf_len; int ibuf_off; char *obuf; int obuf_len; int obuf_off; } BIO_F_BUFFER_CTX; typedef int asn1_ps_func(BIO *b, unsigned char **pbuf, int *plen, void *parg); # 388 "/usr/include/openssl/bio.h" 3 # 398 "/usr/include/openssl/bio.h" 3 # 436 "/usr/include/openssl/bio.h" 3 # 450 "/usr/include/openssl/bio.h" 3 # 471 "/usr/include/openssl/bio.h" 3 # 533 "/usr/include/openssl/bio.h" 3 # 547 "/usr/include/openssl/bio.h" 3 # 573 "/usr/include/openssl/bio.h" 3 size_t BIO_ctrl_pending(BIO *b); size_t BIO_ctrl_wpending(BIO *b); size_t BIO_ctrl_get_write_guarantee(BIO *b); size_t BIO_ctrl_get_read_request(BIO *b); int BIO_ctrl_reset_read_request(BIO *b); # 610 "/usr/include/openssl/bio.h" 3 int BIO_set_ex_data(BIO *bio,int idx,void *data); void *BIO_get_ex_data(BIO *bio,int idx); int BIO_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); unsigned long BIO_number_read(BIO *bio); unsigned long BIO_number_written(BIO *bio); int BIO_asn1_set_prefix(BIO *b, asn1_ps_func *prefix, asn1_ps_func *prefix_free); int BIO_asn1_get_prefix(BIO *b, asn1_ps_func **pprefix, asn1_ps_func **pprefix_free); int BIO_asn1_set_suffix(BIO *b, asn1_ps_func *suffix, asn1_ps_func *suffix_free); int BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix, asn1_ps_func **psuffix_free); BIO_METHOD *BIO_s_file(void ); BIO *BIO_new_file(const char *filename, const char *mode); BIO *BIO_new_fp(FILE *stream, int close_flag); BIO * BIO_new(BIO_METHOD *type); int BIO_set(BIO *a,BIO_METHOD *type); int BIO_free(BIO *a); void BIO_vfree(BIO *a); int BIO_read(BIO *b, void *data, int len); int BIO_gets(BIO *bp,char *buf, int size); int BIO_write(BIO *b, const void *data, int len); int BIO_puts(BIO *bp,const char *buf); int BIO_indent(BIO *b,int indent,int max); long BIO_ctrl(BIO *bp,int cmd,long larg,void *parg); long BIO_callback_ctrl(BIO *b, int cmd, void (*fp)(struct bio_st *, int, const char *, int, long, long)); char * BIO_ptr_ctrl(BIO *bp,int cmd,long larg); long BIO_int_ctrl(BIO *bp,int cmd,long larg,int iarg); BIO * BIO_push(BIO *b,BIO *append); BIO * BIO_pop(BIO *b); void BIO_free_all(BIO *a); BIO * BIO_find_type(BIO *b,int bio_type); BIO * BIO_next(BIO *b); BIO * BIO_get_retry_BIO(BIO *bio, int *reason); int BIO_get_retry_reason(BIO *bio); BIO * BIO_dup_chain(BIO *in); int BIO_nread0(BIO *bio, char **buf); int BIO_nread(BIO *bio, char **buf, int num); int BIO_nwrite0(BIO *bio, char **buf); int BIO_nwrite(BIO *bio, char **buf, int num); long BIO_debug_callback(BIO *bio,int cmd,const char *argp,int argi, long argl,long ret); BIO_METHOD *BIO_s_mem(void); BIO *BIO_new_mem_buf(void *buf, int len); BIO_METHOD *BIO_s_socket(void); BIO_METHOD *BIO_s_connect(void); BIO_METHOD *BIO_s_accept(void); BIO_METHOD *BIO_s_fd(void); BIO_METHOD *BIO_s_log(void); BIO_METHOD *BIO_s_bio(void); BIO_METHOD *BIO_s_null(void); BIO_METHOD *BIO_f_null(void); BIO_METHOD *BIO_f_buffer(void); BIO_METHOD *BIO_f_nbio_test(void); BIO_METHOD *BIO_s_datagram(void); int BIO_sock_should_retry(int i); int BIO_sock_non_fatal_error(int error); int BIO_dgram_non_fatal_error(int error); int BIO_fd_should_retry(int i); int BIO_fd_non_fatal_error(int error); int BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u), void *u, const char *s, int len); int BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u), void *u, const char *s, int len, int indent); int BIO_dump(BIO *b,const char *bytes,int len); int BIO_dump_indent(BIO *b,const char *bytes,int len,int indent); int BIO_dump_fp(FILE *fp, const char *s, int len); int BIO_dump_indent_fp(FILE *fp, const char *s, int len, int indent); struct hostent *BIO_gethostbyname(const char *name); int BIO_sock_error(int sock); int BIO_socket_ioctl(int fd, long type, void *arg); int BIO_socket_nbio(int fd,int mode); int BIO_get_port(const char *str, unsigned short *port_ptr); int BIO_get_host_ip(const char *str, unsigned char *ip); int BIO_get_accept_socket(char *host_port,int mode); int BIO_accept(int sock,char **ip_port); int BIO_sock_init(void ); void BIO_sock_cleanup(void); int BIO_set_tcp_ndelay(int sock,int turn_on); BIO *BIO_new_socket(int sock, int close_flag); BIO *BIO_new_dgram(int fd, int close_flag); # 740 "/usr/include/openssl/bio.h" 3 BIO *BIO_new_fd(int fd, int close_flag); BIO *BIO_new_connect(char *host_port); BIO *BIO_new_accept(char *host_port); int BIO_new_bio_pair(BIO **bio1, size_t writebuf1, BIO **bio2, size_t writebuf2); void BIO_copy_next_retry(BIO *b); int BIO_printf(BIO *bio, const char *format, ...) __attribute__((__format__(__printf__,2,3))); int BIO_vprintf(BIO *bio, const char *format, va_list args) __attribute__((__format__(__printf__,2,0))); int BIO_snprintf(char *buf, size_t n, const char *format, ...) __attribute__((__format__(__printf__,3,4))); int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args) __attribute__((__format__(__printf__,3,0))); void ERR_load_BIO_strings(void); # 812 "/usr/include/openssl/bio.h" 3 # 843 "/usr/include/openssl/bio.h" 3 # 153 "/usr/include/openssl/ssl.h" 2 3 # 1 "/usr/include/openssl/x509.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 68 "/usr/include/openssl/x509.h" 2 3 # 1 "/usr/include/openssl/buffer.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 69 "/usr/include/openssl/buffer.h" 2 3 struct buf_mem_st { size_t length; char *data; size_t max; }; BUF_MEM *BUF_MEM_new(void); void BUF_MEM_free(BUF_MEM *a); int BUF_MEM_grow(BUF_MEM *str, size_t len); int BUF_MEM_grow_clean(BUF_MEM *str, size_t len); char * BUF_strdup(const char *str); char * BUF_strndup(const char *str, size_t siz); void * BUF_memdup(const void *data, size_t siz); void BUF_reverse(unsigned char *out, unsigned char *in, size_t siz); size_t BUF_strlcpy(char *dst,const char *src,size_t siz); size_t BUF_strlcat(char *dst,const char *src,size_t siz); void ERR_load_BUF_strings(void); # 113 "/usr/include/openssl/buffer.h" 3 # 71 "/usr/include/openssl/x509.h" 2 3 # 1 "/usr/include/openssl/evp.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 67 "/usr/include/openssl/evp.h" 2 3 # 1 "/usr/include/openssl/fips.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 51 "/usr/include/openssl/fips.h" 2 3 struct dsa_st; struct rsa_st; struct evp_pkey_st; struct env_md_st; struct env_md_ctx_st; struct evp_cipher_st; struct evp_cipher_ctx_st; struct dh_method; struct CMAC_CTX_st; struct hmac_ctx_st; int FIPS_module_mode_set(int onoff, const char *auth); int FIPS_module_mode(void); int FIPS_module_installed(void); const void *FIPS_rand_check(void); int FIPS_selftest(void); int FIPS_selftest_failed(void); void FIPS_corrupt_sha1(void); int FIPS_selftest_sha1(void); int FIPS_selftest_sha2(void); void FIPS_corrupt_aes(void); int FIPS_selftest_aes_ccm(void); int FIPS_selftest_aes_gcm(void); int FIPS_selftest_aes_xts(void); int FIPS_selftest_aes(void); void FIPS_corrupt_des(void); int FIPS_selftest_des(void); void FIPS_corrupt_rsa(void); void FIPS_corrupt_rsa_keygen(void); int FIPS_selftest_rsa(void); void FIPS_corrupt_dsa(void); void FIPS_corrupt_dsa_keygen(void); int FIPS_selftest_dsa(void); int FIPS_selftest_ecdsa(void); int FIPS_selftest_ecdh(void); int FIPS_selftest_dh(void); void FIPS_corrupt_rng(void); void FIPS_rng_stick(void); void FIPS_x931_stick(int onoff); void FIPS_drbg_stick(int onoff); int FIPS_selftest_rng(void); int FIPS_selftest_x931(void); int FIPS_selftest_hmac(void); int FIPS_selftest_drbg(void); int FIPS_selftest_drbg_all(void); int FIPS_selftest_cmac(void); void FIPS_get_timevec(unsigned char *buf, unsigned long *pctr); int fips_pkey_signature_test(struct evp_pkey_st *pkey, const unsigned char *tbs, int tbslen, const unsigned char *kat, unsigned int katlen, const struct env_md_st *digest, unsigned int md_flags, const char *fail_str); int fips_cipher_test(struct evp_cipher_ctx_st *ctx, const struct evp_cipher_st *cipher, const unsigned char *key, const unsigned char *iv, const unsigned char *plaintext, const unsigned char *ciphertext, int len); void fips_set_selftest_fail(void); const struct env_md_st *FIPS_get_digestbynid(int nid); const struct evp_cipher_st *FIPS_get_cipherbynid(int nid); void ERR_load_FIPS_strings(void); # 219 "/usr/include/openssl/fips.h" 3 # 279 "/usr/include/openssl/fips.h" 3 # 80 "/usr/include/openssl/evp.h" 2 3 # 1 "/usr/include/openssl/objects.h" 1 3 # 1 "/usr/include/openssl/obj_mac.h" 1 3 # 66 "/usr/include/openssl/objects.h" 2 3 # 958 "/usr/include/openssl/objects.h" 3 # 1 "/usr/include/openssl/asn1.h" 1 3 # 1 "/usr/include/time.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 38 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 # 37 "/usr/include/bits/time.h" 3 # 58 "/usr/include/bits/time.h" 3 # 95 "/usr/include/bits/time.h" 3 # 42 "/usr/include/time.h" 2 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 128 "/usr/include/time.h" 3 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; # 178 "/usr/include/time.h" 3 extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); # 217 "/usr/include/time.h" 3 # 1 "/usr/include/xlocale.h" 1 3 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 222 "/usr/include/time.h" 2 3 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); # 414 "/usr/include/time.h" 3 # 429 "/usr/include/time.h" 3 # 63 "/usr/include/openssl/asn1.h" 2 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 64 "/usr/include/openssl/asn1.h" 2 3 # 1 "/usr/include/openssl/bn.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 129 "/usr/include/openssl/bn.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 1 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h" 1 3 # 166 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h" 3 # 1 "/usr/include/limits.h" 1 3 # 114 "/usr/include/limits.h" 3 # 141 "/usr/include/limits.h" 3 # 1 "/usr/include/bits/posix1_lim.h" 1 3 # 154 "/usr/include/bits/posix1_lim.h" 3 # 1 "/usr/include/bits/local_lim.h" 1 3 # 36 "/usr/include/bits/local_lim.h" 3 # 1 "/usr/include/linux/limits.h" 1 3 # 17 "/usr/include/linux/limits.h" 3 # 39 "/usr/include/bits/local_lim.h" 2 3 # 161 "/usr/include/bits/posix1_lim.h" 2 3 # 145 "/usr/include/limits.h" 2 3 # 1 "/usr/include/bits/posix2_lim.h" 1 3 # 86 "/usr/include/bits/posix2_lim.h" 3 # 149 "/usr/include/limits.h" 2 3 # 169 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h" 2 3 # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 2 3 # 73 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 3 # 107 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 3 # 131 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 3 # 133 "/usr/include/openssl/bn.h" 2 3 # 175 "/usr/include/openssl/bn.h" 3 # 200 "/usr/include/openssl/bn.h" 3 # 227 "/usr/include/openssl/bn.h" 3 # 256 "/usr/include/openssl/bn.h" 3 # 274 "/usr/include/openssl/bn.h" 3 # 284 "/usr/include/openssl/bn.h" 3 # 307 "/usr/include/openssl/bn.h" 3 # 318 "/usr/include/openssl/bn.h" 3 struct bignum_st { unsigned long *d; int top; int dmax; int neg; int flags; }; struct bn_mont_ctx_st { int ri; BIGNUM RR; BIGNUM N; BIGNUM Ni; unsigned long n0[2]; int flags; }; struct bn_recp_ctx_st { BIGNUM N; BIGNUM Nr; int num_bits; int shift; int flags; }; struct bn_gencb_st { unsigned int ver; void *arg; union { void (*cb_1)(int, int, void *); int (*cb_2)(int, int, BN_GENCB *); } cb; }; int BN_GENCB_call(BN_GENCB *cb, int a, int b); # 402 "/usr/include/openssl/bn.h" 3 # 412 "/usr/include/openssl/bn.h" 3 # 425 "/usr/include/openssl/bn.h" 3 const BIGNUM *BN_value_one(void); char * BN_options(void); BN_CTX *BN_CTX_new(void); void BN_CTX_init(BN_CTX *c); void BN_CTX_free(BN_CTX *c); void BN_CTX_start(BN_CTX *ctx); BIGNUM *BN_CTX_get(BN_CTX *ctx); void BN_CTX_end(BN_CTX *ctx); int BN_rand(BIGNUM *rnd, int bits, int top,int bottom); int BN_pseudo_rand(BIGNUM *rnd, int bits, int top,int bottom); int BN_rand_range(BIGNUM *rnd, const BIGNUM *range); int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range); int BN_num_bits(const BIGNUM *a); int BN_num_bits_word(unsigned long); BIGNUM *BN_new(void); void BN_init(BIGNUM *); void BN_clear_free(BIGNUM *a); BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b); void BN_swap(BIGNUM *a, BIGNUM *b); BIGNUM *BN_bin2bn(const unsigned char *s,int len,BIGNUM *ret); int BN_bn2bin(const BIGNUM *a, unsigned char *to); BIGNUM *BN_mpi2bn(const unsigned char *s,int len,BIGNUM *ret); int BN_bn2mpi(const BIGNUM *a, unsigned char *to); int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); int BN_sqr(BIGNUM *r, const BIGNUM *a,BN_CTX *ctx); void BN_set_negative(BIGNUM *b, int n); int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx); int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx); int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx); int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m); int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx); int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m); int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx); int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx); int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx); int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m); int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx); int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m); unsigned long BN_mod_word(const BIGNUM *a, unsigned long w); unsigned long BN_div_word(BIGNUM *a, unsigned long w); int BN_mul_word(BIGNUM *a, unsigned long w); int BN_add_word(BIGNUM *a, unsigned long w); int BN_sub_word(BIGNUM *a, unsigned long w); int BN_set_word(BIGNUM *a, unsigned long w); unsigned long BN_get_word(const BIGNUM *a); int BN_cmp(const BIGNUM *a, const BIGNUM *b); void BN_free(BIGNUM *a); int BN_is_bit_set(const BIGNUM *a, int n); int BN_lshift(BIGNUM *r, const BIGNUM *a, int n); int BN_lshift1(BIGNUM *r, const BIGNUM *a); int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,BN_CTX *ctx); int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,BN_CTX *ctx); int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont); int BN_mod_exp_mont_word(BIGNUM *r, unsigned long a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1, const BIGNUM *a2, const BIGNUM *p2,const BIGNUM *m, BN_CTX *ctx,BN_MONT_CTX *m_ctx); int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,BN_CTX *ctx); int BN_mask_bits(BIGNUM *a,int n); int BN_print_fp(FILE *fp, const BIGNUM *a); int BN_print(BIO *fp, const BIGNUM *a); int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx); int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); int BN_rshift1(BIGNUM *r, const BIGNUM *a); void BN_clear(BIGNUM *a); BIGNUM *BN_dup(const BIGNUM *a); int BN_ucmp(const BIGNUM *a, const BIGNUM *b); int BN_set_bit(BIGNUM *a, int n); int BN_clear_bit(BIGNUM *a, int n); char * BN_bn2hex(const BIGNUM *a); char * BN_bn2dec(const BIGNUM *a); int BN_hex2bn(BIGNUM **a, const char *str); int BN_dec2bn(BIGNUM **a, const char *str); int BN_asc2bn(BIGNUM **a, const char *str); int BN_gcd(BIGNUM *r,const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx); int BN_kronecker(const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx); BIGNUM *BN_mod_inverse(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n,BN_CTX *ctx); BIGNUM *BN_mod_sqrt(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n,BN_CTX *ctx); BIGNUM *BN_generate_prime(BIGNUM *ret,int bits,int safe, const BIGNUM *add, const BIGNUM *rem, void (*callback)(int,int,void *),void *cb_arg); int BN_is_prime(const BIGNUM *p,int nchecks, void (*callback)(int,int,void *), BN_CTX *ctx,void *cb_arg); int BN_is_prime_fasttest(const BIGNUM *p,int nchecks, void (*callback)(int,int,void *),BN_CTX *ctx,void *cb_arg, int do_trial_division); int BN_generate_prime_ex(BIGNUM *ret,int bits,int safe, const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb); int BN_is_prime_ex(const BIGNUM *p,int nchecks, BN_CTX *ctx, BN_GENCB *cb); int BN_is_prime_fasttest_ex(const BIGNUM *p,int nchecks, BN_CTX *ctx, int do_trial_division, BN_GENCB *cb); int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx); int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, const BIGNUM *Xp, const BIGNUM *Xp1, const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb); int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1, BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb); BN_MONT_CTX *BN_MONT_CTX_new(void ); void BN_MONT_CTX_init(BN_MONT_CTX *ctx); int BN_mod_mul_montgomery(BIGNUM *r,const BIGNUM *a,const BIGNUM *b, BN_MONT_CTX *mont, BN_CTX *ctx); int BN_from_montgomery(BIGNUM *r,const BIGNUM *a, BN_MONT_CTX *mont, BN_CTX *ctx); void BN_MONT_CTX_free(BN_MONT_CTX *mont); int BN_MONT_CTX_set(BN_MONT_CTX *mont,const BIGNUM *mod,BN_CTX *ctx); BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to,BN_MONT_CTX *from); BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, int lock, const BIGNUM *mod, BN_CTX *ctx); BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod); void BN_BLINDING_free(BN_BLINDING *b); int BN_BLINDING_update(BN_BLINDING *b,BN_CTX *ctx); int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx); int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx); int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *); int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *); unsigned long BN_BLINDING_get_thread_id(const BN_BLINDING *); void BN_BLINDING_set_thread_id(BN_BLINDING *, unsigned long); CRYPTO_THREADID *BN_BLINDING_thread_id(BN_BLINDING *); unsigned long BN_BLINDING_get_flags(const BN_BLINDING *); void BN_BLINDING_set_flags(BN_BLINDING *, unsigned long); BN_BLINDING *BN_BLINDING_create_param(BN_BLINDING *b, const BIGNUM *e, BIGNUM *m, BN_CTX *ctx, int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx), BN_MONT_CTX *m_ctx); void BN_set_params(int mul,int high,int low,int mont); int BN_get_params(int which); void BN_RECP_CTX_init(BN_RECP_CTX *recp); BN_RECP_CTX *BN_RECP_CTX_new(void); void BN_RECP_CTX_free(BN_RECP_CTX *recp); int BN_RECP_CTX_set(BN_RECP_CTX *recp,const BIGNUM *rdiv,BN_CTX *ctx); int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y, BN_RECP_CTX *recp,BN_CTX *ctx); int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx); int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp, BN_CTX *ctx); int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); int BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); const BIGNUM *BN_get0_nist_prime_192(void); const BIGNUM *BN_get0_nist_prime_224(void); const BIGNUM *BN_get0_nist_prime_256(void); const BIGNUM *BN_get0_nist_prime_384(void); const BIGNUM *BN_get0_nist_prime_521(void); BIGNUM *bn_expand2(BIGNUM *a, int words); BIGNUM *bn_dup_expand(const BIGNUM *a, int words); # 726 "/usr/include/openssl/bn.h" 3 # 745 "/usr/include/openssl/bn.h" 3 unsigned long bn_mul_add_words(unsigned long *rp, const unsigned long *ap, int num, unsigned long w); unsigned long bn_mul_words(unsigned long *rp, const unsigned long *ap, int num, unsigned long w); void bn_sqr_words(unsigned long *rp, const unsigned long *ap, int num); unsigned long bn_div_words(unsigned long h, unsigned long l, unsigned long d); unsigned long bn_add_words(unsigned long *rp, const unsigned long *ap, const unsigned long *bp,int num); unsigned long bn_sub_words(unsigned long *rp, const unsigned long *ap, const unsigned long *bp,int num); BIGNUM *get_rfc2409_prime_768(BIGNUM *bn); BIGNUM *get_rfc2409_prime_1024(BIGNUM *bn); BIGNUM *get_rfc3526_prime_1536(BIGNUM *bn); BIGNUM *get_rfc3526_prime_2048(BIGNUM *bn); BIGNUM *get_rfc3526_prime_3072(BIGNUM *bn); BIGNUM *get_rfc3526_prime_4096(BIGNUM *bn); BIGNUM *get_rfc3526_prime_6144(BIGNUM *bn); BIGNUM *get_rfc3526_prime_8192(BIGNUM *bn); int BN_bntest_rand(BIGNUM *rnd, int bits, int top,int bottom); void ERR_load_BN_strings(void); # 816 "/usr/include/openssl/bn.h" 3 # 835 "/usr/include/openssl/bn.h" 3 # 75 "/usr/include/openssl/asn1.h" 2 3 # 132 "/usr/include/openssl/asn1.h" 3 # 153 "/usr/include/openssl/asn1.h" 3 struct X509_algor_st; struct stack_st_X509_ALGOR { _STACK stack; }; typedef struct asn1_ctx_st { unsigned char *p; int eos; int error; int inf; int tag; int xclass; long slen; unsigned char *max; unsigned char *q; unsigned char **pp; int line; } ASN1_CTX; typedef struct asn1_const_ctx_st { const unsigned char *p; int eos; int error; int inf; int tag; int xclass; long slen; const unsigned char *max; const unsigned char *q; const unsigned char **pp; int line; } ASN1_const_CTX; typedef struct asn1_object_st { const char *sn,*ln; int nid; int length; const unsigned char *data; int flags; } ASN1_OBJECT; struct asn1_string_st { int length; int type; unsigned char *data; long flags; }; typedef struct ASN1_ENCODING_st { unsigned char *enc; long len; int modified; } ASN1_ENCODING; typedef struct asn1_string_table_st { int nid; long minsize; long maxsize; unsigned long mask; unsigned long flags; } ASN1_STRING_TABLE; struct stack_st_ASN1_STRING_TABLE { _STACK stack; }; # 291 "/usr/include/openssl/asn1.h" 3 typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE; typedef struct ASN1_TLC_st ASN1_TLC; typedef struct ASN1_VALUE_st ASN1_VALUE; # 357 "/usr/include/openssl/asn1.h" 3 typedef void *d2i_of_void(void * *,const unsigned char * *,long); typedef int i2d_of_void(void *,unsigned char * *); typedef const ASN1_ITEM ASN1_ITEM_EXP; # 436 "/usr/include/openssl/asn1.h" 3 # 515 "/usr/include/openssl/asn1.h" 3 struct stack_st_ASN1_INTEGER { _STACK stack; }; struct stack_st_ASN1_GENERALSTRING { _STACK stack; }; typedef struct asn1_type_st { int type; union { char *ptr; ASN1_BOOLEAN boolean; ASN1_STRING * asn1_string; ASN1_OBJECT * object; ASN1_INTEGER * integer; ASN1_ENUMERATED * enumerated; ASN1_BIT_STRING * bit_string; ASN1_OCTET_STRING * octet_string; ASN1_PRINTABLESTRING * printablestring; ASN1_T61STRING * t61string; ASN1_IA5STRING * ia5string; ASN1_GENERALSTRING * generalstring; ASN1_BMPSTRING * bmpstring; ASN1_UNIVERSALSTRING * universalstring; ASN1_UTCTIME * utctime; ASN1_GENERALIZEDTIME * generalizedtime; ASN1_VISIBLESTRING * visiblestring; ASN1_UTF8STRING * utf8string; ASN1_STRING * set; ASN1_STRING * sequence; ASN1_VALUE * asn1_value; } value; } ASN1_TYPE; struct stack_st_ASN1_TYPE { _STACK stack; }; typedef struct stack_st_ASN1_TYPE ASN1_SEQUENCE_ANY; ASN1_SEQUENCE_ANY *d2i_ASN1_SEQUENCE_ANY(ASN1_SEQUENCE_ANY * *a, const unsigned char * *in, long len); int i2d_ASN1_SEQUENCE_ANY(const ASN1_SEQUENCE_ANY *a, unsigned char * *out); extern const ASN1_ITEM ASN1_SEQUENCE_ANY_it; ASN1_SEQUENCE_ANY *d2i_ASN1_SET_ANY(ASN1_SEQUENCE_ANY * *a, const unsigned char * *in, long len); int i2d_ASN1_SET_ANY(const ASN1_SEQUENCE_ANY *a, unsigned char * *out); extern const ASN1_ITEM ASN1_SET_ANY_it; typedef struct NETSCAPE_X509_st { ASN1_OCTET_STRING *header; X509 *cert; } NETSCAPE_X509; typedef struct BIT_STRING_BITNAME_st { int bitnum; const char *lname; const char *sname; } BIT_STRING_BITNAME; # 587 "/usr/include/openssl/asn1.h" 3 # 595 "/usr/include/openssl/asn1.h" 3 # 603 "/usr/include/openssl/asn1.h" 3 # 616 "/usr/include/openssl/asn1.h" 3 # 632 "/usr/include/openssl/asn1.h" 3 # 639 "/usr/include/openssl/asn1.h" 3 # 653 "/usr/include/openssl/asn1.h" 3 # 661 "/usr/include/openssl/asn1.h" 3 # 669 "/usr/include/openssl/asn1.h" 3 # 679 "/usr/include/openssl/asn1.h" 3 # 689 "/usr/include/openssl/asn1.h" 3 # 701 "/usr/include/openssl/asn1.h" 3 # 729 "/usr/include/openssl/asn1.h" 3 # 739 "/usr/include/openssl/asn1.h" 3 # 749 "/usr/include/openssl/asn1.h" 3 # 759 "/usr/include/openssl/asn1.h" 3 # 769 "/usr/include/openssl/asn1.h" 3 ASN1_TYPE *ASN1_TYPE_new(void); void ASN1_TYPE_free(ASN1_TYPE *a); ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE * *a, const unsigned char * *in, long len); int i2d_ASN1_TYPE(ASN1_TYPE *a, unsigned char * *out); extern const ASN1_ITEM ASN1_ANY_it; int ASN1_TYPE_get(ASN1_TYPE *a); void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value); int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value); int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b); ASN1_OBJECT * ASN1_OBJECT_new(void ); void ASN1_OBJECT_free(ASN1_OBJECT *a); int i2d_ASN1_OBJECT(ASN1_OBJECT *a,unsigned char **pp); ASN1_OBJECT * c2i_ASN1_OBJECT(ASN1_OBJECT **a,const unsigned char **pp, long length); ASN1_OBJECT * d2i_ASN1_OBJECT(ASN1_OBJECT **a,const unsigned char **pp, long length); extern const ASN1_ITEM ASN1_OBJECT_it; struct stack_st_ASN1_OBJECT { _STACK stack; }; ASN1_STRING * ASN1_STRING_new(void); void ASN1_STRING_free(ASN1_STRING *a); int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str); ASN1_STRING * ASN1_STRING_dup(const ASN1_STRING *a); ASN1_STRING * ASN1_STRING_type_new(int type ); int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b); int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len); void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len); int ASN1_STRING_length(const ASN1_STRING *x); void ASN1_STRING_length_set(ASN1_STRING *x, int n); int ASN1_STRING_type(ASN1_STRING *x); unsigned char * ASN1_STRING_data(ASN1_STRING *x); ASN1_BIT_STRING *ASN1_BIT_STRING_new(void); void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a); ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING * *a, const unsigned char * *in, long len); int i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char * *out); extern const ASN1_ITEM ASN1_BIT_STRING_it; int i2c_ASN1_BIT_STRING(ASN1_BIT_STRING *a,unsigned char **pp); ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a,const unsigned char **pp, long length); int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length ); int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value); int ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a, int n); int ASN1_BIT_STRING_check(ASN1_BIT_STRING *a, unsigned char *flags, int flags_len); int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, BIT_STRING_BITNAME *tbl, int indent); int ASN1_BIT_STRING_num_asc(char *name, BIT_STRING_BITNAME *tbl); int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, BIT_STRING_BITNAME *tbl); int i2d_ASN1_BOOLEAN(int a,unsigned char **pp); int d2i_ASN1_BOOLEAN(int *a,const unsigned char **pp,long length); ASN1_INTEGER *ASN1_INTEGER_new(void); void ASN1_INTEGER_free(ASN1_INTEGER *a); ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER * *a, const unsigned char * *in, long len); int i2d_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char * *out); extern const ASN1_ITEM ASN1_INTEGER_it; int i2c_ASN1_INTEGER(ASN1_INTEGER *a,unsigned char **pp); ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a,const unsigned char **pp, long length); ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a,const unsigned char **pp, long length); ASN1_INTEGER * ASN1_INTEGER_dup(const ASN1_INTEGER *x); int ASN1_INTEGER_cmp(const ASN1_INTEGER *x, const ASN1_INTEGER *y); ASN1_ENUMERATED *ASN1_ENUMERATED_new(void); void ASN1_ENUMERATED_free(ASN1_ENUMERATED *a); ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED * *a, const unsigned char * *in, long len); int i2d_ASN1_ENUMERATED(ASN1_ENUMERATED *a, unsigned char * *out); extern const ASN1_ITEM ASN1_ENUMERATED_it; int ASN1_UTCTIME_check(ASN1_UTCTIME *a); ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s,time_t t); ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t, int offset_day, long offset_sec); int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str); int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t); int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *a); ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,time_t t); ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s, time_t t, int offset_day, long offset_sec); int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, const char *str); ASN1_OCTET_STRING *ASN1_OCTET_STRING_new(void); void ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *a); ASN1_OCTET_STRING *d2i_ASN1_OCTET_STRING(ASN1_OCTET_STRING * *a, const unsigned char * *in, long len); int i2d_ASN1_OCTET_STRING(ASN1_OCTET_STRING *a, unsigned char * *out); extern const ASN1_ITEM ASN1_OCTET_STRING_it; ASN1_OCTET_STRING * ASN1_OCTET_STRING_dup(const ASN1_OCTET_STRING *a); int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a, const ASN1_OCTET_STRING *b); int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str, const unsigned char *data, int len); ASN1_VISIBLESTRING *ASN1_VISIBLESTRING_new(void); void ASN1_VISIBLESTRING_free(ASN1_VISIBLESTRING *a); ASN1_VISIBLESTRING *d2i_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING * *a, const unsigned char * *in, long len); int i2d_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING *a, unsigned char * *out); extern const ASN1_ITEM ASN1_VISIBLESTRING_it; ASN1_UNIVERSALSTRING *ASN1_UNIVERSALSTRING_new(void); void ASN1_UNIVERSALSTRING_free(ASN1_UNIVERSALSTRING *a); ASN1_UNIVERSALSTRING *d2i_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING * *a, const unsigned char * *in, long len); int i2d_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING *a, unsigned char * *out); extern const ASN1_ITEM ASN1_UNIVERSALSTRING_it; ASN1_UTF8STRING *ASN1_UTF8STRING_new(void); void ASN1_UTF8STRING_free(ASN1_UTF8STRING *a); ASN1_UTF8STRING *d2i_ASN1_UTF8STRING(ASN1_UTF8STRING * *a, const unsigned char * *in, long len); int i2d_ASN1_UTF8STRING(ASN1_UTF8STRING *a, unsigned char * *out); extern const ASN1_ITEM ASN1_UTF8STRING_it; ASN1_NULL *ASN1_NULL_new(void); void ASN1_NULL_free(ASN1_NULL *a); ASN1_NULL *d2i_ASN1_NULL(ASN1_NULL * *a, const unsigned char * *in, long len); int i2d_ASN1_NULL(ASN1_NULL *a, unsigned char * *out); extern const ASN1_ITEM ASN1_NULL_it; ASN1_BMPSTRING *ASN1_BMPSTRING_new(void); void ASN1_BMPSTRING_free(ASN1_BMPSTRING *a); ASN1_BMPSTRING *d2i_ASN1_BMPSTRING(ASN1_BMPSTRING * *a, const unsigned char * *in, long len); int i2d_ASN1_BMPSTRING(ASN1_BMPSTRING *a, unsigned char * *out); extern const ASN1_ITEM ASN1_BMPSTRING_it; int UTF8_getc(const unsigned char *str, int len, unsigned long *val); int UTF8_putc(unsigned char *str, int len, unsigned long value); ASN1_STRING *ASN1_PRINTABLE_new(void); void ASN1_PRINTABLE_free(ASN1_STRING *a); ASN1_STRING *d2i_ASN1_PRINTABLE(ASN1_STRING * *a, const unsigned char * *in, long len); int i2d_ASN1_PRINTABLE(ASN1_STRING *a, unsigned char * *out); extern const ASN1_ITEM ASN1_PRINTABLE_it; ASN1_STRING *DIRECTORYSTRING_new(void); void DIRECTORYSTRING_free(ASN1_STRING *a); ASN1_STRING *d2i_DIRECTORYSTRING(ASN1_STRING * *a, const unsigned char * *in, long len); int i2d_DIRECTORYSTRING(ASN1_STRING *a, unsigned char * *out); extern const ASN1_ITEM DIRECTORYSTRING_it; ASN1_STRING *DISPLAYTEXT_new(void); void DISPLAYTEXT_free(ASN1_STRING *a); ASN1_STRING *d2i_DISPLAYTEXT(ASN1_STRING * *a, const unsigned char * *in, long len); int i2d_DISPLAYTEXT(ASN1_STRING *a, unsigned char * *out); extern const ASN1_ITEM DISPLAYTEXT_it; ASN1_PRINTABLESTRING *ASN1_PRINTABLESTRING_new(void); void ASN1_PRINTABLESTRING_free(ASN1_PRINTABLESTRING *a); ASN1_PRINTABLESTRING *d2i_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING * *a, const unsigned char * *in, long len); int i2d_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING *a, unsigned char * *out); extern const ASN1_ITEM ASN1_PRINTABLESTRING_it; ASN1_T61STRING *ASN1_T61STRING_new(void); void ASN1_T61STRING_free(ASN1_T61STRING *a); ASN1_T61STRING *d2i_ASN1_T61STRING(ASN1_T61STRING * *a, const unsigned char * *in, long len); int i2d_ASN1_T61STRING(ASN1_T61STRING *a, unsigned char * *out); extern const ASN1_ITEM ASN1_T61STRING_it; ASN1_IA5STRING *ASN1_IA5STRING_new(void); void ASN1_IA5STRING_free(ASN1_IA5STRING *a); ASN1_IA5STRING *d2i_ASN1_IA5STRING(ASN1_IA5STRING * *a, const unsigned char * *in, long len); int i2d_ASN1_IA5STRING(ASN1_IA5STRING *a, unsigned char * *out); extern const ASN1_ITEM ASN1_IA5STRING_it; ASN1_GENERALSTRING *ASN1_GENERALSTRING_new(void); void ASN1_GENERALSTRING_free(ASN1_GENERALSTRING *a); ASN1_GENERALSTRING *d2i_ASN1_GENERALSTRING(ASN1_GENERALSTRING * *a, const unsigned char * *in, long len); int i2d_ASN1_GENERALSTRING(ASN1_GENERALSTRING *a, unsigned char * *out); extern const ASN1_ITEM ASN1_GENERALSTRING_it; ASN1_UTCTIME *ASN1_UTCTIME_new(void); void ASN1_UTCTIME_free(ASN1_UTCTIME *a); ASN1_UTCTIME *d2i_ASN1_UTCTIME(ASN1_UTCTIME * *a, const unsigned char * *in, long len); int i2d_ASN1_UTCTIME(ASN1_UTCTIME *a, unsigned char * *out); extern const ASN1_ITEM ASN1_UTCTIME_it; ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_new(void); void ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *a); ASN1_GENERALIZEDTIME *d2i_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME * *a, const unsigned char * *in, long len); int i2d_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME *a, unsigned char * *out); extern const ASN1_ITEM ASN1_GENERALIZEDTIME_it; ASN1_TIME *ASN1_TIME_new(void); void ASN1_TIME_free(ASN1_TIME *a); ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME * *a, const unsigned char * *in, long len); int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char * *out); extern const ASN1_ITEM ASN1_TIME_it; extern const ASN1_ITEM ASN1_OCTET_STRING_NDEF_it; ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s,time_t t); ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s,time_t t, int offset_day, long offset_sec); int ASN1_TIME_check(ASN1_TIME *t); ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *t, ASN1_GENERALIZEDTIME **out); int ASN1_TIME_set_string(ASN1_TIME *s, const char *str); int i2d_ASN1_SET(struct stack_st_OPENSSL_BLOCK *a, unsigned char **pp, i2d_of_void *i2d, int ex_tag, int ex_class, int is_set); struct stack_st_OPENSSL_BLOCK *d2i_ASN1_SET(struct stack_st_OPENSSL_BLOCK **a, const unsigned char **pp, long length, d2i_of_void *d2i, void (*free_func)(OPENSSL_BLOCK), int ex_tag, int ex_class); int i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a); int a2i_ASN1_INTEGER(BIO *bp,ASN1_INTEGER *bs,char *buf,int size); int i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a); int a2i_ASN1_ENUMERATED(BIO *bp,ASN1_ENUMERATED *bs,char *buf,int size); int i2a_ASN1_OBJECT(BIO *bp,ASN1_OBJECT *a); int a2i_ASN1_STRING(BIO *bp,ASN1_STRING *bs,char *buf,int size); int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type); int i2t_ASN1_OBJECT(char *buf,int buf_len,ASN1_OBJECT *a); int a2d_ASN1_OBJECT(unsigned char *out,int olen, const char *buf, int num); ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data,int len, const char *sn, const char *ln); int ASN1_INTEGER_set(ASN1_INTEGER *a, long v); long ASN1_INTEGER_get(const ASN1_INTEGER *a); ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai); BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai,BIGNUM *bn); int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v); long ASN1_ENUMERATED_get(ASN1_ENUMERATED *a); ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai); BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai,BIGNUM *bn); int ASN1_PRINTABLE_type(const unsigned char *s, int max); int i2d_ASN1_bytes(ASN1_STRING *a, unsigned char **pp, int tag, int xclass); ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a, const unsigned char **pp, long length, int Ptag, int Pclass); unsigned long ASN1_tag2bit(int tag); ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a,const unsigned char **pp, long length,int type); int asn1_Finish(ASN1_CTX *c); int asn1_const_Finish(ASN1_const_CTX *c); int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag, int *pclass, long omax); int ASN1_check_infinite_end(unsigned char **p,long len); int ASN1_const_check_infinite_end(const unsigned char **p,long len); void ASN1_put_object(unsigned char **pp, int constructed, int length, int tag, int xclass); int ASN1_put_eoc(unsigned char **pp); int ASN1_object_size(int constructed, int length, int tag); void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x); void *ASN1_item_dup(const ASN1_ITEM *it, void *x); void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x); void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x); int ASN1_i2d_fp(i2d_of_void *i2d,FILE *out,void *x); int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x); int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags); int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in); void *ASN1_d2i_bio(void *(*xnew)(void), d2i_of_void *d2i, BIO *in, void **x); void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x); int ASN1_i2d_bio(i2d_of_void *i2d,BIO *out, unsigned char *x); int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x); int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a); int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a); int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a); int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v); int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags); int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, unsigned char *buf, int off); int ASN1_parse(BIO *bp,const unsigned char *pp,long len,int indent); int ASN1_parse_dump(BIO *bp,const unsigned char *pp,long len,int indent,int dump); const char *ASN1_tag2str(int tag); NETSCAPE_X509 *NETSCAPE_X509_new(void); void NETSCAPE_X509_free(NETSCAPE_X509 *a); NETSCAPE_X509 *d2i_NETSCAPE_X509(NETSCAPE_X509 * *a, const unsigned char * *in, long len); int i2d_NETSCAPE_X509(NETSCAPE_X509 *a, unsigned char * *out); extern const ASN1_ITEM NETSCAPE_X509_it; int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s); int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len); int ASN1_TYPE_get_octetstring(ASN1_TYPE *a, unsigned char *data, int max_len); int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num, unsigned char *data, int len); int ASN1_TYPE_get_int_octetstring(ASN1_TYPE *a,long *num, unsigned char *data, int max_len); struct stack_st_OPENSSL_BLOCK *ASN1_seq_unpack(const unsigned char *buf, int len, d2i_of_void *d2i, void (*free_func)(OPENSSL_BLOCK)); unsigned char *ASN1_seq_pack(struct stack_st_OPENSSL_BLOCK *safes, i2d_of_void *i2d, unsigned char **buf, int *len ); void *ASN1_unpack_string(ASN1_STRING *oct, d2i_of_void *d2i); void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it); ASN1_STRING *ASN1_pack_string(void *obj, i2d_of_void *i2d, ASN1_OCTET_STRING **oct); ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_OCTET_STRING **oct); void ASN1_STRING_set_default_mask(unsigned long mask); int ASN1_STRING_set_default_mask_asc(const char *p); unsigned long ASN1_STRING_get_default_mask(void); int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len, int inform, unsigned long mask); int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, int inform, unsigned long mask, long minsize, long maxsize); ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out, const unsigned char *in, int inlen, int inform, int nid); ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid); int ASN1_STRING_TABLE_add(int, long, long, unsigned long, unsigned long); void ASN1_STRING_TABLE_cleanup(void); ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it); void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it); ASN1_VALUE * ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in, long len, const ASN1_ITEM *it); int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); void ASN1_add_oid_module(void); ASN1_TYPE *ASN1_generate_nconf(char *str, CONF *nconf); ASN1_TYPE *ASN1_generate_v3(char *str, X509V3_CTX *cnf); int ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent, const ASN1_ITEM *it, const ASN1_PCTX *pctx); ASN1_PCTX *ASN1_PCTX_new(void); void ASN1_PCTX_free(ASN1_PCTX *p); unsigned long ASN1_PCTX_get_flags(ASN1_PCTX *p); void ASN1_PCTX_set_flags(ASN1_PCTX *p, unsigned long flags); unsigned long ASN1_PCTX_get_nm_flags(ASN1_PCTX *p); void ASN1_PCTX_set_nm_flags(ASN1_PCTX *p, unsigned long flags); unsigned long ASN1_PCTX_get_cert_flags(ASN1_PCTX *p); void ASN1_PCTX_set_cert_flags(ASN1_PCTX *p, unsigned long flags); unsigned long ASN1_PCTX_get_oid_flags(ASN1_PCTX *p); void ASN1_PCTX_set_oid_flags(ASN1_PCTX *p, unsigned long flags); unsigned long ASN1_PCTX_get_str_flags(ASN1_PCTX *p); void ASN1_PCTX_set_str_flags(ASN1_PCTX *p, unsigned long flags); BIO_METHOD *BIO_f_asn1(void); BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it); int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, const ASN1_ITEM *it); int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, const char *hdr, const ASN1_ITEM *it); int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags, int ctype_nid, int econt_nid, struct stack_st_X509_ALGOR *mdalgs, const ASN1_ITEM *it); ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it); int SMIME_crlf_copy(BIO *in, BIO *out, int flags); int SMIME_text(BIO *in, BIO *out); void ERR_load_ASN1_strings(void); # 1280 "/usr/include/openssl/asn1.h" 3 # 1401 "/usr/include/openssl/asn1.h" 3 # 961 "/usr/include/openssl/objects.h" 2 3 # 968 "/usr/include/openssl/objects.h" 3 typedef struct obj_name_st { int type; int alias; const char *name; const char *data; } OBJ_NAME; int OBJ_NAME_init(void); int OBJ_NAME_new_index(unsigned long (*hash_func)(const char *), int (*cmp_func)(const char *, const char *), void (*free_func)(const char *, int, const char *)); const char *OBJ_NAME_get(const char *name,int type); int OBJ_NAME_add(const char *name,int type,const char *data); int OBJ_NAME_remove(const char *name,int type); void OBJ_NAME_cleanup(int type); void OBJ_NAME_do_all(int type,void (*fn)(const OBJ_NAME *,void *arg), void *arg); void OBJ_NAME_do_all_sorted(int type,void (*fn)(const OBJ_NAME *,void *arg), void *arg); ASN1_OBJECT * OBJ_dup(const ASN1_OBJECT *o); ASN1_OBJECT * OBJ_nid2obj(int n); const char * OBJ_nid2ln(int n); const char * OBJ_nid2sn(int n); int OBJ_obj2nid(const ASN1_OBJECT *o); ASN1_OBJECT * OBJ_txt2obj(const char *s, int no_name); int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name); int OBJ_txt2nid(const char *s); int OBJ_ln2nid(const char *s); int OBJ_sn2nid(const char *s); int OBJ_cmp(const ASN1_OBJECT *a,const ASN1_OBJECT *b); const void * OBJ_bsearch_(const void *key,const void *base,int num,int size, int (*cmp)(const void *, const void *)); const void * OBJ_bsearch_ex_(const void *key,const void *base,int num, int size, int (*cmp)(const void *, const void *), int flags); # 1071 "/usr/include/openssl/objects.h" 3 # 1085 "/usr/include/openssl/objects.h" 3 # 1092 "/usr/include/openssl/objects.h" 3 # 1099 "/usr/include/openssl/objects.h" 3 int OBJ_new_nid(int num); int OBJ_add_object(const ASN1_OBJECT *obj); int OBJ_create(const char *oid,const char *sn,const char *ln); void OBJ_cleanup(void ); int OBJ_create_objects(BIO *in); int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid); int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid); int OBJ_add_sigid(int signid, int dig_id, int pkey_id); void OBJ_sigid_free(void); extern int obj_cleanup_defer; void check_defer(int nid); void ERR_load_OBJ_strings(void); # 1130 "/usr/include/openssl/objects.h" 3 # 99 "/usr/include/openssl/evp.h" 2 3 # 111 "/usr/include/openssl/evp.h" 3 # 124 "/usr/include/openssl/evp.h" 3 struct evp_pkey_st { int type; int save_type; int references; const EVP_PKEY_ASN1_METHOD *ameth; ENGINE *engine; union { char *ptr; struct rsa_st *rsa; struct dsa_st *dsa; struct dh_st *dh; struct ec_key_st *ec; } pkey; int save_parameters; struct stack_st_X509_ATTRIBUTE *attributes; } ; struct env_md_st { int type; int pkey_type; int md_size; unsigned long flags; int (*init)(EVP_MD_CTX *ctx); int (*update)(EVP_MD_CTX *ctx,const void *data,size_t count); int (*final)(EVP_MD_CTX *ctx,unsigned char *md); int (*copy)(EVP_MD_CTX *to,const EVP_MD_CTX *from); int (*cleanup)(EVP_MD_CTX *ctx); int (*sign)(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, void *key); int (*verify)(int type, const unsigned char *m, unsigned int m_length, const unsigned char *sigbuf, unsigned int siglen, void *key); int required_pkey_type[5]; int block_size; int ctx_size; int (*md_ctrl)(EVP_MD_CTX *ctx, int cmd, int p1, void *p2); } ; typedef int evp_sign_method(int type,const unsigned char *m, unsigned int m_length,unsigned char *sigret, unsigned int *siglen, void *key); typedef int evp_verify_method(int type,const unsigned char *m, unsigned int m_length,const unsigned char *sigbuf, unsigned int siglen, void *key); # 245 "/usr/include/openssl/evp.h" 3 # 253 "/usr/include/openssl/evp.h" 3 # 266 "/usr/include/openssl/evp.h" 3 struct env_md_ctx_st { const EVP_MD *digest; ENGINE *engine; unsigned long flags; void *md_data; EVP_PKEY_CTX *pctx; int (*update)(EVP_MD_CTX *ctx,const void *data,size_t count); } ; # 291 "/usr/include/openssl/evp.h" 3 # 304 "/usr/include/openssl/evp.h" 3 struct evp_cipher_st { int nid; int block_size; int key_len; int iv_len; unsigned long flags; int (*init)(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc); int (*do_cipher)(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl); int (*cleanup)(EVP_CIPHER_CTX *); int ctx_size; int (*set_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); int (*get_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); int (*ctrl)(EVP_CIPHER_CTX *, int type, int arg, void *ptr); void *app_data; } ; # 341 "/usr/include/openssl/evp.h" 3 # 399 "/usr/include/openssl/evp.h" 3 typedef struct evp_cipher_info_st { const EVP_CIPHER *cipher; unsigned char iv[16]; } EVP_CIPHER_INFO; struct evp_cipher_ctx_st { const EVP_CIPHER *cipher; ENGINE *engine; int encrypt; int buf_len; unsigned char oiv[16]; unsigned char iv[16]; unsigned char buf[32]; int num; void *app_data; int key_len; unsigned long flags; void *cipher_data; int final_used; int block_mask; unsigned char final[32]; } ; typedef struct evp_Encode_Ctx_st { int num; int length; unsigned char enc_data[80]; int line_num; int expect_nl; } EVP_ENCODE_CTX; typedef int (EVP_PBE_KEYGEN)(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de); int EVP_MD_type(const EVP_MD *md); int EVP_MD_pkey_type(const EVP_MD *md); int EVP_MD_size(const EVP_MD *md); int EVP_MD_block_size(const EVP_MD *md); unsigned long EVP_MD_flags(const EVP_MD *md); const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); int EVP_CIPHER_nid(const EVP_CIPHER *cipher); int EVP_CIPHER_block_size(const EVP_CIPHER *cipher); int EVP_CIPHER_key_length(const EVP_CIPHER *cipher); int EVP_CIPHER_iv_length(const EVP_CIPHER *cipher); unsigned long EVP_CIPHER_flags(const EVP_CIPHER *cipher); const EVP_CIPHER * EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx); int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx); int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx); int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx); int EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx); int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in); void * EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx); void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data); unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx); # 534 "/usr/include/openssl/evp.h" 3 # 545 "/usr/include/openssl/evp.h" 3 int EVP_Cipher(EVP_CIPHER_CTX *c, unsigned char *out, const unsigned char *in, unsigned int inl); # 559 "/usr/include/openssl/evp.h" 3 void EVP_MD_CTX_init(EVP_MD_CTX *ctx); int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx); EVP_MD_CTX *EVP_MD_CTX_create(void); void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out,const EVP_MD_CTX *in); void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags); void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags); int EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx,int flags); int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl); int EVP_DigestUpdate(EVP_MD_CTX *ctx,const void *d, size_t cnt); int EVP_DigestFinal_ex(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s); int EVP_Digest(const void *data, size_t count, unsigned char *md, unsigned int *size, const EVP_MD *type, ENGINE *impl); int EVP_MD_CTX_copy(EVP_MD_CTX *out,const EVP_MD_CTX *in); int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); int EVP_DigestFinal(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s); int EVP_read_pw_string(char *buf,int length,const char *prompt,int verify); int EVP_read_pw_string_min(char *buf,int minlen,int maxlen,const char *prompt,int verify); void EVP_set_pw_prompt(const char *prompt); char * EVP_get_pw_prompt(void); int EVP_BytesToKey(const EVP_CIPHER *type,const EVP_MD *md, const unsigned char *salt, const unsigned char *data, int datal, int count, unsigned char *key,unsigned char *iv); void EVP_CIPHER_CTX_set_flags(EVP_CIPHER_CTX *ctx, int flags); void EVP_CIPHER_CTX_clear_flags(EVP_CIPHER_CTX *ctx, int flags); int EVP_CIPHER_CTX_test_flags(const EVP_CIPHER_CTX *ctx,int flags); int EVP_EncryptInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv); int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv); int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl); int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); int EVP_DecryptInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv); int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv); int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl); int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl); int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl); int EVP_CipherInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, const unsigned char *key,const unsigned char *iv, int enc); int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key,const unsigned char *iv, int enc); int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl); int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl); int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl); int EVP_SignFinal(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s, EVP_PKEY *pkey); int EVP_VerifyFinal(EVP_MD_CTX *ctx,const unsigned char *sigbuf, unsigned int siglen,EVP_PKEY *pkey); int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey); int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, size_t *siglen); int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey); int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, unsigned char *sig, size_t siglen); int EVP_OpenInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *type, const unsigned char *ek, int ekl, const unsigned char *iv, EVP_PKEY *priv); int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char **ek, int *ekl, unsigned char *iv, EVP_PKEY **pubk, int npubk); int EVP_SealFinal(EVP_CIPHER_CTX *ctx,unsigned char *out,int *outl); void EVP_EncodeInit(EVP_ENCODE_CTX *ctx); void EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx,unsigned char *out,int *outl, const unsigned char *in,int inl); void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx,unsigned char *out,int *outl); int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); void EVP_DecodeInit(EVP_ENCODE_CTX *ctx); int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx,unsigned char *out,int *outl, const unsigned char *in, int inl); int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl); int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a); int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a); EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void); void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *a); int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x, int keylen); int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *c, int pad); int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr); int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key); BIO_METHOD *BIO_f_md(void); BIO_METHOD *BIO_f_base64(void); BIO_METHOD *BIO_f_cipher(void); BIO_METHOD *BIO_f_reliable(void); void BIO_set_cipher(BIO *b,const EVP_CIPHER *c,const unsigned char *k, const unsigned char *i, int enc); const EVP_MD *EVP_md_null(void); const EVP_MD *EVP_md2(void); const EVP_MD *EVP_md4(void); const EVP_MD *EVP_md5(void); const EVP_MD *EVP_sha(void); const EVP_MD *EVP_sha1(void); const EVP_MD *EVP_dss(void); const EVP_MD *EVP_dss1(void); const EVP_MD *EVP_ecdsa(void); const EVP_MD *EVP_sha224(void); const EVP_MD *EVP_sha256(void); const EVP_MD *EVP_sha384(void); const EVP_MD *EVP_sha512(void); const EVP_MD *EVP_ripemd160(void); const EVP_MD *EVP_whirlpool(void); const EVP_CIPHER *EVP_enc_null(void); const EVP_CIPHER *EVP_des_ecb(void); const EVP_CIPHER *EVP_des_ede(void); const EVP_CIPHER *EVP_des_ede3(void); const EVP_CIPHER *EVP_des_ede_ecb(void); const EVP_CIPHER *EVP_des_ede3_ecb(void); const EVP_CIPHER *EVP_des_cfb64(void); const EVP_CIPHER *EVP_des_cfb1(void); const EVP_CIPHER *EVP_des_cfb8(void); const EVP_CIPHER *EVP_des_ede_cfb64(void); const EVP_CIPHER *EVP_des_ede3_cfb64(void); const EVP_CIPHER *EVP_des_ede3_cfb1(void); const EVP_CIPHER *EVP_des_ede3_cfb8(void); const EVP_CIPHER *EVP_des_ofb(void); const EVP_CIPHER *EVP_des_ede_ofb(void); const EVP_CIPHER *EVP_des_ede3_ofb(void); const EVP_CIPHER *EVP_des_cbc(void); const EVP_CIPHER *EVP_des_ede_cbc(void); const EVP_CIPHER *EVP_des_ede3_cbc(void); const EVP_CIPHER *EVP_desx_cbc(void); const EVP_CIPHER *EVP_des_ede3_wrap(void); # 752 "/usr/include/openssl/evp.h" 3 const EVP_CIPHER *EVP_rc4(void); const EVP_CIPHER *EVP_rc4_40(void); const EVP_CIPHER *EVP_rc4_hmac_md5(void); const EVP_CIPHER *EVP_idea_ecb(void); const EVP_CIPHER *EVP_idea_cfb64(void); const EVP_CIPHER *EVP_idea_ofb(void); const EVP_CIPHER *EVP_idea_cbc(void); const EVP_CIPHER *EVP_rc2_ecb(void); const EVP_CIPHER *EVP_rc2_cbc(void); const EVP_CIPHER *EVP_rc2_40_cbc(void); const EVP_CIPHER *EVP_rc2_64_cbc(void); const EVP_CIPHER *EVP_rc2_cfb64(void); const EVP_CIPHER *EVP_rc2_ofb(void); const EVP_CIPHER *EVP_bf_ecb(void); const EVP_CIPHER *EVP_bf_cbc(void); const EVP_CIPHER *EVP_bf_cfb64(void); const EVP_CIPHER *EVP_bf_ofb(void); const EVP_CIPHER *EVP_cast5_ecb(void); const EVP_CIPHER *EVP_cast5_cbc(void); const EVP_CIPHER *EVP_cast5_cfb64(void); const EVP_CIPHER *EVP_cast5_ofb(void); const EVP_CIPHER *EVP_aes_128_ecb(void); const EVP_CIPHER *EVP_aes_128_cbc(void); const EVP_CIPHER *EVP_aes_128_cfb1(void); const EVP_CIPHER *EVP_aes_128_cfb8(void); const EVP_CIPHER *EVP_aes_128_cfb128(void); const EVP_CIPHER *EVP_aes_128_ofb(void); const EVP_CIPHER *EVP_aes_128_ctr(void); const EVP_CIPHER *EVP_aes_128_ccm(void); const EVP_CIPHER *EVP_aes_128_gcm(void); const EVP_CIPHER *EVP_aes_128_xts(void); const EVP_CIPHER *EVP_aes_128_wrap(void); const EVP_CIPHER *EVP_aes_128_wrap_pad(void); const EVP_CIPHER *EVP_aes_192_ecb(void); const EVP_CIPHER *EVP_aes_192_cbc(void); const EVP_CIPHER *EVP_aes_192_cfb1(void); const EVP_CIPHER *EVP_aes_192_cfb8(void); const EVP_CIPHER *EVP_aes_192_cfb128(void); const EVP_CIPHER *EVP_aes_192_ofb(void); const EVP_CIPHER *EVP_aes_192_ctr(void); const EVP_CIPHER *EVP_aes_192_ccm(void); const EVP_CIPHER *EVP_aes_192_gcm(void); const EVP_CIPHER *EVP_aes_192_wrap(void); const EVP_CIPHER *EVP_aes_192_wrap_pad(void); const EVP_CIPHER *EVP_aes_256_ecb(void); const EVP_CIPHER *EVP_aes_256_cbc(void); const EVP_CIPHER *EVP_aes_256_cfb1(void); const EVP_CIPHER *EVP_aes_256_cfb8(void); const EVP_CIPHER *EVP_aes_256_cfb128(void); const EVP_CIPHER *EVP_aes_256_ofb(void); const EVP_CIPHER *EVP_aes_256_ctr(void); const EVP_CIPHER *EVP_aes_256_ccm(void); const EVP_CIPHER *EVP_aes_256_gcm(void); const EVP_CIPHER *EVP_aes_256_xts(void); const EVP_CIPHER *EVP_aes_256_wrap(void); const EVP_CIPHER *EVP_aes_256_wrap_pad(void); const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha1(void); const EVP_CIPHER *EVP_aes_256_cbc_hmac_sha1(void); const EVP_CIPHER *EVP_camellia_128_ecb(void); const EVP_CIPHER *EVP_camellia_128_cbc(void); const EVP_CIPHER *EVP_camellia_128_cfb1(void); const EVP_CIPHER *EVP_camellia_128_cfb8(void); const EVP_CIPHER *EVP_camellia_128_cfb128(void); const EVP_CIPHER *EVP_camellia_128_ofb(void); const EVP_CIPHER *EVP_camellia_192_ecb(void); const EVP_CIPHER *EVP_camellia_192_cbc(void); const EVP_CIPHER *EVP_camellia_192_cfb1(void); const EVP_CIPHER *EVP_camellia_192_cfb8(void); const EVP_CIPHER *EVP_camellia_192_cfb128(void); const EVP_CIPHER *EVP_camellia_192_ofb(void); const EVP_CIPHER *EVP_camellia_256_ecb(void); const EVP_CIPHER *EVP_camellia_256_cbc(void); const EVP_CIPHER *EVP_camellia_256_cfb1(void); const EVP_CIPHER *EVP_camellia_256_cfb8(void); const EVP_CIPHER *EVP_camellia_256_cfb128(void); const EVP_CIPHER *EVP_camellia_256_ofb(void); const EVP_CIPHER *EVP_seed_ecb(void); const EVP_CIPHER *EVP_seed_cbc(void); const EVP_CIPHER *EVP_seed_cfb128(void); const EVP_CIPHER *EVP_seed_ofb(void); void OPENSSL_add_all_algorithms_noconf(void); void OPENSSL_add_all_algorithms_conf(void); # 874 "/usr/include/openssl/evp.h" 3 void OpenSSL_add_all_ciphers(void); void OpenSSL_add_all_digests(void); int EVP_add_cipher(const EVP_CIPHER *cipher); int EVP_add_digest(const EVP_MD *digest); const EVP_CIPHER *EVP_get_cipherbyname(const char *name); const EVP_MD *EVP_get_digestbyname(const char *name); void EVP_cleanup(void); void EVP_CIPHER_do_all(void (*fn)(const EVP_CIPHER *ciph, const char *from, const char *to, void *x), void *arg); void EVP_CIPHER_do_all_sorted(void (*fn)(const EVP_CIPHER *ciph, const char *from, const char *to, void *x), void *arg); void EVP_MD_do_all(void (*fn)(const EVP_MD *ciph, const char *from, const char *to, void *x), void *arg); void EVP_MD_do_all_sorted(void (*fn)(const EVP_MD *ciph, const char *from, const char *to, void *x), void *arg); int EVP_PKEY_decrypt_old(unsigned char *dec_key, const unsigned char *enc_key,int enc_key_len, EVP_PKEY *private_key); int EVP_PKEY_encrypt_old(unsigned char *enc_key, const unsigned char *key,int key_len, EVP_PKEY *pub_key); int EVP_PKEY_type(int type); int EVP_PKEY_id(const EVP_PKEY *pkey); int EVP_PKEY_base_id(const EVP_PKEY *pkey); int EVP_PKEY_bits(EVP_PKEY *pkey); int EVP_PKEY_size(EVP_PKEY *pkey); int EVP_PKEY_set_type(EVP_PKEY *pkey,int type); int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len); int EVP_PKEY_assign(EVP_PKEY *pkey,int type,void *key); void * EVP_PKEY_get0(EVP_PKEY *pkey); struct rsa_st; int EVP_PKEY_set1_RSA(EVP_PKEY *pkey,struct rsa_st *key); struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); struct dsa_st; int EVP_PKEY_set1_DSA(EVP_PKEY *pkey,struct dsa_st *key); struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); struct dh_st; int EVP_PKEY_set1_DH(EVP_PKEY *pkey,struct dh_st *key); struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); struct ec_key_st; int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey,struct ec_key_st *key); struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); EVP_PKEY * EVP_PKEY_new(void); void EVP_PKEY_free(EVP_PKEY *pkey); EVP_PKEY * d2i_PublicKey(int type,EVP_PKEY **a, const unsigned char **pp, long length); int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp); EVP_PKEY * d2i_PrivateKey(int type,EVP_PKEY **a, const unsigned char **pp, long length); EVP_PKEY * d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp, long length); int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp); int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from); int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey); int EVP_PKEY_save_parameters(EVP_PKEY *pkey,int mode); int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b); int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx); int EVP_PKEY_print_private(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx); int EVP_PKEY_print_params(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx); int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey, int *pnid); int EVP_CIPHER_type(const EVP_CIPHER *ctx); int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type); int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type); int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c,ASN1_TYPE *type); int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c,ASN1_TYPE *type); int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de); int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen, const unsigned char *salt, int saltlen, int iter, int keylen, unsigned char *out); int PKCS5_PBKDF2_HMAC(const char *pass, int passlen, const unsigned char *salt, int saltlen, int iter, const EVP_MD *digest, int keylen, unsigned char *out); int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de); void PKCS5_PBE_add(void); int EVP_PBE_CipherInit (ASN1_OBJECT *pbe_obj, const char *pass, int passlen, ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de); int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, int md_nid, EVP_PBE_KEYGEN *keygen); int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, EVP_PBE_KEYGEN *keygen); int EVP_PBE_find(int type, int pbe_nid, int *pcnid, int *pmnid, EVP_PBE_KEYGEN **pkeygen); void EVP_PBE_cleanup(void); int EVP_PKEY_asn1_get_count(void); const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_get0(int idx); const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find(ENGINE **pe, int type); const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find_str(ENGINE **pe, const char *str, int len); int EVP_PKEY_asn1_add0(const EVP_PKEY_ASN1_METHOD *ameth); int EVP_PKEY_asn1_add_alias(int to, int from); int EVP_PKEY_asn1_get0_info(int *ppkey_id, int *pkey_base_id, int *ppkey_flags, const char **pinfo, const char **ppem_str, const EVP_PKEY_ASN1_METHOD *ameth); const EVP_PKEY_ASN1_METHOD* EVP_PKEY_get0_asn1(EVP_PKEY *pkey); EVP_PKEY_ASN1_METHOD* EVP_PKEY_asn1_new(int id, int flags, const char *pem_str, const char *info); void EVP_PKEY_asn1_copy(EVP_PKEY_ASN1_METHOD *dst, const EVP_PKEY_ASN1_METHOD *src); void EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth); void EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth, int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub), int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk), int (*pub_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), int (*pub_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx), int (*pkey_size)(const EVP_PKEY *pk), int (*pkey_bits)(const EVP_PKEY *pk)); void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth, int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf), int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk), int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)); void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, int (*param_decode)(EVP_PKEY *pkey, const unsigned char **pder, int derlen), int (*param_encode)(const EVP_PKEY *pkey, unsigned char **pder), int (*param_missing)(const EVP_PKEY *pk), int (*param_copy)(EVP_PKEY *to, const EVP_PKEY *from), int (*param_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), int (*param_print)(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)); void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, void (*pkey_free)(EVP_PKEY *pkey)); void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, int (*pkey_ctrl)(EVP_PKEY *pkey, int op, long arg1, void *arg2)); # 1077 "/usr/include/openssl/evp.h" 3 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); EVP_PKEY_METHOD* EVP_PKEY_meth_new(int id, int flags); void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags, const EVP_PKEY_METHOD *meth); void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, const EVP_PKEY_METHOD *src); void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth); int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e); EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e); EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *ctx); void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx); int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, int cmd, int p1, void *p2); int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, const char *value); int EVP_PKEY_CTX_get_operation(EVP_PKEY_CTX *ctx); void EVP_PKEY_CTX_set0_keygen_info(EVP_PKEY_CTX *ctx, int *dat, int datlen); EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e, const unsigned char *key, int keylen); void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX *ctx, void *data); void *EVP_PKEY_CTX_get_data(EVP_PKEY_CTX *ctx); EVP_PKEY *EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx); EVP_PKEY *EVP_PKEY_CTX_get0_peerkey(EVP_PKEY_CTX *ctx); void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void *data); void *EVP_PKEY_CTX_get_app_data(EVP_PKEY_CTX *ctx); int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, const unsigned char *tbs, size_t tbslen); int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_verify(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen, const unsigned char *tbs, size_t tbslen); int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx, unsigned char *rout, size_t *routlen, const unsigned char *sig, size_t siglen); int EVP_PKEY_encrypt_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen); int EVP_PKEY_decrypt_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen); int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer); int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen); typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx); int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey); int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey); void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb); EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx); int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx, int idx); void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth, int (*init)(EVP_PKEY_CTX *ctx)); void EVP_PKEY_meth_set_copy(EVP_PKEY_METHOD *pmeth, int (*copy)(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)); void EVP_PKEY_meth_set_cleanup(EVP_PKEY_METHOD *pmeth, void (*cleanup)(EVP_PKEY_CTX *ctx)); void EVP_PKEY_meth_set_paramgen(EVP_PKEY_METHOD *pmeth, int (*paramgen_init)(EVP_PKEY_CTX *ctx), int (*paramgen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)); void EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth, int (*keygen_init)(EVP_PKEY_CTX *ctx), int (*keygen)(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)); void EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *pmeth, int (*sign_init)(EVP_PKEY_CTX *ctx), int (*sign)(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, const unsigned char *tbs, size_t tbslen)); void EVP_PKEY_meth_set_verify(EVP_PKEY_METHOD *pmeth, int (*verify_init)(EVP_PKEY_CTX *ctx), int (*verify)(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen, const unsigned char *tbs, size_t tbslen)); void EVP_PKEY_meth_set_verify_recover(EVP_PKEY_METHOD *pmeth, int (*verify_recover_init)(EVP_PKEY_CTX *ctx), int (*verify_recover)(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, const unsigned char *tbs, size_t tbslen)); void EVP_PKEY_meth_set_signctx(EVP_PKEY_METHOD *pmeth, int (*signctx_init)(EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx), int (*signctx)(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, EVP_MD_CTX *mctx)); void EVP_PKEY_meth_set_verifyctx(EVP_PKEY_METHOD *pmeth, int (*verifyctx_init)(EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx), int (*verifyctx)(EVP_PKEY_CTX *ctx, const unsigned char *sig,int siglen, EVP_MD_CTX *mctx)); void EVP_PKEY_meth_set_encrypt(EVP_PKEY_METHOD *pmeth, int (*encrypt_init)(EVP_PKEY_CTX *ctx), int (*encryptfn)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen)); void EVP_PKEY_meth_set_decrypt(EVP_PKEY_METHOD *pmeth, int (*decrypt_init)(EVP_PKEY_CTX *ctx), int (*decrypt)(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen)); void EVP_PKEY_meth_set_derive(EVP_PKEY_METHOD *pmeth, int (*derive_init)(EVP_PKEY_CTX *ctx), int (*derive)(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen)); void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth, int (*ctrl)(EVP_PKEY_CTX *ctx, int type, int p1, void *p2), int (*ctrl_str)(EVP_PKEY_CTX *ctx, const char *type, const char *value)); void EVP_add_alg_module(void); void ERR_load_EVP_strings(void); # 1345 "/usr/include/openssl/evp.h" 3 # 1418 "/usr/include/openssl/evp.h" 3 # 74 "/usr/include/openssl/x509.h" 2 3 # 81 "/usr/include/openssl/x509.h" 3 # 1 "/usr/include/openssl/ec.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 80 "/usr/include/openssl/ec.h" 2 3 # 98 "/usr/include/openssl/ec.h" 3 typedef enum { POINT_CONVERSION_COMPRESSED = 2, POINT_CONVERSION_UNCOMPRESSED = 4, POINT_CONVERSION_HYBRID = 6 } point_conversion_form_t; typedef struct ec_method_st EC_METHOD; typedef struct ec_group_st EC_GROUP; typedef struct ec_point_st EC_POINT; const EC_METHOD *EC_GFp_simple_method(void); const EC_METHOD *EC_GFp_mont_method(void); const EC_METHOD *EC_GFp_nist_method(void); # 170 "/usr/include/openssl/ec.h" 3 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth); void EC_GROUP_free(EC_GROUP *group); void EC_GROUP_clear_free(EC_GROUP *group); int EC_GROUP_copy(EC_GROUP *dst, const EC_GROUP *src); EC_GROUP *EC_GROUP_dup(const EC_GROUP *src); const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group); int EC_METHOD_get_field_type(const EC_METHOD *meth); int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor); const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group); int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx); int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx); void EC_GROUP_set_curve_name(EC_GROUP *group, int nid); int EC_GROUP_get_curve_name(const EC_GROUP *group); void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag); int EC_GROUP_get_asn1_flag(const EC_GROUP *group); void EC_GROUP_set_point_conversion_form(EC_GROUP *group, point_conversion_form_t form); point_conversion_form_t EC_GROUP_get_point_conversion_form(const EC_GROUP *); unsigned char *EC_GROUP_get0_seed(const EC_GROUP *x); size_t EC_GROUP_get_seed_len(const EC_GROUP *); size_t EC_GROUP_set_seed(EC_GROUP *, const unsigned char *, size_t len); int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx); int EC_GROUP_get_degree(const EC_GROUP *group); int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx); int EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx); int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx); EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); EC_GROUP *EC_GROUP_new_by_curve_name(int nid); typedef struct { int nid; const char *comment; } EC_builtin_curve; size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems); EC_POINT *EC_POINT_new(const EC_GROUP *group); void EC_POINT_free(EC_POINT *point); void EC_POINT_clear_free(EC_POINT *point); int EC_POINT_copy(EC_POINT *dst, const EC_POINT *src); EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group); const EC_METHOD *EC_POINT_method_of(const EC_POINT *point); int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point); int EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx); int EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, const EC_POINT *p, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx); int EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx); int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group, const EC_POINT *p, BIGNUM *x, BIGNUM *y, BN_CTX *ctx); int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, int y_bit, BN_CTX *ctx); size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *p, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx); int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *p, const unsigned char *buf, size_t len, BN_CTX *ctx); BIGNUM *EC_POINT_point2bn(const EC_GROUP *, const EC_POINT *, point_conversion_form_t form, BIGNUM *, BN_CTX *); EC_POINT *EC_POINT_bn2point(const EC_GROUP *, const BIGNUM *, EC_POINT *, BN_CTX *); char *EC_POINT_point2hex(const EC_GROUP *, const EC_POINT *, point_conversion_form_t form, BN_CTX *); EC_POINT *EC_POINT_hex2point(const EC_GROUP *, const char *, EC_POINT *, BN_CTX *); int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx); int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx); int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx); int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *p); int EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx); int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx); int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx); int EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx); int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, size_t num, const EC_POINT *p[], const BIGNUM *m[], BN_CTX *ctx); int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx); int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx); int EC_GROUP_have_precompute_mult(const EC_GROUP *group); int EC_GROUP_get_basis_type(const EC_GROUP *); typedef struct ecpk_parameters_st ECPKPARAMETERS; EC_GROUP *d2i_ECPKParameters(EC_GROUP **, const unsigned char **in, long len); int i2d_ECPKParameters(const EC_GROUP *, unsigned char **out); # 613 "/usr/include/openssl/ec.h" 3 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off); int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off); typedef struct ec_key_st EC_KEY; EC_KEY *EC_KEY_new(void); int EC_KEY_get_flags(const EC_KEY *key); void EC_KEY_set_flags(EC_KEY *key, int flags); void EC_KEY_clear_flags(EC_KEY *key, int flags); EC_KEY *EC_KEY_new_by_curve_name(int nid); void EC_KEY_free(EC_KEY *key); EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src); EC_KEY *EC_KEY_dup(const EC_KEY *src); int EC_KEY_up_ref(EC_KEY *key); const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); unsigned EC_KEY_get_enc_flags(const EC_KEY *key); void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags); point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key); void EC_KEY_set_conv_form(EC_KEY *eckey, point_conversion_form_t cform); void *EC_KEY_get_key_method_data(EC_KEY *key, void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)); void *EC_KEY_insert_key_method_data(EC_KEY *key, void *data, void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)); void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx); int EC_KEY_generate_key(EC_KEY *key); int EC_KEY_check_key(const EC_KEY *key); int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, BIGNUM *y); EC_KEY *d2i_ECPrivateKey(EC_KEY **key, const unsigned char **in, long len); int i2d_ECPrivateKey(EC_KEY *key, unsigned char **out); EC_KEY *d2i_ECParameters(EC_KEY **key, const unsigned char **in, long len); int i2d_ECParameters(EC_KEY *key, unsigned char **out); EC_KEY *o2i_ECPublicKey(EC_KEY **key, const unsigned char **in, long len); int i2o_ECPublicKey(EC_KEY *key, unsigned char **out); int ECParameters_print(BIO *bp, const EC_KEY *key); int EC_KEY_print(BIO *bp, const EC_KEY *key, int off); int ECParameters_print_fp(FILE *fp, const EC_KEY *key); int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off); # 879 "/usr/include/openssl/ec.h" 3 void ERR_load_EC_strings(void); # 1032 "/usr/include/openssl/ec.h" 3 # 1081 "/usr/include/openssl/ec.h" 3 # 84 "/usr/include/openssl/x509.h" 2 3 # 1 "/usr/include/openssl/ecdsa.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 63 "/usr/include/openssl/ecdsa.h" 2 3 typedef struct ECDSA_SIG_st { BIGNUM *r; BIGNUM *s; } ECDSA_SIG; ECDSA_SIG *ECDSA_SIG_new(void); void ECDSA_SIG_free(ECDSA_SIG *sig); int i2d_ECDSA_SIG(const ECDSA_SIG *sig, unsigned char **pp); ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **sig, const unsigned char **pp, long len); ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,int dgst_len,EC_KEY *eckey); ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dgstlen, const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey); int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, const ECDSA_SIG *sig, EC_KEY* eckey); const ECDSA_METHOD *ECDSA_OpenSSL(void); void ECDSA_set_default_method(const ECDSA_METHOD *meth); const ECDSA_METHOD *ECDSA_get_default_method(void); int ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *meth); int ECDSA_size(const EC_KEY *eckey); int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp); int ECDSA_sign(int type, const unsigned char *dgst, int dgstlen, unsigned char *sig, unsigned int *siglen, EC_KEY *eckey); int ECDSA_sign_ex(int type, const unsigned char *dgst, int dgstlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey); int ECDSA_verify(int type, const unsigned char *dgst, int dgstlen, const unsigned char *sig, int siglen, EC_KEY *eckey); int ECDSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int ECDSA_set_ex_data(EC_KEY *d, int idx, void *arg); void *ECDSA_get_ex_data(EC_KEY *d, int idx); void ERR_load_ECDSA_strings(void); # 256 "/usr/include/openssl/ecdsa.h" 3 # 88 "/usr/include/openssl/x509.h" 2 3 # 1 "/usr/include/openssl/ecdh.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 73 "/usr/include/openssl/ecdh.h" 2 3 const ECDH_METHOD *ECDH_OpenSSL(void); void ECDH_set_default_method(const ECDH_METHOD *); const ECDH_METHOD *ECDH_get_default_method(void); int ECDH_set_method(EC_KEY *, const ECDH_METHOD *); int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh, void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)); int ECDH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int ECDH_set_ex_data(EC_KEY *d, int idx, void *arg); void *ECDH_get_ex_data(EC_KEY *d, int idx); void ERR_load_ECDH_strings(void); # 92 "/usr/include/openssl/x509.h" 2 3 # 1 "/usr/include/openssl/rsa.h" 1 3 # 72 "/usr/include/openssl/rsa.h" 3 struct rsa_meth_st { const char *name; int (*rsa_pub_enc)(int flen,const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int (*rsa_pub_dec)(int flen,const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int (*rsa_priv_enc)(int flen,const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int (*rsa_priv_dec)(int flen,const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int (*rsa_mod_exp)(BIGNUM *r0,const BIGNUM *I,RSA *rsa,BN_CTX *ctx); int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int (*init)(RSA *rsa); int (*finish)(RSA *rsa); int flags; char *app_data; int (*rsa_sign)(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, const RSA *rsa); int (*rsa_verify)(int dtype, const unsigned char *m, unsigned int m_length, const unsigned char *sigbuf, unsigned int siglen, const RSA *rsa); int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb); }; struct rsa_st { int pad; long version; const RSA_METHOD *meth; ENGINE *engine; BIGNUM *n; BIGNUM *e; BIGNUM *d; BIGNUM *p; BIGNUM *q; BIGNUM *dmp1; BIGNUM *dmq1; BIGNUM *iqmp; CRYPTO_EX_DATA ex_data; int references; int flags; BN_MONT_CTX *_method_mod_n; BN_MONT_CTX *_method_mod_p; BN_MONT_CTX *_method_mod_q; char *bignum_data; BN_BLINDING *blinding; BN_BLINDING *mt_blinding; }; # 175 "/usr/include/openssl/rsa.h" 3 # 213 "/usr/include/openssl/rsa.h" 3 RSA * RSA_new(void); RSA * RSA_new_method(ENGINE *engine); int RSA_size(const RSA *rsa); RSA * RSA_generate_key(int bits, unsigned long e,void (*callback)(int,int,void *),void *cb_arg); int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb); int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1, BIGNUM *q2, const BIGNUM *Xp1, const BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *Xq1, const BIGNUM *Xq2, const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb); int RSA_X931_generate_key_ex(RSA *rsa, int bits, const BIGNUM *e, BN_GENCB *cb); int RSA_check_key(const RSA *); int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa,int padding); void RSA_free (RSA *r); int RSA_up_ref(RSA *r); int RSA_flags(const RSA *r); void RSA_set_default_method(const RSA_METHOD *meth); const RSA_METHOD *RSA_get_default_method(void); const RSA_METHOD *RSA_get_method(const RSA *rsa); int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); int RSA_memory_lock(RSA *r); const RSA_METHOD *RSA_PKCS1_SSLeay(void); const RSA_METHOD *RSA_null_method(void); RSA *d2i_RSAPublicKey(RSA * *a, const unsigned char * *in, long len); int i2d_RSAPublicKey(const RSA *a, unsigned char * *out); extern const ASN1_ITEM RSAPublicKey_it; RSA *d2i_RSAPrivateKey(RSA * *a, const unsigned char * *in, long len); int i2d_RSAPrivateKey(const RSA *a, unsigned char * *out); extern const ASN1_ITEM RSAPrivateKey_it; typedef struct rsa_pss_params_st { X509_ALGOR *hashAlgorithm; X509_ALGOR *maskGenAlgorithm; ASN1_INTEGER *saltLength; ASN1_INTEGER *trailerField; } RSA_PSS_PARAMS; RSA_PSS_PARAMS *RSA_PSS_PARAMS_new(void); void RSA_PSS_PARAMS_free(RSA_PSS_PARAMS *a); RSA_PSS_PARAMS *d2i_RSA_PSS_PARAMS(RSA_PSS_PARAMS * *a, const unsigned char * *in, long len); int i2d_RSA_PSS_PARAMS(RSA_PSS_PARAMS *a, unsigned char * *out); extern const ASN1_ITEM RSA_PSS_PARAMS_it; int RSA_print_fp(FILE *fp, const RSA *r,int offset); int RSA_print(BIO *bp, const RSA *r,int offset); int i2d_RSA_NET(const RSA *a, unsigned char **pp, int (*cb)(char *buf, int len, const char *prompt, int verify), int sgckey); RSA *d2i_RSA_NET(RSA **a, const unsigned char **pp, long length, int (*cb)(char *buf, int len, const char *prompt, int verify), int sgckey); int i2d_Netscape_RSA(const RSA *a, unsigned char **pp, int (*cb)(char *buf, int len, const char *prompt, int verify)); RSA *d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length, int (*cb)(char *buf, int len, const char *prompt, int verify)); int RSA_sign(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, RSA *rsa); int RSA_verify(int type, const unsigned char *m, unsigned int m_length, const unsigned char *sigbuf, unsigned int siglen, RSA *rsa); int RSA_sign_ASN1_OCTET_STRING(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, RSA *rsa); int RSA_verify_ASN1_OCTET_STRING(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigbuf, unsigned int siglen, RSA *rsa); int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); void RSA_blinding_off(RSA *rsa); BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *ctx); int RSA_padding_add_PKCS1_type_1(unsigned char *to,int tlen, const unsigned char *f,int fl); int RSA_padding_check_PKCS1_type_1(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len); int RSA_padding_add_PKCS1_type_2(unsigned char *to,int tlen, const unsigned char *f,int fl); int RSA_padding_check_PKCS1_type_2(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len); int PKCS1_MGF1(unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst); int RSA_padding_add_PKCS1_OAEP(unsigned char *to,int tlen, const unsigned char *f,int fl, const unsigned char *p,int pl); int RSA_padding_check_PKCS1_OAEP(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len, const unsigned char *p,int pl); int RSA_padding_add_SSLv23(unsigned char *to,int tlen, const unsigned char *f,int fl); int RSA_padding_check_SSLv23(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len); int RSA_padding_add_none(unsigned char *to,int tlen, const unsigned char *f,int fl); int RSA_padding_check_none(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len); int RSA_padding_add_X931(unsigned char *to,int tlen, const unsigned char *f,int fl); int RSA_padding_check_X931(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len); int RSA_X931_hash_id(int nid); int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, const EVP_MD *Hash, const unsigned char *EM, int sLen); int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM, const unsigned char *mHash, const EVP_MD *Hash, int sLen); int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, const EVP_MD *Hash, const EVP_MD *mgf1Hash, const unsigned char *EM, int sLen); int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, const unsigned char *mHash, const EVP_MD *Hash, const EVP_MD *mgf1Hash, int sLen); int RSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int RSA_set_ex_data(RSA *r,int idx,void *arg); void *RSA_get_ex_data(const RSA *r, int idx); RSA *RSAPublicKey_dup(RSA *rsa); RSA *RSAPrivateKey_dup(RSA *rsa); void ERR_load_RSA_strings(void); # 526 "/usr/include/openssl/rsa.h" 3 # 588 "/usr/include/openssl/rsa.h" 3 # 97 "/usr/include/openssl/x509.h" 2 3 # 1 "/usr/include/openssl/dsa.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 69 "/usr/include/openssl/dsa.h" 2 3 # 1 "/usr/include/openssl/dh.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 63 "/usr/include/openssl/dh.h" 2 3 # 75 "/usr/include/openssl/dh.h" 3 # 91 "/usr/include/openssl/dh.h" 3 struct dh_method { const char *name; int (*generate_key)(DH *dh); int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh); int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int (*init)(DH *dh); int (*finish)(DH *dh); int flags; char *app_data; int (*generate_params)(DH *dh, int prime_len, int generator, BN_GENCB *cb); }; struct dh_st { int pad; int version; BIGNUM *p; BIGNUM *g; long length; BIGNUM *pub_key; BIGNUM *priv_key; int flags; BN_MONT_CTX *method_mont_p; BIGNUM *q; BIGNUM *j; unsigned char *seed; int seedlen; BIGNUM *counter; int references; CRYPTO_EX_DATA ex_data; const DH_METHOD *meth; ENGINE *engine; }; # 184 "/usr/include/openssl/dh.h" 3 DH *DHparams_dup(DH *); const DH_METHOD *DH_OpenSSL(void); void DH_set_default_method(const DH_METHOD *meth); const DH_METHOD *DH_get_default_method(void); int DH_set_method(DH *dh, const DH_METHOD *meth); DH *DH_new_method(ENGINE *engine); DH * DH_new(void); void DH_free(DH *dh); int DH_up_ref(DH *dh); int DH_size(const DH *dh); int DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int DH_set_ex_data(DH *d, int idx, void *arg); void *DH_get_ex_data(DH *d, int idx); DH * DH_generate_parameters(int prime_len,int generator, void (*callback)(int,int,void *),void *cb_arg); int DH_generate_parameters_ex(DH *dh, int prime_len,int generator, BN_GENCB *cb); int DH_check(const DH *dh,int *codes); int DH_check_pub_key(const DH *dh,const BIGNUM *pub_key, int *codes); int DH_generate_key(DH *dh); int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh); int DH_compute_key_padded(unsigned char *key,const BIGNUM *pub_key,DH *dh); DH * d2i_DHparams(DH **a,const unsigned char **pp, long length); int i2d_DHparams(const DH *a,unsigned char **pp); int DHparams_print_fp(FILE *fp, const DH *x); int DHparams_print(BIO *bp, const DH *x); void ERR_load_DH_strings(void); # 266 "/usr/include/openssl/dh.h" 3 # 280 "/usr/include/openssl/dh.h" 3 # 84 "/usr/include/openssl/dsa.h" 2 3 # 102 "/usr/include/openssl/dsa.h" 3 typedef struct DSA_SIG_st { BIGNUM *r; BIGNUM *s; } DSA_SIG; struct dsa_method { const char *name; DSA_SIG * (*dsa_do_sign)(const unsigned char *dgst, int dlen, DSA *dsa); int (*dsa_sign_setup)(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp); int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa); int (*dsa_mod_exp)(DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont); int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int (*init)(DSA *dsa); int (*finish)(DSA *dsa); int flags; char *app_data; int (*dsa_paramgen)(DSA *dsa, int bits, const unsigned char *seed, int seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb); int (*dsa_keygen)(DSA *dsa); }; struct dsa_st { int pad; long version; int write_params; BIGNUM *p; BIGNUM *q; BIGNUM *g; BIGNUM *pub_key; BIGNUM *priv_key; BIGNUM *kinv; BIGNUM *r; int flags; BN_MONT_CTX *method_mont_p; int references; CRYPTO_EX_DATA ex_data; const DSA_METHOD *meth; ENGINE *engine; }; # 192 "/usr/include/openssl/dsa.h" 3 DSA *DSAparams_dup(DSA *x); DSA_SIG * DSA_SIG_new(void); void DSA_SIG_free(DSA_SIG *a); int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **pp); DSA_SIG * d2i_DSA_SIG(DSA_SIG **v, const unsigned char **pp, long length); DSA_SIG * DSA_do_sign(const unsigned char *dgst,int dlen,DSA *dsa); int DSA_do_verify(const unsigned char *dgst,int dgst_len, DSA_SIG *sig,DSA *dsa); const DSA_METHOD *DSA_OpenSSL(void); void DSA_set_default_method(const DSA_METHOD *); const DSA_METHOD *DSA_get_default_method(void); int DSA_set_method(DSA *dsa, const DSA_METHOD *); DSA * DSA_new(void); DSA * DSA_new_method(ENGINE *engine); void DSA_free (DSA *r); int DSA_up_ref(DSA *r); int DSA_size(const DSA *); int DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp); int DSA_sign(int type,const unsigned char *dgst,int dlen, unsigned char *sig, unsigned int *siglen, DSA *dsa); int DSA_verify(int type,const unsigned char *dgst,int dgst_len, const unsigned char *sigbuf, int siglen, DSA *dsa); int DSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int DSA_set_ex_data(DSA *d, int idx, void *arg); void *DSA_get_ex_data(DSA *d, int idx); DSA * d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length); DSA * d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length); DSA * d2i_DSAparams(DSA **a, const unsigned char **pp, long length); DSA * DSA_generate_parameters(int bits, unsigned char *seed,int seed_len, int *counter_ret, unsigned long *h_ret,void (*callback)(int, int, void *),void *cb_arg); int DSA_generate_parameters_ex(DSA *dsa, int bits, const unsigned char *seed,int seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb); int DSA_generate_key(DSA *a); int i2d_DSAPublicKey(const DSA *a, unsigned char **pp); int i2d_DSAPrivateKey(const DSA *a, unsigned char **pp); int i2d_DSAparams(const DSA *a,unsigned char **pp); int DSAparams_print(BIO *bp, const DSA *x); int DSA_print(BIO *bp, const DSA *x, int off); int DSAparams_print_fp(FILE *fp, const DSA *x); int DSA_print_fp(FILE *bp, const DSA *x, int off); DH *DSA_dup_DH(const DSA *r); int FIPS_dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, const EVP_MD *evpmd, const unsigned char *seed_in, size_t seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb); int FIPS_dsa_generate_pq(BN_CTX *ctx, size_t bits, size_t qbits, const EVP_MD *evpmd, unsigned char *seed, int seed_len, BIGNUM **p_ret, BIGNUM **q_ret, int *counter_ret, BN_GENCB *cb); int FIPS_dsa_generate_g(BN_CTX *ctx, BIGNUM *p, BIGNUM *q, BIGNUM **g_ret, unsigned long *h_ret, BN_GENCB *cb); void ERR_load_DSA_strings(void); # 326 "/usr/include/openssl/dsa.h" 3 # 344 "/usr/include/openssl/dsa.h" 3 # 100 "/usr/include/openssl/x509.h" 2 3 # 1 "/usr/include/openssl/sha.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 63 "/usr/include/openssl/sha.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 64 "/usr/include/openssl/sha.h" 2 3 # 92 "/usr/include/openssl/sha.h" 3 # 99 "/usr/include/openssl/sha.h" 3 typedef struct SHAstate_st { unsigned int h0,h1,h2,h3,h4; unsigned int Nl,Nh; unsigned int data[16]; unsigned int num; } SHA_CTX; int private_SHA_Init(SHA_CTX *c); int SHA_Init(SHA_CTX *c); int SHA_Update(SHA_CTX *c, const void *data, size_t len); int SHA_Final(unsigned char *md, SHA_CTX *c); unsigned char *SHA(const unsigned char *d, size_t n, unsigned char *md); void SHA_Transform(SHA_CTX *c, const unsigned char *data); int SHA1_Init(SHA_CTX *c); int SHA1_Update(SHA_CTX *c, const void *data, size_t len); int SHA1_Final(unsigned char *md, SHA_CTX *c); unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); void SHA1_Transform(SHA_CTX *c, const unsigned char *data); typedef struct SHA256state_st { unsigned int h[8]; unsigned int Nl,Nh; unsigned int data[16]; unsigned int num,md_len; } SHA256_CTX; int SHA224_Init(SHA256_CTX *c); int SHA224_Update(SHA256_CTX *c, const void *data, size_t len); int SHA224_Final(unsigned char *md, SHA256_CTX *c); unsigned char *SHA224(const unsigned char *d, size_t n,unsigned char *md); int SHA256_Init(SHA256_CTX *c); int SHA256_Update(SHA256_CTX *c, const void *data, size_t len); int SHA256_Final(unsigned char *md, SHA256_CTX *c); unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md); void SHA256_Transform(SHA256_CTX *c, const unsigned char *data); # 174 "/usr/include/openssl/sha.h" 3 typedef struct SHA512state_st { unsigned long long h[8]; unsigned long long Nl,Nh; union { unsigned long long d[16]; unsigned char p[(16*8)]; } u; unsigned int num,md_len; } SHA512_CTX; int SHA384_Init(SHA512_CTX *c); int SHA384_Update(SHA512_CTX *c, const void *data, size_t len); int SHA384_Final(unsigned char *md, SHA512_CTX *c); unsigned char *SHA384(const unsigned char *d, size_t n,unsigned char *md); int SHA512_Init(SHA512_CTX *c); int SHA512_Update(SHA512_CTX *c, const void *data, size_t len); int SHA512_Final(unsigned char *md, SHA512_CTX *c); unsigned char *SHA512(const unsigned char *d, size_t n,unsigned char *md); void SHA512_Transform(SHA512_CTX *c, const unsigned char *data); # 108 "/usr/include/openssl/x509.h" 2 3 # 121 "/usr/include/openssl/x509.h" 3 # 136 "/usr/include/openssl/x509.h" 3 typedef struct X509_objects_st { int nid; int (*a2i)(void); int (*i2a)(void); } X509_OBJECTS; struct X509_algor_st { ASN1_OBJECT *algorithm; ASN1_TYPE *parameter; } ; typedef struct stack_st_X509_ALGOR X509_ALGORS; typedef struct X509_val_st { ASN1_TIME *notBefore; ASN1_TIME *notAfter; } X509_VAL; struct X509_pubkey_st { X509_ALGOR *algor; ASN1_BIT_STRING *public_key; EVP_PKEY *pkey; }; typedef struct X509_sig_st { X509_ALGOR *algor; ASN1_OCTET_STRING *digest; } X509_SIG; typedef struct X509_name_entry_st { ASN1_OBJECT *object; ASN1_STRING *value; int set; int size; } X509_NAME_ENTRY; struct stack_st_X509_NAME_ENTRY { _STACK stack; }; struct X509_name_st { struct stack_st_X509_NAME_ENTRY *entries; int modified; BUF_MEM *bytes; unsigned char *canon_enc; int canon_enclen; } ; struct stack_st_X509_NAME { _STACK stack; }; typedef struct X509_extension_st { ASN1_OBJECT *object; ASN1_BOOLEAN critical; ASN1_OCTET_STRING *value; } X509_EXTENSION; typedef struct stack_st_X509_EXTENSION X509_EXTENSIONS; struct stack_st_X509_EXTENSION { _STACK stack; }; typedef struct x509_attributes_st { ASN1_OBJECT *object; int single; union { char *ptr; struct stack_st_ASN1_TYPE *set; ASN1_TYPE *single; } value; } X509_ATTRIBUTE; struct stack_st_X509_ATTRIBUTE { _STACK stack; }; typedef struct X509_req_info_st { ASN1_ENCODING enc; ASN1_INTEGER *version; X509_NAME *subject; X509_PUBKEY *pubkey; struct stack_st_X509_ATTRIBUTE *attributes; } X509_REQ_INFO; typedef struct X509_req_st { X509_REQ_INFO *req_info; X509_ALGOR *sig_alg; ASN1_BIT_STRING *signature; int references; } X509_REQ; typedef struct x509_cinf_st { ASN1_INTEGER *version; ASN1_INTEGER *serialNumber; X509_ALGOR *signature; X509_NAME *issuer; X509_VAL *validity; X509_NAME *subject; X509_PUBKEY *key; ASN1_BIT_STRING *issuerUID; ASN1_BIT_STRING *subjectUID; struct stack_st_X509_EXTENSION *extensions; ASN1_ENCODING enc; } X509_CINF; typedef struct x509_cert_aux_st { struct stack_st_ASN1_OBJECT *trust; struct stack_st_ASN1_OBJECT *reject; ASN1_UTF8STRING *alias; ASN1_OCTET_STRING *keyid; struct stack_st_X509_ALGOR *other; } X509_CERT_AUX; struct x509_st { X509_CINF *cert_info; X509_ALGOR *sig_alg; ASN1_BIT_STRING *signature; int valid; int references; char *name; CRYPTO_EX_DATA ex_data; long ex_pathlen; long ex_pcpathlen; unsigned long ex_flags; unsigned long ex_kusage; unsigned long ex_xkusage; unsigned long ex_nscert; ASN1_OCTET_STRING *skid; AUTHORITY_KEYID *akid; X509_POLICY_CACHE *policy_cache; struct stack_st_DIST_POINT *crldp; struct stack_st_GENERAL_NAME *altname; NAME_CONSTRAINTS *nc; struct stack_st_IPAddressFamily *rfc3779_addr; struct ASIdentifiers_st *rfc3779_asid; unsigned char sha1_hash[20]; X509_CERT_AUX *aux; } ; struct stack_st_X509 { _STACK stack; }; typedef struct x509_trust_st { int trust; int flags; int (*check_trust)(struct x509_trust_st *, X509 *, int); char *name; int arg1; void *arg2; } X509_TRUST; struct stack_st_X509_TRUST { _STACK stack; }; typedef struct x509_cert_pair_st { X509 *forward; X509 *reverse; } X509_CERT_PAIR; # 344 "/usr/include/openssl/x509.h" 3 # 375 "/usr/include/openssl/x509.h" 3 # 433 "/usr/include/openssl/x509.h" 3 struct x509_revoked_st { ASN1_INTEGER *serialNumber; ASN1_TIME *revocationDate; struct stack_st_X509_EXTENSION *extensions; struct stack_st_GENERAL_NAME *issuer; int reason; int sequence; }; struct stack_st_X509_REVOKED { _STACK stack; }; typedef struct X509_crl_info_st { ASN1_INTEGER *version; X509_ALGOR *sig_alg; X509_NAME *issuer; ASN1_TIME *lastUpdate; ASN1_TIME *nextUpdate; struct stack_st_X509_REVOKED *revoked; struct stack_st_X509_EXTENSION *extensions; ASN1_ENCODING enc; } X509_CRL_INFO; struct X509_crl_st { X509_CRL_INFO *crl; X509_ALGOR *sig_alg; ASN1_BIT_STRING *signature; int references; int flags; AUTHORITY_KEYID *akid; ISSUING_DIST_POINT *idp; int idp_flags; int idp_reasons; ASN1_INTEGER *crl_number; ASN1_INTEGER *base_crl_number; unsigned char sha1_hash[20]; struct stack_st_GENERAL_NAMES *issuers; const X509_CRL_METHOD *meth; void *meth_data; } ; struct stack_st_X509_CRL { _STACK stack; }; typedef struct private_key_st { int version; X509_ALGOR *enc_algor; ASN1_OCTET_STRING *enc_pkey; EVP_PKEY *dec_pkey; int key_length; char *key_data; int key_free; EVP_CIPHER_INFO cipher; int references; } X509_PKEY; typedef struct X509_info_st { X509 *x509; X509_CRL *crl; X509_PKEY *x_pkey; EVP_CIPHER_INFO enc_cipher; int enc_len; char *enc_data; int references; } X509_INFO; struct stack_st_X509_INFO { _STACK stack; }; typedef struct Netscape_spkac_st { X509_PUBKEY *pubkey; ASN1_IA5STRING *challenge; } NETSCAPE_SPKAC; typedef struct Netscape_spki_st { NETSCAPE_SPKAC *spkac; X509_ALGOR *sig_algor; ASN1_BIT_STRING *signature; } NETSCAPE_SPKI; typedef struct Netscape_certificate_sequence { ASN1_OBJECT *type; struct stack_st_X509 *certs; } NETSCAPE_CERT_SEQUENCE; typedef struct PBEPARAM_st { ASN1_OCTET_STRING *salt; ASN1_INTEGER *iter; } PBEPARAM; typedef struct PBE2PARAM_st { X509_ALGOR *keyfunc; X509_ALGOR *encryption; } PBE2PARAM; typedef struct PBKDF2PARAM_st { ASN1_TYPE *salt; ASN1_INTEGER *iter; ASN1_INTEGER *keylength; X509_ALGOR *prf; } PBKDF2PARAM; struct pkcs8_priv_key_info_st { int broken; ASN1_INTEGER *version; X509_ALGOR *pkeyalg; ASN1_TYPE *pkey; struct stack_st_X509_ATTRIBUTE *attributes; }; # 1 "/usr/include/openssl/x509_vfy.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 69 "/usr/include/openssl/x509_vfy.h" 2 3 # 1 "/usr/include/openssl/lhash.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 67 "/usr/include/openssl/lhash.h" 2 3 typedef struct lhash_node_st { void *data; struct lhash_node_st *next; unsigned long hash; } LHASH_NODE; typedef int (*LHASH_COMP_FN_TYPE)(const void *, const void *); typedef unsigned long (*LHASH_HASH_FN_TYPE)(const void *); typedef void (*LHASH_DOALL_FN_TYPE)(void *); typedef void (*LHASH_DOALL_ARG_FN_TYPE)(void *, void *); # 108 "/usr/include/openssl/lhash.h" 3 # 118 "/usr/include/openssl/lhash.h" 3 # 127 "/usr/include/openssl/lhash.h" 3 # 137 "/usr/include/openssl/lhash.h" 3 typedef struct lhash_st { LHASH_NODE **b; LHASH_COMP_FN_TYPE comp; LHASH_HASH_FN_TYPE hash; unsigned int num_nodes; unsigned int num_alloc_nodes; unsigned int p; unsigned int pmax; unsigned long up_load; unsigned long down_load; unsigned long num_items; unsigned long num_expands; unsigned long num_expand_reallocs; unsigned long num_contracts; unsigned long num_contract_reallocs; unsigned long num_hash_calls; unsigned long num_comp_calls; unsigned long num_insert; unsigned long num_replace; unsigned long num_delete; unsigned long num_no_delete; unsigned long num_retrieve; unsigned long num_retrieve_miss; unsigned long num_hash_comps; int error; } _LHASH; _LHASH *lh_new(LHASH_HASH_FN_TYPE h, LHASH_COMP_FN_TYPE c); void lh_free(_LHASH *lh); void *lh_insert(_LHASH *lh, void *data); void *lh_delete(_LHASH *lh, const void *data); void *lh_retrieve(_LHASH *lh, const void *data); void lh_doall(_LHASH *lh, LHASH_DOALL_FN_TYPE func); void lh_doall_arg(_LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg); unsigned long lh_strhash(const char *c); unsigned long lh_num_items(const _LHASH *lh); void lh_stats(const _LHASH *lh, FILE *out); void lh_node_stats(const _LHASH *lh, FILE *out); void lh_node_usage_stats(const _LHASH *lh, FILE *out); void lh_stats_bio(const _LHASH *lh, BIO *out); void lh_node_stats_bio(const _LHASH *lh, BIO *out); void lh_node_usage_stats_bio(const _LHASH *lh, BIO *out); # 232 "/usr/include/openssl/lhash.h" 3 struct lhash_st_OPENSSL_STRING { int dummy; }; struct lhash_st_OPENSSL_CSTRING { int dummy; }; # 71 "/usr/include/openssl/x509_vfy.h" 2 3 # 90 "/usr/include/openssl/x509_vfy.h" 3 typedef struct x509_file_st { int num_paths; int num_alloced; char **paths; int *path_type; } X509_CERT_FILE_CTX; typedef struct x509_object_st { int type; union { char *ptr; X509 *x509; X509_CRL *crl; EVP_PKEY *pkey; } data; } X509_OBJECT; typedef struct x509_lookup_st X509_LOOKUP; struct stack_st_X509_LOOKUP { _STACK stack; }; struct stack_st_X509_OBJECT { _STACK stack; }; typedef struct x509_lookup_method_st { const char *name; int (*new_item)(X509_LOOKUP *ctx); void (*free)(X509_LOOKUP *ctx); int (*init)(X509_LOOKUP *ctx); int (*shutdown)(X509_LOOKUP *ctx); int (*ctrl)(X509_LOOKUP *ctx,int cmd,const char *argc,long argl, char **ret); int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name, X509_OBJECT *ret); int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name, ASN1_INTEGER *serial,X509_OBJECT *ret); int (*get_by_fingerprint)(X509_LOOKUP *ctx,int type, unsigned char *bytes,int len, X509_OBJECT *ret); int (*get_by_alias)(X509_LOOKUP *ctx,int type,char *str,int len, X509_OBJECT *ret); } X509_LOOKUP_METHOD; typedef struct X509_VERIFY_PARAM_st { char *name; time_t check_time; unsigned long inh_flags; unsigned long flags; int purpose; int trust; int depth; struct stack_st_ASN1_OBJECT *policies; } X509_VERIFY_PARAM; struct stack_st_X509_VERIFY_PARAM { _STACK stack; }; struct x509_store_st { int cache; struct stack_st_X509_OBJECT *objs; struct stack_st_X509_LOOKUP *get_cert_methods; X509_VERIFY_PARAM *param; int (*verify)(X509_STORE_CTX *ctx); int (*verify_cb)(int ok,X509_STORE_CTX *ctx); int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); int (*check_revocation)(X509_STORE_CTX *ctx); int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); struct stack_st_X509 * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm); struct stack_st_X509_CRL * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm); int (*cleanup)(X509_STORE_CTX *ctx); CRYPTO_EX_DATA ex_data; int references; } ; int X509_STORE_set_depth(X509_STORE *store, int depth); struct x509_lookup_st { int init; int skip; X509_LOOKUP_METHOD *method; char *method_data; X509_STORE *store_ctx; } ; struct x509_store_ctx_st { X509_STORE *ctx; int current_method; X509 *cert; struct stack_st_X509 *untrusted; struct stack_st_X509_CRL *crls; X509_VERIFY_PARAM *param; void *other_ctx; int (*verify)(X509_STORE_CTX *ctx); int (*verify_cb)(int ok,X509_STORE_CTX *ctx); int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); int (*check_revocation)(X509_STORE_CTX *ctx); int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); int (*check_policy)(X509_STORE_CTX *ctx); struct stack_st_X509 * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm); struct stack_st_X509_CRL * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm); int (*cleanup)(X509_STORE_CTX *ctx); int valid; int last_untrusted; struct stack_st_X509 *chain; X509_POLICY_TREE *tree; int explicit_policy; int error_depth; int error; X509 *current_cert; X509 *current_issuer; X509_CRL *current_crl; int current_crl_score; unsigned int current_reasons; X509_STORE_CTX *parent; CRYPTO_EX_DATA ex_data; } ; void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth); # 326 "/usr/include/openssl/x509_vfy.h" 3 # 340 "/usr/include/openssl/x509_vfy.h" 3 # 356 "/usr/include/openssl/x509_vfy.h" 3 int X509_OBJECT_idx_by_subject(struct stack_st_X509_OBJECT *h, int type, X509_NAME *name); X509_OBJECT *X509_OBJECT_retrieve_by_subject(struct stack_st_X509_OBJECT *h,int type,X509_NAME *name); X509_OBJECT *X509_OBJECT_retrieve_match(struct stack_st_X509_OBJECT *h, X509_OBJECT *x); void X509_OBJECT_up_ref_count(X509_OBJECT *a); void X509_OBJECT_free_contents(X509_OBJECT *a); X509_STORE *X509_STORE_new(void ); void X509_STORE_free(X509_STORE *v); struct stack_st_X509* X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm); struct stack_st_X509_CRL* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm); int X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags); int X509_STORE_set_purpose(X509_STORE *ctx, int purpose); int X509_STORE_set_trust(X509_STORE *ctx, int trust); int X509_STORE_set1_param(X509_STORE *ctx, X509_VERIFY_PARAM *pm); void X509_STORE_set_verify_cb(X509_STORE *ctx, int (*verify_cb)(int, X509_STORE_CTX *)); X509_STORE_CTX *X509_STORE_CTX_new(void); int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); void X509_STORE_CTX_free(X509_STORE_CTX *ctx); int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, struct stack_st_X509 *chain); void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, struct stack_st_X509 *sk); void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx); X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m); X509_LOOKUP_METHOD *X509_LOOKUP_hash_dir(void); X509_LOOKUP_METHOD *X509_LOOKUP_file(void); int X509_STORE_add_cert(X509_STORE *ctx, X509 *x); int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x); int X509_STORE_get_by_subject(X509_STORE_CTX *vs,int type,X509_NAME *name, X509_OBJECT *ret); int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret); int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type); int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type); int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type); X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method); void X509_LOOKUP_free(X509_LOOKUP *ctx); int X509_LOOKUP_init(X509_LOOKUP *ctx); int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name, X509_OBJECT *ret); int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name, ASN1_INTEGER *serial, X509_OBJECT *ret); int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, int type, unsigned char *bytes, int len, X509_OBJECT *ret); int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, int type, char *str, int len, X509_OBJECT *ret); int X509_LOOKUP_shutdown(X509_LOOKUP *ctx); int X509_STORE_load_locations (X509_STORE *ctx, const char *file, const char *dir); int X509_STORE_set_default_paths(X509_STORE *ctx); int X509_STORE_CTX_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx,int idx,void *data); void * X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx,int idx); int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx); void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx,int s); int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx); X509 * X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx); X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx); X509_CRL *X509_STORE_CTX_get0_current_crl(X509_STORE_CTX *ctx); X509_STORE_CTX *X509_STORE_CTX_get0_parent_ctx(X509_STORE_CTX *ctx); struct stack_st_X509 *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx); struct stack_st_X509 *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx); void X509_STORE_CTX_set_cert(X509_STORE_CTX *c,X509 *x); void X509_STORE_CTX_set_chain(X509_STORE_CTX *c,struct stack_st_X509 *sk); void X509_STORE_CTX_set0_crls(X509_STORE_CTX *c,struct stack_st_X509_CRL *sk); int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose); int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust); int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose, int purpose, int trust); void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx, unsigned long flags); void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, unsigned long flags, time_t t); void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx, int (*verify_cb)(int, X509_STORE_CTX *)); X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx); int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx); X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(X509_STORE_CTX *ctx); void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param); int X509_STORE_CTX_set_default(X509_STORE_CTX *ctx, const char *name); X509_VERIFY_PARAM *X509_VERIFY_PARAM_new(void); void X509_VERIFY_PARAM_free(X509_VERIFY_PARAM *param); int X509_VERIFY_PARAM_inherit(X509_VERIFY_PARAM *to, const X509_VERIFY_PARAM *from); int X509_VERIFY_PARAM_set1(X509_VERIFY_PARAM *to, const X509_VERIFY_PARAM *from); int X509_VERIFY_PARAM_set1_name(X509_VERIFY_PARAM *param, const char *name); int X509_VERIFY_PARAM_set_flags(X509_VERIFY_PARAM *param, unsigned long flags); int X509_VERIFY_PARAM_clear_flags(X509_VERIFY_PARAM *param, unsigned long flags); unsigned long X509_VERIFY_PARAM_get_flags(X509_VERIFY_PARAM *param); int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param, int purpose); int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust); void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param, int depth); void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t); int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param, ASN1_OBJECT *policy); int X509_VERIFY_PARAM_set1_policies(X509_VERIFY_PARAM *param, struct stack_st_ASN1_OBJECT *policies); int X509_VERIFY_PARAM_get_depth(const X509_VERIFY_PARAM *param); int X509_VERIFY_PARAM_add0_table(X509_VERIFY_PARAM *param); const X509_VERIFY_PARAM *X509_VERIFY_PARAM_lookup(const char *name); void X509_VERIFY_PARAM_table_cleanup(void); int X509_policy_check(X509_POLICY_TREE **ptree, int *pexplicit_policy, struct stack_st_X509 *certs, struct stack_st_ASN1_OBJECT *policy_oids, unsigned int flags); void X509_policy_tree_free(X509_POLICY_TREE *tree); int X509_policy_tree_level_count(const X509_POLICY_TREE *tree); X509_POLICY_LEVEL * X509_policy_tree_get0_level(const X509_POLICY_TREE *tree, int i); struct stack_st_X509_POLICY_NODE * X509_policy_tree_get0_policies(const X509_POLICY_TREE *tree); struct stack_st_X509_POLICY_NODE * X509_policy_tree_get0_user_policies(const X509_POLICY_TREE *tree); int X509_policy_level_node_count(X509_POLICY_LEVEL *level); X509_POLICY_NODE *X509_policy_level_get0_node(X509_POLICY_LEVEL *level, int i); const ASN1_OBJECT *X509_policy_node_get0_policy(const X509_POLICY_NODE *node); struct stack_st_POLICYQUALINFO * X509_policy_node_get0_qualifiers(const X509_POLICY_NODE *node); const X509_POLICY_NODE * X509_policy_node_get0_parent(const X509_POLICY_NODE *node); # 601 "/usr/include/openssl/x509.h" 2 3 # 1 "/usr/include/openssl/pkcs7.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 65 "/usr/include/openssl/pkcs7.h" 2 3 typedef struct pkcs7_issuer_and_serial_st { X509_NAME *issuer; ASN1_INTEGER *serial; } PKCS7_ISSUER_AND_SERIAL; typedef struct pkcs7_signer_info_st { ASN1_INTEGER *version; PKCS7_ISSUER_AND_SERIAL *issuer_and_serial; X509_ALGOR *digest_alg; struct stack_st_X509_ATTRIBUTE *auth_attr; X509_ALGOR *digest_enc_alg; ASN1_OCTET_STRING *enc_digest; struct stack_st_X509_ATTRIBUTE *unauth_attr; EVP_PKEY *pkey; } PKCS7_SIGNER_INFO; struct stack_st_PKCS7_SIGNER_INFO { _STACK stack; }; typedef struct pkcs7_recip_info_st { ASN1_INTEGER *version; PKCS7_ISSUER_AND_SERIAL *issuer_and_serial; X509_ALGOR *key_enc_algor; ASN1_OCTET_STRING *enc_key; X509 *cert; } PKCS7_RECIP_INFO; struct stack_st_PKCS7_RECIP_INFO { _STACK stack; }; typedef struct pkcs7_signed_st { ASN1_INTEGER *version; struct stack_st_X509_ALGOR *md_algs; struct stack_st_X509 *cert; struct stack_st_X509_CRL *crl; struct stack_st_PKCS7_SIGNER_INFO *signer_info; struct pkcs7_st *contents; } PKCS7_SIGNED; typedef struct pkcs7_enc_content_st { ASN1_OBJECT *content_type; X509_ALGOR *algorithm; ASN1_OCTET_STRING *enc_data; const EVP_CIPHER *cipher; } PKCS7_ENC_CONTENT; typedef struct pkcs7_enveloped_st { ASN1_INTEGER *version; struct stack_st_PKCS7_RECIP_INFO *recipientinfo; PKCS7_ENC_CONTENT *enc_data; } PKCS7_ENVELOPE; typedef struct pkcs7_signedandenveloped_st { ASN1_INTEGER *version; struct stack_st_X509_ALGOR *md_algs; struct stack_st_X509 *cert; struct stack_st_X509_CRL *crl; struct stack_st_PKCS7_SIGNER_INFO *signer_info; PKCS7_ENC_CONTENT *enc_data; struct stack_st_PKCS7_RECIP_INFO *recipientinfo; } PKCS7_SIGN_ENVELOPE; typedef struct pkcs7_digest_st { ASN1_INTEGER *version; X509_ALGOR *md; struct pkcs7_st *contents; ASN1_OCTET_STRING *digest; } PKCS7_DIGEST; typedef struct pkcs7_encrypted_st { ASN1_INTEGER *version; PKCS7_ENC_CONTENT *enc_data; } PKCS7_ENCRYPT; typedef struct pkcs7_st { unsigned char *asn1; long length; int state; int detached; ASN1_OBJECT *type; union { char *ptr; ASN1_OCTET_STRING *data; PKCS7_SIGNED *sign; PKCS7_ENVELOPE *enveloped; PKCS7_SIGN_ENVELOPE *signed_and_enveloped; PKCS7_DIGEST *digest; PKCS7_ENCRYPT *encrypted; ASN1_TYPE *other; } d; } PKCS7; struct stack_st_PKCS7 { _STACK stack; }; # 238 "/usr/include/openssl/pkcs7.h" 3 # 266 "/usr/include/openssl/pkcs7.h" 3 # 278 "/usr/include/openssl/pkcs7.h" 3 PKCS7_ISSUER_AND_SERIAL *PKCS7_ISSUER_AND_SERIAL_new(void); void PKCS7_ISSUER_AND_SERIAL_free(PKCS7_ISSUER_AND_SERIAL *a); PKCS7_ISSUER_AND_SERIAL *d2i_PKCS7_ISSUER_AND_SERIAL(PKCS7_ISSUER_AND_SERIAL * *a, const unsigned char * *in, long len); int i2d_PKCS7_ISSUER_AND_SERIAL(PKCS7_ISSUER_AND_SERIAL *a, unsigned char * *out); extern const ASN1_ITEM PKCS7_ISSUER_AND_SERIAL_it; int PKCS7_ISSUER_AND_SERIAL_digest(PKCS7_ISSUER_AND_SERIAL *data,const EVP_MD *type, unsigned char *md,unsigned int *len); PKCS7 *d2i_PKCS7_fp(FILE *fp,PKCS7 **p7); int i2d_PKCS7_fp(FILE *fp,PKCS7 *p7); PKCS7 *PKCS7_dup(PKCS7 *p7); PKCS7 *d2i_PKCS7_bio(BIO *bp,PKCS7 **p7); int i2d_PKCS7_bio(BIO *bp,PKCS7 *p7); int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags); int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags); PKCS7_SIGNER_INFO *PKCS7_SIGNER_INFO_new(void); void PKCS7_SIGNER_INFO_free(PKCS7_SIGNER_INFO *a); PKCS7_SIGNER_INFO *d2i_PKCS7_SIGNER_INFO(PKCS7_SIGNER_INFO * *a, const unsigned char * *in, long len); int i2d_PKCS7_SIGNER_INFO(PKCS7_SIGNER_INFO *a, unsigned char * *out); extern const ASN1_ITEM PKCS7_SIGNER_INFO_it; PKCS7_RECIP_INFO *PKCS7_RECIP_INFO_new(void); void PKCS7_RECIP_INFO_free(PKCS7_RECIP_INFO *a); PKCS7_RECIP_INFO *d2i_PKCS7_RECIP_INFO(PKCS7_RECIP_INFO * *a, const unsigned char * *in, long len); int i2d_PKCS7_RECIP_INFO(PKCS7_RECIP_INFO *a, unsigned char * *out); extern const ASN1_ITEM PKCS7_RECIP_INFO_it; PKCS7_SIGNED *PKCS7_SIGNED_new(void); void PKCS7_SIGNED_free(PKCS7_SIGNED *a); PKCS7_SIGNED *d2i_PKCS7_SIGNED(PKCS7_SIGNED * *a, const unsigned char * *in, long len); int i2d_PKCS7_SIGNED(PKCS7_SIGNED *a, unsigned char * *out); extern const ASN1_ITEM PKCS7_SIGNED_it; PKCS7_ENC_CONTENT *PKCS7_ENC_CONTENT_new(void); void PKCS7_ENC_CONTENT_free(PKCS7_ENC_CONTENT *a); PKCS7_ENC_CONTENT *d2i_PKCS7_ENC_CONTENT(PKCS7_ENC_CONTENT * *a, const unsigned char * *in, long len); int i2d_PKCS7_ENC_CONTENT(PKCS7_ENC_CONTENT *a, unsigned char * *out); extern const ASN1_ITEM PKCS7_ENC_CONTENT_it; PKCS7_ENVELOPE *PKCS7_ENVELOPE_new(void); void PKCS7_ENVELOPE_free(PKCS7_ENVELOPE *a); PKCS7_ENVELOPE *d2i_PKCS7_ENVELOPE(PKCS7_ENVELOPE * *a, const unsigned char * *in, long len); int i2d_PKCS7_ENVELOPE(PKCS7_ENVELOPE *a, unsigned char * *out); extern const ASN1_ITEM PKCS7_ENVELOPE_it; PKCS7_SIGN_ENVELOPE *PKCS7_SIGN_ENVELOPE_new(void); void PKCS7_SIGN_ENVELOPE_free(PKCS7_SIGN_ENVELOPE *a); PKCS7_SIGN_ENVELOPE *d2i_PKCS7_SIGN_ENVELOPE(PKCS7_SIGN_ENVELOPE * *a, const unsigned char * *in, long len); int i2d_PKCS7_SIGN_ENVELOPE(PKCS7_SIGN_ENVELOPE *a, unsigned char * *out); extern const ASN1_ITEM PKCS7_SIGN_ENVELOPE_it; PKCS7_DIGEST *PKCS7_DIGEST_new(void); void PKCS7_DIGEST_free(PKCS7_DIGEST *a); PKCS7_DIGEST *d2i_PKCS7_DIGEST(PKCS7_DIGEST * *a, const unsigned char * *in, long len); int i2d_PKCS7_DIGEST(PKCS7_DIGEST *a, unsigned char * *out); extern const ASN1_ITEM PKCS7_DIGEST_it; PKCS7_ENCRYPT *PKCS7_ENCRYPT_new(void); void PKCS7_ENCRYPT_free(PKCS7_ENCRYPT *a); PKCS7_ENCRYPT *d2i_PKCS7_ENCRYPT(PKCS7_ENCRYPT * *a, const unsigned char * *in, long len); int i2d_PKCS7_ENCRYPT(PKCS7_ENCRYPT *a, unsigned char * *out); extern const ASN1_ITEM PKCS7_ENCRYPT_it; PKCS7 *PKCS7_new(void); void PKCS7_free(PKCS7 *a); PKCS7 *d2i_PKCS7(PKCS7 * *a, const unsigned char * *in, long len); int i2d_PKCS7(PKCS7 *a, unsigned char * *out); extern const ASN1_ITEM PKCS7_it; extern const ASN1_ITEM PKCS7_ATTR_SIGN_it; extern const ASN1_ITEM PKCS7_ATTR_VERIFY_it; int i2d_PKCS7_NDEF(PKCS7 *a, unsigned char * *out); int PKCS7_print_ctx(BIO *out, PKCS7 *x, int indent, const ASN1_PCTX *pctx); long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg); int PKCS7_set_type(PKCS7 *p7, int type); int PKCS7_set0_type_other(PKCS7 *p7, int type, ASN1_TYPE *other); int PKCS7_set_content(PKCS7 *p7, PKCS7 *p7_data); int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, const EVP_MD *dgst); int PKCS7_SIGNER_INFO_sign(PKCS7_SIGNER_INFO *si); int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i); int PKCS7_add_certificate(PKCS7 *p7, X509 *x509); int PKCS7_add_crl(PKCS7 *p7, X509_CRL *x509); int PKCS7_content_new(PKCS7 *p7, int nid); int PKCS7_dataVerify(X509_STORE *cert_store, X509_STORE_CTX *ctx, BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si); int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si, X509 *x509); BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio); int PKCS7_dataFinal(PKCS7 *p7, BIO *bio); BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert); PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509, EVP_PKEY *pkey, const EVP_MD *dgst); X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si); int PKCS7_set_digest(PKCS7 *p7, const EVP_MD *md); struct stack_st_PKCS7_SIGNER_INFO *PKCS7_get_signer_info(PKCS7 *p7); PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7, X509 *x509); void PKCS7_SIGNER_INFO_get0_algs(PKCS7_SIGNER_INFO *si, EVP_PKEY **pk, X509_ALGOR **pdig, X509_ALGOR **psig); void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri, X509_ALGOR **penc); int PKCS7_add_recipient_info(PKCS7 *p7, PKCS7_RECIP_INFO *ri); int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509); int PKCS7_set_cipher(PKCS7 *p7, const EVP_CIPHER *cipher); int PKCS7_stream(unsigned char ***boundary, PKCS7 *p7); PKCS7_ISSUER_AND_SERIAL *PKCS7_get_issuer_and_serial(PKCS7 *p7, int idx); ASN1_OCTET_STRING *PKCS7_digest_from_attributes(struct stack_st_X509_ATTRIBUTE *sk); int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si,int nid,int type, void *data); int PKCS7_add_attribute (PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value); ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid); ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid); int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si, struct stack_st_X509_ATTRIBUTE *sk); int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si,struct stack_st_X509_ATTRIBUTE *sk); PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, struct stack_st_X509 *certs, BIO *data, int flags); PKCS7_SIGNER_INFO *PKCS7_sign_add_signer(PKCS7 *p7, X509 *signcert, EVP_PKEY *pkey, const EVP_MD *md, int flags); int PKCS7_final(PKCS7 *p7, BIO *data, int flags); int PKCS7_verify(PKCS7 *p7, struct stack_st_X509 *certs, X509_STORE *store, BIO *indata, BIO *out, int flags); struct stack_st_X509 *PKCS7_get0_signers(PKCS7 *p7, struct stack_st_X509 *certs, int flags); PKCS7 *PKCS7_encrypt(struct stack_st_X509 *certs, BIO *in, const EVP_CIPHER *cipher, int flags); int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags); int PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si, struct stack_st_X509_ALGOR *cap); struct stack_st_X509_ALGOR *PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si); int PKCS7_simple_smimecap(struct stack_st_X509_ALGOR *sk, int nid, int arg); int PKCS7_add_attrib_content_type(PKCS7_SIGNER_INFO *si, ASN1_OBJECT *coid); int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t); int PKCS7_add1_attrib_digest(PKCS7_SIGNER_INFO *si, const unsigned char *md, int mdlen); int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags); PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont); BIO *BIO_new_PKCS7(BIO *out, PKCS7 *p7); void ERR_load_PKCS7_strings(void); # 439 "/usr/include/openssl/pkcs7.h" 3 # 495 "/usr/include/openssl/pkcs7.h" 3 # 602 "/usr/include/openssl/x509.h" 2 3 # 620 "/usr/include/openssl/x509.h" 3 void X509_CRL_set_default_method(const X509_CRL_METHOD *meth); X509_CRL_METHOD *X509_CRL_METHOD_new( int (*crl_init)(X509_CRL *crl), int (*crl_free)(X509_CRL *crl), int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, ASN1_INTEGER *ser, X509_NAME *issuer), int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk)); void X509_CRL_METHOD_free(X509_CRL_METHOD *m); void X509_CRL_set_meth_data(X509_CRL *crl, void *dat); void *X509_CRL_get_meth_data(X509_CRL *crl); const char *X509_verify_cert_error_string(long n); int X509_verify(X509 *a, EVP_PKEY *r); int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r); int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r); int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r); NETSCAPE_SPKI * NETSCAPE_SPKI_b64_decode(const char *str, int len); char * NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *x); EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x); int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey); int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki); int X509_signature_dump(BIO *bp,const ASN1_STRING *sig, int indent); int X509_signature_print(BIO *bp,X509_ALGOR *alg, ASN1_STRING *sig); int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx); int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md); int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx); int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md); int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx); int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md); int X509_pubkey_digest(const X509 *data,const EVP_MD *type, unsigned char *md, unsigned int *len); int X509_digest(const X509 *data,const EVP_MD *type, unsigned char *md, unsigned int *len); int X509_CRL_digest(const X509_CRL *data,const EVP_MD *type, unsigned char *md, unsigned int *len); int X509_REQ_digest(const X509_REQ *data,const EVP_MD *type, unsigned char *md, unsigned int *len); int X509_NAME_digest(const X509_NAME *data,const EVP_MD *type, unsigned char *md, unsigned int *len); X509 *d2i_X509_fp(FILE *fp, X509 **x509); int i2d_X509_fp(FILE *fp,X509 *x509); X509_CRL *d2i_X509_CRL_fp(FILE *fp,X509_CRL **crl); int i2d_X509_CRL_fp(FILE *fp,X509_CRL *crl); X509_REQ *d2i_X509_REQ_fp(FILE *fp,X509_REQ **req); int i2d_X509_REQ_fp(FILE *fp,X509_REQ *req); RSA *d2i_RSAPrivateKey_fp(FILE *fp,RSA **rsa); int i2d_RSAPrivateKey_fp(FILE *fp,RSA *rsa); RSA *d2i_RSAPublicKey_fp(FILE *fp,RSA **rsa); int i2d_RSAPublicKey_fp(FILE *fp,RSA *rsa); RSA *d2i_RSA_PUBKEY_fp(FILE *fp,RSA **rsa); int i2d_RSA_PUBKEY_fp(FILE *fp,RSA *rsa); DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa); int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa); DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa); int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa); EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey); int i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey); EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey); int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey); X509_SIG *d2i_PKCS8_fp(FILE *fp,X509_SIG **p8); int i2d_PKCS8_fp(FILE *fp,X509_SIG *p8); PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO **p8inf); int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,PKCS8_PRIV_KEY_INFO *p8inf); int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key); int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey); EVP_PKEY *d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a); int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey); EVP_PKEY *d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a); X509 *d2i_X509_bio(BIO *bp,X509 **x509); int i2d_X509_bio(BIO *bp,X509 *x509); X509_CRL *d2i_X509_CRL_bio(BIO *bp,X509_CRL **crl); int i2d_X509_CRL_bio(BIO *bp,X509_CRL *crl); X509_REQ *d2i_X509_REQ_bio(BIO *bp,X509_REQ **req); int i2d_X509_REQ_bio(BIO *bp,X509_REQ *req); RSA *d2i_RSAPrivateKey_bio(BIO *bp,RSA **rsa); int i2d_RSAPrivateKey_bio(BIO *bp,RSA *rsa); RSA *d2i_RSAPublicKey_bio(BIO *bp,RSA **rsa); int i2d_RSAPublicKey_bio(BIO *bp,RSA *rsa); RSA *d2i_RSA_PUBKEY_bio(BIO *bp,RSA **rsa); int i2d_RSA_PUBKEY_bio(BIO *bp,RSA *rsa); DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa); int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa); DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa); int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa); EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey); int i2d_EC_PUBKEY_bio(BIO *bp, EC_KEY *eckey); EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey); int i2d_ECPrivateKey_bio(BIO *bp, EC_KEY *eckey); X509_SIG *d2i_PKCS8_bio(BIO *bp,X509_SIG **p8); int i2d_PKCS8_bio(BIO *bp,X509_SIG *p8); PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO **p8inf); int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp,PKCS8_PRIV_KEY_INFO *p8inf); int i2d_PKCS8PrivateKeyInfo_bio(BIO *bp, EVP_PKEY *key); int i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey); EVP_PKEY *d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a); int i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey); EVP_PKEY *d2i_PUBKEY_bio(BIO *bp, EVP_PKEY **a); X509 *X509_dup(X509 *x509); X509_ATTRIBUTE *X509_ATTRIBUTE_dup(X509_ATTRIBUTE *xa); X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex); X509_CRL *X509_CRL_dup(X509_CRL *crl); X509_REQ *X509_REQ_dup(X509_REQ *req); X509_ALGOR *X509_ALGOR_dup(X509_ALGOR *xn); int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval); void X509_ALGOR_get0(ASN1_OBJECT **paobj, int *pptype, void **ppval, X509_ALGOR *algor); void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md); int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b); X509_NAME *X509_NAME_dup(X509_NAME *xn); X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne); int X509_cmp_time(const ASN1_TIME *s, time_t *t); int X509_cmp_current_time(const ASN1_TIME *s); ASN1_TIME * X509_time_adj(ASN1_TIME *s, long adj, time_t *t); ASN1_TIME * X509_time_adj_ex(ASN1_TIME *s, int offset_day, long offset_sec, time_t *t); ASN1_TIME * X509_gmtime_adj(ASN1_TIME *s, long adj); const char * X509_get_default_cert_area(void ); const char * X509_get_default_cert_dir(void ); const char * X509_get_default_cert_file(void ); const char * X509_get_default_cert_dir_env(void ); const char * X509_get_default_cert_file_env(void ); const char * X509_get_default_private_dir(void ); X509_REQ * X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); X509 * X509_REQ_to_X509(X509_REQ *r, int days,EVP_PKEY *pkey); X509_ALGOR *X509_ALGOR_new(void); void X509_ALGOR_free(X509_ALGOR *a); X509_ALGOR *d2i_X509_ALGOR(X509_ALGOR * *a, const unsigned char * *in, long len); int i2d_X509_ALGOR(X509_ALGOR *a, unsigned char * *out); extern const ASN1_ITEM X509_ALGOR_it; X509_ALGORS *d2i_X509_ALGORS(X509_ALGORS * *a, const unsigned char * *in, long len); int i2d_X509_ALGORS(X509_ALGORS *a, unsigned char * *out); extern const ASN1_ITEM X509_ALGORS_it; X509_VAL *X509_VAL_new(void); void X509_VAL_free(X509_VAL *a); X509_VAL *d2i_X509_VAL(X509_VAL * *a, const unsigned char * *in, long len); int i2d_X509_VAL(X509_VAL *a, unsigned char * *out); extern const ASN1_ITEM X509_VAL_it; X509_PUBKEY *X509_PUBKEY_new(void); void X509_PUBKEY_free(X509_PUBKEY *a); X509_PUBKEY *d2i_X509_PUBKEY(X509_PUBKEY * *a, const unsigned char * *in, long len); int i2d_X509_PUBKEY(X509_PUBKEY *a, unsigned char * *out); extern const ASN1_ITEM X509_PUBKEY_it; int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey); EVP_PKEY * X509_PUBKEY_get(X509_PUBKEY *key); int X509_get_pubkey_parameters(EVP_PKEY *pkey, struct stack_st_X509 *chain); int i2d_PUBKEY(EVP_PKEY *a,unsigned char **pp); EVP_PKEY * d2i_PUBKEY(EVP_PKEY **a,const unsigned char **pp, long length); int i2d_RSA_PUBKEY(RSA *a,unsigned char **pp); RSA * d2i_RSA_PUBKEY(RSA **a,const unsigned char **pp, long length); int i2d_DSA_PUBKEY(DSA *a,unsigned char **pp); DSA * d2i_DSA_PUBKEY(DSA **a,const unsigned char **pp, long length); int i2d_EC_PUBKEY(EC_KEY *a, unsigned char **pp); EC_KEY *d2i_EC_PUBKEY(EC_KEY **a, const unsigned char **pp, long length); X509_SIG *X509_SIG_new(void); void X509_SIG_free(X509_SIG *a); X509_SIG *d2i_X509_SIG(X509_SIG * *a, const unsigned char * *in, long len); int i2d_X509_SIG(X509_SIG *a, unsigned char * *out); extern const ASN1_ITEM X509_SIG_it; X509_REQ_INFO *X509_REQ_INFO_new(void); void X509_REQ_INFO_free(X509_REQ_INFO *a); X509_REQ_INFO *d2i_X509_REQ_INFO(X509_REQ_INFO * *a, const unsigned char * *in, long len); int i2d_X509_REQ_INFO(X509_REQ_INFO *a, unsigned char * *out); extern const ASN1_ITEM X509_REQ_INFO_it; X509_REQ *X509_REQ_new(void); void X509_REQ_free(X509_REQ *a); X509_REQ *d2i_X509_REQ(X509_REQ * *a, const unsigned char * *in, long len); int i2d_X509_REQ(X509_REQ *a, unsigned char * *out); extern const ASN1_ITEM X509_REQ_it; X509_ATTRIBUTE *X509_ATTRIBUTE_new(void); void X509_ATTRIBUTE_free(X509_ATTRIBUTE *a); X509_ATTRIBUTE *d2i_X509_ATTRIBUTE(X509_ATTRIBUTE * *a, const unsigned char * *in, long len); int i2d_X509_ATTRIBUTE(X509_ATTRIBUTE *a, unsigned char * *out); extern const ASN1_ITEM X509_ATTRIBUTE_it; X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value); X509_EXTENSION *X509_EXTENSION_new(void); void X509_EXTENSION_free(X509_EXTENSION *a); X509_EXTENSION *d2i_X509_EXTENSION(X509_EXTENSION * *a, const unsigned char * *in, long len); int i2d_X509_EXTENSION(X509_EXTENSION *a, unsigned char * *out); extern const ASN1_ITEM X509_EXTENSION_it; X509_EXTENSIONS *d2i_X509_EXTENSIONS(X509_EXTENSIONS * *a, const unsigned char * *in, long len); int i2d_X509_EXTENSIONS(X509_EXTENSIONS *a, unsigned char * *out); extern const ASN1_ITEM X509_EXTENSIONS_it; X509_NAME_ENTRY *X509_NAME_ENTRY_new(void); void X509_NAME_ENTRY_free(X509_NAME_ENTRY *a); X509_NAME_ENTRY *d2i_X509_NAME_ENTRY(X509_NAME_ENTRY * *a, const unsigned char * *in, long len); int i2d_X509_NAME_ENTRY(X509_NAME_ENTRY *a, unsigned char * *out); extern const ASN1_ITEM X509_NAME_ENTRY_it; X509_NAME *X509_NAME_new(void); void X509_NAME_free(X509_NAME *a); X509_NAME *d2i_X509_NAME(X509_NAME * *a, const unsigned char * *in, long len); int i2d_X509_NAME(X509_NAME *a, unsigned char * *out); extern const ASN1_ITEM X509_NAME_it; int X509_NAME_set(X509_NAME **xn, X509_NAME *name); X509_CINF *X509_CINF_new(void); void X509_CINF_free(X509_CINF *a); X509_CINF *d2i_X509_CINF(X509_CINF * *a, const unsigned char * *in, long len); int i2d_X509_CINF(X509_CINF *a, unsigned char * *out); extern const ASN1_ITEM X509_CINF_it; X509 *X509_new(void); void X509_free(X509 *a); X509 *d2i_X509(X509 * *a, const unsigned char * *in, long len); int i2d_X509(X509 *a, unsigned char * *out); extern const ASN1_ITEM X509_it; X509_CERT_AUX *X509_CERT_AUX_new(void); void X509_CERT_AUX_free(X509_CERT_AUX *a); X509_CERT_AUX *d2i_X509_CERT_AUX(X509_CERT_AUX * *a, const unsigned char * *in, long len); int i2d_X509_CERT_AUX(X509_CERT_AUX *a, unsigned char * *out); extern const ASN1_ITEM X509_CERT_AUX_it; X509_CERT_PAIR *X509_CERT_PAIR_new(void); void X509_CERT_PAIR_free(X509_CERT_PAIR *a); X509_CERT_PAIR *d2i_X509_CERT_PAIR(X509_CERT_PAIR * *a, const unsigned char * *in, long len); int i2d_X509_CERT_PAIR(X509_CERT_PAIR *a, unsigned char * *out); extern const ASN1_ITEM X509_CERT_PAIR_it; int X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int X509_set_ex_data(X509 *r, int idx, void *arg); void *X509_get_ex_data(X509 *r, int idx); int i2d_X509_AUX(X509 *a,unsigned char **pp); X509 * d2i_X509_AUX(X509 **a,const unsigned char **pp,long length); int X509_alias_set1(X509 *x, unsigned char *name, int len); int X509_keyid_set1(X509 *x, unsigned char *id, int len); unsigned char * X509_alias_get0(X509 *x, int *len); unsigned char * X509_keyid_get0(X509 *x, int *len); int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int); int X509_TRUST_set(int *t, int trust); int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj); int X509_add1_reject_object(X509 *x, ASN1_OBJECT *obj); void X509_trust_clear(X509 *x); void X509_reject_clear(X509 *x); X509_REVOKED *X509_REVOKED_new(void); void X509_REVOKED_free(X509_REVOKED *a); X509_REVOKED *d2i_X509_REVOKED(X509_REVOKED * *a, const unsigned char * *in, long len); int i2d_X509_REVOKED(X509_REVOKED *a, unsigned char * *out); extern const ASN1_ITEM X509_REVOKED_it; X509_CRL_INFO *X509_CRL_INFO_new(void); void X509_CRL_INFO_free(X509_CRL_INFO *a); X509_CRL_INFO *d2i_X509_CRL_INFO(X509_CRL_INFO * *a, const unsigned char * *in, long len); int i2d_X509_CRL_INFO(X509_CRL_INFO *a, unsigned char * *out); extern const ASN1_ITEM X509_CRL_INFO_it; X509_CRL *X509_CRL_new(void); void X509_CRL_free(X509_CRL *a); X509_CRL *d2i_X509_CRL(X509_CRL * *a, const unsigned char * *in, long len); int i2d_X509_CRL(X509_CRL *a, unsigned char * *out); extern const ASN1_ITEM X509_CRL_it; int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev); int X509_CRL_get0_by_serial(X509_CRL *crl, X509_REVOKED **ret, ASN1_INTEGER *serial); int X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x); X509_PKEY * X509_PKEY_new(void ); void X509_PKEY_free(X509_PKEY *a); int i2d_X509_PKEY(X509_PKEY *a,unsigned char **pp); X509_PKEY * d2i_X509_PKEY(X509_PKEY **a,const unsigned char **pp,long length); NETSCAPE_SPKI *NETSCAPE_SPKI_new(void); void NETSCAPE_SPKI_free(NETSCAPE_SPKI *a); NETSCAPE_SPKI *d2i_NETSCAPE_SPKI(NETSCAPE_SPKI * *a, const unsigned char * *in, long len); int i2d_NETSCAPE_SPKI(NETSCAPE_SPKI *a, unsigned char * *out); extern const ASN1_ITEM NETSCAPE_SPKI_it; NETSCAPE_SPKAC *NETSCAPE_SPKAC_new(void); void NETSCAPE_SPKAC_free(NETSCAPE_SPKAC *a); NETSCAPE_SPKAC *d2i_NETSCAPE_SPKAC(NETSCAPE_SPKAC * *a, const unsigned char * *in, long len); int i2d_NETSCAPE_SPKAC(NETSCAPE_SPKAC *a, unsigned char * *out); extern const ASN1_ITEM NETSCAPE_SPKAC_it; NETSCAPE_CERT_SEQUENCE *NETSCAPE_CERT_SEQUENCE_new(void); void NETSCAPE_CERT_SEQUENCE_free(NETSCAPE_CERT_SEQUENCE *a); NETSCAPE_CERT_SEQUENCE *d2i_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE * *a, const unsigned char * *in, long len); int i2d_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE *a, unsigned char * *out); extern const ASN1_ITEM NETSCAPE_CERT_SEQUENCE_it; X509_INFO * X509_INFO_new(void); void X509_INFO_free(X509_INFO *a); char * X509_NAME_oneline(X509_NAME *a,char *buf,int size); int ASN1_verify(i2d_of_void *i2d, X509_ALGOR *algor1, ASN1_BIT_STRING *signature,char *data,EVP_PKEY *pkey); int ASN1_digest(i2d_of_void *i2d,const EVP_MD *type,char *data, unsigned char *md,unsigned int *len); int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, char *data,EVP_PKEY *pkey, const EVP_MD *type); int ASN1_item_digest(const ASN1_ITEM *it,const EVP_MD *type,void *data, unsigned char *md,unsigned int *len); int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *algor1, ASN1_BIT_STRING *signature,void *data,EVP_PKEY *pkey); int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *data, EVP_PKEY *pkey, const EVP_MD *type); int ASN1_item_sign_ctx(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *asn, EVP_MD_CTX *ctx); int X509_set_version(X509 *x,long version); int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial); ASN1_INTEGER * X509_get_serialNumber(X509 *x); int X509_set_issuer_name(X509 *x, X509_NAME *name); X509_NAME * X509_get_issuer_name(X509 *a); int X509_set_subject_name(X509 *x, X509_NAME *name); X509_NAME * X509_get_subject_name(X509 *a); int X509_set_notBefore(X509 *x, const ASN1_TIME *tm); int X509_set_notAfter(X509 *x, const ASN1_TIME *tm); int X509_set_pubkey(X509 *x, EVP_PKEY *pkey); EVP_PKEY * X509_get_pubkey(X509 *x); ASN1_BIT_STRING * X509_get0_pubkey_bitstr(const X509 *x); int X509_certificate_type(X509 *x,EVP_PKEY *pubkey ); int X509_REQ_set_version(X509_REQ *x,long version); int X509_REQ_set_subject_name(X509_REQ *req,X509_NAME *name); int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey); EVP_PKEY * X509_REQ_get_pubkey(X509_REQ *req); int X509_REQ_extension_nid(int nid); int * X509_REQ_get_extension_nids(void); void X509_REQ_set_extension_nids(int *nids); struct stack_st_X509_EXTENSION *X509_REQ_get_extensions(X509_REQ *req); int X509_REQ_add_extensions_nid(X509_REQ *req, struct stack_st_X509_EXTENSION *exts, int nid); int X509_REQ_add_extensions(X509_REQ *req, struct stack_st_X509_EXTENSION *exts); int X509_REQ_get_attr_count(const X509_REQ *req); int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos); int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, ASN1_OBJECT *obj, int lastpos); X509_ATTRIBUTE *X509_REQ_get_attr(const X509_REQ *req, int loc); X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc); int X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr); int X509_REQ_add1_attr_by_OBJ(X509_REQ *req, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len); int X509_REQ_add1_attr_by_NID(X509_REQ *req, int nid, int type, const unsigned char *bytes, int len); int X509_REQ_add1_attr_by_txt(X509_REQ *req, const char *attrname, int type, const unsigned char *bytes, int len); int X509_CRL_set_version(X509_CRL *x, long version); int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name); int X509_CRL_set_lastUpdate(X509_CRL *x, const ASN1_TIME *tm); int X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm); int X509_CRL_sort(X509_CRL *crl); int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial); int X509_REVOKED_set_revocationDate(X509_REVOKED *r, ASN1_TIME *tm); int X509_REQ_check_private_key(X509_REQ *x509,EVP_PKEY *pkey); int X509_check_private_key(X509 *x509,EVP_PKEY *pkey); int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b); unsigned long X509_issuer_and_serial_hash(X509 *a); int X509_issuer_name_cmp(const X509 *a, const X509 *b); unsigned long X509_issuer_name_hash(X509 *a); int X509_subject_name_cmp(const X509 *a, const X509 *b); unsigned long X509_subject_name_hash(X509 *x); unsigned long X509_issuer_name_hash_old(X509 *a); unsigned long X509_subject_name_hash_old(X509 *x); int X509_cmp(const X509 *a, const X509 *b); int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b); unsigned long X509_NAME_hash(X509_NAME *x); unsigned long X509_NAME_hash_old(X509_NAME *x); int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b); int X509_CRL_match(const X509_CRL *a, const X509_CRL *b); int X509_print_ex_fp(FILE *bp,X509 *x, unsigned long nmflag, unsigned long cflag); int X509_print_fp(FILE *bp,X509 *x); int X509_CRL_print_fp(FILE *bp,X509_CRL *x); int X509_REQ_print_fp(FILE *bp,X509_REQ *req); int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags); int X509_NAME_print(BIO *bp, X509_NAME *name, int obase); int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, unsigned long flags); int X509_print_ex(BIO *bp,X509 *x, unsigned long nmflag, unsigned long cflag); int X509_print(BIO *bp,X509 *x); int X509_ocspid_print(BIO *bp,X509 *x); int X509_CERT_AUX_print(BIO *bp,X509_CERT_AUX *x, int indent); int X509_CRL_print(BIO *bp,X509_CRL *x); int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag, unsigned long cflag); int X509_REQ_print(BIO *bp,X509_REQ *req); int X509_NAME_entry_count(X509_NAME *name); int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf,int len); int X509_NAME_get_text_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, char *buf,int len); int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos); int X509_NAME_get_index_by_OBJ(X509_NAME *name,ASN1_OBJECT *obj, int lastpos); X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc); X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc); int X509_NAME_add_entry(X509_NAME *name,X509_NAME_ENTRY *ne, int loc, int set); int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, unsigned char *bytes, int len, int loc, int set); int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, unsigned char *bytes, int len, int loc, int set); X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, const char *field, int type, const unsigned char *bytes, int len); X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, int type,unsigned char *bytes, int len); int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, const unsigned char *bytes, int len, int loc, int set); X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, ASN1_OBJECT *obj, int type,const unsigned char *bytes, int len); int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, ASN1_OBJECT *obj); int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, const unsigned char *bytes, int len); ASN1_OBJECT * X509_NAME_ENTRY_get_object(X509_NAME_ENTRY *ne); ASN1_STRING * X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne); int X509v3_get_ext_count(const struct stack_st_X509_EXTENSION *x); int X509v3_get_ext_by_NID(const struct stack_st_X509_EXTENSION *x, int nid, int lastpos); int X509v3_get_ext_by_OBJ(const struct stack_st_X509_EXTENSION *x, ASN1_OBJECT *obj,int lastpos); int X509v3_get_ext_by_critical(const struct stack_st_X509_EXTENSION *x, int crit, int lastpos); X509_EXTENSION *X509v3_get_ext(const struct stack_st_X509_EXTENSION *x, int loc); X509_EXTENSION *X509v3_delete_ext(struct stack_st_X509_EXTENSION *x, int loc); struct stack_st_X509_EXTENSION *X509v3_add_ext(struct stack_st_X509_EXTENSION **x, X509_EXTENSION *ex, int loc); int X509_get_ext_count(X509 *x); int X509_get_ext_by_NID(X509 *x, int nid, int lastpos); int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos); int X509_get_ext_by_critical(X509 *x, int crit, int lastpos); X509_EXTENSION *X509_get_ext(X509 *x, int loc); X509_EXTENSION *X509_delete_ext(X509 *x, int loc); int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc); void * X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx); int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, unsigned long flags); int X509_CRL_get_ext_count(X509_CRL *x); int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos); int X509_CRL_get_ext_by_OBJ(X509_CRL *x,ASN1_OBJECT *obj,int lastpos); int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos); X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc); X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc); int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc); void * X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx); int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, unsigned long flags); int X509_REVOKED_get_ext_count(X509_REVOKED *x); int X509_REVOKED_get_ext_by_NID(X509_REVOKED *x, int nid, int lastpos); int X509_REVOKED_get_ext_by_OBJ(X509_REVOKED *x,ASN1_OBJECT *obj,int lastpos); int X509_REVOKED_get_ext_by_critical(X509_REVOKED *x, int crit, int lastpos); X509_EXTENSION *X509_REVOKED_get_ext(X509_REVOKED *x, int loc); X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x, int loc); int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc); void * X509_REVOKED_get_ext_d2i(X509_REVOKED *x, int nid, int *crit, int *idx); int X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit, unsigned long flags); X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, int nid, int crit, ASN1_OCTET_STRING *data); X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex, ASN1_OBJECT *obj,int crit,ASN1_OCTET_STRING *data); int X509_EXTENSION_set_object(X509_EXTENSION *ex,ASN1_OBJECT *obj); int X509_EXTENSION_set_critical(X509_EXTENSION *ex, int crit); int X509_EXTENSION_set_data(X509_EXTENSION *ex, ASN1_OCTET_STRING *data); ASN1_OBJECT * X509_EXTENSION_get_object(X509_EXTENSION *ex); ASN1_OCTET_STRING *X509_EXTENSION_get_data(X509_EXTENSION *ne); int X509_EXTENSION_get_critical(X509_EXTENSION *ex); int X509at_get_attr_count(const struct stack_st_X509_ATTRIBUTE *x); int X509at_get_attr_by_NID(const struct stack_st_X509_ATTRIBUTE *x, int nid, int lastpos); int X509at_get_attr_by_OBJ(const struct stack_st_X509_ATTRIBUTE *sk, ASN1_OBJECT *obj, int lastpos); X509_ATTRIBUTE *X509at_get_attr(const struct stack_st_X509_ATTRIBUTE *x, int loc); X509_ATTRIBUTE *X509at_delete_attr(struct stack_st_X509_ATTRIBUTE *x, int loc); struct stack_st_X509_ATTRIBUTE *X509at_add1_attr(struct stack_st_X509_ATTRIBUTE **x, X509_ATTRIBUTE *attr); struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_OBJ(struct stack_st_X509_ATTRIBUTE **x, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len); struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_NID(struct stack_st_X509_ATTRIBUTE **x, int nid, int type, const unsigned char *bytes, int len); struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_txt(struct stack_st_X509_ATTRIBUTE **x, const char *attrname, int type, const unsigned char *bytes, int len); void *X509at_get0_data_by_OBJ(struct stack_st_X509_ATTRIBUTE *x, ASN1_OBJECT *obj, int lastpos, int type); X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid, int atrtype, const void *data, int len); X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr, const ASN1_OBJECT *obj, int atrtype, const void *data, int len); X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_txt(X509_ATTRIBUTE **attr, const char *atrname, int type, const unsigned char *bytes, int len); int X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj); int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, const void *data, int len); void *X509_ATTRIBUTE_get0_data(X509_ATTRIBUTE *attr, int idx, int atrtype, void *data); int X509_ATTRIBUTE_count(X509_ATTRIBUTE *attr); ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr); ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx); int EVP_PKEY_get_attr_count(const EVP_PKEY *key); int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos); int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, ASN1_OBJECT *obj, int lastpos); X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc); X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc); int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr); int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len); int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, int nid, int type, const unsigned char *bytes, int len); int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, const char *attrname, int type, const unsigned char *bytes, int len); int X509_verify_cert(X509_STORE_CTX *ctx); X509 *X509_find_by_issuer_and_serial(struct stack_st_X509 *sk,X509_NAME *name, ASN1_INTEGER *serial); X509 *X509_find_by_subject(struct stack_st_X509 *sk,X509_NAME *name); PBEPARAM *PBEPARAM_new(void); void PBEPARAM_free(PBEPARAM *a); PBEPARAM *d2i_PBEPARAM(PBEPARAM * *a, const unsigned char * *in, long len); int i2d_PBEPARAM(PBEPARAM *a, unsigned char * *out); extern const ASN1_ITEM PBEPARAM_it; PBE2PARAM *PBE2PARAM_new(void); void PBE2PARAM_free(PBE2PARAM *a); PBE2PARAM *d2i_PBE2PARAM(PBE2PARAM * *a, const unsigned char * *in, long len); int i2d_PBE2PARAM(PBE2PARAM *a, unsigned char * *out); extern const ASN1_ITEM PBE2PARAM_it; PBKDF2PARAM *PBKDF2PARAM_new(void); void PBKDF2PARAM_free(PBKDF2PARAM *a); PBKDF2PARAM *d2i_PBKDF2PARAM(PBKDF2PARAM * *a, const unsigned char * *in, long len); int i2d_PBKDF2PARAM(PBKDF2PARAM *a, unsigned char * *out); extern const ASN1_ITEM PBKDF2PARAM_it; int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, const unsigned char *salt, int saltlen); X509_ALGOR *PKCS5_pbe_set(int alg, int iter, const unsigned char *salt, int saltlen); X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter, unsigned char *salt, int saltlen); X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter, unsigned char *salt, int saltlen, unsigned char *aiv, int prf_nid); X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen, int prf_nid, int keylen); PKCS8_PRIV_KEY_INFO *PKCS8_PRIV_KEY_INFO_new(void); void PKCS8_PRIV_KEY_INFO_free(PKCS8_PRIV_KEY_INFO *a); PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO(PKCS8_PRIV_KEY_INFO * *a, const unsigned char * *in, long len); int i2d_PKCS8_PRIV_KEY_INFO(PKCS8_PRIV_KEY_INFO *a, unsigned char * *out); extern const ASN1_ITEM PKCS8_PRIV_KEY_INFO_it; EVP_PKEY *EVP_PKCS82PKEY(PKCS8_PRIV_KEY_INFO *p8); PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey); PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8_broken(EVP_PKEY *pkey, int broken); PKCS8_PRIV_KEY_INFO *PKCS8_set_broken(PKCS8_PRIV_KEY_INFO *p8, int broken); int PKCS8_pkey_set0(PKCS8_PRIV_KEY_INFO *priv, ASN1_OBJECT *aobj, int version, int ptype, void *pval, unsigned char *penc, int penclen); int PKCS8_pkey_get0(ASN1_OBJECT **ppkalg, const unsigned char **pk, int *ppklen, X509_ALGOR **pa, PKCS8_PRIV_KEY_INFO *p8); int X509_PUBKEY_set0_param(X509_PUBKEY *pub, ASN1_OBJECT *aobj, int ptype, void *pval, unsigned char *penc, int penclen); int X509_PUBKEY_get0_param(ASN1_OBJECT **ppkalg, const unsigned char **pk, int *ppklen, X509_ALGOR **pa, X509_PUBKEY *pub); int X509_check_trust(X509 *x, int id, int flags); int X509_TRUST_get_count(void); X509_TRUST * X509_TRUST_get0(int idx); int X509_TRUST_get_by_id(int id); int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int), char *name, int arg1, void *arg2); void X509_TRUST_cleanup(void); int X509_TRUST_get_flags(X509_TRUST *xp); char *X509_TRUST_get0_name(X509_TRUST *xp); int X509_TRUST_get_trust(X509_TRUST *xp); void ERR_load_X509_strings(void); # 1266 "/usr/include/openssl/x509.h" 3 # 1294 "/usr/include/openssl/x509.h" 3 # 157 "/usr/include/openssl/ssl.h" 2 3 # 1 "/usr/include/openssl/pem.h" 1 3 # 1 "/usr/include/openssl/e_os2.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 57 "/usr/include/openssl/e_os2.h" 2 3 # 63 "/usr/include/openssl/pem.h" 2 3 # 1 "/usr/include/openssl/pem2.h" 1 3 # 72 "/usr/include/openssl/pem.h" 2 3 # 97 "/usr/include/openssl/pem.h" 3 # 106 "/usr/include/openssl/pem.h" 3 # 113 "/usr/include/openssl/pem.h" 3 # 139 "/usr/include/openssl/pem.h" 3 typedef struct PEM_Encode_Seal_st { EVP_ENCODE_CTX encode; EVP_MD_CTX md; EVP_CIPHER_CTX cipher; } PEM_ENCODE_SEAL_CTX; typedef struct pem_recip_st { char *name; X509_NAME *dn; int cipher; int key_enc; } PEM_USER; typedef struct pem_ctx_st { int type; struct { int version; int mode; } proc_type; char *domain; struct { int cipher; } DEK_info; PEM_USER *originator; int num_recipient; PEM_USER **recipient; EVP_MD *md; int md_enc; int md_len; char *md_data; EVP_CIPHER *dec; int key_len; unsigned char *key; int data_enc; int data_len; unsigned char *data; } PEM_CTX; # 221 "/usr/include/openssl/pem.h" 3 # 247 "/usr/include/openssl/pem.h" 3 # 255 "/usr/include/openssl/pem.h" 3 # 282 "/usr/include/openssl/pem.h" 3 # 289 "/usr/include/openssl/pem.h" 3 # 331 "/usr/include/openssl/pem.h" 3 # 369 "/usr/include/openssl/pem.h" 3 typedef int pem_password_cb(char *buf, int size, int rwflag, void *userdata); int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher); int PEM_do_header (EVP_CIPHER_INFO *cipher, unsigned char *data,long *len, pem_password_cb *callback,void *u); int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,long *len); int PEM_write_bio(BIO *bp,const char *name,char *hdr,unsigned char *data, long len); int PEM_bytes_read_bio(unsigned char **pdata, long *plen, char **pnm, const char *name, BIO *bp, pem_password_cb *cb, void *u); void * PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, pem_password_cb *cb, void *u); int PEM_ASN1_write_bio(i2d_of_void *i2d,const char *name,BIO *bp, void *x, const EVP_CIPHER *enc,unsigned char *kstr,int klen, pem_password_cb *cb, void *u); struct stack_st_X509_INFO * PEM_X509_INFO_read_bio(BIO *bp, struct stack_st_X509_INFO *sk, pem_password_cb *cb, void *u); int PEM_X509_INFO_write_bio(BIO *bp,X509_INFO *xi, EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cd, void *u); int PEM_read(FILE *fp, char **name, char **header, unsigned char **data,long *len); int PEM_write(FILE *fp,char *name,char *hdr,unsigned char *data,long len); void * PEM_ASN1_read(d2i_of_void *d2i, const char *name, FILE *fp, void **x, pem_password_cb *cb, void *u); int PEM_ASN1_write(i2d_of_void *i2d,const char *name,FILE *fp, void *x,const EVP_CIPHER *enc,unsigned char *kstr, int klen,pem_password_cb *callback, void *u); struct stack_st_X509_INFO * PEM_X509_INFO_read(FILE *fp, struct stack_st_X509_INFO *sk, pem_password_cb *cb, void *u); int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx, EVP_CIPHER *type, EVP_MD *md_type, unsigned char **ek, int *ekl, unsigned char *iv, EVP_PKEY **pubk, int npubk); void PEM_SealUpdate(PEM_ENCODE_SEAL_CTX *ctx, unsigned char *out, int *outl, unsigned char *in, int inl); int PEM_SealFinal(PEM_ENCODE_SEAL_CTX *ctx, unsigned char *sig,int *sigl, unsigned char *out, int *outl, EVP_PKEY *priv); void PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type); void PEM_SignUpdate(EVP_MD_CTX *ctx,unsigned char *d,unsigned int cnt); int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, EVP_PKEY *pkey); int PEM_def_callback(char *buf, int num, int w, void *key); void PEM_proc_type(char *buf, int type); void PEM_dek_info(char *buf, const char *type, int len, char *str); X509 *PEM_read_bio_X509(BIO *bp, X509 * *x, pem_password_cb *cb, void *u); X509 *PEM_read_X509(FILE *fp, X509 * *x, pem_password_cb *cb, void *u); int PEM_write_bio_X509(BIO *bp, X509 *x); int PEM_write_X509(FILE *fp, X509 *x); X509 *PEM_read_bio_X509_AUX(BIO *bp, X509 * *x, pem_password_cb *cb, void *u); X509 *PEM_read_X509_AUX(FILE *fp, X509 * *x, pem_password_cb *cb, void *u); int PEM_write_bio_X509_AUX(BIO *bp, X509 *x); int PEM_write_X509_AUX(FILE *fp, X509 *x); X509_CERT_PAIR *PEM_read_bio_X509_CERT_PAIR(BIO *bp, X509_CERT_PAIR * *x, pem_password_cb *cb, void *u); X509_CERT_PAIR *PEM_read_X509_CERT_PAIR(FILE *fp, X509_CERT_PAIR * *x, pem_password_cb *cb, void *u); int PEM_write_bio_X509_CERT_PAIR(BIO *bp, X509_CERT_PAIR *x); int PEM_write_X509_CERT_PAIR(FILE *fp, X509_CERT_PAIR *x); X509_REQ *PEM_read_bio_X509_REQ(BIO *bp, X509_REQ * *x, pem_password_cb *cb, void *u); X509_REQ *PEM_read_X509_REQ(FILE *fp, X509_REQ * *x, pem_password_cb *cb, void *u); int PEM_write_bio_X509_REQ(BIO *bp, X509_REQ *x); int PEM_write_X509_REQ(FILE *fp, X509_REQ *x); int PEM_write_bio_X509_REQ_NEW(BIO *bp, X509_REQ *x); int PEM_write_X509_REQ_NEW(FILE *fp, X509_REQ *x); X509_CRL *PEM_read_bio_X509_CRL(BIO *bp, X509_CRL * *x, pem_password_cb *cb, void *u); X509_CRL *PEM_read_X509_CRL(FILE *fp, X509_CRL * *x, pem_password_cb *cb, void *u); int PEM_write_bio_X509_CRL(BIO *bp, X509_CRL *x); int PEM_write_X509_CRL(FILE *fp, X509_CRL *x); PKCS7 *PEM_read_bio_PKCS7(BIO *bp, PKCS7 * *x, pem_password_cb *cb, void *u); PKCS7 *PEM_read_PKCS7(FILE *fp, PKCS7 * *x, pem_password_cb *cb, void *u); int PEM_write_bio_PKCS7(BIO *bp, PKCS7 *x); int PEM_write_PKCS7(FILE *fp, PKCS7 *x); NETSCAPE_CERT_SEQUENCE *PEM_read_bio_NETSCAPE_CERT_SEQUENCE(BIO *bp, NETSCAPE_CERT_SEQUENCE * *x, pem_password_cb *cb, void *u); NETSCAPE_CERT_SEQUENCE *PEM_read_NETSCAPE_CERT_SEQUENCE(FILE *fp, NETSCAPE_CERT_SEQUENCE * *x, pem_password_cb *cb, void *u); int PEM_write_bio_NETSCAPE_CERT_SEQUENCE(BIO *bp, NETSCAPE_CERT_SEQUENCE *x); int PEM_write_NETSCAPE_CERT_SEQUENCE(FILE *fp, NETSCAPE_CERT_SEQUENCE *x); X509_SIG *PEM_read_bio_PKCS8(BIO *bp, X509_SIG * *x, pem_password_cb *cb, void *u); X509_SIG *PEM_read_PKCS8(FILE *fp, X509_SIG * *x, pem_password_cb *cb, void *u); int PEM_write_bio_PKCS8(BIO *bp, X509_SIG *x); int PEM_write_PKCS8(FILE *fp, X509_SIG *x); PKCS8_PRIV_KEY_INFO *PEM_read_bio_PKCS8_PRIV_KEY_INFO(BIO *bp, PKCS8_PRIV_KEY_INFO * *x, pem_password_cb *cb, void *u); PKCS8_PRIV_KEY_INFO *PEM_read_PKCS8_PRIV_KEY_INFO(FILE *fp, PKCS8_PRIV_KEY_INFO * *x, pem_password_cb *cb, void *u); int PEM_write_bio_PKCS8_PRIV_KEY_INFO(BIO *bp, PKCS8_PRIV_KEY_INFO *x); int PEM_write_PKCS8_PRIV_KEY_INFO(FILE *fp, PKCS8_PRIV_KEY_INFO *x); RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA * *x, pem_password_cb *cb, void *u); RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA * *x, pem_password_cb *cb, void *u); int PEM_write_bio_RSAPrivateKey(BIO *bp, RSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_RSAPrivateKey(FILE *fp, RSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); RSA *PEM_read_bio_RSAPublicKey(BIO *bp, RSA * *x, pem_password_cb *cb, void *u); RSA *PEM_read_RSAPublicKey(FILE *fp, RSA * *x, pem_password_cb *cb, void *u); int PEM_write_bio_RSAPublicKey(BIO *bp, const RSA *x); int PEM_write_RSAPublicKey(FILE *fp, const RSA *x); RSA *PEM_read_bio_RSA_PUBKEY(BIO *bp, RSA * *x, pem_password_cb *cb, void *u); RSA *PEM_read_RSA_PUBKEY(FILE *fp, RSA * *x, pem_password_cb *cb, void *u); int PEM_write_bio_RSA_PUBKEY(BIO *bp, RSA *x); int PEM_write_RSA_PUBKEY(FILE *fp, RSA *x); DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA * *x, pem_password_cb *cb, void *u); DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA * *x, pem_password_cb *cb, void *u); int PEM_write_bio_DSAPrivateKey(BIO *bp, DSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_DSAPrivateKey(FILE *fp, DSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); DSA *PEM_read_bio_DSA_PUBKEY(BIO *bp, DSA * *x, pem_password_cb *cb, void *u); DSA *PEM_read_DSA_PUBKEY(FILE *fp, DSA * *x, pem_password_cb *cb, void *u); int PEM_write_bio_DSA_PUBKEY(BIO *bp, DSA *x); int PEM_write_DSA_PUBKEY(FILE *fp, DSA *x); DSA *PEM_read_bio_DSAparams(BIO *bp, DSA * *x, pem_password_cb *cb, void *u); DSA *PEM_read_DSAparams(FILE *fp, DSA * *x, pem_password_cb *cb, void *u); int PEM_write_bio_DSAparams(BIO *bp, const DSA *x); int PEM_write_DSAparams(FILE *fp, const DSA *x); EC_GROUP *PEM_read_bio_ECPKParameters(BIO *bp, EC_GROUP * *x, pem_password_cb *cb, void *u); EC_GROUP *PEM_read_ECPKParameters(FILE *fp, EC_GROUP * *x, pem_password_cb *cb, void *u); int PEM_write_bio_ECPKParameters(BIO *bp, const EC_GROUP *x); int PEM_write_ECPKParameters(FILE *fp, const EC_GROUP *x); EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY * *x, pem_password_cb *cb, void *u); EC_KEY *PEM_read_ECPrivateKey(FILE *fp, EC_KEY * *x, pem_password_cb *cb, void *u); int PEM_write_bio_ECPrivateKey(BIO *bp, EC_KEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_ECPrivateKey(FILE *fp, EC_KEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); EC_KEY *PEM_read_bio_EC_PUBKEY(BIO *bp, EC_KEY * *x, pem_password_cb *cb, void *u); EC_KEY *PEM_read_EC_PUBKEY(FILE *fp, EC_KEY * *x, pem_password_cb *cb, void *u); int PEM_write_bio_EC_PUBKEY(BIO *bp, EC_KEY *x); int PEM_write_EC_PUBKEY(FILE *fp, EC_KEY *x); DH *PEM_read_bio_DHparams(BIO *bp, DH * *x, pem_password_cb *cb, void *u); DH *PEM_read_DHparams(FILE *fp, DH * *x, pem_password_cb *cb, void *u); int PEM_write_bio_DHparams(BIO *bp, const DH *x); int PEM_write_DHparams(FILE *fp, const DH *x); EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY * *x, pem_password_cb *cb, void *u); EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY * *x, pem_password_cb *cb, void *u); int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); EVP_PKEY *PEM_read_bio_PUBKEY(BIO *bp, EVP_PKEY * *x, pem_password_cb *cb, void *u); EVP_PKEY *PEM_read_PUBKEY(FILE *fp, EVP_PKEY * *x, pem_password_cb *cb, void *u); int PEM_write_bio_PUBKEY(BIO *bp, EVP_PKEY *x); int PEM_write_PUBKEY(FILE *fp, EVP_PKEY *x); int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *, char *, int, pem_password_cb *, void *); int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u); int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u); EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u); int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u); int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u); EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u); int PEM_write_PKCS8PrivateKey(FILE *fp,EVP_PKEY *x,const EVP_CIPHER *enc, char *kstr,int klen, pem_password_cb *cd, void *u); EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x); int PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x); EVP_PKEY *b2i_PrivateKey(const unsigned char **in, long length); EVP_PKEY *b2i_PublicKey(const unsigned char **in, long length); EVP_PKEY *b2i_PrivateKey_bio(BIO *in); EVP_PKEY *b2i_PublicKey_bio(BIO *in); int i2b_PrivateKey_bio(BIO *out, EVP_PKEY *pk); int i2b_PublicKey_bio(BIO *out, EVP_PKEY *pk); EVP_PKEY *b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u); int i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel, pem_password_cb *cb, void *u); void ERR_load_PEM_strings(void); # 607 "/usr/include/openssl/pem.h" 3 # 637 "/usr/include/openssl/pem.h" 3 # 163 "/usr/include/openssl/ssl.h" 2 3 # 1 "/usr/include/openssl/hmac.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 62 "/usr/include/openssl/hmac.h" 2 3 typedef struct hmac_ctx_st { const EVP_MD *md; EVP_MD_CTX md_ctx; EVP_MD_CTX i_ctx; EVP_MD_CTX o_ctx; unsigned int key_length; unsigned char key[128]; } HMAC_CTX; void HMAC_CTX_init(HMAC_CTX *ctx); void HMAC_CTX_cleanup(HMAC_CTX *ctx); int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md); int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md, ENGINE *impl); int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len); int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len); unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, const unsigned char *d, size_t n, unsigned char *md, unsigned int *md_len); int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx); void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags); # 164 "/usr/include/openssl/ssl.h" 2 3 # 1 "/usr/include/openssl/kssl.h" 1 3 # 1 "/usr/include/openssl/opensslconf.h" 1 3 # 1 "/usr/include/openssl/opensslconf-x86_64.h" 1 3 # 48 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 60 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 100 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 119 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 129 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 167 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 175 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 187 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 194 "/usr/include/openssl/opensslconf-x86_64.h" 3 # 35 "/usr/include/openssl/opensslconf.h" 2 3 # 67 "/usr/include/openssl/kssl.h" 2 3 # 1 "/usr/include/ctype.h" 1 3 # 46 "/usr/include/ctype.h" 3 enum { _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) }; extern const unsigned short int **__ctype_b_loc (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern const __int32_t **__ctype_tolower_loc (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern const __int32_t **__ctype_toupper_loc (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 99 "/usr/include/ctype.h" 3 extern int isalnum (int) __attribute__ ((__nothrow__ , __leaf__)); extern int isalpha (int) __attribute__ ((__nothrow__ , __leaf__)); extern int iscntrl (int) __attribute__ ((__nothrow__ , __leaf__)); extern int isdigit (int) __attribute__ ((__nothrow__ , __leaf__)); extern int islower (int) __attribute__ ((__nothrow__ , __leaf__)); extern int isgraph (int) __attribute__ ((__nothrow__ , __leaf__)); extern int isprint (int) __attribute__ ((__nothrow__ , __leaf__)); extern int ispunct (int) __attribute__ ((__nothrow__ , __leaf__)); extern int isspace (int) __attribute__ ((__nothrow__ , __leaf__)); extern int isupper (int) __attribute__ ((__nothrow__ , __leaf__)); extern int isxdigit (int) __attribute__ ((__nothrow__ , __leaf__)); extern int tolower (int __c) __attribute__ ((__nothrow__ , __leaf__)); extern int toupper (int __c) __attribute__ ((__nothrow__ , __leaf__)); extern int isblank (int) __attribute__ ((__nothrow__ , __leaf__)); extern int isascii (int __c) __attribute__ ((__nothrow__ , __leaf__)); extern int toascii (int __c) __attribute__ ((__nothrow__ , __leaf__)); extern int _toupper (int) __attribute__ ((__nothrow__ , __leaf__)); extern int _tolower (int) __attribute__ ((__nothrow__ , __leaf__)); # 180 "/usr/include/ctype.h" 3 # 213 "/usr/include/ctype.h" 3 extern __inline int __attribute__ ((__nothrow__ , __leaf__)) tolower (int __c) { return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; } extern __inline int __attribute__ ((__nothrow__ , __leaf__)) toupper (int __c) { return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; } extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__ , __leaf__)); extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); # 303 "/usr/include/ctype.h" 3 # 317 "/usr/include/ctype.h" 3 # 336 "/usr/include/ctype.h" 3 # 72 "/usr/include/openssl/kssl.h" 2 3 # 1 "/usr/include/krb5.h" 1 3 # 1 "/usr/include/krb5/krb5.h" 1 3 # 73 "/usr/include/krb5/krb5.h" 3 # 84 "/usr/include/krb5/krb5.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 1 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h" 1 3 # 166 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h" 3 # 47 "/opt/intel/composer_xe_2015.0.090/compiler/include/limits.h" 2 3 # 103 "/usr/include/krb5/krb5.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 1 3 # 74 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 1 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h" 1 3 # 1 "/usr/include/stdint.h" 1 3 # 1 "/usr/include/bits/wchar.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/wchar.h" 2 3 # 31 "/usr/include/bits/wchar.h" 3 # 27 "/usr/include/stdint.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/stdint.h" 2 3 # 46 "/usr/include/stdint.h" 3 typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; typedef long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long int uint_least64_t; typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 101 "/usr/include/stdint.h" 3 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 114 "/usr/include/stdint.h" 3 typedef long int intptr_t; typedef unsigned long int uintptr_t; # 130 "/usr/include/stdint.h" 3 typedef long int intmax_t; typedef unsigned long int uintmax_t; # 142 "/usr/include/stdint.h" 3 # 155 "/usr/include/stdint.h" 3 # 204 "/usr/include/stdint.h" 3 # 214 "/usr/include/stdint.h" 3 # 225 "/usr/include/stdint.h" 3 # 237 "/usr/include/stdint.h" 3 # 258 "/usr/include/stdint.h" 3 # 297 "/usr/include/stdint.h" 3 # 307 "/usr/include/stdint.h" 3 # 316 "/usr/include/stdint.h" 3 # 10 "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/stdint.h" 2 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 2 3 # 85 "/opt/intel/composer_xe_2015.0.090/compiler/include/stdint.h" 3 # 105 "/usr/include/krb5/krb5.h" 2 3 # 115 "/usr/include/krb5/krb5.h" 3 # 129 "/usr/include/krb5/krb5.h" 3 struct _profile_t; typedef uint8_t krb5_octet; typedef int16_t krb5_int16; typedef uint16_t krb5_ui_2; typedef int32_t krb5_int32; typedef uint32_t krb5_ui_4; # 179 "/usr/include/krb5/krb5.h" 3 typedef unsigned int krb5_boolean; typedef unsigned int krb5_msgtype; typedef unsigned int krb5_kvno; typedef krb5_int32 krb5_addrtype; typedef krb5_int32 krb5_enctype; typedef krb5_int32 krb5_cksumtype; typedef krb5_int32 krb5_authdatatype; typedef krb5_int32 krb5_keyusage; typedef krb5_int32 krb5_cryptotype; typedef krb5_int32 krb5_preauthtype; typedef krb5_int32 krb5_flags; typedef krb5_int32 krb5_timestamp; typedef krb5_int32 krb5_error_code; typedef krb5_int32 krb5_deltat; typedef krb5_error_code krb5_magic; typedef struct _krb5_data { krb5_magic magic; unsigned int length; char *data; } krb5_data; typedef struct _krb5_octet_data { krb5_magic magic; unsigned int length; krb5_octet *data; } krb5_octet_data; typedef void * krb5_pointer; typedef void const * krb5_const_pointer; typedef struct krb5_principal_data { krb5_magic magic; krb5_data realm; krb5_data *data; krb5_int32 length; krb5_int32 type; } krb5_principal_data; typedef krb5_principal_data * krb5_principal; # 250 "/usr/include/krb5/krb5.h" 3 typedef const krb5_principal_data *krb5_const_principal; # 265 "/usr/include/krb5/krb5.h" 3 krb5_boolean krb5_is_referral_realm(const krb5_data *r); const krb5_data * krb5_anonymous_realm(void); krb5_const_principal krb5_anonymous_principal(void); typedef struct _krb5_address { krb5_magic magic; krb5_addrtype addrtype; unsigned int length; krb5_octet *contents; } krb5_address; # 329 "/usr/include/krb5/krb5.h" 3 struct _krb5_context; typedef struct _krb5_context * krb5_context; struct _krb5_auth_context; typedef struct _krb5_auth_context * krb5_auth_context; struct _krb5_cryptosystem_entry; typedef struct _krb5_keyblock { krb5_magic magic; krb5_enctype enctype; unsigned int length; krb5_octet *contents; } krb5_keyblock; struct krb5_key_st; typedef struct krb5_key_st *krb5_key; typedef struct _krb5_encrypt_block { krb5_magic magic; krb5_enctype crypto_entry; krb5_keyblock *key; } krb5_encrypt_block; typedef struct _krb5_checksum { krb5_magic magic; krb5_cksumtype checksum_type; unsigned int length; krb5_octet *contents; } krb5_checksum; typedef struct _krb5_enc_data { krb5_magic magic; krb5_enctype enctype; krb5_kvno kvno; krb5_data ciphertext; } krb5_enc_data; typedef struct _krb5_crypto_iov { krb5_cryptotype flags; krb5_data data; } krb5_crypto_iov; # 420 "/usr/include/krb5/krb5.h" 3 # 428 "/usr/include/krb5/krb5.h" 3 # 437 "/usr/include/krb5/krb5.h" 3 # 456 "/usr/include/krb5/krb5.h" 3 enum { KRB5_C_RANDSOURCE_OLDAPI = 0, KRB5_C_RANDSOURCE_OSRAND = 1, KRB5_C_RANDSOURCE_TRUSTEDPARTY = 2, KRB5_C_RANDSOURCE_TIMING = 3, KRB5_C_RANDSOURCE_EXTERNAL_PROTOCOL = 4, KRB5_C_RANDSOURCE_MAX = 5 }; # 494 "/usr/include/krb5/krb5.h" 3 krb5_error_code krb5_c_encrypt(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *cipher_state, const krb5_data *input, krb5_enc_data *output); krb5_error_code krb5_c_decrypt(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *cipher_state, const krb5_enc_data *input, krb5_data *output); krb5_error_code krb5_c_encrypt_length(krb5_context context, krb5_enctype enctype, size_t inputlen, size_t *length); krb5_error_code krb5_c_block_size(krb5_context context, krb5_enctype enctype, size_t *blocksize); krb5_error_code krb5_c_keylengths(krb5_context context, krb5_enctype enctype, size_t *keybytes, size_t *keylength); krb5_error_code krb5_c_init_state(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, krb5_data *new_state); krb5_error_code krb5_c_free_state(krb5_context context, const krb5_keyblock *key, krb5_data *state); krb5_error_code krb5_c_prf(krb5_context context, const krb5_keyblock *keyblock, krb5_data *input, krb5_data *output); krb5_error_code krb5_c_prf_length(krb5_context context, krb5_enctype enctype, size_t *len); krb5_error_code krb5_c_fx_cf2_simple(krb5_context context, krb5_keyblock *k1, const char *pepper1, krb5_keyblock *k2, const char *pepper2, krb5_keyblock **out); krb5_error_code krb5_c_make_random_key(krb5_context context, krb5_enctype enctype, krb5_keyblock *k5_random_key); krb5_error_code krb5_c_random_to_key(krb5_context context, krb5_enctype enctype, krb5_data *random_data, krb5_keyblock *k5_random_key); krb5_error_code krb5_c_random_add_entropy(krb5_context context, unsigned int randsource, const krb5_data *data); krb5_error_code krb5_c_random_make_octets(krb5_context context, krb5_data *data); krb5_error_code krb5_c_random_os_entropy(krb5_context context, int strong, int *success); krb5_error_code krb5_c_random_seed(krb5_context context, krb5_data *data); krb5_error_code krb5_c_string_to_key(krb5_context context, krb5_enctype enctype, const krb5_data *string, const krb5_data *salt, krb5_keyblock *key); krb5_error_code krb5_c_string_to_key_with_params(krb5_context context, krb5_enctype enctype, const krb5_data *string, const krb5_data *salt, const krb5_data *params, krb5_keyblock *key); krb5_error_code krb5_c_enctype_compare(krb5_context context, krb5_enctype e1, krb5_enctype e2, krb5_boolean *similar); krb5_error_code krb5_c_make_checksum(krb5_context context, krb5_cksumtype cksumtype, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *input, krb5_checksum *cksum); krb5_error_code krb5_c_verify_checksum(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *data, const krb5_checksum *cksum, krb5_boolean *valid); krb5_error_code krb5_c_checksum_length(krb5_context context, krb5_cksumtype cksumtype, size_t *length); krb5_error_code krb5_c_keyed_checksum_types(krb5_context context, krb5_enctype enctype, unsigned int *count, krb5_cksumtype **cksumtypes); # 941 "/usr/include/krb5/krb5.h" 3 # 976 "/usr/include/krb5/krb5.h" 3 krb5_boolean krb5_c_valid_enctype(krb5_enctype ktype); krb5_boolean krb5_c_valid_cksumtype(krb5_cksumtype ctype); krb5_boolean krb5_c_is_coll_proof_cksum(krb5_cksumtype ctype); krb5_boolean krb5_c_is_keyed_cksum(krb5_cksumtype ctype); # 1033 "/usr/include/krb5/krb5.h" 3 krb5_error_code krb5_c_make_checksum_iov(krb5_context context, krb5_cksumtype cksumtype, const krb5_keyblock *key, krb5_keyusage usage, krb5_crypto_iov *data, size_t num_data); krb5_error_code krb5_c_verify_checksum_iov(krb5_context context, krb5_cksumtype cksumtype, const krb5_keyblock *key, krb5_keyusage usage, const krb5_crypto_iov *data, size_t num_data, krb5_boolean *valid); krb5_error_code krb5_c_encrypt_iov(krb5_context context, const krb5_keyblock *keyblock, krb5_keyusage usage, const krb5_data *cipher_state, krb5_crypto_iov *data, size_t num_data); krb5_error_code krb5_c_decrypt_iov(krb5_context context, const krb5_keyblock *keyblock, krb5_keyusage usage, const krb5_data *cipher_state, krb5_crypto_iov *data, size_t num_data); krb5_error_code krb5_c_crypto_length(krb5_context context, krb5_enctype enctype, krb5_cryptotype type, unsigned int *size); krb5_error_code krb5_c_crypto_length_iov(krb5_context context, krb5_enctype enctype, krb5_crypto_iov *data, size_t num_data); krb5_error_code krb5_c_padding_length(krb5_context context, krb5_enctype enctype, size_t data_length, unsigned int *size); krb5_error_code krb5_k_create_key(krb5_context context, const krb5_keyblock *key_data, krb5_key *out); void krb5_k_reference_key(krb5_context context, krb5_key key); void krb5_k_free_key(krb5_context context, krb5_key key); krb5_error_code krb5_k_key_keyblock(krb5_context context, krb5_key key, krb5_keyblock **key_data); krb5_enctype krb5_k_key_enctype(krb5_context context, krb5_key key); krb5_error_code krb5_k_encrypt(krb5_context context, krb5_key key, krb5_keyusage usage, const krb5_data *cipher_state, const krb5_data *input, krb5_enc_data *output); krb5_error_code krb5_k_encrypt_iov(krb5_context context, krb5_key key, krb5_keyusage usage, const krb5_data *cipher_state, krb5_crypto_iov *data, size_t num_data); krb5_error_code krb5_k_decrypt(krb5_context context, krb5_key key, krb5_keyusage usage, const krb5_data *cipher_state, const krb5_enc_data *input, krb5_data *output); krb5_error_code krb5_k_decrypt_iov(krb5_context context, krb5_key key, krb5_keyusage usage, const krb5_data *cipher_state, krb5_crypto_iov *data, size_t num_data); krb5_error_code krb5_k_make_checksum(krb5_context context, krb5_cksumtype cksumtype, krb5_key key, krb5_keyusage usage, const krb5_data *input, krb5_checksum *cksum); krb5_error_code krb5_k_make_checksum_iov(krb5_context context, krb5_cksumtype cksumtype, krb5_key key, krb5_keyusage usage, krb5_crypto_iov *data, size_t num_data); krb5_error_code krb5_k_verify_checksum(krb5_context context, krb5_key key, krb5_keyusage usage, const krb5_data *data, const krb5_checksum *cksum, krb5_boolean *valid); krb5_error_code krb5_k_verify_checksum_iov(krb5_context context, krb5_cksumtype cksumtype, krb5_key key, krb5_keyusage usage, const krb5_crypto_iov *data, size_t num_data, krb5_boolean *valid); krb5_error_code krb5_k_prf(krb5_context context, krb5_key key, krb5_data *input, krb5_data *output); krb5_error_code krb5_encrypt(krb5_context context, krb5_const_pointer inptr, krb5_pointer outptr, size_t size, krb5_encrypt_block *eblock, krb5_pointer ivec); krb5_error_code krb5_decrypt(krb5_context context, krb5_const_pointer inptr, krb5_pointer outptr, size_t size, krb5_encrypt_block *eblock, krb5_pointer ivec); krb5_error_code krb5_process_key(krb5_context context, krb5_encrypt_block *eblock, const krb5_keyblock * key); krb5_error_code krb5_finish_key(krb5_context context, krb5_encrypt_block * eblock); krb5_error_code krb5_string_to_key(krb5_context context, const krb5_encrypt_block *eblock, krb5_keyblock * keyblock, const krb5_data *data, const krb5_data *salt); krb5_error_code krb5_init_random_key(krb5_context context, const krb5_encrypt_block *eblock, const krb5_keyblock *keyblock, krb5_pointer *ptr); krb5_error_code krb5_finish_random_key(krb5_context context, const krb5_encrypt_block *eblock, krb5_pointer *ptr); krb5_error_code krb5_random_key(krb5_context context, const krb5_encrypt_block *eblock, krb5_pointer ptr, krb5_keyblock **keyblock); krb5_enctype krb5_eblock_enctype(krb5_context context, const krb5_encrypt_block *eblock); krb5_error_code krb5_use_enctype(krb5_context context, krb5_encrypt_block *eblock, krb5_enctype enctype); size_t krb5_encrypt_size(size_t length, krb5_enctype crypto); size_t krb5_checksum_size(krb5_context context, krb5_cksumtype ctype); krb5_error_code krb5_calculate_checksum(krb5_context context, krb5_cksumtype ctype, krb5_const_pointer in, size_t in_length, krb5_const_pointer seed, size_t seed_length, krb5_checksum * outcksum); krb5_error_code krb5_verify_checksum(krb5_context context, krb5_cksumtype ctype, const krb5_checksum * cksum, krb5_const_pointer in, size_t in_length, krb5_const_pointer seed, size_t seed_length); # 1597 "/usr/include/krb5/krb5.h" 3 # 1649 "/usr/include/krb5/krb5.h" 3 # 1707 "/usr/include/krb5/krb5.h" 3 # 1755 "/usr/include/krb5/krb5.h" 3 # 1772 "/usr/include/krb5/krb5.h" 3 # 1803 "/usr/include/krb5/krb5.h" 3 # 1817 "/usr/include/krb5/krb5.h" 3 # 1844 "/usr/include/krb5/krb5.h" 3 typedef struct _krb5_ticket_times { krb5_timestamp authtime; krb5_timestamp starttime; krb5_timestamp endtime; krb5_timestamp renew_till; } krb5_ticket_times; typedef struct _krb5_authdata { krb5_magic magic; krb5_authdatatype ad_type; unsigned int length; krb5_octet *contents; } krb5_authdata; typedef struct _krb5_transited { krb5_magic magic; krb5_octet tr_type; krb5_data tr_contents; } krb5_transited; typedef struct _krb5_enc_tkt_part { krb5_magic magic; krb5_flags flags; krb5_keyblock *session; krb5_principal client; krb5_transited transited; krb5_ticket_times times; krb5_address **caddrs; krb5_authdata **authorization_data; } krb5_enc_tkt_part; typedef struct _krb5_ticket { krb5_magic magic; krb5_principal server; krb5_enc_data enc_part; krb5_enc_tkt_part *enc_part2; } krb5_ticket; typedef struct _krb5_authenticator { krb5_magic magic; krb5_principal client; krb5_checksum *checksum; krb5_int32 cusec; krb5_timestamp ctime; krb5_keyblock *subkey; krb5_ui_4 seq_number; krb5_authdata **authorization_data; } krb5_authenticator; typedef struct _krb5_tkt_authent { krb5_magic magic; krb5_ticket *ticket; krb5_authenticator *authenticator; krb5_flags ap_options; } krb5_tkt_authent; typedef struct _krb5_creds { krb5_magic magic; krb5_principal client; krb5_principal server; krb5_keyblock keyblock; krb5_ticket_times times; krb5_boolean is_skey; krb5_flags ticket_flags; krb5_address **addresses; krb5_data ticket; krb5_data second_ticket; krb5_authdata **authdata; } krb5_creds; typedef struct _krb5_last_req_entry { krb5_magic magic; krb5_int32 lr_type; krb5_timestamp value; } krb5_last_req_entry; typedef struct _krb5_pa_data { krb5_magic magic; krb5_preauthtype pa_type; unsigned int length; krb5_octet *contents; } krb5_pa_data; typedef struct _krb5_typed_data { krb5_magic magic; krb5_int32 type; unsigned int length; krb5_octet *data; } krb5_typed_data; typedef struct _krb5_kdc_req { krb5_magic magic; krb5_msgtype msg_type; krb5_pa_data **padata; krb5_flags kdc_options; krb5_principal client; krb5_principal server; krb5_timestamp from; krb5_timestamp till; krb5_timestamp rtime; krb5_int32 nonce; int nktypes; krb5_enctype *ktype; krb5_address **addresses; krb5_enc_data authorization_data; krb5_authdata **unenc_authdata; krb5_ticket **second_ticket; } krb5_kdc_req; typedef struct _krb5_enc_kdc_rep_part { krb5_magic magic; krb5_msgtype msg_type; krb5_keyblock *session; krb5_last_req_entry **last_req; krb5_int32 nonce; krb5_timestamp key_exp; krb5_flags flags; krb5_ticket_times times; krb5_principal server; krb5_address **caddrs; krb5_pa_data **enc_padata; } krb5_enc_kdc_rep_part; typedef struct _krb5_kdc_rep { krb5_magic magic; krb5_msgtype msg_type; krb5_pa_data **padata; krb5_principal client; krb5_ticket *ticket; krb5_enc_data enc_part; krb5_enc_kdc_rep_part *enc_part2; } krb5_kdc_rep; typedef struct _krb5_error { krb5_magic magic; krb5_timestamp ctime; krb5_int32 cusec; krb5_int32 susec; krb5_timestamp stime; krb5_ui_4 error; krb5_principal client; krb5_principal server; krb5_data text; krb5_data e_data; } krb5_error; typedef struct _krb5_ap_req { krb5_magic magic; krb5_flags ap_options; krb5_ticket *ticket; krb5_enc_data authenticator; } krb5_ap_req; typedef struct _krb5_ap_rep { krb5_magic magic; krb5_enc_data enc_part; } krb5_ap_rep; typedef struct _krb5_ap_rep_enc_part { krb5_magic magic; krb5_timestamp ctime; krb5_int32 cusec; krb5_keyblock *subkey; krb5_ui_4 seq_number; } krb5_ap_rep_enc_part; typedef struct _krb5_response { krb5_magic magic; krb5_octet message_type; krb5_data response; krb5_int32 expected_nonce; krb5_timestamp request_time; } krb5_response; typedef struct _krb5_cred_info { krb5_magic magic; krb5_keyblock *session; krb5_principal client; krb5_principal server; krb5_flags flags; krb5_ticket_times times; krb5_address **caddrs; } krb5_cred_info; typedef struct _krb5_cred_enc_part { krb5_magic magic; krb5_int32 nonce; krb5_timestamp timestamp; krb5_int32 usec; krb5_address *s_address; krb5_address *r_address; krb5_cred_info **ticket_info; } krb5_cred_enc_part; typedef struct _krb5_cred { krb5_magic magic; krb5_ticket **tickets; krb5_enc_data enc_part; krb5_cred_enc_part *enc_part2; } krb5_cred; typedef struct _passwd_phrase_element { krb5_magic magic; krb5_data *passwd; krb5_data *phrase; } passwd_phrase_element; typedef struct _krb5_pwd_data { krb5_magic magic; int sequence_count; passwd_phrase_element **element; } krb5_pwd_data; typedef struct _krb5_pa_svr_referral_data { krb5_principal principal; } krb5_pa_svr_referral_data; typedef struct _krb5_pa_server_referral_data { krb5_data *referred_realm; krb5_principal true_principal_name; krb5_principal requested_principal_name; krb5_timestamp referral_valid_until; krb5_checksum rep_cksum; } krb5_pa_server_referral_data; typedef struct _krb5_pa_pac_req { krb5_boolean include_pac; } krb5_pa_pac_req; typedef struct krb5_replay_data { krb5_timestamp timestamp; krb5_int32 usec; krb5_ui_4 seq; } krb5_replay_data; typedef krb5_error_code ( * krb5_mk_req_checksum_func)(krb5_context, krb5_auth_context, void *, krb5_data **); typedef krb5_pointer krb5_cc_cursor; struct _krb5_ccache; typedef struct _krb5_ccache *krb5_ccache; struct _krb5_cc_ops; typedef struct _krb5_cc_ops krb5_cc_ops; struct _krb5_cccol_cursor; typedef struct _krb5_cccol_cursor *krb5_cccol_cursor; const char * krb5_cc_get_name(krb5_context context, krb5_ccache cache); krb5_error_code krb5_cc_get_full_name(krb5_context context, krb5_ccache cache, char **fullname_out); krb5_error_code krb5_cc_initialize(krb5_context context, krb5_ccache cache, krb5_principal principal); krb5_error_code krb5_cc_destroy(krb5_context context, krb5_ccache cache); krb5_error_code krb5_cc_close(krb5_context context, krb5_ccache cache); krb5_error_code krb5_cc_store_cred(krb5_context context, krb5_ccache cache, krb5_creds *creds); krb5_error_code krb5_cc_retrieve_cred(krb5_context context, krb5_ccache cache, krb5_flags flags, krb5_creds *mcreds, krb5_creds *creds); krb5_error_code krb5_cc_get_principal(krb5_context context, krb5_ccache cache, krb5_principal *principal); krb5_error_code krb5_cc_start_seq_get(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor); krb5_error_code krb5_cc_next_cred(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor, krb5_creds *creds); krb5_error_code krb5_cc_end_seq_get(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor); krb5_error_code krb5_cc_remove_cred(krb5_context context, krb5_ccache cache, krb5_flags flags, krb5_creds *creds); krb5_error_code krb5_cc_set_flags(krb5_context context, krb5_ccache cache, krb5_flags flags); krb5_error_code krb5_cc_get_flags(krb5_context context, krb5_ccache cache, krb5_flags *flags); const char * krb5_cc_get_type(krb5_context context, krb5_ccache cache); krb5_error_code krb5_cc_move(krb5_context context, krb5_ccache src, krb5_ccache dst); krb5_error_code krb5_cc_last_change_time(krb5_context context, krb5_ccache ccache, krb5_timestamp *change_time); krb5_error_code krb5_cc_lock(krb5_context context, krb5_ccache ccache); krb5_error_code krb5_cc_unlock(krb5_context context, krb5_ccache ccache); krb5_error_code krb5_cccol_cursor_new(krb5_context context, krb5_cccol_cursor *cursor); krb5_error_code krb5_cccol_cursor_next(krb5_context context, krb5_cccol_cursor cursor, krb5_ccache *ccache); krb5_error_code krb5_cccol_cursor_free(krb5_context context, krb5_cccol_cursor *cursor); krb5_error_code krb5_cccol_have_content(krb5_context context); krb5_error_code krb5_cccol_last_change_time(krb5_context context, krb5_timestamp *change_time); krb5_error_code krb5_cccol_lock(krb5_context context); krb5_error_code krb5_cccol_unlock(krb5_context context); krb5_error_code krb5_cc_new_unique(krb5_context context, const char *type, const char *hint, krb5_ccache *id); struct krb5_rc_st; typedef struct krb5_rc_st *krb5_rcache; typedef krb5_pointer krb5_kt_cursor; typedef struct krb5_keytab_entry_st { krb5_magic magic; krb5_principal principal; krb5_timestamp timestamp; krb5_kvno vno; krb5_keyblock key; } krb5_keytab_entry; struct _krb5_kt; typedef struct _krb5_kt *krb5_keytab; const char * krb5_kt_get_type(krb5_context context, krb5_keytab keytab); krb5_error_code krb5_kt_get_name(krb5_context context, krb5_keytab keytab, char *name, unsigned int namelen); krb5_error_code krb5_kt_close(krb5_context context, krb5_keytab keytab); krb5_error_code krb5_kt_get_entry(krb5_context context, krb5_keytab keytab, krb5_const_principal principal, krb5_kvno vno, krb5_enctype enctype, krb5_keytab_entry *entry); krb5_error_code krb5_kt_start_seq_get(krb5_context context, krb5_keytab keytab, krb5_kt_cursor *cursor); krb5_error_code krb5_kt_next_entry(krb5_context context, krb5_keytab keytab, krb5_keytab_entry *entry, krb5_kt_cursor *cursor); krb5_error_code krb5_kt_end_seq_get(krb5_context context, krb5_keytab keytab, krb5_kt_cursor *cursor); krb5_error_code krb5_kt_have_content(krb5_context context, krb5_keytab keytab); krb5_error_code krb5_init_context(krb5_context *context); krb5_error_code krb5_init_secure_context(krb5_context *context); krb5_error_code krb5_init_context_profile(struct _profile_t *profile, krb5_flags flags, krb5_context *context); void krb5_free_context(krb5_context context); krb5_error_code krb5_copy_context(krb5_context ctx, krb5_context *nctx_out); krb5_error_code krb5_set_default_tgs_enctypes(krb5_context context, const krb5_enctype *etypes); krb5_error_code krb5_get_permitted_enctypes(krb5_context context, krb5_enctype **ktypes); krb5_boolean krb5_is_thread_safe(void); krb5_error_code krb5_server_decrypt_ticket_keytab(krb5_context context, const krb5_keytab kt, krb5_ticket *ticket); void krb5_free_tgt_creds(krb5_context context, krb5_creds **tgts); # 3089 "/usr/include/krb5/krb5.h" 3 krb5_error_code krb5_get_credentials(krb5_context context, krb5_flags options, krb5_ccache ccache, krb5_creds *in_creds, krb5_creds **out_creds); krb5_error_code krb5_get_credentials_validate(krb5_context context, krb5_flags options, krb5_ccache ccache, krb5_creds *in_creds, krb5_creds **out_creds); krb5_error_code krb5_get_credentials_renew(krb5_context context, krb5_flags options, krb5_ccache ccache, krb5_creds *in_creds, krb5_creds **out_creds); krb5_error_code krb5_mk_req(krb5_context context, krb5_auth_context *auth_context, krb5_flags ap_req_options, char *service, char *hostname, krb5_data *in_data, krb5_ccache ccache, krb5_data *outbuf); krb5_error_code krb5_mk_req_extended(krb5_context context, krb5_auth_context *auth_context, krb5_flags ap_req_options, krb5_data *in_data, krb5_creds *in_creds, krb5_data *outbuf); krb5_error_code krb5_mk_rep(krb5_context context, krb5_auth_context auth_context, krb5_data *outbuf); krb5_error_code krb5_mk_rep_dce(krb5_context context, krb5_auth_context auth_context, krb5_data *outbuf); krb5_error_code krb5_rd_rep(krb5_context context, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_ap_rep_enc_part **repl); krb5_error_code krb5_rd_rep_dce(krb5_context context, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_ui_4 *nonce); krb5_error_code krb5_mk_error(krb5_context context, const krb5_error *dec_err, krb5_data *enc_err); krb5_error_code krb5_rd_error(krb5_context context, const krb5_data *enc_errbuf, krb5_error **dec_error); krb5_error_code krb5_rd_safe(krb5_context context, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_data *outbuf, krb5_replay_data *outdata); krb5_error_code krb5_rd_priv(krb5_context context, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_data *outbuf, krb5_replay_data *outdata); krb5_error_code krb5_parse_name(krb5_context context, const char *name, krb5_principal *principal_out); krb5_error_code krb5_parse_name_flags(krb5_context context, const char *name, int flags, krb5_principal *principal_out); krb5_error_code krb5_unparse_name(krb5_context context, krb5_const_principal principal, register char **name); krb5_error_code krb5_unparse_name_ext(krb5_context context, krb5_const_principal principal, char **name, unsigned int *size); krb5_error_code krb5_unparse_name_flags(krb5_context context, krb5_const_principal principal, int flags, char **name); krb5_error_code krb5_unparse_name_flags_ext(krb5_context context, krb5_const_principal principal, int flags, char **name, unsigned int *size); krb5_error_code krb5_set_principal_realm(krb5_context context, krb5_principal principal, const char *realm); krb5_boolean krb5_address_search(krb5_context context, const krb5_address *addr, krb5_address *const *addrlist); krb5_boolean krb5_address_compare(krb5_context context, const krb5_address *addr1, const krb5_address *addr2); int krb5_address_order(krb5_context context, const krb5_address *addr1, const krb5_address *addr2); krb5_boolean krb5_realm_compare(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2); krb5_boolean krb5_principal_compare(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2); krb5_boolean krb5_principal_compare_any_realm(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2); krb5_boolean krb5_principal_compare_flags(krb5_context context, krb5_const_principal princ1, krb5_const_principal princ2, int flags); krb5_error_code krb5_init_keyblock(krb5_context context, krb5_enctype enctype, size_t length, krb5_keyblock **out); krb5_error_code krb5_copy_keyblock(krb5_context context, const krb5_keyblock *from, krb5_keyblock **to); krb5_error_code krb5_copy_keyblock_contents(krb5_context context, const krb5_keyblock *from, krb5_keyblock *to); krb5_error_code krb5_copy_creds(krb5_context context, const krb5_creds *incred, krb5_creds **outcred); krb5_error_code krb5_copy_data(krb5_context context, const krb5_data *indata, krb5_data **outdata); krb5_error_code krb5_copy_principal(krb5_context context, krb5_const_principal inprinc, krb5_principal *outprinc); krb5_error_code krb5_copy_addresses(krb5_context context, krb5_address *const *inaddr, krb5_address ***outaddr); krb5_error_code krb5_copy_ticket(krb5_context context, const krb5_ticket *from, krb5_ticket **pto); krb5_error_code krb5_copy_authdata(krb5_context context, krb5_authdata *const *in_authdat, krb5_authdata ***out); krb5_error_code krb5_find_authdata(krb5_context context, krb5_authdata *const *ticket_authdata, krb5_authdata *const *ap_req_authdata, krb5_authdatatype ad_type, krb5_authdata ***results); krb5_error_code krb5_merge_authdata(krb5_context context, krb5_authdata *const *inauthdat1, krb5_authdata * const *inauthdat2, krb5_authdata ***outauthdat); krb5_error_code krb5_copy_authenticator(krb5_context context, const krb5_authenticator *authfrom, krb5_authenticator **authto); krb5_error_code krb5_copy_checksum(krb5_context context, const krb5_checksum *ckfrom, krb5_checksum **ckto); krb5_error_code krb5_get_server_rcache(krb5_context context, const krb5_data *piece, krb5_rcache *rcptr); krb5_error_code krb5_build_principal_ext(krb5_context context, krb5_principal * princ, unsigned int rlen, const char * realm, ...); krb5_error_code krb5_build_principal(krb5_context context, krb5_principal * princ, unsigned int rlen, const char * realm, ...) __attribute__ ((sentinel)) ; # 4051 "/usr/include/krb5/krb5.h" 3 krb5_error_code krb5_build_principal_alloc_va(krb5_context context, krb5_principal *princ, unsigned int rlen, const char *realm, va_list ap); krb5_error_code krb5_425_conv_principal(krb5_context context, const char *name, const char *instance, const char *realm, krb5_principal *princ); krb5_error_code krb5_524_conv_principal(krb5_context context, krb5_const_principal princ, char *name, char *inst, char *realm); struct credentials; int krb5_524_convert_creds(krb5_context context, krb5_creds *v5creds, struct credentials *v4creds); krb5_error_code krb5_kt_resolve(krb5_context context, const char *name, krb5_keytab *ktid); krb5_error_code krb5_kt_dup(krb5_context context, krb5_keytab in, krb5_keytab *out); krb5_error_code krb5_kt_default_name(krb5_context context, char *name, int name_size); krb5_error_code krb5_kt_default(krb5_context context, krb5_keytab *id); krb5_error_code krb5_kt_client_default(krb5_context context, krb5_keytab *keytab_out); krb5_error_code krb5_free_keytab_entry_contents(krb5_context context, krb5_keytab_entry *entry); krb5_error_code krb5_kt_free_entry(krb5_context context, krb5_keytab_entry *entry); krb5_error_code krb5_kt_remove_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry); krb5_error_code krb5_kt_add_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry); krb5_error_code krb5_principal2salt(krb5_context context, register krb5_const_principal pr, krb5_data *ret); krb5_error_code krb5_cc_resolve(krb5_context context, const char *name, krb5_ccache *cache); krb5_error_code krb5_cc_dup(krb5_context context, krb5_ccache in, krb5_ccache *out); const char * krb5_cc_default_name(krb5_context context); krb5_error_code krb5_cc_set_default_name(krb5_context context, const char *name); krb5_error_code krb5_cc_default(krb5_context context, krb5_ccache *ccache); krb5_error_code krb5_cc_copy_creds(krb5_context context, krb5_ccache incc, krb5_ccache outcc); krb5_error_code krb5_cc_get_config(krb5_context context, krb5_ccache id, krb5_const_principal principal, const char *key, krb5_data *data); krb5_error_code krb5_cc_set_config(krb5_context context, krb5_ccache id, krb5_const_principal principal, const char *key, krb5_data *data); krb5_boolean krb5_is_config_principal(krb5_context context, krb5_const_principal principal); krb5_error_code krb5_cc_switch(krb5_context context, krb5_ccache cache); krb5_boolean krb5_cc_support_switch(krb5_context context, const char *type); krb5_error_code krb5_cc_cache_match(krb5_context context, krb5_principal client, krb5_ccache *cache_out); krb5_error_code krb5_cc_select(krb5_context context, krb5_principal server, krb5_ccache *cache_out, krb5_principal *princ_out); void krb5_free_principal(krb5_context context, krb5_principal val); void krb5_free_authenticator(krb5_context context, krb5_authenticator *val); void krb5_free_addresses(krb5_context context, krb5_address **val); void krb5_free_authdata(krb5_context context, krb5_authdata **val); void krb5_free_ticket(krb5_context context, krb5_ticket *val); void krb5_free_error(krb5_context context, register krb5_error *val); void krb5_free_creds(krb5_context context, krb5_creds *val); void krb5_free_cred_contents(krb5_context context, krb5_creds *val); void krb5_free_checksum(krb5_context context, register krb5_checksum *val); void krb5_free_checksum_contents(krb5_context context, register krb5_checksum *val); void krb5_free_keyblock(krb5_context context, register krb5_keyblock *val); void krb5_free_keyblock_contents(krb5_context context, register krb5_keyblock *key); void krb5_free_ap_rep_enc_part(krb5_context context, krb5_ap_rep_enc_part *val); void krb5_free_data(krb5_context context, krb5_data *val); void krb5_free_octet_data(krb5_context context, krb5_octet_data *val); void krb5_free_data_contents(krb5_context context, krb5_data *val); void krb5_free_unparsed_name(krb5_context context, char *val); void krb5_free_string(krb5_context context, char *val); void krb5_free_enctypes(krb5_context context, krb5_enctype *val); void krb5_free_cksumtypes(krb5_context context, krb5_cksumtype *val); krb5_error_code krb5_us_timeofday(krb5_context context, krb5_timestamp *seconds, krb5_int32 *microseconds); krb5_error_code krb5_timeofday(krb5_context context, register krb5_timestamp *timeret); krb5_error_code krb5_check_clockskew(krb5_context context, krb5_timestamp date); krb5_error_code krb5_os_localaddr(krb5_context context, krb5_address ***addr); krb5_error_code krb5_get_default_realm(krb5_context context, char **lrealm); krb5_error_code krb5_set_default_realm(krb5_context context, const char *lrealm); void krb5_free_default_realm(krb5_context context, char *lrealm); krb5_error_code krb5_sname_to_principal(krb5_context context, const char *hostname, const char *sname, krb5_int32 type, krb5_principal *ret_princ); krb5_boolean krb5_sname_match(krb5_context context, krb5_const_principal matching, krb5_const_principal princ); krb5_error_code krb5_change_password(krb5_context context, krb5_creds *creds, char *newpw, int *result_code, krb5_data *result_code_string, krb5_data *result_string); krb5_error_code krb5_set_password(krb5_context context, krb5_creds *creds, char *newpw, krb5_principal change_password_for, int *result_code, krb5_data *result_code_string, krb5_data *result_string); krb5_error_code krb5_set_password_using_ccache(krb5_context context, krb5_ccache ccache, char *newpw, krb5_principal change_password_for, int *result_code, krb5_data *result_code_string, krb5_data *result_string); krb5_error_code krb5_chpw_message(krb5_context context, const krb5_data *server_string, char **message_out); krb5_error_code krb5_get_profile(krb5_context context, struct _profile_t ** profile); # 5149 "/usr/include/krb5/krb5.h" 3 krb5_error_code krb5_rd_req(krb5_context context, krb5_auth_context *auth_context, const krb5_data *inbuf, krb5_const_principal server, krb5_keytab keytab, krb5_flags *ap_req_options, krb5_ticket **ticket); krb5_error_code krb5_kt_read_service_key(krb5_context context, krb5_pointer keyprocarg, krb5_principal principal, krb5_kvno vno, krb5_enctype enctype, krb5_keyblock **key); krb5_error_code krb5_mk_safe(krb5_context context, krb5_auth_context auth_context, const krb5_data *userdata, krb5_data *outbuf, krb5_replay_data *outdata); krb5_error_code krb5_mk_priv(krb5_context context, krb5_auth_context auth_context, const krb5_data *userdata, krb5_data *outbuf, krb5_replay_data *outdata); krb5_error_code krb5_sendauth(krb5_context context, krb5_auth_context *auth_context, krb5_pointer fd, char *appl_version, krb5_principal client, krb5_principal server, krb5_flags ap_req_options, krb5_data *in_data, krb5_creds *in_creds, krb5_ccache ccache, krb5_error **error, krb5_ap_rep_enc_part **rep_result, krb5_creds **out_creds); krb5_error_code krb5_recvauth(krb5_context context, krb5_auth_context *auth_context, krb5_pointer fd, char *appl_version, krb5_principal server, krb5_int32 flags, krb5_keytab keytab, krb5_ticket **ticket); krb5_error_code krb5_recvauth_version(krb5_context context, krb5_auth_context *auth_context, krb5_pointer fd, krb5_principal server, krb5_int32 flags, krb5_keytab keytab, krb5_ticket **ticket, krb5_data *version); krb5_error_code krb5_mk_ncred(krb5_context context, krb5_auth_context auth_context, krb5_creds **ppcreds, krb5_data **ppdata, krb5_replay_data *outdata); krb5_error_code krb5_mk_1cred(krb5_context context, krb5_auth_context auth_context, krb5_creds *pcreds, krb5_data **ppdata, krb5_replay_data *outdata); krb5_error_code krb5_rd_cred(krb5_context context, krb5_auth_context auth_context, krb5_data *pcreddata, krb5_creds ***pppcreds, krb5_replay_data *outdata); krb5_error_code krb5_fwd_tgt_creds(krb5_context context, krb5_auth_context auth_context, char *rhost, krb5_principal client, krb5_principal server, krb5_ccache cc, int forwardable, krb5_data *outbuf); krb5_error_code krb5_auth_con_init(krb5_context context, krb5_auth_context *auth_context); krb5_error_code krb5_auth_con_free(krb5_context context, krb5_auth_context auth_context); krb5_error_code krb5_auth_con_setflags(krb5_context context, krb5_auth_context auth_context, krb5_int32 flags); krb5_error_code krb5_auth_con_getflags(krb5_context context, krb5_auth_context auth_context, krb5_int32 *flags); krb5_error_code krb5_auth_con_set_checksum_func( krb5_context context, krb5_auth_context auth_context, krb5_mk_req_checksum_func func, void *data); krb5_error_code krb5_auth_con_get_checksum_func( krb5_context context, krb5_auth_context auth_context, krb5_mk_req_checksum_func *func, void **data); krb5_error_code krb5_auth_con_setaddrs(krb5_context context, krb5_auth_context auth_context, krb5_address *local_addr, krb5_address *remote_addr); krb5_error_code krb5_auth_con_getaddrs(krb5_context context, krb5_auth_context auth_context, krb5_address **local_addr, krb5_address **remote_addr); krb5_error_code krb5_auth_con_setports(krb5_context context, krb5_auth_context auth_context, krb5_address *local_port, krb5_address *remote_port); krb5_error_code krb5_auth_con_setuseruserkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock *keyblock); krb5_error_code krb5_auth_con_getkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock **keyblock); krb5_error_code krb5_auth_con_getkey_k(krb5_context context, krb5_auth_context auth_context, krb5_key *key); krb5_error_code krb5_auth_con_getsendsubkey(krb5_context ctx, krb5_auth_context ac, krb5_keyblock **keyblock); krb5_error_code krb5_auth_con_getsendsubkey_k(krb5_context ctx, krb5_auth_context ac, krb5_key *key); krb5_error_code krb5_auth_con_getrecvsubkey(krb5_context ctx, krb5_auth_context ac, krb5_keyblock **keyblock); krb5_error_code krb5_auth_con_getrecvsubkey_k(krb5_context ctx, krb5_auth_context ac, krb5_key *key); krb5_error_code krb5_auth_con_setsendsubkey(krb5_context ctx, krb5_auth_context ac, krb5_keyblock *keyblock); krb5_error_code krb5_auth_con_setsendsubkey_k(krb5_context ctx, krb5_auth_context ac, krb5_key key); krb5_error_code krb5_auth_con_setrecvsubkey(krb5_context ctx, krb5_auth_context ac, krb5_keyblock *keyblock); krb5_error_code krb5_auth_con_setrecvsubkey_k(krb5_context ctx, krb5_auth_context ac, krb5_key key); # 5896 "/usr/include/krb5/krb5.h" 3 krb5_error_code krb5_auth_con_getlocalseqnumber(krb5_context context, krb5_auth_context auth_context, krb5_int32 *seqnumber); krb5_error_code krb5_auth_con_getremoteseqnumber(krb5_context context, krb5_auth_context auth_context, krb5_int32 *seqnumber); # 5940 "/usr/include/krb5/krb5.h" 3 krb5_error_code krb5_auth_con_setrcache(krb5_context context, krb5_auth_context auth_context, krb5_rcache rcache); krb5_error_code krb5_auth_con_getrcache(krb5_context context, krb5_auth_context auth_context, krb5_rcache *rcache); krb5_error_code krb5_auth_con_getauthenticator(krb5_context context, krb5_auth_context auth_context, krb5_authenticator **authenticator); krb5_error_code krb5_auth_con_set_req_cksumtype(krb5_context context, krb5_auth_context auth_context, krb5_cksumtype cksumtype); krb5_error_code krb5_read_password(krb5_context context, const char *prompt, const char *prompt2, char *return_pwd, unsigned int *size_return); krb5_error_code krb5_aname_to_localname(krb5_context context, krb5_const_principal aname, int lnsize_in, char *lname); krb5_error_code krb5_get_host_realm(krb5_context context, const char *host, char ***realmsp); krb5_error_code krb5_get_fallback_host_realm(krb5_context context, krb5_data *hdata, char ***realmsp); krb5_error_code krb5_free_host_realm(krb5_context context, char *const *realmlist); krb5_boolean krb5_kuserok(krb5_context context, krb5_principal principal, const char *luser); krb5_error_code krb5_auth_con_genaddrs(krb5_context context, krb5_auth_context auth_context, int infd, int flags); krb5_error_code krb5_set_real_time(krb5_context context, krb5_timestamp seconds, krb5_int32 microseconds); krb5_error_code krb5_get_time_offsets(krb5_context context, krb5_timestamp *seconds, krb5_int32 *microseconds); krb5_error_code krb5_string_to_enctype(char *string, krb5_enctype *enctypep); krb5_error_code krb5_string_to_salttype(char *string, krb5_int32 *salttypep); krb5_error_code krb5_string_to_cksumtype(char *string, krb5_cksumtype *cksumtypep); krb5_error_code krb5_string_to_timestamp(char *string, krb5_timestamp *timestampp); krb5_error_code krb5_string_to_deltat(char *string, krb5_deltat *deltatp); krb5_error_code krb5_enctype_to_string(krb5_enctype enctype, char *buffer, size_t buflen); krb5_error_code krb5_enctype_to_name(krb5_enctype enctype, krb5_boolean shortest, char *buffer, size_t buflen); krb5_error_code krb5_salttype_to_string(krb5_int32 salttype, char *buffer, size_t buflen); krb5_error_code krb5_cksumtype_to_string(krb5_cksumtype cksumtype, char *buffer, size_t buflen); krb5_error_code krb5_timestamp_to_string(krb5_timestamp timestamp, char *buffer, size_t buflen); krb5_error_code krb5_timestamp_to_sfstring(krb5_timestamp timestamp, char *buffer, size_t buflen, char *pad); krb5_error_code krb5_deltat_to_string(krb5_deltat deltat, char *buffer, size_t buflen); typedef struct _krb5_prompt { char *prompt; int hidden; krb5_data *reply; } krb5_prompt; typedef krb5_error_code ( *krb5_prompter_fct)(krb5_context context, void *data, const char *name, const char *banner, int num_prompts, krb5_prompt prompts[]); krb5_error_code krb5_prompter_posix(krb5_context context, void *data, const char *name, const char *banner, int num_prompts, krb5_prompt prompts[]); typedef struct krb5_responder_context_st *krb5_responder_context; const char * const * krb5_responder_list_questions(krb5_context ctx, krb5_responder_context rctx); const char * krb5_responder_get_challenge(krb5_context ctx, krb5_responder_context rctx, const char *question); krb5_error_code krb5_responder_set_answer(krb5_context ctx, krb5_responder_context rctx, const char *question, const char *answer); typedef krb5_error_code ( *krb5_responder_fn)(krb5_context ctx, void *data, krb5_responder_context rctx); typedef struct _krb5_responder_otp_tokeninfo { krb5_flags flags; krb5_int32 format; krb5_int32 length; char *vendor; char *challenge; char *token_id; char *alg_id; } krb5_responder_otp_tokeninfo; typedef struct _krb5_responder_otp_challenge { char *service; krb5_responder_otp_tokeninfo **tokeninfo; } krb5_responder_otp_challenge; krb5_error_code krb5_responder_otp_get_challenge(krb5_context ctx, krb5_responder_context rctx, krb5_responder_otp_challenge **chl); krb5_error_code krb5_responder_otp_set_answer(krb5_context ctx, krb5_responder_context rctx, size_t ti, const char *value, const char *pin); void krb5_responder_otp_challenge_free(krb5_context ctx, krb5_responder_context rctx, krb5_responder_otp_challenge *chl); typedef struct _krb5_responder_pkinit_identity { char *identity; krb5_int32 token_flags; } krb5_responder_pkinit_identity; typedef struct _krb5_responder_pkinit_challenge { krb5_responder_pkinit_identity **identities; } krb5_responder_pkinit_challenge; krb5_error_code krb5_responder_pkinit_get_challenge(krb5_context ctx, krb5_responder_context rctx, krb5_responder_pkinit_challenge **chl_out); krb5_error_code krb5_responder_pkinit_set_answer(krb5_context ctx, krb5_responder_context rctx, const char *identity, const char *pin); void krb5_responder_pkinit_challenge_free(krb5_context ctx, krb5_responder_context rctx, krb5_responder_pkinit_challenge *chl); typedef struct _krb5_get_init_creds_opt { krb5_flags flags; krb5_deltat tkt_life; krb5_deltat renew_life; int forwardable; int proxiable; krb5_enctype *etype_list; int etype_list_length; krb5_address **address_list; krb5_preauthtype *preauth_list; int preauth_list_length; krb5_data *salt; } krb5_get_init_creds_opt; # 6787 "/usr/include/krb5/krb5.h" 3 krb5_error_code krb5_get_init_creds_opt_alloc(krb5_context context, krb5_get_init_creds_opt **opt); void krb5_get_init_creds_opt_free(krb5_context context, krb5_get_init_creds_opt *opt); void krb5_get_init_creds_opt_init(krb5_get_init_creds_opt *opt); void krb5_get_init_creds_opt_set_tkt_life(krb5_get_init_creds_opt *opt, krb5_deltat tkt_life); void krb5_get_init_creds_opt_set_renew_life(krb5_get_init_creds_opt *opt, krb5_deltat renew_life); void krb5_get_init_creds_opt_set_forwardable(krb5_get_init_creds_opt *opt, int forwardable); void krb5_get_init_creds_opt_set_proxiable(krb5_get_init_creds_opt *opt, int proxiable); void krb5_get_init_creds_opt_set_canonicalize(krb5_get_init_creds_opt *opt, int canonicalize); void krb5_get_init_creds_opt_set_anonymous(krb5_get_init_creds_opt *opt, int anonymous); void krb5_get_init_creds_opt_set_etype_list(krb5_get_init_creds_opt *opt, krb5_enctype *etype_list, int etype_list_length); void krb5_get_init_creds_opt_set_address_list(krb5_get_init_creds_opt *opt, krb5_address **addresses); void krb5_get_init_creds_opt_set_preauth_list(krb5_get_init_creds_opt *opt, krb5_preauthtype *preauth_list, int preauth_list_length); void krb5_get_init_creds_opt_set_salt(krb5_get_init_creds_opt *opt, krb5_data *salt); void krb5_get_init_creds_opt_set_change_password_prompt(krb5_get_init_creds_opt *opt, int prompt); typedef struct _krb5_gic_opt_pa_data { char *attr; char *value; } krb5_gic_opt_pa_data; krb5_error_code krb5_get_init_creds_opt_set_pa(krb5_context context, krb5_get_init_creds_opt *opt, const char *attr, const char *value); krb5_error_code krb5_get_init_creds_opt_set_fast_ccache_name(krb5_context context, krb5_get_init_creds_opt *opt, const char *fast_ccache_name); krb5_error_code krb5_get_init_creds_opt_set_fast_ccache(krb5_context context, krb5_get_init_creds_opt *opt, krb5_ccache ccache); krb5_error_code krb5_get_init_creds_opt_set_in_ccache(krb5_context context, krb5_get_init_creds_opt *opt, krb5_ccache ccache); krb5_error_code krb5_get_init_creds_opt_set_out_ccache(krb5_context context, krb5_get_init_creds_opt *opt, krb5_ccache ccache); krb5_error_code krb5_get_init_creds_opt_set_fast_flags(krb5_context context, krb5_get_init_creds_opt *opt, krb5_flags flags); krb5_error_code krb5_get_init_creds_opt_get_fast_flags(krb5_context context, krb5_get_init_creds_opt *opt, krb5_flags *out_flags); typedef void ( *krb5_expire_callback_func)(krb5_context context, void *data, krb5_timestamp password_expiration, krb5_timestamp account_expiration, krb5_boolean is_last_req); krb5_error_code krb5_get_init_creds_opt_set_expire_callback(krb5_context context, krb5_get_init_creds_opt *opt, krb5_expire_callback_func cb, void *data); krb5_error_code krb5_get_init_creds_opt_set_responder(krb5_context context, krb5_get_init_creds_opt *opt, krb5_responder_fn responder, void *data); krb5_error_code krb5_get_init_creds_password(krb5_context context, krb5_creds *creds, krb5_principal client, const char *password, krb5_prompter_fct prompter, void *data, krb5_deltat start_time, const char *in_tkt_service, krb5_get_init_creds_opt *k5_gic_options); struct _krb5_init_creds_context; typedef struct _krb5_init_creds_context *krb5_init_creds_context; void krb5_init_creds_free(krb5_context context, krb5_init_creds_context ctx); krb5_error_code krb5_init_creds_get(krb5_context context, krb5_init_creds_context ctx); krb5_error_code krb5_init_creds_get_creds(krb5_context context, krb5_init_creds_context ctx, krb5_creds *creds); krb5_error_code krb5_init_creds_get_error(krb5_context context, krb5_init_creds_context ctx, krb5_error **error); krb5_error_code krb5_init_creds_init(krb5_context context, krb5_principal client, krb5_prompter_fct prompter, void *data, krb5_deltat start_time, krb5_get_init_creds_opt *options, krb5_init_creds_context *ctx); krb5_error_code krb5_init_creds_set_keytab(krb5_context context, krb5_init_creds_context ctx, krb5_keytab keytab); krb5_error_code krb5_init_creds_step(krb5_context context, krb5_init_creds_context ctx, krb5_data *in, krb5_data *out, krb5_data *realm, unsigned int *flags); krb5_error_code krb5_init_creds_set_password(krb5_context context, krb5_init_creds_context ctx, const char *password); krb5_error_code krb5_init_creds_set_service(krb5_context context, krb5_init_creds_context ctx, const char *service); krb5_error_code krb5_init_creds_get_times(krb5_context context, krb5_init_creds_context ctx, krb5_ticket_times *times); struct _krb5_tkt_creds_context; typedef struct _krb5_tkt_creds_context *krb5_tkt_creds_context; krb5_error_code krb5_tkt_creds_init(krb5_context context, krb5_ccache ccache, krb5_creds *creds, krb5_flags options, krb5_tkt_creds_context *ctx); krb5_error_code krb5_tkt_creds_get(krb5_context context, krb5_tkt_creds_context ctx); krb5_error_code krb5_tkt_creds_get_creds(krb5_context context, krb5_tkt_creds_context ctx, krb5_creds *creds); void krb5_tkt_creds_free(krb5_context context, krb5_tkt_creds_context ctx); krb5_error_code krb5_tkt_creds_step(krb5_context context, krb5_tkt_creds_context ctx, krb5_data *in, krb5_data *out, krb5_data *realm, unsigned int *flags); krb5_error_code krb5_tkt_creds_get_times(krb5_context context, krb5_tkt_creds_context ctx, krb5_ticket_times *times); krb5_error_code krb5_get_init_creds_keytab(krb5_context context, krb5_creds *creds, krb5_principal client, krb5_keytab arg_keytab, krb5_deltat start_time, const char *in_tkt_service, krb5_get_init_creds_opt *k5_gic_options); typedef struct _krb5_verify_init_creds_opt { krb5_flags flags; int ap_req_nofail; } krb5_verify_init_creds_opt; void krb5_verify_init_creds_opt_init(krb5_verify_init_creds_opt *k5_vic_options); void krb5_verify_init_creds_opt_set_ap_req_nofail(krb5_verify_init_creds_opt * k5_vic_options, int ap_req_nofail); krb5_error_code krb5_verify_init_creds(krb5_context context, krb5_creds *creds, krb5_principal server, krb5_keytab keytab, krb5_ccache *ccache, krb5_verify_init_creds_opt *options); krb5_error_code krb5_get_validated_creds(krb5_context context, krb5_creds *creds, krb5_principal client, krb5_ccache ccache, const char *in_tkt_service); krb5_error_code krb5_get_renewed_creds(krb5_context context, krb5_creds *creds, krb5_principal client, krb5_ccache ccache, const char *in_tkt_service); krb5_error_code krb5_decode_ticket(const krb5_data *code, krb5_ticket **rep); void krb5_appdefault_string(krb5_context context, const char *appname, const krb5_data *realm, const char *option, const char *default_value, char ** ret_value); void krb5_appdefault_boolean(krb5_context context, const char *appname, const krb5_data *realm, const char *option, int default_value, int *ret_value); typedef krb5_int32 krb5_prompt_type; krb5_prompt_type* krb5_get_prompt_types(krb5_context context); void krb5_set_error_message(krb5_context ctx, krb5_error_code code, const char *fmt, ...) __attribute__((__format__(__printf__, 3, 4))) ; void krb5_vset_error_message(krb5_context ctx, krb5_error_code code, const char *fmt, va_list args) __attribute__((__format__(__printf__, 3, 0))) ; void krb5_copy_error_message(krb5_context dest_ctx, krb5_context src_ctx); const char * krb5_get_error_message(krb5_context ctx, krb5_error_code code); void krb5_free_error_message(krb5_context ctx, const char *msg); void krb5_clear_error_message(krb5_context ctx); krb5_error_code krb5_decode_authdata_container(krb5_context context, krb5_authdatatype type, const krb5_authdata *container, krb5_authdata ***authdata); krb5_error_code krb5_encode_authdata_container(krb5_context context, krb5_authdatatype type, krb5_authdata * const*authdata, krb5_authdata ***container); krb5_error_code krb5_make_authdata_kdc_issued(krb5_context context, const krb5_keyblock *key, krb5_const_principal issuer, krb5_authdata *const *authdata, krb5_authdata ***ad_kdcissued); krb5_error_code krb5_verify_authdata_kdc_issued(krb5_context context, const krb5_keyblock *key, const krb5_authdata *ad_kdcissued, krb5_principal *issuer, krb5_authdata ***authdata); # 7942 "/usr/include/krb5/krb5.h" 3 struct krb5_pac_data; typedef struct krb5_pac_data *krb5_pac; krb5_error_code krb5_pac_add_buffer(krb5_context context, krb5_pac pac, krb5_ui_4 type, const krb5_data *data); void krb5_pac_free(krb5_context context, krb5_pac pac); krb5_error_code krb5_pac_get_buffer(krb5_context context, krb5_pac pac, krb5_ui_4 type, krb5_data *data); krb5_error_code krb5_pac_get_types(krb5_context context, krb5_pac pac, size_t *len, krb5_ui_4 **types); krb5_error_code krb5_pac_init(krb5_context context, krb5_pac *pac); krb5_error_code krb5_pac_parse(krb5_context context, const void *ptr, size_t len, krb5_pac *pac); krb5_error_code krb5_pac_verify(krb5_context context, const krb5_pac pac, krb5_timestamp authtime, krb5_const_principal principal, const krb5_keyblock *server, const krb5_keyblock *privsvr); krb5_error_code krb5_pac_sign(krb5_context context, krb5_pac pac, krb5_timestamp authtime, krb5_const_principal principal, const krb5_keyblock *server_key, const krb5_keyblock *privsvr_key, krb5_data *data); krb5_error_code krb5_allow_weak_crypto(krb5_context context, krb5_boolean enable); typedef struct _krb5_trace_info { const char *message; } krb5_trace_info; typedef void ( *krb5_trace_callback)(krb5_context context, const krb5_trace_info *info, void *cb_data); krb5_error_code krb5_set_trace_callback(krb5_context context, krb5_trace_callback fn, void *cb_data); krb5_error_code krb5_set_trace_filename(krb5_context context, const char *filename); # 1 "/usr/include/et/com_err.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 20 "/usr/include/et/com_err.h" 2 3 typedef long errcode_t; struct error_table { char const * const * msgs; long base; int n_msgs; }; struct et_list; extern void com_err (const char *, long, const char *, ...) __attribute__((format(printf, 3, 4))); extern void com_err_va (const char *whoami, errcode_t code, const char *fmt, va_list args) __attribute__((format(printf, 3, 0))); extern char const *error_message (long); extern void (*com_err_hook) (const char *, long, const char *, va_list); extern void (*set_com_err_hook (void (*) (const char *, long, const char *, va_list))) (const char *, long, const char *, va_list); extern void (*reset_com_err_hook (void)) (const char *, long, const char *, va_list); extern int init_error_table(const char * const *msgs, long base, int count); extern char *(*set_com_err_gettext (char *(*) (const char *))) (const char *); extern errcode_t add_error_table(const struct error_table * et); extern errcode_t remove_error_table(const struct error_table * et); extern void add_to_error_table(struct et_list *new_table); extern const char *com_right(struct et_list *list, long code); extern const char *com_right_r(struct et_list *list, long code, char *str, size_t len); extern void initialize_error_table_r(struct et_list **list, const char **messages, int num_errors, long base); extern void free_error_table(struct et_list *et); extern int et_list_lock(void); extern int et_list_unlock(void); # 8194 "/usr/include/krb5/krb5.h" 2 3 # 8451 "/usr/include/krb5/krb5.h" 3 extern const struct error_table et_krb5_error_table; extern void initialize_krb5_error_table(void); extern void initialize_krb5_error_table_r(struct et_list **list); # 1 "/usr/include/et/com_err.h" 1 3 # 8468 "/usr/include/krb5/krb5.h" 2 3 # 8481 "/usr/include/krb5/krb5.h" 3 extern const struct error_table et_k5e1_error_table; extern void initialize_k5e1_error_table(void); extern void initialize_k5e1_error_table_r(struct et_list **list); # 1 "/usr/include/et/com_err.h" 1 3 # 8498 "/usr/include/krb5/krb5.h" 2 3 # 8545 "/usr/include/krb5/krb5.h" 3 extern const struct error_table et_kdb5_error_table; extern void initialize_kdb5_error_table(void); extern void initialize_kdb5_error_table_r(struct et_list **list); # 1 "/usr/include/et/com_err.h" 1 3 # 8562 "/usr/include/krb5/krb5.h" 2 3 # 8624 "/usr/include/krb5/krb5.h" 3 extern const struct error_table et_kv5m_error_table; extern void initialize_kv5m_error_table(void); extern void initialize_kv5m_error_table_r(struct et_list **list); # 1 "/usr/include/et/com_err.h" 1 3 # 8641 "/usr/include/krb5/krb5.h" 2 3 # 8651 "/usr/include/krb5/krb5.h" 3 extern const struct error_table et_k524_error_table; extern void initialize_k524_error_table(void); extern void initialize_k524_error_table_r(struct et_list **list); # 1 "/usr/include/et/com_err.h" 1 3 # 8668 "/usr/include/krb5/krb5.h" 2 3 # 8683 "/usr/include/krb5/krb5.h" 3 extern const struct error_table et_asn1_error_table; extern void initialize_asn1_error_table(void); extern void initialize_asn1_error_table_r(struct et_list **list); # 9 "/usr/include/krb5.h" 2 3 # 73 "/usr/include/openssl/kssl.h" 2 3 typedef struct kssl_err_st { int reason; char text[255+1]; } KSSL_ERR; typedef struct kssl_ctx_st { char *service_name; char *service_host; char *client_princ; char *keytab_file; char *cred_cache; krb5_enctype enctype; int length; krb5_octet *key; } KSSL_CTX; krb5_error_code kssl_ctx_setstring(KSSL_CTX *kssl_ctx, int which, char *text); KSSL_CTX *kssl_ctx_new(void); KSSL_CTX *kssl_ctx_free(KSSL_CTX *kssl_ctx); void kssl_ctx_show(KSSL_CTX *kssl_ctx); krb5_error_code kssl_ctx_setprinc(KSSL_CTX *kssl_ctx, int which, krb5_data *realm, krb5_data *entity, int nentities); krb5_error_code kssl_cget_tkt(KSSL_CTX *kssl_ctx, krb5_data **enc_tktp, krb5_data *authenp, KSSL_ERR *kssl_err); krb5_error_code kssl_sget_tkt(KSSL_CTX *kssl_ctx, krb5_data *indata, krb5_ticket_times *ttimes, KSSL_ERR *kssl_err); krb5_error_code kssl_ctx_setkey(KSSL_CTX *kssl_ctx, krb5_keyblock *session); void kssl_err_set(KSSL_ERR *kssl_err, int reason, char *text); void kssl_krb5_free_data_contents(krb5_context context, krb5_data *data); krb5_error_code kssl_build_principal_2(krb5_context context, krb5_principal *princ, int rlen, const char *realm, int slen, const char *svc, int hlen, const char *host); krb5_error_code kssl_validate_times(krb5_timestamp atime, krb5_ticket_times *ttimes); krb5_error_code kssl_check_authent(KSSL_CTX *kssl_ctx, krb5_data *authentp, krb5_timestamp *atimep, KSSL_ERR *kssl_err); unsigned char *kssl_skip_confound(krb5_enctype enctype, unsigned char *authn); void SSL_set0_kssl_ctx(SSL *s, KSSL_CTX *kctx); KSSL_CTX * SSL_get0_kssl_ctx(SSL *s); char *kssl_ctx_get0_client_princ(KSSL_CTX *kctx); # 166 "/usr/include/openssl/ssl.h" 2 3 # 190 "/usr/include/openssl/ssl.h" 3 # 201 "/usr/include/openssl/ssl.h" 3 # 208 "/usr/include/openssl/ssl.h" 3 # 216 "/usr/include/openssl/ssl.h" 3 # 233 "/usr/include/openssl/ssl.h" 3 # 256 "/usr/include/openssl/ssl.h" 3 # 267 "/usr/include/openssl/ssl.h" 3 # 280 "/usr/include/openssl/ssl.h" 3 # 294 "/usr/include/openssl/ssl.h" 3 # 302 "/usr/include/openssl/ssl.h" 3 typedef struct ssl_st *ssl_crock_st; typedef struct tls_session_ticket_ext_st TLS_SESSION_TICKET_EXT; typedef struct ssl_method_st SSL_METHOD; typedef struct ssl_cipher_st SSL_CIPHER; typedef struct ssl_session_st SSL_SESSION; struct stack_st_SSL_CIPHER { _STACK stack; }; typedef struct srtp_protection_profile_st { const char *name; unsigned long id; } SRTP_PROTECTION_PROFILE; struct stack_st_SRTP_PROTECTION_PROFILE { _STACK stack; }; typedef int (*tls_session_ticket_ext_cb_fn)(SSL *s, const unsigned char *data, int len, void *arg); typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, struct stack_st_SSL_CIPHER *peer_ciphers, SSL_CIPHER **cipher, void *arg); struct ssl_cipher_st { int valid; const char *name; unsigned long id; unsigned long algorithm_mkey; unsigned long algorithm_auth; unsigned long algorithm_enc; unsigned long algorithm_mac; unsigned long algorithm_ssl; unsigned long algo_strength; unsigned long algorithm2; int strength_bits; int alg_bits; }; struct ssl_method_st { int version; int (*ssl_new)(SSL *s); void (*ssl_clear)(SSL *s); void (*ssl_free)(SSL *s); int (*ssl_accept)(SSL *s); int (*ssl_connect)(SSL *s); int (*ssl_read)(SSL *s,void *buf,int len); int (*ssl_peek)(SSL *s,void *buf,int len); int (*ssl_write)(SSL *s,const void *buf,int len); int (*ssl_shutdown)(SSL *s); int (*ssl_renegotiate)(SSL *s); int (*ssl_renegotiate_check)(SSL *s); long (*ssl_get_message)(SSL *s, int st1, int stn, int mt, long max, int *ok); int (*ssl_read_bytes)(SSL *s, int type, unsigned char *buf, int len, int peek); int (*ssl_write_bytes)(SSL *s, int type, const void *buf_, int len); int (*ssl_dispatch_alert)(SSL *s); long (*ssl_ctrl)(SSL *s,int cmd,long larg,void *parg); long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg); const SSL_CIPHER *(*get_cipher_by_char)(const unsigned char *ptr); int (*put_cipher_by_char)(const SSL_CIPHER *cipher,unsigned char *ptr); int (*ssl_pending)(const SSL *s); int (*num_ciphers)(void); const SSL_CIPHER *(*get_cipher)(unsigned ncipher); const struct ssl_method_st *(*get_ssl_method)(int version); long (*get_timeout)(void); struct ssl3_enc_method *ssl3_enc; int (*ssl_version)(void); long (*ssl_callback_ctrl)(SSL *s, int cb_id, void (*fp)(void)); long (*ssl_ctx_callback_ctrl)(SSL_CTX *s, int cb_id, void (*fp)(void)); }; struct ssl_session_st { int ssl_version; unsigned int key_arg_length; unsigned char key_arg[8]; int master_key_length; unsigned char master_key[48]; unsigned int session_id_length; unsigned char session_id[32]; unsigned int sid_ctx_length; unsigned char sid_ctx[32]; unsigned int krb5_client_princ_len; unsigned char krb5_client_princ[256]; char *psk_identity_hint; char *psk_identity; int not_resumable; struct sess_cert_st *sess_cert; X509 *peer; long verify_result; int references; long timeout; long time; unsigned int compress_meth; const SSL_CIPHER *cipher; unsigned long cipher_id; struct stack_st_SSL_CIPHER *ciphers; CRYPTO_EX_DATA ex_data; struct ssl_session_st *prev,*next; char *tlsext_hostname; size_t tlsext_ecpointformatlist_length; unsigned char *tlsext_ecpointformatlist; size_t tlsext_ellipticcurvelist_length; unsigned char *tlsext_ellipticcurvelist; unsigned char *tlsext_tick; size_t tlsext_ticklen; long tlsext_tick_lifetime_hint; }; # 559 "/usr/include/openssl/ssl.h" 3 # 660 "/usr/include/openssl/ssl.h" 3 # 675 "/usr/include/openssl/ssl.h" 3 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); typedef int (*GEN_SESSION_CB)(const SSL *ssl, unsigned char *id, unsigned int *id_len); typedef struct ssl_comp_st SSL_COMP; struct ssl_comp_st { int id; const char *name; COMP_METHOD *method; }; struct stack_st_SSL_COMP { _STACK stack; }; struct lhash_st_SSL_SESSION { int dummy; }; struct ssl_ctx_st { const SSL_METHOD *method; struct stack_st_SSL_CIPHER *cipher_list; struct stack_st_SSL_CIPHER *cipher_list_by_id; struct x509_store_st *cert_store; struct lhash_st_SSL_SESSION *sessions; unsigned long session_cache_size; struct ssl_session_st *session_cache_head; struct ssl_session_st *session_cache_tail; int session_cache_mode; long session_timeout; int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess); void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess); SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, unsigned char *data,int len,int *copy); struct { int sess_connect; int sess_connect_renegotiate; int sess_connect_good; int sess_accept; int sess_accept_renegotiate; int sess_accept_good; int sess_miss; int sess_timeout; int sess_cache_full; int sess_hit; int sess_cb_hit; } stats; int references; int (*app_verify_callback)(X509_STORE_CTX *, void *); void *app_verify_arg; pem_password_cb *default_passwd_callback; void *default_passwd_callback_userdata; int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey); int (*app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len); int (*app_verify_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len); CRYPTO_EX_DATA ex_data; const EVP_MD *rsa_md5; const EVP_MD *md5; const EVP_MD *sha1; struct stack_st_X509 *extra_certs; struct stack_st_SSL_COMP *comp_methods; void (*info_callback)(const SSL *ssl,int type,int val); struct stack_st_X509_NAME *client_CA; unsigned long options; unsigned long mode; long max_cert_list; struct cert_st *cert; int read_ahead; void (*msg_callback)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg); void *msg_callback_arg; int verify_mode; unsigned int sid_ctx_length; unsigned char sid_ctx[32]; int (*default_verify_callback)(int ok,X509_STORE_CTX *ctx); GEN_SESSION_CB generate_session_id; X509_VERIFY_PARAM *param; int quiet_shutdown; unsigned int max_send_fragment; ENGINE *client_cert_engine; int (*tlsext_servername_callback)(SSL*, int *, void *); void *tlsext_servername_arg; unsigned char tlsext_tick_key_name[16]; unsigned char tlsext_tick_hmac_key[16]; unsigned char tlsext_tick_aes_key[16]; int (*tlsext_ticket_key_cb)(SSL *ssl, unsigned char *name, unsigned char *iv, EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc); int (*tlsext_status_cb)(SSL *ssl, void *arg); void *tlsext_status_arg; int (*tlsext_opaque_prf_input_callback)(SSL *, void *peerinput, size_t len, void *arg); void *tlsext_opaque_prf_input_callback_arg; char *psk_identity_hint; unsigned int (*psk_client_callback)(SSL *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len); unsigned int (*psk_server_callback)(SSL *ssl, const char *identity, unsigned char *psk, unsigned int max_psk_len); unsigned int freelist_max_len; struct ssl3_buf_freelist_st *wbuf_freelist; struct ssl3_buf_freelist_st *rbuf_freelist; int (*next_protos_advertised_cb)(SSL *s, const unsigned char **buf, unsigned int *len, void *arg); void *next_protos_advertised_cb_arg; int (*next_proto_select_cb)(SSL *s, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg); void *next_proto_select_cb_arg; struct stack_st_SRTP_PROTECTION_PROFILE *srtp_profiles; }; struct lhash_st_SSL_SESSION *SSL_CTX_sessions(SSL_CTX *ctx); # 981 "/usr/include/openssl/ssl.h" 3 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess)); int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess); void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess)); void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess); void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx, SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, unsigned char *data,int len,int *copy)); SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl, unsigned char *Data, int len, int *copy); void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type,int val)); void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val); void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey)); int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey); int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e); void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx, int (*app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len)); void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx, int (*app_verify_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len)); void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *s, int (*cb) (SSL *ssl, const unsigned char **out, unsigned int *outlen, void *arg), void *arg); void SSL_CTX_set_next_proto_select_cb(SSL_CTX *s, int (*cb) (SSL *ssl, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg), void *arg); int SSL_select_next_proto(unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, const unsigned char *client, unsigned int client_len); void SSL_get0_next_proto_negotiated(const SSL *s, const unsigned char **data, unsigned *len); void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx, unsigned int (*psk_client_callback)(SSL *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len)); void SSL_set_psk_client_callback(SSL *ssl, unsigned int (*psk_client_callback)(SSL *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len)); void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx, unsigned int (*psk_server_callback)(SSL *ssl, const char *identity, unsigned char *psk, unsigned int max_psk_len)); void SSL_set_psk_server_callback(SSL *ssl, unsigned int (*psk_server_callback)(SSL *ssl, const char *identity, unsigned char *psk, unsigned int max_psk_len)); int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint); int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint); const char *SSL_get_psk_identity_hint(const SSL *s); const char *SSL_get_psk_identity(const SSL *s); struct ssl_st { int version; int type; const SSL_METHOD *method; BIO *rbio; BIO *wbio; BIO *bbio; int rwstate; int in_handshake; int (*handshake_func)(SSL *); int server; int new_session; int quiet_shutdown; int shutdown; int state; int rstate; BUF_MEM *init_buf; void *init_msg; int init_num; int init_off; unsigned char *packet; unsigned int packet_length; struct ssl2_state_st *s2; struct ssl3_state_st *s3; struct dtls1_state_st *d1; int read_ahead; void (*msg_callback)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg); void *msg_callback_arg; int hit; X509_VERIFY_PARAM *param; struct stack_st_SSL_CIPHER *cipher_list; struct stack_st_SSL_CIPHER *cipher_list_by_id; int mac_flags; EVP_CIPHER_CTX *enc_read_ctx; EVP_MD_CTX *read_hash; COMP_CTX *expand; EVP_CIPHER_CTX *enc_write_ctx; EVP_MD_CTX *write_hash; COMP_CTX *compress; struct cert_st *cert; unsigned int sid_ctx_length; unsigned char sid_ctx[32]; SSL_SESSION *session; GEN_SESSION_CB generate_session_id; int verify_mode; int (*verify_callback)(int ok,X509_STORE_CTX *ctx); void (*info_callback)(const SSL *ssl,int type,int val); int error; int error_code; KSSL_CTX *kssl_ctx; unsigned int (*psk_client_callback)(SSL *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len); unsigned int (*psk_server_callback)(SSL *ssl, const char *identity, unsigned char *psk, unsigned int max_psk_len); SSL_CTX *ctx; int debug; long verify_result; CRYPTO_EX_DATA ex_data; struct stack_st_X509_NAME *client_CA; int references; unsigned long options; unsigned long mode; long max_cert_list; int first_packet; int client_version; unsigned int max_send_fragment; void (*tlsext_debug_cb)(SSL *s, int client_server, int type, unsigned char *data, int len, void *arg); void *tlsext_debug_arg; char *tlsext_hostname; int servername_done; int tlsext_status_type; int tlsext_status_expected; struct stack_st_OCSP_RESPID *tlsext_ocsp_ids; X509_EXTENSIONS *tlsext_ocsp_exts; unsigned char *tlsext_ocsp_resp; int tlsext_ocsp_resplen; int tlsext_ticket_expected; size_t tlsext_ecpointformatlist_length; unsigned char *tlsext_ecpointformatlist; size_t tlsext_ellipticcurvelist_length; unsigned char *tlsext_ellipticcurvelist; void *tlsext_opaque_prf_input; size_t tlsext_opaque_prf_input_len; TLS_SESSION_TICKET_EXT *tlsext_session_ticket; tls_session_ticket_ext_cb_fn tls_session_ticket_ext_cb; void *tls_session_ticket_ext_cb_arg; tls_session_secret_cb_fn tls_session_secret_cb; void *tls_session_secret_cb_arg; SSL_CTX * initial_ctx; unsigned char *next_proto_negotiated; unsigned char next_proto_negotiated_len; struct stack_st_SRTP_PROTECTION_PROFILE *srtp_profiles; SRTP_PROTECTION_PROFILE *srtp_profile; unsigned int tlsext_heartbeat; unsigned int tlsext_hb_pending; unsigned int tlsext_hb_seq; int renegotiate; }; # 1 "/usr/include/openssl/ssl2.h" 1 3 # 83 "/usr/include/openssl/ssl2.h" 3 # 103 "/usr/include/openssl/ssl2.h" 3 # 119 "/usr/include/openssl/ssl2.h" 3 # 142 "/usr/include/openssl/ssl2.h" 3 # 153 "/usr/include/openssl/ssl2.h" 3 typedef struct ssl2_state_st { int three_byte_header; int clear_text; int escape; int ssl2_rollback; unsigned int wnum; int wpend_tot; const unsigned char *wpend_buf; int wpend_off; int wpend_len; int wpend_ret; int rbuf_left; int rbuf_offs; unsigned char *rbuf; unsigned char *wbuf; unsigned char *write_ptr; unsigned int padding; unsigned int rlength; int ract_data_length; unsigned int wlength; int wact_data_length; unsigned char *ract_data; unsigned char *wact_data; unsigned char *mac_data; unsigned char *read_key; unsigned char *write_key; unsigned int challenge_length; unsigned char challenge[32]; unsigned int conn_id_length; unsigned char conn_id[16]; unsigned int key_material_length; unsigned char key_material[24*2]; unsigned long read_sequence; unsigned long write_sequence; struct { unsigned int conn_id_length; unsigned int cert_type; unsigned int cert_length; unsigned int csl; unsigned int clear; unsigned int enc; unsigned char ccl[32]; unsigned int cipher_spec_length; unsigned int session_id_length; unsigned int clen; unsigned int rlen; } tmp; } SSL2_STATE; # 246 "/usr/include/openssl/ssl2.h" 3 # 267 "/usr/include/openssl/ssl2.h" 3 # 1321 "/usr/include/openssl/ssl.h" 2 3 # 1 "/usr/include/openssl/ssl3.h" 1 3 # 1 "/usr/include/openssl/ssl.h" 1 3 # 126 "/usr/include/openssl/ssl3.h" 2 3 # 149 "/usr/include/openssl/ssl3.h" 3 # 156 "/usr/include/openssl/ssl3.h" 3 # 163 "/usr/include/openssl/ssl3.h" 3 # 179 "/usr/include/openssl/ssl3.h" 3 # 190 "/usr/include/openssl/ssl3.h" 3 # 197 "/usr/include/openssl/ssl3.h" 3 # 208 "/usr/include/openssl/ssl3.h" 3 # 215 "/usr/include/openssl/ssl3.h" 3 # 222 "/usr/include/openssl/ssl3.h" 3 # 243 "/usr/include/openssl/ssl3.h" 3 # 250 "/usr/include/openssl/ssl3.h" 3 # 273 "/usr/include/openssl/ssl3.h" 3 # 318 "/usr/include/openssl/ssl3.h" 3 # 347 "/usr/include/openssl/ssl3.h" 3 typedef struct ssl3_record_st { int type; unsigned int length; unsigned int off; unsigned char *data; unsigned char *input; unsigned char *comp; unsigned long epoch; unsigned char seq_num[8]; } SSL3_RECORD; typedef struct ssl3_buffer_st { unsigned char *buf; size_t len; int offset; int left; } SSL3_BUFFER; # 383 "/usr/include/openssl/ssl3.h" 3 # 397 "/usr/include/openssl/ssl3.h" 3 typedef struct ssl3_state_st { long flags; int delay_buf_pop_ret; unsigned char read_sequence[8]; int read_mac_secret_size; unsigned char read_mac_secret[64]; unsigned char write_sequence[8]; int write_mac_secret_size; unsigned char write_mac_secret[64]; unsigned char server_random[32]; unsigned char client_random[32]; int need_empty_fragments; int empty_fragment_done; int init_extra; SSL3_BUFFER rbuf; SSL3_BUFFER wbuf; SSL3_RECORD rrec; SSL3_RECORD wrec; unsigned char alert_fragment[2]; unsigned int alert_fragment_len; unsigned char handshake_fragment[4]; unsigned int handshake_fragment_len; unsigned int wnum; int wpend_tot; int wpend_type; int wpend_ret; const unsigned char *wpend_buf; BIO *handshake_buffer; EVP_MD_CTX **handshake_dgst; int change_cipher_spec; int warn_alert; int fatal_alert; int alert_dispatch; unsigned char send_alert[2]; int renegotiate; int total_renegotiations; int num_renegotiations; int in_read_app_data; void *client_opaque_prf_input; size_t client_opaque_prf_input_len; void *server_opaque_prf_input; size_t server_opaque_prf_input_len; struct { unsigned char cert_verify_md[64*2]; unsigned char finish_md[64*2]; int finish_md_len; unsigned char peer_finish_md[64*2]; int peer_finish_md_len; unsigned long message_size; int message_type; const SSL_CIPHER *new_cipher; DH *dh; EC_KEY *ecdh; int next_state; int reuse_message; int cert_req; int ctype_num; char ctype[9]; struct stack_st_X509_NAME *ca_names; int use_rsa_tmp; int key_block_length; unsigned char *key_block; const EVP_CIPHER *new_sym_enc; const EVP_MD *new_hash; int new_mac_pkey_type; int new_mac_secret_size; const SSL_COMP *new_compression; int cert_request; } tmp; unsigned char previous_client_finished[64]; unsigned char previous_client_finished_len; unsigned char previous_server_finished[64]; unsigned char previous_server_finished_len; int send_connection_binding; int next_proto_neg_seen; } SSL3_STATE; # 576 "/usr/include/openssl/ssl3.h" 3 # 593 "/usr/include/openssl/ssl3.h" 3 # 602 "/usr/include/openssl/ssl3.h" 3 # 631 "/usr/include/openssl/ssl3.h" 3 # 646 "/usr/include/openssl/ssl3.h" 3 # 655 "/usr/include/openssl/ssl3.h" 3 # 672 "/usr/include/openssl/ssl3.h" 3 # 685 "/usr/include/openssl/ssl3.h" 3 # 1322 "/usr/include/openssl/ssl.h" 2 3 # 1 "/usr/include/openssl/tls1.h" 1 3 # 195 "/usr/include/openssl/tls1.h" 3 # 202 "/usr/include/openssl/tls1.h" 3 # 210 "/usr/include/openssl/tls1.h" 3 # 280 "/usr/include/openssl/tls1.h" 3 const char *SSL_get_servername(const SSL *s, const int type); int SSL_get_servername_type(const SSL *s); int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen, const char *label, size_t llen, const unsigned char *p, size_t plen, int use_context); # 356 "/usr/include/openssl/tls1.h" 3 # 371 "/usr/include/openssl/tls1.h" 3 # 390 "/usr/include/openssl/tls1.h" 3 # 399 "/usr/include/openssl/tls1.h" 3 # 406 "/usr/include/openssl/tls1.h" 3 # 414 "/usr/include/openssl/tls1.h" 3 # 422 "/usr/include/openssl/tls1.h" 3 # 431 "/usr/include/openssl/tls1.h" 3 # 439 "/usr/include/openssl/tls1.h" 3 # 447 "/usr/include/openssl/tls1.h" 3 # 461 "/usr/include/openssl/tls1.h" 3 # 503 "/usr/include/openssl/tls1.h" 3 # 514 "/usr/include/openssl/tls1.h" 3 # 524 "/usr/include/openssl/tls1.h" 3 # 539 "/usr/include/openssl/tls1.h" 3 # 547 "/usr/include/openssl/tls1.h" 3 # 554 "/usr/include/openssl/tls1.h" 3 # 602 "/usr/include/openssl/tls1.h" 3 # 610 "/usr/include/openssl/tls1.h" 3 # 617 "/usr/include/openssl/tls1.h" 3 # 625 "/usr/include/openssl/tls1.h" 3 # 640 "/usr/include/openssl/tls1.h" 3 # 654 "/usr/include/openssl/tls1.h" 3 # 665 "/usr/include/openssl/tls1.h" 3 # 675 "/usr/include/openssl/tls1.h" 3 # 685 "/usr/include/openssl/tls1.h" 3 # 708 "/usr/include/openssl/tls1.h" 3 # 727 "/usr/include/openssl/tls1.h" 3 struct tls_session_ticket_ext_st { unsigned short length; void *data; }; # 1323 "/usr/include/openssl/ssl.h" 2 3 # 1 "/usr/include/openssl/dtls1.h" 1 3 # 1 "/usr/include/openssl/pqueue.h" 1 3 # 1 "/usr/include/string.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 33 "/usr/include/string.h" 2 3 extern void *memcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, const void *__src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 92 "/usr/include/string.h" 3 extern void *memchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 121 "/usr/include/string.h" 3 extern char *strcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (const char *__string, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 206 "/usr/include/string.h" 3 # 232 "/usr/include/string.h" 3 extern char *strchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 259 "/usr/include/string.h" 3 extern char *strrchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 277 "/usr/include/string.h" 3 extern size_t strcspn (const char *__s, const char *__reject) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 311 "/usr/include/string.h" 3 extern char *strpbrk (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 338 "/usr/include/string.h" 3 extern char *strstr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 373 "/usr/include/string.h" 3 # 391 "/usr/include/string.h" 3 extern size_t strlen (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (const char *__string, size_t __maxlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 438 "/usr/include/string.h" 3 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 485 "/usr/include/string.h" 3 extern char *index (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 513 "/usr/include/string.h" 3 extern char *rindex (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 530 "/usr/include/string.h" 3 extern int strcasecmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 551 "/usr/include/string.h" 3 extern char *strsep (char **__restrict __stringp, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 606 "/usr/include/string.h" 3 # 1 "/usr/include/bits/string.h" 1 3 # 631 "/usr/include/string.h" 2 3 # 1 "/usr/include/bits/string2.h" 1 3 # 634 "/usr/include/string.h" 2 3 # 66 "/usr/include/openssl/pqueue.h" 2 3 typedef struct _pqueue *pqueue; typedef struct _pitem { unsigned char priority[8]; void *data; struct _pitem *next; } pitem; typedef struct _pitem *piterator; pitem *pitem_new(unsigned char *prio64be, void *data); void pitem_free(pitem *item); pqueue pqueue_new(void); void pqueue_free(pqueue pq); pitem *pqueue_insert(pqueue pq, pitem *item); pitem *pqueue_peek(pqueue pq); pitem *pqueue_pop(pqueue pq); pitem *pqueue_find(pqueue pq, unsigned char *prio64be); pitem *pqueue_iterator(pqueue pq); pitem *pqueue_next(piterator *iter); void pqueue_print(pqueue pq); int pqueue_size(pqueue pq); # 65 "/usr/include/openssl/dtls1.h" 2 3 # 1 "/usr/include/sys/time.h" 1 3 # 1 "/usr/include/bits/time.h" 1 3 # 37 "/usr/include/bits/time.h" 3 # 98 "/usr/include/bits/time.h" 3 # 29 "/usr/include/sys/time.h" 2 3 # 51 "/usr/include/sys/time.h" 3 struct timezone { int tz_minuteswest; int tz_dsttime; }; typedef struct timezone *__restrict __timezone_ptr_t; extern int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int settimeofday (const struct timeval *__tv, const struct timezone *__tz) __attribute__ ((__nothrow__ , __leaf__)); extern int adjtime (const struct timeval *__delta, struct timeval *__olddelta) __attribute__ ((__nothrow__ , __leaf__)); enum __itimer_which { ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_PROF = 2 }; struct itimerval { struct timeval it_interval; struct timeval it_value; }; typedef int __itimer_which_t; extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int setitimer (__itimer_which_t __which, const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__ ((__nothrow__ , __leaf__)); extern int utimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int lutimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int futimes (int __fd, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)); # 158 "/usr/include/sys/time.h" 3 # 189 "/usr/include/sys/time.h" 3 # 79 "/usr/include/openssl/dtls1.h" 2 3 typedef struct dtls1_bitmap_st { unsigned long map; unsigned char max_seq_num[8]; } DTLS1_BITMAP; struct dtls1_retransmit_state { EVP_CIPHER_CTX *enc_write_ctx; EVP_MD_CTX *write_hash; COMP_CTX *compress; SSL_SESSION *session; unsigned short epoch; }; struct hm_header_st { unsigned char type; unsigned long msg_len; unsigned short seq; unsigned long frag_off; unsigned long frag_len; unsigned int is_ccs; struct dtls1_retransmit_state saved_retransmit_state; }; struct ccs_header_st { unsigned char type; unsigned short seq; }; struct dtls1_timeout_st { unsigned int read_timeouts; unsigned int write_timeouts; unsigned int num_alerts; }; typedef struct record_pqueue_st { unsigned short epoch; pqueue q; } record_pqueue; typedef struct hm_fragment_st { struct hm_header_st msg_header; unsigned char *fragment; unsigned char *reassembly; } hm_fragment; typedef struct dtls1_state_st { unsigned int send_cookie; unsigned char cookie[256]; unsigned char rcvd_cookie[256]; unsigned int cookie_len; unsigned short r_epoch; unsigned short w_epoch; DTLS1_BITMAP bitmap; DTLS1_BITMAP next_bitmap; unsigned short handshake_write_seq; unsigned short next_handshake_write_seq; unsigned short handshake_read_seq; unsigned char last_write_sequence[8]; record_pqueue unprocessed_rcds; record_pqueue processed_rcds; pqueue buffered_messages; pqueue sent_messages; record_pqueue buffered_app_data; unsigned int mtu; struct hm_header_st w_msg_hdr; struct hm_header_st r_msg_hdr; struct dtls1_timeout_st timeout; struct timeval next_timeout; unsigned short timeout_duration; unsigned char alert_fragment[2]; unsigned int alert_fragment_len; unsigned char handshake_fragment[12]; unsigned int handshake_fragment_len; unsigned int retransmitting; unsigned int change_cipher_spec_ok; unsigned int listen; # 263 "/usr/include/openssl/dtls1.h" 3 } DTLS1_STATE; typedef struct dtls1_record_data_st { unsigned char *packet; unsigned int packet_length; SSL3_BUFFER rbuf; SSL3_RECORD rrec; } DTLS1_RECORD_DATA; # 1324 "/usr/include/openssl/ssl.h" 2 3 # 1 "/usr/include/openssl/ssl23.h" 1 3 # 1325 "/usr/include/openssl/ssl.h" 2 3 # 1 "/usr/include/openssl/srtp.h" 1 3 # 132 "/usr/include/openssl/srtp.h" 3 int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles); int SSL_set_tlsext_use_srtp(SSL *ctx, const char *profiles); SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s); struct stack_st_SRTP_PROTECTION_PROFILE *SSL_get_srtp_profiles(SSL *ssl); SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s); # 1326 "/usr/include/openssl/ssl.h" 2 3 # 1338 "/usr/include/openssl/ssl.h" 3 # 1353 "/usr/include/openssl/ssl.h" 3 # 1367 "/usr/include/openssl/ssl.h" 3 # 1375 "/usr/include/openssl/ssl.h" 3 size_t SSL_get_finished(const SSL *s, void *buf, size_t count); size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count); # 1407 "/usr/include/openssl/ssl.h" 3 # 1420 "/usr/include/openssl/ssl.h" 3 SSL_SESSION *PEM_read_bio_SSL_SESSION(BIO *bp, SSL_SESSION * *x, pem_password_cb *cb, void *u); SSL_SESSION *PEM_read_SSL_SESSION(FILE *fp, SSL_SESSION * *x, pem_password_cb *cb, void *u); int PEM_write_bio_SSL_SESSION(BIO *bp, SSL_SESSION *x); int PEM_write_SSL_SESSION(FILE *fp, SSL_SESSION *x); # 1460 "/usr/include/openssl/ssl.h" 3 # 1470 "/usr/include/openssl/ssl.h" 3 # 1478 "/usr/include/openssl/ssl.h" 3 # 1486 "/usr/include/openssl/ssl.h" 3 # 1507 "/usr/include/openssl/ssl.h" 3 # 1514 "/usr/include/openssl/ssl.h" 3 # 1541 "/usr/include/openssl/ssl.h" 3 # 1558 "/usr/include/openssl/ssl.h" 3 # 1581 "/usr/include/openssl/ssl.h" 3 # 1590 "/usr/include/openssl/ssl.h" 3 # 1599 "/usr/include/openssl/ssl.h" 3 # 1608 "/usr/include/openssl/ssl.h" 3 # 1615 "/usr/include/openssl/ssl.h" 3 BIO_METHOD *BIO_f_ssl(void); BIO *BIO_new_ssl(SSL_CTX *ctx,int client); BIO *BIO_new_ssl_connect(SSL_CTX *ctx); BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx); int BIO_ssl_copy_session_id(BIO *to,BIO *from); void BIO_ssl_shutdown(BIO *ssl_bio); int SSL_CTX_set_cipher_list(SSL_CTX *,const char *str); SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); void SSL_CTX_free(SSL_CTX *); long SSL_CTX_set_timeout(SSL_CTX *ctx,long t); long SSL_CTX_get_timeout(const SSL_CTX *ctx); X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *); void SSL_CTX_set_cert_store(SSL_CTX *,X509_STORE *); int SSL_want(const SSL *s); int SSL_clear(SSL *s); void SSL_CTX_flush_sessions(SSL_CTX *ctx,long tm); const SSL_CIPHER *SSL_get_current_cipher(const SSL *s); int SSL_CIPHER_get_bits(const SSL_CIPHER *c,int *alg_bits); char * SSL_CIPHER_get_version(const SSL_CIPHER *c); const char * SSL_CIPHER_get_name(const SSL_CIPHER *c); unsigned long SSL_CIPHER_get_id(const SSL_CIPHER *c); int SSL_get_fd(const SSL *s); int SSL_get_rfd(const SSL *s); int SSL_get_wfd(const SSL *s); const char * SSL_get_cipher_list(const SSL *s,int n); char * SSL_get_shared_ciphers(const SSL *s, char *buf, int len); int SSL_get_read_ahead(const SSL * s); int SSL_pending(const SSL *s); int SSL_set_fd(SSL *s, int fd); int SSL_set_rfd(SSL *s, int fd); int SSL_set_wfd(SSL *s, int fd); void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio); BIO * SSL_get_rbio(const SSL *s); BIO * SSL_get_wbio(const SSL *s); int SSL_set_cipher_list(SSL *s, const char *str); void SSL_set_read_ahead(SSL *s, int yes); int SSL_get_verify_mode(const SSL *s); int SSL_get_verify_depth(const SSL *s); int (*SSL_get_verify_callback(const SSL *s))(int,X509_STORE_CTX *); void SSL_set_verify(SSL *s, int mode, int (*callback)(int ok,X509_STORE_CTX *ctx)); void SSL_set_verify_depth(SSL *s, int depth); int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa); int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, unsigned char *d, long len); int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey); int SSL_use_PrivateKey_ASN1(int pk,SSL *ssl, const unsigned char *d, long len); int SSL_use_certificate(SSL *ssl, X509 *x); int SSL_use_certificate_ASN1(SSL *ssl, const unsigned char *d, int len); int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type); int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type); int SSL_use_certificate_file(SSL *ssl, const char *file, int type); int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type); int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type); int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type); int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file); struct stack_st_X509_NAME *SSL_load_client_CA_file(const char *file); int SSL_add_file_cert_subjects_to_stack(struct stack_st_X509_NAME *stackCAs, const char *file); int SSL_add_dir_cert_subjects_to_stack(struct stack_st_X509_NAME *stackCAs, const char *dir); void SSL_load_error_strings(void ); const char *SSL_state_string(const SSL *s); const char *SSL_rstate_string(const SSL *s); const char *SSL_state_string_long(const SSL *s); const char *SSL_rstate_string_long(const SSL *s); long SSL_SESSION_get_time(const SSL_SESSION *s); long SSL_SESSION_set_time(SSL_SESSION *s, long t); long SSL_SESSION_get_timeout(const SSL_SESSION *s); long SSL_SESSION_set_timeout(SSL_SESSION *s, long t); void SSL_copy_session_id(SSL *to,const SSL *from); X509 *SSL_SESSION_get0_peer(SSL_SESSION *s); int SSL_SESSION_set1_id_context(SSL_SESSION *s,const unsigned char *sid_ctx, unsigned int sid_ctx_len); SSL_SESSION *SSL_SESSION_new(void); const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s, unsigned int *len); unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s); int SSL_SESSION_print_fp(FILE *fp,const SSL_SESSION *ses); int SSL_SESSION_print(BIO *fp,const SSL_SESSION *ses); void SSL_SESSION_free(SSL_SESSION *ses); int i2d_SSL_SESSION(SSL_SESSION *in,unsigned char **pp); int SSL_set_session(SSL *to, SSL_SESSION *session); int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c); int SSL_CTX_remove_session(SSL_CTX *,SSL_SESSION *c); int SSL_CTX_set_generate_session_id(SSL_CTX *, GEN_SESSION_CB); int SSL_set_generate_session_id(SSL *, GEN_SESSION_CB); int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id, unsigned int id_len); SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a,const unsigned char **pp, long length); X509 * SSL_get_peer_certificate(const SSL *s); struct stack_st_X509 *SSL_get_peer_cert_chain(const SSL *s); int SSL_CTX_get_verify_mode(const SSL_CTX *ctx); int SSL_CTX_get_verify_depth(const SSL_CTX *ctx); int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int,X509_STORE_CTX *); void SSL_CTX_set_verify(SSL_CTX *ctx,int mode, int (*callback)(int, X509_STORE_CTX *)); void SSL_CTX_set_verify_depth(SSL_CTX *ctx,int depth); void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *,void *), void *arg); int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa); int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, long len); int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey); int SSL_CTX_use_PrivateKey_ASN1(int pk,SSL_CTX *ctx, const unsigned char *d, long len); int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x); int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, const unsigned char *d); void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb); void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u); int SSL_CTX_check_private_key(const SSL_CTX *ctx); int SSL_check_private_key(const SSL *ctx); int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx, unsigned int sid_ctx_len); SSL * SSL_new(SSL_CTX *ctx); int SSL_set_session_id_context(SSL *ssl,const unsigned char *sid_ctx, unsigned int sid_ctx_len); int SSL_CTX_set_purpose(SSL_CTX *s, int purpose); int SSL_set_purpose(SSL *s, int purpose); int SSL_CTX_set_trust(SSL_CTX *s, int trust); int SSL_set_trust(SSL *s, int trust); int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm); int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm); void SSL_free(SSL *ssl); int SSL_accept(SSL *ssl); int SSL_connect(SSL *ssl); int SSL_read(SSL *ssl,void *buf,int num); int SSL_peek(SSL *ssl,void *buf,int num); int SSL_write(SSL *ssl,const void *buf,int num); long SSL_ctrl(SSL *ssl,int cmd, long larg, void *parg); long SSL_callback_ctrl(SSL *, int, void (*)(void)); long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, void *parg); long SSL_CTX_callback_ctrl(SSL_CTX *, int, void (*)(void)); int SSL_get_error(const SSL *s,int ret_code); const char *SSL_get_version(const SSL *s); int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); const SSL_METHOD *SSLv2_method(void); const SSL_METHOD *SSLv2_server_method(void); const SSL_METHOD *SSLv2_client_method(void); const SSL_METHOD *SSLv3_method(void); const SSL_METHOD *SSLv3_server_method(void); const SSL_METHOD *SSLv3_client_method(void); const SSL_METHOD *SSLv23_method(void); const SSL_METHOD *SSLv23_server_method(void); const SSL_METHOD *SSLv23_client_method(void); const SSL_METHOD *TLSv1_method(void); const SSL_METHOD *TLSv1_server_method(void); const SSL_METHOD *TLSv1_client_method(void); const SSL_METHOD *TLSv1_1_method(void); const SSL_METHOD *TLSv1_1_server_method(void); const SSL_METHOD *TLSv1_1_client_method(void); const SSL_METHOD *TLSv1_2_method(void); const SSL_METHOD *TLSv1_2_server_method(void); const SSL_METHOD *TLSv1_2_client_method(void); const SSL_METHOD *DTLSv1_method(void); const SSL_METHOD *DTLSv1_server_method(void); const SSL_METHOD *DTLSv1_client_method(void); struct stack_st_SSL_CIPHER *SSL_get_ciphers(const SSL *s); int SSL_do_handshake(SSL *s); int SSL_renegotiate(SSL *s); int SSL_renegotiate_abbreviated(SSL *s); int SSL_renegotiate_pending(SSL *s); int SSL_shutdown(SSL *s); const SSL_METHOD *SSL_get_ssl_method(SSL *s); int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method); const char *SSL_alert_type_string_long(int value); const char *SSL_alert_type_string(int value); const char *SSL_alert_desc_string_long(int value); const char *SSL_alert_desc_string(int value); void SSL_set_client_CA_list(SSL *s, struct stack_st_X509_NAME *name_list); void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, struct stack_st_X509_NAME *name_list); struct stack_st_X509_NAME *SSL_get_client_CA_list(const SSL *s); struct stack_st_X509_NAME *SSL_CTX_get_client_CA_list(const SSL_CTX *s); int SSL_add_client_CA(SSL *ssl,X509 *x); int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x); void SSL_set_connect_state(SSL *s); void SSL_set_accept_state(SSL *s); long SSL_get_default_timeout(const SSL *s); int SSL_library_init(void ); char *SSL_CIPHER_description(const SSL_CIPHER *,char *buf,int size); struct stack_st_X509_NAME *SSL_dup_CA_list(struct stack_st_X509_NAME *sk); SSL *SSL_dup(SSL *ssl); X509 *SSL_get_certificate(const SSL *ssl); struct evp_pkey_st *SSL_get_privatekey(SSL *ssl); void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx,int mode); int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx); void SSL_set_quiet_shutdown(SSL *ssl,int mode); int SSL_get_quiet_shutdown(const SSL *ssl); void SSL_set_shutdown(SSL *ssl,int mode); int SSL_get_shutdown(const SSL *ssl); int SSL_version(const SSL *ssl); int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx); int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, const char *CApath); SSL_SESSION *SSL_get_session(const SSL *ssl); SSL_SESSION *SSL_get1_session(SSL *ssl); SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl); SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX* ctx); void SSL_set_info_callback(SSL *ssl, void (*cb)(const SSL *ssl,int type,int val)); void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl,int type,int val); int SSL_state(const SSL *ssl); void SSL_set_state(SSL *ssl, int state); void SSL_set_verify_result(SSL *ssl,long v); long SSL_get_verify_result(const SSL *ssl); int SSL_set_ex_data(SSL *ssl,int idx,void *data); void *SSL_get_ex_data(const SSL *ssl,int idx); int SSL_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int SSL_SESSION_set_ex_data(SSL_SESSION *ss,int idx,void *data); void *SSL_SESSION_get_ex_data(const SSL_SESSION *ss,int idx); int SSL_SESSION_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int SSL_CTX_set_ex_data(SSL_CTX *ssl,int idx,void *data); void *SSL_CTX_get_ex_data(const SSL_CTX *ssl,int idx); int SSL_CTX_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int SSL_get_ex_data_X509_STORE_CTX_idx(void ); # 1921 "/usr/include/openssl/ssl.h" 3 # 1936 "/usr/include/openssl/ssl.h" 3 void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx, RSA *(*cb)(SSL *ssl,int is_export, int keylength)); void SSL_set_tmp_rsa_callback(SSL *ssl, RSA *(*cb)(SSL *ssl,int is_export, int keylength)); void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, DH *(*dh)(SSL *ssl,int is_export, int keylength)); void SSL_set_tmp_dh_callback(SSL *ssl, DH *(*dh)(SSL *ssl,int is_export, int keylength)); void SSL_CTX_set_tmp_ecdh_callback(SSL_CTX *ctx, EC_KEY *(*ecdh)(SSL *ssl,int is_export, int keylength)); void SSL_set_tmp_ecdh_callback(SSL *ssl, EC_KEY *(*ecdh)(SSL *ssl,int is_export, int keylength)); const COMP_METHOD *SSL_get_current_compression(SSL *s); const COMP_METHOD *SSL_get_current_expansion(SSL *s); const char *SSL_COMP_get_name(const COMP_METHOD *comp); struct stack_st_SSL_COMP *SSL_COMP_get_compression_methods(void); int SSL_COMP_add_compression_method(int id,COMP_METHOD *cm); # 1982 "/usr/include/openssl/ssl.h" 3 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len); int SSL_set_session_ticket_ext_cb(SSL *s, tls_session_ticket_ext_cb_fn cb, void *arg); int SSL_set_session_secret_cb(SSL *s, tls_session_secret_cb_fn tls_session_secret_cb, void *arg); void SSL_set_debug(SSL *s, int debug); int SSL_cache_hit(SSL *s); void ERR_load_SSL_strings(void); # 2223 "/usr/include/openssl/ssl.h" 3 # 2527 "/usr/include/openssl/ssl.h" 3 # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Found header files ['openssl/ssl.h'] in [] Popping language C ================================================================================ TEST checkSharedLibrary from config.packages.ssl(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:738) TESTING: checkSharedLibrary from config.packages.ssl(config/BuildSystem/config/package.py:738) By default we don't care about checking if the library is shared Popping language C Not a clone of PETSc or no Fortran, don't need Sowing ================================================================================ TEST alternateConfigureLibrary from config.packages.p4est(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.p4est(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.libpng(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.libpng(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.tchem(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.tchem(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.libjpeg(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.libjpeg(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.giflib(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.giflib(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.cgns(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.cgns(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.revolve(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.revolve(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.Chaco(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.Chaco(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.Mathematica(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.Mathematica(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST locateC2html from config.packages.c2html(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/c2html.py:33) TESTING: locateC2html from config.packages.c2html(config/BuildSystem/config/packages/c2html.py:33) Looking for default C2html executable Checking for program /home/swong/anaconda2/bin/c2html...not found Checking for program /home/swong/anaconda2/bin/c2html...not found Checking for program /usr/lib64/qt-3.3/bin/c2html...not found Checking for program /home/swong/perl5/bin/c2html...not found Checking for program /usr/local/bin/c2html...not found Checking for program /usr/local/sbin/c2html...not found Checking for program /usr/bin/c2html...not found Checking for program /usr/sbin/c2html...not found Checking for program /bin/c2html...not found Checking for program /sbin/c2html...not found Checking for program /opt/intel/bin/c2html...not found Checking for program /opt/intel/impi/5.0.1.035/intel64/bin/c2html...not found Checking for program /usr/local/cuda-8.0/bin/c2html...not found Checking for program /opt/pgi/linux86-64/16.10/bin/c2html...not found Checking for program /home/swong/.local/bin/c2html...not found Checking for program /home/swong/bin/c2html...not found Checking for program /opt/intel/bin/c2html...not found Checking for program /opt/intel/impi/5.0.1.035/intel64/bin/c2html...not found Checking for program /usr/local/cuda-8.0/bin/c2html...not found Checking for program /opt/pgi/linux86-64/16.10/bin/c2html...not found Checking for program /home/swong/c2html...not found Checking for program /home/swong/Downloads/petsc/bin/win32fe/c2html...not found ================================================================================ TEST alternateConfigureLibrary from config.packages.Numpy(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.Numpy(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.mpi4py(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/mpi4py.py:70) TESTING: alternateConfigureLibrary from config.packages.mpi4py(config/BuildSystem/config/packages/mpi4py.py:70) Defined make rule "mpi4py-build" with dependencies "" and code [] Defined make rule "mpi4py-install" with dependencies "" and code [] ================================================================================ TEST alternateConfigureLibrary from config.packages.petsc4py(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/petsc4py.py:105) TESTING: alternateConfigureLibrary from config.packages.petsc4py(config/BuildSystem/config/packages/petsc4py.py:105) Defined make rule "petsc4py-build" with dependencies "" and code [] Defined make rule "petsc4py-install" with dependencies "" and code [] ================================================================================ TEST alternateConfigureLibrary from config.packages.Matlab(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/Matlab.py:35) TESTING: alternateConfigureLibrary from config.packages.Matlab(config/BuildSystem/config/packages/Matlab.py:35) ================================================================================ TEST alternateConfigureLibrary from config.packages.MatlabEngine(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.MatlabEngine(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.opengl(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.opengl(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.glut(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.glut(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.opengles(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.opengles(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.saws(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.saws(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default Pushing language C ================================================================================ TEST configureLibrary from config.packages.pthread(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/pthread.py:19) TESTING: configureLibrary from config.packages.pthread(config/BuildSystem/config/packages/pthread.py:19) Checks for pthread_barrier_t, cpu_set_t, and sys/sysctl.h ================================================================================== Checking for a functional pthread Checking for library in Compiler specific search PTHREAD: [] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [pthread_create] in library [] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pthread_create(); static void _check_pthread_create() { pthread_create(); } int main() { _check_pthread_create();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: /tmp/petsc-pA4Uet/config.libraries/conftest.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line /lib64/libpthread.so.0: could not read symbols: Invalid operation Popping language C Checking for library in Compiler specific search PTHREAD: ['libpthread.a'] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [pthread_create] in library ['libpthread.a'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pthread_create(); static void _check_pthread_create() { pthread_create(); } int main() { _check_pthread_create();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LIBPTHREAD" to "1" Popping language C Checking for headers Compiler specific search PTHREAD: [] Pushing language C ================================================================================ TEST checkInclude from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['pthread.h'] in [] Checking include with compiler flags var CPPFLAGS [] Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/pthread.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 22 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 23 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/sched.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 30 "/usr/include/sched.h" 2 3 # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 typedef __time_t time_t; # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 34 "/usr/include/sched.h" 2 3 typedef __pid_t pid_t; # 1 "/usr/include/bits/sched.h" 1 3 # 38 "/usr/include/bits/sched.h" 3 # 71 "/usr/include/bits/sched.h" 3 struct sched_param { int __sched_priority; }; # 94 "/usr/include/bits/sched.h" 3 struct __sched_param { int __sched_priority; }; typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 166 "/usr/include/bits/sched.h" 3 # 185 "/usr/include/bits/sched.h" 3 # 196 "/usr/include/bits/sched.h" 3 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) __attribute__ ((__nothrow__ , __leaf__)); extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__ , __leaf__)) ; extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__ , __leaf__)); # 43 "/usr/include/sched.h" 2 3 extern int sched_setparam (__pid_t __pid, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_setscheduler (__pid_t __pid, int __policy, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_yield (void) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__ , __leaf__)); # 124 "/usr/include/sched.h" 3 # 24 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/time.h" 1 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 38 "/usr/include/time.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 # 37 "/usr/include/bits/time.h" 3 # 58 "/usr/include/bits/time.h" 3 # 95 "/usr/include/bits/time.h" 3 # 42 "/usr/include/time.h" 2 3 typedef __clock_t clock_t; # 83 "/usr/include/time.h" 3 typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; # 178 "/usr/include/time.h" 3 extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); # 217 "/usr/include/time.h" 3 # 1 "/usr/include/xlocale.h" 1 3 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 222 "/usr/include/time.h" 2 3 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); # 414 "/usr/include/time.h" 3 # 429 "/usr/include/time.h" 3 # 25 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 27 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/bits/setjmp.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 27 "/usr/include/bits/setjmp.h" 2 3 typedef long int __jmp_buf[8]; # 28 "/usr/include/pthread.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/pthread.h" 2 3 enum { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP , PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL }; enum { PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST }; enum { PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT }; # 109 "/usr/include/pthread.h" 3 enum { PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP }; # 151 "/usr/include/pthread.h" 3 enum { PTHREAD_INHERIT_SCHED, PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_PROCESS_PRIVATE, PTHREAD_PROCESS_SHARED }; struct _pthread_cleanup_buffer { void (*__routine) (void *); void *__arg; int __canceltype; struct _pthread_cleanup_buffer *__prev; }; enum { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; enum { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; extern int pthread_create (pthread_t *__restrict __newthread, const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); # 265 "/usr/include/pthread.h" 3 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__ , __leaf__)); extern pthread_t pthread_self (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr, int *__detachstate) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getguardsize (const pthread_attr_t *__attr, size_t *__guardsize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, const struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict __attr, int *__restrict __policy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict __attr, int *__restrict __inherit) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr, int *__restrict __scope) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 414 "/usr/include/pthread.h" 3 extern int pthread_setschedparam (pthread_t __target_thread, int __policy, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int pthread_getschedparam (pthread_t __target_thread, int *__restrict __policy, struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern int pthread_setschedprio (pthread_t __target_thread, int __prio) __attribute__ ((__nothrow__ , __leaf__)); # 445 "/usr/include/pthread.h" 3 # 454 "/usr/include/pthread.h" 3 # 474 "/usr/include/pthread.h" 3 extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __th); extern void pthread_testcancel (void); typedef struct { struct { __jmp_buf __cancel_jmp_buf; int __mask_was_saved; } __cancel_jmp_buf[1]; void *__pad[4]; } __pthread_unwind_buf_t __attribute__ ((__aligned__)); struct __pthread_cleanup_frame { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; }; # 648 "/usr/include/pthread.h" 3 # 671 "/usr/include/pthread.h" 3 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) ; # 683 "/usr/include/pthread.h" 3 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) ; # 722 "/usr/include/pthread.h" 3 extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) __attribute__ ((__noreturn__)) __attribute__ ((__weak__)) ; struct __jmp_buf_tag; extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__)); extern int pthread_mutex_init (pthread_mutex_t *__mutex, const pthread_mutexattr_t *__mutexattr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_getprioceiling (const pthread_mutex_t * __restrict __mutex, int *__restrict __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, int __prioceiling, int *__restrict __old_ceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern int pthread_mutex_consistent (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict __attr, int *__restrict __kind) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t * __restrict __attr, int *__restrict __protocol) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, int __protocol) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t * __restrict __attr, int *__restrict __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, int __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr, int *__robustness) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, int __robustness) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 872 "/usr/include/pthread.h" 3 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, const pthread_rwlockattr_t *__restrict __attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pref) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, int __pref) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_init (pthread_cond_t *__restrict __cond, const pthread_condattr_t *__restrict __cond_attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getpshared (const pthread_condattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getclock (const pthread_condattr_t * __restrict __attr, __clockid_t *__restrict __clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setclock (pthread_condattr_t *__attr, __clockid_t __clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_destroy (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_lock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_trylock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_unlock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, const pthread_barrierattr_t *__restrict __attr, unsigned int __count) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_wait (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__)); extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__)); extern int pthread_setspecific (pthread_key_t __key, const void *__pointer) __attribute__ ((__nothrow__ , __leaf__)) ; extern int pthread_getcpuclockid (pthread_t __thread_id, __clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __attribute__ ((__nothrow__ , __leaf__)); extern __inline int __attribute__ ((__nothrow__ , __leaf__)) pthread_equal (pthread_t __thread1, pthread_t __thread2) { return __thread1 == __thread2; } # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Found header files ['pthread.h'] in [] Popping language C All intermediate test results are stored in /tmp/petsc-pA4Uet/config.packages.pthread Executing: icc -c -o /tmp/petsc-pA4Uet/config.packages.pthread/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.missing -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.packages.pthread/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { pthread_barrier_t *a; ; return 0; } Defined "HAVE_PTHREAD_BARRIER_T" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/config.packages.pthread/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.packages.pthread/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { cpu_set_t *a; ; return 0; } Defined "HAVE_SCHED_CPU_SET_T" to "1" Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.packages.pthread /tmp/petsc-pA4Uet/config.packages.pthread/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.packages.pthread/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.packages.pthread/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.packages.pthread/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.packages.pthread/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.packages.pthread/conftest.c" 2 # 1 "/usr/include/sys/sysctl.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 22 "/usr/include/sys/sysctl.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 24 "/usr/include/sys/sysctl.h" 2 3 # 42 "/usr/include/sys/sysctl.h" 3 # 1 "/usr/include/linux/sysctl.h" 1 3 # 1 "/usr/include/linux/kernel.h" 1 3 # 26 "/usr/include/linux/sysctl.h" 2 3 # 1 "/usr/include/linux/types.h" 1 3 # 27 "/usr/include/linux/sysctl.h" 2 3 struct completion; struct __sysctl_args { int *name; int nlen; void *oldval; size_t *oldlenp; void *newval; size_t newlen; unsigned long __unused[4]; }; enum { CTL_KERN=1, CTL_VM=2, CTL_NET=3, CTL_PROC=4, CTL_FS=5, CTL_DEBUG=6, CTL_DEV=7, CTL_BUS=8, CTL_ABI=9, CTL_CPU=10, CTL_ARLAN=254, CTL_S390DBF=5677, CTL_SUNRPC=7249, CTL_PM=9899, CTL_FRV=9898, }; enum { CTL_BUS_ISA=1 }; enum { INOTIFY_MAX_USER_INSTANCES=1, INOTIFY_MAX_USER_WATCHES=2, INOTIFY_MAX_QUEUED_EVENTS=3 }; enum { KERN_OSTYPE=1, KERN_OSRELEASE=2, KERN_OSREV=3, KERN_VERSION=4, KERN_SECUREMASK=5, KERN_PROF=6, KERN_NODENAME=7, KERN_DOMAINNAME=8, KERN_PANIC=15, KERN_REALROOTDEV=16, KERN_SPARC_REBOOT=21, KERN_CTLALTDEL=22, KERN_PRINTK=23, KERN_NAMETRANS=24, KERN_PPC_HTABRECLAIM=25, KERN_PPC_ZEROPAGED=26, KERN_PPC_POWERSAVE_NAP=27, KERN_MODPROBE=28, KERN_SG_BIG_BUFF=29, KERN_ACCT=30, KERN_PPC_L2CR=31, KERN_RTSIGNR=32, KERN_RTSIGMAX=33, KERN_SHMMAX=34, KERN_MSGMAX=35, KERN_MSGMNB=36, KERN_MSGPOOL=37, KERN_SYSRQ=38, KERN_MAX_THREADS=39, KERN_RANDOM=40, KERN_SHMALL=41, KERN_MSGMNI=42, KERN_SEM=43, KERN_SPARC_STOP_A=44, KERN_SHMMNI=45, KERN_OVERFLOWUID=46, KERN_OVERFLOWGID=47, KERN_SHMPATH=48, KERN_HOTPLUG=49, KERN_IEEE_EMULATION_WARNINGS=50, KERN_S390_USER_DEBUG_LOGGING=51, KERN_CORE_USES_PID=52, KERN_TAINTED=53, KERN_CADPID=54, KERN_PIDMAX=55, KERN_CORE_PATTERN=56, KERN_PANIC_ON_OOPS=57, KERN_HPPA_PWRSW=58, KERN_HPPA_UNALIGNED=59, KERN_PRINTK_RATELIMIT=60, KERN_PRINTK_RATELIMIT_BURST=61, KERN_PTY=62, KERN_NGROUPS_MAX=63, KERN_SPARC_SCONS_PWROFF=64, KERN_HZ_TIMER=65, KERN_UNKNOWN_NMI_PANIC=66, KERN_BOOTLOADER_TYPE=67, KERN_RANDOMIZE=68, KERN_SETUID_DUMPABLE=69, KERN_SPIN_RETRY=70, KERN_ACPI_VIDEO_FLAGS=71, KERN_IA64_UNALIGNED=72, KERN_COMPAT_LOG=73, KERN_MAX_LOCK_DEPTH=74, KERN_NMI_WATCHDOG=75, KERN_PANIC_ON_NMI=76, KERN_PANIC_ON_WARN=77, }; enum { VM_UNUSED1=1, VM_UNUSED2=2, VM_UNUSED3=3, VM_UNUSED4=4, VM_OVERCOMMIT_MEMORY=5, VM_UNUSED5=6, VM_UNUSED7=7, VM_UNUSED8=8, VM_UNUSED9=9, VM_PAGE_CLUSTER=10, VM_DIRTY_BACKGROUND=11, VM_DIRTY_RATIO=12, VM_DIRTY_WB_CS=13, VM_DIRTY_EXPIRE_CS=14, VM_NR_PDFLUSH_THREADS=15, VM_OVERCOMMIT_RATIO=16, VM_PAGEBUF=17, VM_HUGETLB_PAGES=18, VM_SWAPPINESS=19, VM_LOWMEM_RESERVE_RATIO=20, VM_MIN_FREE_KBYTES=21, VM_MAX_MAP_COUNT=22, VM_LAPTOP_MODE=23, VM_BLOCK_DUMP=24, VM_HUGETLB_GROUP=25, VM_VFS_CACHE_PRESSURE=26, VM_LEGACY_VA_LAYOUT=27, VM_SWAP_TOKEN_TIMEOUT=28, VM_DROP_PAGECACHE=29, VM_PERCPU_PAGELIST_FRACTION=30, VM_ZONE_RECLAIM_MODE=31, VM_MIN_UNMAPPED=32, VM_PANIC_ON_OOM=33, VM_VDSO_ENABLED=34, VM_MIN_SLAB=35, }; enum { NET_CORE=1, NET_ETHER=2, NET_802=3, NET_UNIX=4, NET_IPV4=5, NET_IPX=6, NET_ATALK=7, NET_NETROM=8, NET_AX25=9, NET_BRIDGE=10, NET_ROSE=11, NET_IPV6=12, NET_X25=13, NET_TR=14, NET_DECNET=15, NET_ECONET=16, NET_SCTP=17, NET_LLC=18, NET_NETFILTER=19, NET_DCCP=20, NET_IRDA=412, }; enum { RANDOM_POOLSIZE=1, RANDOM_ENTROPY_COUNT=2, RANDOM_READ_THRESH=3, RANDOM_WRITE_THRESH=4, RANDOM_BOOT_ID=5, RANDOM_UUID=6 }; enum { PTY_MAX=1, PTY_NR=2 }; enum { BUS_ISA_MEM_BASE=1, BUS_ISA_PORT_BASE=2, BUS_ISA_PORT_SHIFT=3 }; enum { NET_CORE_WMEM_MAX=1, NET_CORE_RMEM_MAX=2, NET_CORE_WMEM_DEFAULT=3, NET_CORE_RMEM_DEFAULT=4, NET_CORE_MAX_BACKLOG=6, NET_CORE_FASTROUTE=7, NET_CORE_MSG_COST=8, NET_CORE_MSG_BURST=9, NET_CORE_OPTMEM_MAX=10, NET_CORE_HOT_LIST_LENGTH=11, NET_CORE_DIVERT_VERSION=12, NET_CORE_NO_CONG_THRESH=13, NET_CORE_NO_CONG=14, NET_CORE_LO_CONG=15, NET_CORE_MOD_CONG=16, NET_CORE_DEV_WEIGHT=17, NET_CORE_SOMAXCONN=18, NET_CORE_BUDGET=19, NET_CORE_AEVENT_ETIME=20, NET_CORE_AEVENT_RSEQTH=21, NET_CORE_WARNINGS=22, }; enum { NET_UNIX_DESTROY_DELAY=1, NET_UNIX_DELETE_DELAY=2, NET_UNIX_MAX_DGRAM_QLEN=3, }; enum { NET_NF_CONNTRACK_MAX=1, NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT=2, NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV=3, NET_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED=4, NET_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT=5, NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT=6, NET_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK=7, NET_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT=8, NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE=9, NET_NF_CONNTRACK_UDP_TIMEOUT=10, NET_NF_CONNTRACK_UDP_TIMEOUT_STREAM=11, NET_NF_CONNTRACK_ICMP_TIMEOUT=12, NET_NF_CONNTRACK_GENERIC_TIMEOUT=13, NET_NF_CONNTRACK_BUCKETS=14, NET_NF_CONNTRACK_LOG_INVALID=15, NET_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS=16, NET_NF_CONNTRACK_TCP_LOOSE=17, NET_NF_CONNTRACK_TCP_BE_LIBERAL=18, NET_NF_CONNTRACK_TCP_MAX_RETRANS=19, NET_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED=20, NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT=21, NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED=22, NET_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED=23, NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT=24, NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD=25, NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT=26, NET_NF_CONNTRACK_COUNT=27, NET_NF_CONNTRACK_ICMPV6_TIMEOUT=28, NET_NF_CONNTRACK_FRAG6_TIMEOUT=29, NET_NF_CONNTRACK_FRAG6_LOW_THRESH=30, NET_NF_CONNTRACK_FRAG6_HIGH_THRESH=31, NET_NF_CONNTRACK_CHECKSUM=32, }; enum { NET_IPV4_FORWARD=8, NET_IPV4_DYNADDR=9, NET_IPV4_CONF=16, NET_IPV4_NEIGH=17, NET_IPV4_ROUTE=18, NET_IPV4_FIB_HASH=19, NET_IPV4_NETFILTER=20, NET_IPV4_TCP_TIMESTAMPS=33, NET_IPV4_TCP_WINDOW_SCALING=34, NET_IPV4_TCP_SACK=35, NET_IPV4_TCP_RETRANS_COLLAPSE=36, NET_IPV4_DEFAULT_TTL=37, NET_IPV4_AUTOCONFIG=38, NET_IPV4_NO_PMTU_DISC=39, NET_IPV4_TCP_SYN_RETRIES=40, NET_IPV4_IPFRAG_HIGH_THRESH=41, NET_IPV4_IPFRAG_LOW_THRESH=42, NET_IPV4_IPFRAG_TIME=43, NET_IPV4_TCP_MAX_KA_PROBES=44, NET_IPV4_TCP_KEEPALIVE_TIME=45, NET_IPV4_TCP_KEEPALIVE_PROBES=46, NET_IPV4_TCP_RETRIES1=47, NET_IPV4_TCP_RETRIES2=48, NET_IPV4_TCP_FIN_TIMEOUT=49, NET_IPV4_IP_MASQ_DEBUG=50, NET_TCP_SYNCOOKIES=51, NET_TCP_STDURG=52, NET_TCP_RFC1337=53, NET_TCP_SYN_TAILDROP=54, NET_TCP_MAX_SYN_BACKLOG=55, NET_IPV4_LOCAL_PORT_RANGE=56, NET_IPV4_ICMP_ECHO_IGNORE_ALL=57, NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS=58, NET_IPV4_ICMP_SOURCEQUENCH_RATE=59, NET_IPV4_ICMP_DESTUNREACH_RATE=60, NET_IPV4_ICMP_TIMEEXCEED_RATE=61, NET_IPV4_ICMP_PARAMPROB_RATE=62, NET_IPV4_ICMP_ECHOREPLY_RATE=63, NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES=64, NET_IPV4_IGMP_MAX_MEMBERSHIPS=65, NET_TCP_TW_RECYCLE=66, NET_IPV4_ALWAYS_DEFRAG=67, NET_IPV4_TCP_KEEPALIVE_INTVL=68, NET_IPV4_INET_PEER_THRESHOLD=69, NET_IPV4_INET_PEER_MINTTL=70, NET_IPV4_INET_PEER_MAXTTL=71, NET_IPV4_INET_PEER_GC_MINTIME=72, NET_IPV4_INET_PEER_GC_MAXTIME=73, NET_TCP_ORPHAN_RETRIES=74, NET_TCP_ABORT_ON_OVERFLOW=75, NET_TCP_SYNACK_RETRIES=76, NET_TCP_MAX_ORPHANS=77, NET_TCP_MAX_TW_BUCKETS=78, NET_TCP_FACK=79, NET_TCP_REORDERING=80, NET_TCP_ECN=81, NET_TCP_DSACK=82, NET_TCP_MEM=83, NET_TCP_WMEM=84, NET_TCP_RMEM=85, NET_TCP_APP_WIN=86, NET_TCP_ADV_WIN_SCALE=87, NET_IPV4_NONLOCAL_BIND=88, NET_IPV4_ICMP_RATELIMIT=89, NET_IPV4_ICMP_RATEMASK=90, NET_TCP_TW_REUSE=91, NET_TCP_FRTO=92, NET_TCP_LOW_LATENCY=93, NET_IPV4_IPFRAG_SECRET_INTERVAL=94, NET_IPV4_IGMP_MAX_MSF=96, NET_TCP_NO_METRICS_SAVE=97, NET_TCP_DEFAULT_WIN_SCALE=105, NET_TCP_MODERATE_RCVBUF=106, NET_TCP_TSO_WIN_DIVISOR=107, NET_TCP_BIC_BETA=108, NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR=109, NET_TCP_CONG_CONTROL=110, NET_TCP_ABC=111, NET_IPV4_IPFRAG_MAX_DIST=112, NET_TCP_MTU_PROBING=113, NET_TCP_BASE_MSS=114, NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS=115, NET_TCP_DMA_COPYBREAK=116, NET_TCP_SLOW_START_AFTER_IDLE=117, NET_CIPSOV4_CACHE_ENABLE=118, NET_CIPSOV4_CACHE_BUCKET_SIZE=119, NET_CIPSOV4_RBM_OPTFMT=120, NET_CIPSOV4_RBM_STRICTVALID=121, NET_TCP_AVAIL_CONG_CONTROL=122, NET_TCP_ALLOWED_CONG_CONTROL=123, NET_TCP_MAX_SSTHRESH=124, NET_TCP_FRTO_RESPONSE=125, }; enum { NET_IPV4_ROUTE_FLUSH=1, NET_IPV4_ROUTE_MIN_DELAY=2, NET_IPV4_ROUTE_MAX_DELAY=3, NET_IPV4_ROUTE_GC_THRESH=4, NET_IPV4_ROUTE_MAX_SIZE=5, NET_IPV4_ROUTE_GC_MIN_INTERVAL=6, NET_IPV4_ROUTE_GC_TIMEOUT=7, NET_IPV4_ROUTE_GC_INTERVAL=8, NET_IPV4_ROUTE_REDIRECT_LOAD=9, NET_IPV4_ROUTE_REDIRECT_NUMBER=10, NET_IPV4_ROUTE_REDIRECT_SILENCE=11, NET_IPV4_ROUTE_ERROR_COST=12, NET_IPV4_ROUTE_ERROR_BURST=13, NET_IPV4_ROUTE_GC_ELASTICITY=14, NET_IPV4_ROUTE_MTU_EXPIRES=15, NET_IPV4_ROUTE_MIN_PMTU=16, NET_IPV4_ROUTE_MIN_ADVMSS=17, NET_IPV4_ROUTE_SECRET_INTERVAL=18, NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS=19, }; enum { NET_PROTO_CONF_ALL=-2, NET_PROTO_CONF_DEFAULT=-3 }; enum { NET_IPV4_CONF_FORWARDING=1, NET_IPV4_CONF_MC_FORWARDING=2, NET_IPV4_CONF_PROXY_ARP=3, NET_IPV4_CONF_ACCEPT_REDIRECTS=4, NET_IPV4_CONF_SECURE_REDIRECTS=5, NET_IPV4_CONF_SEND_REDIRECTS=6, NET_IPV4_CONF_SHARED_MEDIA=7, NET_IPV4_CONF_RP_FILTER=8, NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE=9, NET_IPV4_CONF_BOOTP_RELAY=10, NET_IPV4_CONF_LOG_MARTIANS=11, NET_IPV4_CONF_TAG=12, NET_IPV4_CONF_ARPFILTER=13, NET_IPV4_CONF_MEDIUM_ID=14, NET_IPV4_CONF_NOXFRM=15, NET_IPV4_CONF_NOPOLICY=16, NET_IPV4_CONF_FORCE_IGMP_VERSION=17, NET_IPV4_CONF_ARP_ANNOUNCE=18, NET_IPV4_CONF_ARP_IGNORE=19, NET_IPV4_CONF_PROMOTE_SECONDARIES=20, NET_IPV4_CONF_ARP_ACCEPT=21, NET_IPV4_CONF_ARP_NOTIFY=22, }; enum { NET_IPV4_NF_CONNTRACK_MAX=1, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT=2, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV=3, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED=4, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT=5, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT=6, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK=7, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT=8, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE=9, NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT=10, NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT_STREAM=11, NET_IPV4_NF_CONNTRACK_ICMP_TIMEOUT=12, NET_IPV4_NF_CONNTRACK_GENERIC_TIMEOUT=13, NET_IPV4_NF_CONNTRACK_BUCKETS=14, NET_IPV4_NF_CONNTRACK_LOG_INVALID=15, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS=16, NET_IPV4_NF_CONNTRACK_TCP_LOOSE=17, NET_IPV4_NF_CONNTRACK_TCP_BE_LIBERAL=18, NET_IPV4_NF_CONNTRACK_TCP_MAX_RETRANS=19, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED=20, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT=21, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED=22, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED=23, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT=24, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD=25, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT=26, NET_IPV4_NF_CONNTRACK_COUNT=27, NET_IPV4_NF_CONNTRACK_CHECKSUM=28, }; enum { NET_IPV6_CONF=16, NET_IPV6_NEIGH=17, NET_IPV6_ROUTE=18, NET_IPV6_ICMP=19, NET_IPV6_BINDV6ONLY=20, NET_IPV6_IP6FRAG_HIGH_THRESH=21, NET_IPV6_IP6FRAG_LOW_THRESH=22, NET_IPV6_IP6FRAG_TIME=23, NET_IPV6_IP6FRAG_SECRET_INTERVAL=24, NET_IPV6_MLD_MAX_MSF=25, }; enum { NET_IPV6_ROUTE_FLUSH=1, NET_IPV6_ROUTE_GC_THRESH=2, NET_IPV6_ROUTE_MAX_SIZE=3, NET_IPV6_ROUTE_GC_MIN_INTERVAL=4, NET_IPV6_ROUTE_GC_TIMEOUT=5, NET_IPV6_ROUTE_GC_INTERVAL=6, NET_IPV6_ROUTE_GC_ELASTICITY=7, NET_IPV6_ROUTE_MTU_EXPIRES=8, NET_IPV6_ROUTE_MIN_ADVMSS=9, NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS=10 }; enum { NET_IPV6_FORWARDING=1, NET_IPV6_HOP_LIMIT=2, NET_IPV6_MTU=3, NET_IPV6_ACCEPT_RA=4, NET_IPV6_ACCEPT_REDIRECTS=5, NET_IPV6_AUTOCONF=6, NET_IPV6_DAD_TRANSMITS=7, NET_IPV6_RTR_SOLICITS=8, NET_IPV6_RTR_SOLICIT_INTERVAL=9, NET_IPV6_RTR_SOLICIT_DELAY=10, NET_IPV6_USE_TEMPADDR=11, NET_IPV6_TEMP_VALID_LFT=12, NET_IPV6_TEMP_PREFERED_LFT=13, NET_IPV6_REGEN_MAX_RETRY=14, NET_IPV6_MAX_DESYNC_FACTOR=15, NET_IPV6_MAX_ADDRESSES=16, NET_IPV6_FORCE_MLD_VERSION=17, NET_IPV6_ACCEPT_RA_DEFRTR=18, NET_IPV6_ACCEPT_RA_PINFO=19, NET_IPV6_ACCEPT_RA_RTR_PREF=20, NET_IPV6_RTR_PROBE_INTERVAL=21, NET_IPV6_ACCEPT_RA_RT_INFO_MAX_PLEN=22, NET_IPV6_PROXY_NDP=23, NET_IPV6_ACCEPT_SOURCE_ROUTE=25, __NET_IPV6_MAX }; enum { NET_IPV6_ICMP_RATELIMIT=1 }; enum { NET_NEIGH_MCAST_SOLICIT=1, NET_NEIGH_UCAST_SOLICIT=2, NET_NEIGH_APP_SOLICIT=3, NET_NEIGH_RETRANS_TIME=4, NET_NEIGH_REACHABLE_TIME=5, NET_NEIGH_DELAY_PROBE_TIME=6, NET_NEIGH_GC_STALE_TIME=7, NET_NEIGH_UNRES_QLEN=8, NET_NEIGH_PROXY_QLEN=9, NET_NEIGH_ANYCAST_DELAY=10, NET_NEIGH_PROXY_DELAY=11, NET_NEIGH_LOCKTIME=12, NET_NEIGH_GC_INTERVAL=13, NET_NEIGH_GC_THRESH1=14, NET_NEIGH_GC_THRESH2=15, NET_NEIGH_GC_THRESH3=16, NET_NEIGH_RETRANS_TIME_MS=17, NET_NEIGH_REACHABLE_TIME_MS=18, }; enum { NET_DCCP_DEFAULT=1, }; enum { NET_IPX_PPROP_BROADCASTING=1, NET_IPX_FORWARDING=2 }; enum { NET_LLC2=1, NET_LLC_STATION=2, }; enum { NET_LLC2_TIMEOUT=1, }; enum { NET_LLC_STATION_ACK_TIMEOUT=1, }; enum { NET_LLC2_ACK_TIMEOUT=1, NET_LLC2_P_TIMEOUT=2, NET_LLC2_REJ_TIMEOUT=3, NET_LLC2_BUSY_TIMEOUT=4, }; enum { NET_ATALK_AARP_EXPIRY_TIME=1, NET_ATALK_AARP_TICK_TIME=2, NET_ATALK_AARP_RETRANSMIT_LIMIT=3, NET_ATALK_AARP_RESOLVE_TIME=4 }; enum { NET_NETROM_DEFAULT_PATH_QUALITY=1, NET_NETROM_OBSOLESCENCE_COUNT_INITIALISER=2, NET_NETROM_NETWORK_TTL_INITIALISER=3, NET_NETROM_TRANSPORT_TIMEOUT=4, NET_NETROM_TRANSPORT_MAXIMUM_TRIES=5, NET_NETROM_TRANSPORT_ACKNOWLEDGE_DELAY=6, NET_NETROM_TRANSPORT_BUSY_DELAY=7, NET_NETROM_TRANSPORT_REQUESTED_WINDOW_SIZE=8, NET_NETROM_TRANSPORT_NO_ACTIVITY_TIMEOUT=9, NET_NETROM_ROUTING_CONTROL=10, NET_NETROM_LINK_FAILS_COUNT=11, NET_NETROM_RESET=12 }; enum { NET_AX25_IP_DEFAULT_MODE=1, NET_AX25_DEFAULT_MODE=2, NET_AX25_BACKOFF_TYPE=3, NET_AX25_CONNECT_MODE=4, NET_AX25_STANDARD_WINDOW=5, NET_AX25_EXTENDED_WINDOW=6, NET_AX25_T1_TIMEOUT=7, NET_AX25_T2_TIMEOUT=8, NET_AX25_T3_TIMEOUT=9, NET_AX25_IDLE_TIMEOUT=10, NET_AX25_N2=11, NET_AX25_PACLEN=12, NET_AX25_PROTOCOL=13, NET_AX25_DAMA_SLAVE_TIMEOUT=14 }; enum { NET_ROSE_RESTART_REQUEST_TIMEOUT=1, NET_ROSE_CALL_REQUEST_TIMEOUT=2, NET_ROSE_RESET_REQUEST_TIMEOUT=3, NET_ROSE_CLEAR_REQUEST_TIMEOUT=4, NET_ROSE_ACK_HOLD_BACK_TIMEOUT=5, NET_ROSE_ROUTING_CONTROL=6, NET_ROSE_LINK_FAIL_TIMEOUT=7, NET_ROSE_MAX_VCS=8, NET_ROSE_WINDOW_SIZE=9, NET_ROSE_NO_ACTIVITY_TIMEOUT=10 }; enum { NET_X25_RESTART_REQUEST_TIMEOUT=1, NET_X25_CALL_REQUEST_TIMEOUT=2, NET_X25_RESET_REQUEST_TIMEOUT=3, NET_X25_CLEAR_REQUEST_TIMEOUT=4, NET_X25_ACK_HOLD_BACK_TIMEOUT=5, NET_X25_FORWARD=6 }; enum { NET_TR_RIF_TIMEOUT=1 }; enum { NET_DECNET_NODE_TYPE = 1, NET_DECNET_NODE_ADDRESS = 2, NET_DECNET_NODE_NAME = 3, NET_DECNET_DEFAULT_DEVICE = 4, NET_DECNET_TIME_WAIT = 5, NET_DECNET_DN_COUNT = 6, NET_DECNET_DI_COUNT = 7, NET_DECNET_DR_COUNT = 8, NET_DECNET_DST_GC_INTERVAL = 9, NET_DECNET_CONF = 10, NET_DECNET_NO_FC_MAX_CWND = 11, NET_DECNET_MEM = 12, NET_DECNET_RMEM = 13, NET_DECNET_WMEM = 14, NET_DECNET_DEBUG_LEVEL = 255 }; enum { NET_DECNET_CONF_LOOPBACK = -2, NET_DECNET_CONF_DDCMP = -3, NET_DECNET_CONF_PPP = -4, NET_DECNET_CONF_X25 = -5, NET_DECNET_CONF_GRE = -6, NET_DECNET_CONF_ETHER = -7 }; enum { NET_DECNET_CONF_DEV_PRIORITY = 1, NET_DECNET_CONF_DEV_T1 = 2, NET_DECNET_CONF_DEV_T2 = 3, NET_DECNET_CONF_DEV_T3 = 4, NET_DECNET_CONF_DEV_FORWARDING = 5, NET_DECNET_CONF_DEV_BLKSIZE = 6, NET_DECNET_CONF_DEV_STATE = 7 }; enum { NET_SCTP_RTO_INITIAL = 1, NET_SCTP_RTO_MIN = 2, NET_SCTP_RTO_MAX = 3, NET_SCTP_RTO_ALPHA = 4, NET_SCTP_RTO_BETA = 5, NET_SCTP_VALID_COOKIE_LIFE = 6, NET_SCTP_ASSOCIATION_MAX_RETRANS = 7, NET_SCTP_PATH_MAX_RETRANS = 8, NET_SCTP_MAX_INIT_RETRANSMITS = 9, NET_SCTP_HB_INTERVAL = 10, NET_SCTP_PRESERVE_ENABLE = 11, NET_SCTP_MAX_BURST = 12, NET_SCTP_ADDIP_ENABLE = 13, NET_SCTP_PRSCTP_ENABLE = 14, NET_SCTP_SNDBUF_POLICY = 15, NET_SCTP_SACK_TIMEOUT = 16, NET_SCTP_RCVBUF_POLICY = 17, }; enum { NET_BRIDGE_NF_CALL_ARPTABLES = 1, NET_BRIDGE_NF_CALL_IPTABLES = 2, NET_BRIDGE_NF_CALL_IP6TABLES = 3, NET_BRIDGE_NF_FILTER_VLAN_TAGGED = 4, NET_BRIDGE_NF_FILTER_PPPOE_TAGGED = 5, }; enum { NET_IRDA_DISCOVERY=1, NET_IRDA_DEVNAME=2, NET_IRDA_DEBUG=3, NET_IRDA_FAST_POLL=4, NET_IRDA_DISCOVERY_SLOTS=5, NET_IRDA_DISCOVERY_TIMEOUT=6, NET_IRDA_SLOT_TIMEOUT=7, NET_IRDA_MAX_BAUD_RATE=8, NET_IRDA_MIN_TX_TURN_TIME=9, NET_IRDA_MAX_TX_DATA_SIZE=10, NET_IRDA_MAX_TX_WINDOW=11, NET_IRDA_MAX_NOREPLY_TIME=12, NET_IRDA_WARN_NOREPLY_TIME=13, NET_IRDA_LAP_KEEPALIVE_TIME=14, }; enum { FS_NRINODE=1, FS_STATINODE=2, FS_MAXINODE=3, FS_NRDQUOT=4, FS_MAXDQUOT=5, FS_NRFILE=6, FS_MAXFILE=7, FS_DENTRY=8, FS_NRSUPER=9, FS_MAXSUPER=10, FS_OVERFLOWUID=11, FS_OVERFLOWGID=12, FS_LEASES=13, FS_DIR_NOTIFY=14, FS_LEASE_TIME=15, FS_DQSTATS=16, FS_XFS=17, FS_AIO_NR=18, FS_AIO_MAX_NR=19, FS_INOTIFY=20, FS_OCFS2=988, }; enum { FS_DQ_LOOKUPS = 1, FS_DQ_DROPS = 2, FS_DQ_READS = 3, FS_DQ_WRITES = 4, FS_DQ_CACHE_HITS = 5, FS_DQ_ALLOCATED = 6, FS_DQ_FREE = 7, FS_DQ_SYNCS = 8, FS_DQ_WARNINGS = 9, }; enum { DEV_CDROM=1, DEV_HWMON=2, DEV_PARPORT=3, DEV_RAID=4, DEV_MAC_HID=5, DEV_SCSI=6, DEV_IPMI=7, }; enum { DEV_CDROM_INFO=1, DEV_CDROM_AUTOCLOSE=2, DEV_CDROM_AUTOEJECT=3, DEV_CDROM_DEBUG=4, DEV_CDROM_LOCK=5, DEV_CDROM_CHECK_MEDIA=6 }; enum { DEV_PARPORT_DEFAULT=-3 }; enum { DEV_RAID_SPEED_LIMIT_MIN=1, DEV_RAID_SPEED_LIMIT_MAX=2 }; enum { DEV_PARPORT_DEFAULT_TIMESLICE=1, DEV_PARPORT_DEFAULT_SPINTIME=2 }; enum { DEV_PARPORT_SPINTIME=1, DEV_PARPORT_BASE_ADDR=2, DEV_PARPORT_IRQ=3, DEV_PARPORT_DMA=4, DEV_PARPORT_MODES=5, DEV_PARPORT_DEVICES=6, DEV_PARPORT_AUTOPROBE=16 }; enum { DEV_PARPORT_DEVICES_ACTIVE=-3, }; enum { DEV_PARPORT_DEVICE_TIMESLICE=1, }; enum { DEV_MAC_HID_KEYBOARD_SENDS_LINUX_KEYCODES=1, DEV_MAC_HID_KEYBOARD_LOCK_KEYCODES=2, DEV_MAC_HID_MOUSE_BUTTON_EMULATION=3, DEV_MAC_HID_MOUSE_BUTTON2_KEYCODE=4, DEV_MAC_HID_MOUSE_BUTTON3_KEYCODE=5, DEV_MAC_HID_ADB_MOUSE_SENDS_KEYCODES=6 }; enum { DEV_SCSI_LOGGING_LEVEL=1, }; enum { DEV_IPMI_POWEROFF_POWERCYCLE=1, }; enum { ABI_DEFHANDLER_COFF=1, ABI_DEFHANDLER_ELF=2, ABI_DEFHANDLER_LCALL7=3, ABI_DEFHANDLER_LIBCSO=4, ABI_TRACE=5, ABI_FAKE_UTSNAME=6, }; # 44 "/usr/include/sys/sysctl.h" 2 3 # 62 "/usr/include/sys/sysctl.h" 3 # 1 "/usr/include/bits/sysctl.h" 1 3 # 64 "/usr/include/sys/sysctl.h" 2 3 extern int sysctl (int *__name, int __nlen, void *__oldval, size_t *__oldlenp, void *__newval, size_t __newlen) __attribute__ ((__nothrow__ , __leaf__)); # 4 "/tmp/petsc-pA4Uet/config.packages.pthread/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_SYSCTL_H" to "1" ================================================================================ TEST checkSharedLibrary from config.packages.pthread(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:738) TESTING: checkSharedLibrary from config.packages.pthread(config/BuildSystem/config/package.py:738) By default we don't care about checking if the library is shared Popping language C ================================================================================ TEST alternateConfigureLibrary from config.packages.gmp(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.gmp(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.mpfr(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.mpfr(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.mpe(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.mpe(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.papi(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.papi(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default Pushing language C ================================================================================ TEST configureLibrary from config.packages.X(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:679) TESTING: configureLibrary from config.packages.X(config/BuildSystem/config/package.py:679) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional X Checking for library in Compiler specific search X: [] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library [] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); static void _check_XSetWMName() { XSetWMName(); } int main() { _check_XSetWMName();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.o: In function `_check_XSetWMName': /tmp/petsc-pA4Uet/config.libraries/conftest.c:5: undefined reference to `XSetWMName' Popping language C Checking for library in Compiler specific search X: ['libX11.a'] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library ['libX11.a'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); static void _check_XSetWMName() { XSetWMName(); } int main() { _check_XSetWMName();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -lX11 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LIBX11" to "1" Popping language C Checking for headers Compiler specific search X: [] Pushing language C ================================================================================ TEST checkInclude from config.headers(/home/swong/Downloads/petsc/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['X11/Xlib.h'] in [] Checking include with compiler flags var CPPFLAGS [] Executing: icc -E -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.headers /tmp/petsc-pA4Uet/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pA4Uet/config.headers/conftest.c" # 1 "/tmp/petsc-pA4Uet/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pA4Uet/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 # 1 "/usr/include/X11/Xlib.h" 1 3 # 1 "/usr/include/sys/types.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 125 "/usr/include/features.h" 3 # 148 "/usr/include/features.h" 3 # 182 "/usr/include/features.h" 3 # 191 "/usr/include/features.h" 3 # 235 "/usr/include/features.h" 3 # 259 "/usr/include/features.h" 3 # 291 "/usr/include/features.h" 3 # 342 "/usr/include/features.h" 3 # 1 "/usr/include/stdc-predef.h" 1 3 # 346 "/usr/include/features.h" 2 3 # 371 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 49 "/usr/include/sys/cdefs.h" 3 # 70 "/usr/include/sys/cdefs.h" 3 # 80 "/usr/include/sys/cdefs.h" 3 # 105 "/usr/include/sys/cdefs.h" 3 # 120 "/usr/include/sys/cdefs.h" 3 # 130 "/usr/include/sys/cdefs.h" 3 # 155 "/usr/include/sys/cdefs.h" 3 # 172 "/usr/include/sys/cdefs.h" 3 # 200 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 393 "/usr/include/sys/cdefs.h" 2 3 # 425 "/usr/include/sys/cdefs.h" 3 # 376 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 400 "/usr/include/features.h" 2 3 # 26 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 67 "/usr/include/bits/types.h" 3 # 125 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 131 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 30 "/usr/include/sys/types.h" 2 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 79 "/usr/include/endian.h" 3 # 99 "/usr/include/endian.h" 3 # 217 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 98 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 115 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 202 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 39 "/usr/include/X11/Xlib.h" 2 3 # 1 "/usr/include/X11/X.h" 1 3 typedef unsigned long XID; typedef unsigned long Mask; typedef unsigned long Atom; typedef unsigned long VisualID; typedef unsigned long Time; # 95 "/usr/include/X11/X.h" 3 typedef XID Window; typedef XID Drawable; typedef XID Font; typedef XID Pixmap; typedef XID Cursor; typedef XID Colormap; typedef XID GContext; typedef XID KeySym; typedef unsigned char KeyCode; # 176 "/usr/include/X11/X.h" 3 # 216 "/usr/include/X11/X.h" 3 # 229 "/usr/include/X11/X.h" 3 # 241 "/usr/include/X11/X.h" 3 # 284 "/usr/include/X11/X.h" 3 # 339 "/usr/include/X11/X.h" 3 # 376 "/usr/include/X11/X.h" 3 # 407 "/usr/include/X11/X.h" 3 # 417 "/usr/include/X11/X.h" 3 # 432 "/usr/include/X11/X.h" 3 # 501 "/usr/include/X11/X.h" 3 # 587 "/usr/include/X11/X.h" 3 # 657 "/usr/include/X11/X.h" 3 # 710 "/usr/include/X11/X.h" 3 # 45 "/usr/include/X11/Xlib.h" 2 3 # 1 "/usr/include/X11/Xfuncproto.h" 1 3 # 58 "/usr/include/X11/Xfuncproto.h" 3 # 66 "/usr/include/X11/Xfuncproto.h" 3 # 78 "/usr/include/X11/Xfuncproto.h" 3 # 100 "/usr/include/X11/Xfuncproto.h" 3 # 110 "/usr/include/X11/Xfuncproto.h" 3 # 133 "/usr/include/X11/Xfuncproto.h" 3 # 169 "/usr/include/X11/Xfuncproto.h" 3 # 183 "/usr/include/X11/Xfuncproto.h" 3 # 48 "/usr/include/X11/Xlib.h" 2 3 # 1 "/usr/include/X11/Xosdefs.h" 1 3 # 53 "/usr/include/X11/Xosdefs.h" 3 # 66 "/usr/include/X11/Xosdefs.h" 3 # 89 "/usr/include/X11/Xosdefs.h" 3 # 98 "/usr/include/X11/Xosdefs.h" 3 # 107 "/usr/include/X11/Xosdefs.h" 3 # 114 "/usr/include/X11/Xosdefs.h" 3 # 49 "/usr/include/X11/Xlib.h" 2 3 # 1 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 65 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 76 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 83 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 99 "/opt/intel/composer_xe_2015.0.090/compiler/include/stddef.h" 3 # 52 "/usr/include/X11/Xlib.h" 2 3 # 60 "/usr/include/X11/Xlib.h" 3 extern int _Xmblen( char *str, int len ); typedef char *XPointer; # 121 "/usr/include/X11/Xlib.h" 3 # 144 "/usr/include/X11/Xlib.h" 3 typedef struct _XExtData { int number; struct _XExtData *next; int (*free_private)( struct _XExtData *extension ); XPointer private_data; } XExtData; typedef struct { int extension; int major_opcode; int first_event; int first_error; } XExtCodes; typedef struct { int depth; int bits_per_pixel; int scanline_pad; } XPixmapFormatValues; typedef struct { int function; unsigned long plane_mask; unsigned long foreground; unsigned long background; int line_width; int line_style; int cap_style; int join_style; int fill_style; int fill_rule; int arc_mode; Pixmap tile; Pixmap stipple; int ts_x_origin; int ts_y_origin; Font font; int subwindow_mode; int graphics_exposures; int clip_x_origin; int clip_y_origin; Pixmap clip_mask; int dash_offset; char dashes; } XGCValues; typedef struct _XGC # 222 "/usr/include/X11/Xlib.h" 3 *GC; typedef struct { XExtData *ext_data; VisualID visualid; int class; unsigned long red_mask, green_mask, blue_mask; int bits_per_rgb; int map_entries; } Visual; typedef struct { int depth; int nvisuals; Visual *visuals; } Depth; struct _XDisplay; typedef struct { XExtData *ext_data; struct _XDisplay *display; Window root; int width, height; int mwidth, mheight; int ndepths; Depth *depths; int root_depth; Visual *root_visual; GC default_gc; Colormap cmap; unsigned long white_pixel; unsigned long black_pixel; int max_maps, min_maps; int backing_store; int save_unders; long root_input_mask; } Screen; typedef struct { XExtData *ext_data; int depth; int bits_per_pixel; int scanline_pad; } ScreenFormat; typedef struct { Pixmap background_pixmap; unsigned long background_pixel; Pixmap border_pixmap; unsigned long border_pixel; int bit_gravity; int win_gravity; int backing_store; unsigned long backing_planes; unsigned long backing_pixel; int save_under; long event_mask; long do_not_propagate_mask; int override_redirect; Colormap colormap; Cursor cursor; } XSetWindowAttributes; typedef struct { int x, y; int width, height; int border_width; int depth; Visual *visual; Window root; int class; int bit_gravity; int win_gravity; int backing_store; unsigned long backing_planes; unsigned long backing_pixel; int save_under; Colormap colormap; int map_installed; int map_state; long all_event_masks; long your_event_mask; long do_not_propagate_mask; int override_redirect; Screen *screen; } XWindowAttributes; typedef struct { int family; int length; char *address; } XHostAddress; typedef struct { int typelength; int valuelength; char *type; char *value; } XServerInterpretedAddress; typedef struct _XImage { int width, height; int xoffset; int format; char *data; int byte_order; int bitmap_unit; int bitmap_bit_order; int bitmap_pad; int depth; int bytes_per_line; int bits_per_pixel; unsigned long red_mask; unsigned long green_mask; unsigned long blue_mask; XPointer obdata; struct funcs { struct _XImage *(*create_image)( struct _XDisplay* , Visual* , unsigned int , int , int , char* , unsigned int , unsigned int , int , int ); int (*destroy_image) (struct _XImage *); unsigned long (*get_pixel) (struct _XImage *, int, int); int (*put_pixel) (struct _XImage *, int, int, unsigned long); struct _XImage *(*sub_image)(struct _XImage *, int, int, unsigned int, unsigned int); int (*add_pixel) (struct _XImage *, long); } f; } XImage; typedef struct { int x, y; int width, height; int border_width; Window sibling; int stack_mode; } XWindowChanges; typedef struct { unsigned long pixel; unsigned short red, green, blue; char flags; char pad; } XColor; typedef struct { short x1, y1, x2, y2; } XSegment; typedef struct { short x, y; } XPoint; typedef struct { short x, y; unsigned short width, height; } XRectangle; typedef struct { short x, y; unsigned short width, height; short angle1, angle2; } XArc; typedef struct { int key_click_percent; int bell_percent; int bell_pitch; int bell_duration; int led; int led_mode; int key; int auto_repeat_mode; } XKeyboardControl; typedef struct { int key_click_percent; int bell_percent; unsigned int bell_pitch, bell_duration; unsigned long led_mask; int global_auto_repeat; char auto_repeats[32]; } XKeyboardState; typedef struct { Time time; short x, y; } XTimeCoord; typedef struct { int max_keypermod; KeyCode *modifiermap; } XModifierKeymap; typedef struct _XDisplay Display; struct _XPrivate; struct _XrmHashBucketRec; typedef struct { XExtData *ext_data; struct _XPrivate *private1; int fd; int private2; int proto_major_version; int proto_minor_version; char *vendor; XID private3; XID private4; XID private5; int private6; XID (*resource_alloc)( struct _XDisplay* ); int byte_order; int bitmap_unit; int bitmap_pad; int bitmap_bit_order; int nformats; ScreenFormat *pixmap_format; int private8; int release; struct _XPrivate *private9, *private10; int qlen; unsigned long last_request_read; unsigned long request; XPointer private11; XPointer private12; XPointer private13; XPointer private14; unsigned max_request_size; struct _XrmHashBucketRec *db; int (*private15)( struct _XDisplay* ); char *display_name; int default_screen; int nscreens; Screen *screens; unsigned long motion_buffer; unsigned long private16; int min_keycode; int max_keycode; XPointer private17; XPointer private18; int private19; char *xdefaults; } *_XPrivDisplay; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; Window root; Window subwindow; Time time; int x, y; int x_root, y_root; unsigned int state; unsigned int keycode; int same_screen; } XKeyEvent; typedef XKeyEvent XKeyPressedEvent; typedef XKeyEvent XKeyReleasedEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; Window root; Window subwindow; Time time; int x, y; int x_root, y_root; unsigned int state; unsigned int button; int same_screen; } XButtonEvent; typedef XButtonEvent XButtonPressedEvent; typedef XButtonEvent XButtonReleasedEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; Window root; Window subwindow; Time time; int x, y; int x_root, y_root; unsigned int state; char is_hint; int same_screen; } XMotionEvent; typedef XMotionEvent XPointerMovedEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; Window root; Window subwindow; Time time; int x, y; int x_root, y_root; int mode; int detail; int same_screen; int focus; unsigned int state; } XCrossingEvent; typedef XCrossingEvent XEnterWindowEvent; typedef XCrossingEvent XLeaveWindowEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; int mode; int detail; } XFocusChangeEvent; typedef XFocusChangeEvent XFocusInEvent; typedef XFocusChangeEvent XFocusOutEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; char key_vector[32]; } XKeymapEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; int x, y; int width, height; int count; } XExposeEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Drawable drawable; int x, y; int width, height; int count; int major_code; int minor_code; } XGraphicsExposeEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Drawable drawable; int major_code; int minor_code; } XNoExposeEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; int state; } XVisibilityEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window parent; Window window; int x, y; int width, height; int border_width; int override_redirect; } XCreateWindowEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window event; Window window; } XDestroyWindowEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window event; Window window; int from_configure; } XUnmapEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window event; Window window; int override_redirect; } XMapEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window parent; Window window; } XMapRequestEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window event; Window window; Window parent; int x, y; int override_redirect; } XReparentEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window event; Window window; int x, y; int width, height; int border_width; Window above; int override_redirect; } XConfigureEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window event; Window window; int x, y; } XGravityEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; int width, height; } XResizeRequestEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window parent; Window window; int x, y; int width, height; int border_width; Window above; int detail; unsigned long value_mask; } XConfigureRequestEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window event; Window window; int place; } XCirculateEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window parent; Window window; int place; } XCirculateRequestEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; Atom atom; Time time; int state; } XPropertyEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; Atom selection; Time time; } XSelectionClearEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window owner; Window requestor; Atom selection; Atom target; Atom property; Time time; } XSelectionRequestEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window requestor; Atom selection; Atom target; Atom property; Time time; } XSelectionEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; Colormap colormap; int new; int state; } XColormapEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; Atom message_type; int format; union { char b[20]; short s[10]; long l[5]; } data; } XClientMessageEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; int request; int first_keycode; int count; } XMappingEvent; typedef struct { int type; Display *display; XID resourceid; unsigned long serial; unsigned char error_code; unsigned char request_code; unsigned char minor_code; } XErrorEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; Window window; } XAnyEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; int extension; int evtype; } XGenericEvent; typedef struct { int type; unsigned long serial; int send_event; Display *display; int extension; int evtype; unsigned int cookie; void *data; } XGenericEventCookie; typedef union _XEvent { int type; XAnyEvent xany; XKeyEvent xkey; XButtonEvent xbutton; XMotionEvent xmotion; XCrossingEvent xcrossing; XFocusChangeEvent xfocus; XExposeEvent xexpose; XGraphicsExposeEvent xgraphicsexpose; XNoExposeEvent xnoexpose; XVisibilityEvent xvisibility; XCreateWindowEvent xcreatewindow; XDestroyWindowEvent xdestroywindow; XUnmapEvent xunmap; XMapEvent xmap; XMapRequestEvent xmaprequest; XReparentEvent xreparent; XConfigureEvent xconfigure; XGravityEvent xgravity; XResizeRequestEvent xresizerequest; XConfigureRequestEvent xconfigurerequest; XCirculateEvent xcirculate; XCirculateRequestEvent xcirculaterequest; XPropertyEvent xproperty; XSelectionClearEvent xselectionclear; XSelectionRequestEvent xselectionrequest; XSelectionEvent xselection; XColormapEvent xcolormap; XClientMessageEvent xclient; XMappingEvent xmapping; XErrorEvent xerror; XKeymapEvent xkeymap; XGenericEvent xgeneric; XGenericEventCookie xcookie; long pad[24]; } XEvent; typedef struct { short lbearing; short rbearing; short width; short ascent; short descent; unsigned short attributes; } XCharStruct; typedef struct { Atom name; unsigned long card32; } XFontProp; typedef struct { XExtData *ext_data; Font fid; unsigned direction; unsigned min_char_or_byte2; unsigned max_char_or_byte2; unsigned min_byte1; unsigned max_byte1; int all_chars_exist; unsigned default_char; int n_properties; XFontProp *properties; XCharStruct min_bounds; XCharStruct max_bounds; XCharStruct *per_char; int ascent; int descent; } XFontStruct; typedef struct { char *chars; int nchars; int delta; Font font; } XTextItem; typedef struct { unsigned char byte1; unsigned char byte2; } XChar2b; typedef struct { XChar2b *chars; int nchars; int delta; Font font; } XTextItem16; typedef union { Display *display; GC gc; Visual *visual; Screen *screen; ScreenFormat *pixmap_format; XFontStruct *font; } XEDataObject; typedef struct { XRectangle max_ink_extent; XRectangle max_logical_extent; } XFontSetExtents; typedef struct _XOM *XOM; typedef struct _XOC *XOC, *XFontSet; typedef struct { char *chars; int nchars; int delta; XFontSet font_set; } XmbTextItem; typedef struct { wchar_t *chars; int nchars; int delta; XFontSet font_set; } XwcTextItem; # 1120 "/usr/include/X11/Xlib.h" 3 typedef struct { int charset_count; char **charset_list; } XOMCharSetList; typedef enum { XOMOrientation_LTR_TTB, XOMOrientation_RTL_TTB, XOMOrientation_TTB_LTR, XOMOrientation_TTB_RTL, XOMOrientation_Context } XOrientation; typedef struct { int num_orientation; XOrientation *orientation; } XOMOrientation; typedef struct { int num_font; XFontStruct **font_struct_list; char **font_name_list; } XOMFontInfo; typedef struct _XIM *XIM; typedef struct _XIC *XIC; typedef void (*XIMProc)( XIM, XPointer, XPointer ); typedef int (*XICProc)( XIC, XPointer, XPointer ); typedef void (*XIDProc)( Display*, XPointer, XPointer ); typedef unsigned long XIMStyle; typedef struct { unsigned short count_styles; XIMStyle *supported_styles; } XIMStyles; # 1182 "/usr/include/X11/Xlib.h" 3 # 1214 "/usr/include/X11/Xlib.h" 3 # 1226 "/usr/include/X11/Xlib.h" 3 typedef void *XVaNestedList; typedef struct { XPointer client_data; XIMProc callback; } XIMCallback; typedef struct { XPointer client_data; XICProc callback; } XICCallback; typedef unsigned long XIMFeedback; # 1256 "/usr/include/X11/Xlib.h" 3 typedef struct _XIMText { unsigned short length; XIMFeedback *feedback; int encoding_is_wchar; union { char *multi_byte; wchar_t *wide_char; } string; } XIMText; typedef unsigned long XIMPreeditState; typedef struct _XIMPreeditStateNotifyCallbackStruct { XIMPreeditState state; } XIMPreeditStateNotifyCallbackStruct; typedef unsigned long XIMResetState; typedef unsigned long XIMStringConversionFeedback; # 1290 "/usr/include/X11/Xlib.h" 3 typedef struct _XIMStringConversionText { unsigned short length; XIMStringConversionFeedback *feedback; int encoding_is_wchar; union { char *mbs; wchar_t *wcs; } string; } XIMStringConversionText; typedef unsigned short XIMStringConversionPosition; typedef unsigned short XIMStringConversionType; typedef unsigned short XIMStringConversionOperation; typedef enum { XIMForwardChar, XIMBackwardChar, XIMForwardWord, XIMBackwardWord, XIMCaretUp, XIMCaretDown, XIMNextLine, XIMPreviousLine, XIMLineStart, XIMLineEnd, XIMAbsolutePosition, XIMDontChange } XIMCaretDirection; typedef struct _XIMStringConversionCallbackStruct { XIMStringConversionPosition position; XIMCaretDirection direction; XIMStringConversionOperation operation; unsigned short factor; XIMStringConversionText *text; } XIMStringConversionCallbackStruct; typedef struct _XIMPreeditDrawCallbackStruct { int caret; int chg_first; int chg_length; XIMText *text; } XIMPreeditDrawCallbackStruct; typedef enum { XIMIsInvisible, XIMIsPrimary, XIMIsSecondary } XIMCaretStyle; typedef struct _XIMPreeditCaretCallbackStruct { int position; XIMCaretDirection direction; XIMCaretStyle style; } XIMPreeditCaretCallbackStruct; typedef enum { XIMTextType, XIMBitmapType } XIMStatusDataType; typedef struct _XIMStatusDrawCallbackStruct { XIMStatusDataType type; union { XIMText *text; Pixmap bitmap; } data; } XIMStatusDrawCallbackStruct; typedef struct _XIMHotKeyTrigger { KeySym keysym; int modifier; int modifier_mask; } XIMHotKeyTrigger; typedef struct _XIMHotKeyTriggers { int num_hot_key; XIMHotKeyTrigger *key; } XIMHotKeyTriggers; typedef unsigned long XIMHotKeyState; typedef struct { unsigned short count_values; char **supported_values; } XIMValuesList; extern int _Xdebug; extern XFontStruct *XLoadQueryFont( Display* , const char* ); extern XFontStruct *XQueryFont( Display* , XID ); extern XTimeCoord *XGetMotionEvents( Display* , Window , Time , Time , int* ); extern XModifierKeymap *XDeleteModifiermapEntry( XModifierKeymap* , KeyCode , int ); extern XModifierKeymap *XGetModifierMapping( Display* ); extern XModifierKeymap *XInsertModifiermapEntry( XModifierKeymap* , KeyCode , int ); extern XModifierKeymap *XNewModifiermap( int ); extern XImage *XCreateImage( Display* , Visual* , unsigned int , int , int , char* , unsigned int , unsigned int , int , int ); extern int XInitImage( XImage* ); extern XImage *XGetImage( Display* , Drawable , int , int , unsigned int , unsigned int , unsigned long , int ); extern XImage *XGetSubImage( Display* , Drawable , int , int , unsigned int , unsigned int , unsigned long , int , XImage* , int , int ); extern Display *XOpenDisplay( const char* ); extern void XrmInitialize( void ); extern char *XFetchBytes( Display* , int* ); extern char *XFetchBuffer( Display* , int* , int ); extern char *XGetAtomName( Display* , Atom ); extern int XGetAtomNames( Display* , Atom* , int , char** ); extern char *XGetDefault( Display* , const char* , const char* ); extern char *XDisplayName( const char* ); extern char *XKeysymToString( KeySym ); extern int (*XSynchronize( Display* , int ))( Display* ); extern int (*XSetAfterFunction( Display* , int (*) ( Display* ) ))( Display* ); extern Atom XInternAtom( Display* , const char* , int ); extern int XInternAtoms( Display* , char** , int , int , Atom* ); extern Colormap XCopyColormapAndFree( Display* , Colormap ); extern Colormap XCreateColormap( Display* , Window , Visual* , int ); extern Cursor XCreatePixmapCursor( Display* , Pixmap , Pixmap , XColor* , XColor* , unsigned int , unsigned int ); extern Cursor XCreateGlyphCursor( Display* , Font , Font , unsigned int , unsigned int , XColor const * , XColor const * ); extern Cursor XCreateFontCursor( Display* , unsigned int ); extern Font XLoadFont( Display* , const char* ); extern GC XCreateGC( Display* , Drawable , unsigned long , XGCValues* ); extern GContext XGContextFromGC( GC ); extern void XFlushGC( Display* , GC ); extern Pixmap XCreatePixmap( Display* , Drawable , unsigned int , unsigned int , unsigned int ); extern Pixmap XCreateBitmapFromData( Display* , Drawable , const char* , unsigned int , unsigned int ); extern Pixmap XCreatePixmapFromBitmapData( Display* , Drawable , char* , unsigned int , unsigned int , unsigned long , unsigned long , unsigned int ); extern Window XCreateSimpleWindow( Display* , Window , int , int , unsigned int , unsigned int , unsigned int , unsigned long , unsigned long ); extern Window XGetSelectionOwner( Display* , Atom ); extern Window XCreateWindow( Display* , Window , int , int , unsigned int , unsigned int , unsigned int , int , unsigned int , Visual* , unsigned long , XSetWindowAttributes* ); extern Colormap *XListInstalledColormaps( Display* , Window , int* ); extern char **XListFonts( Display* , const char* , int , int* ); extern char **XListFontsWithInfo( Display* , const char* , int , int* , XFontStruct** ); extern char **XGetFontPath( Display* , int* ); extern char **XListExtensions( Display* , int* ); extern Atom *XListProperties( Display* , Window , int* ); extern XHostAddress *XListHosts( Display* , int* , int* ); __attribute__((deprecated)) extern KeySym XKeycodeToKeysym( Display* , KeyCode , int ); extern KeySym XLookupKeysym( XKeyEvent* , int ); extern KeySym *XGetKeyboardMapping( Display* , KeyCode , int , int* ); extern KeySym XStringToKeysym( const char* ); extern long XMaxRequestSize( Display* ); extern long XExtendedMaxRequestSize( Display* ); extern char *XResourceManagerString( Display* ); extern char *XScreenResourceString( Screen* ); extern unsigned long XDisplayMotionBufferSize( Display* ); extern VisualID XVisualIDFromVisual( Visual* ); extern int XInitThreads( void ); extern void XLockDisplay( Display* ); extern void XUnlockDisplay( Display* ); extern XExtCodes *XInitExtension( Display* , const char* ); extern XExtCodes *XAddExtension( Display* ); extern XExtData *XFindOnExtensionList( XExtData** , int ); extern XExtData **XEHeadOfExtensionList( XEDataObject ); extern Window XRootWindow( Display* , int ); extern Window XDefaultRootWindow( Display* ); extern Window XRootWindowOfScreen( Screen* ); extern Visual *XDefaultVisual( Display* , int ); extern Visual *XDefaultVisualOfScreen( Screen* ); extern GC XDefaultGC( Display* , int ); extern GC XDefaultGCOfScreen( Screen* ); extern unsigned long XBlackPixel( Display* , int ); extern unsigned long XWhitePixel( Display* , int ); extern unsigned long XAllPlanes( void ); extern unsigned long XBlackPixelOfScreen( Screen* ); extern unsigned long XWhitePixelOfScreen( Screen* ); extern unsigned long XNextRequest( Display* ); extern unsigned long XLastKnownRequestProcessed( Display* ); extern char *XServerVendor( Display* ); extern char *XDisplayString( Display* ); extern Colormap XDefaultColormap( Display* , int ); extern Colormap XDefaultColormapOfScreen( Screen* ); extern Display *XDisplayOfScreen( Screen* ); extern Screen *XScreenOfDisplay( Display* , int ); extern Screen *XDefaultScreenOfDisplay( Display* ); extern long XEventMaskOfScreen( Screen* ); extern int XScreenNumberOfScreen( Screen* ); typedef int (*XErrorHandler) ( Display* , XErrorEvent* ); extern XErrorHandler XSetErrorHandler ( XErrorHandler ); typedef int (*XIOErrorHandler) ( Display* ); extern XIOErrorHandler XSetIOErrorHandler ( XIOErrorHandler ); extern XPixmapFormatValues *XListPixmapFormats( Display* , int* ); extern int *XListDepths( Display* , int , int* ); extern int XReconfigureWMWindow( Display* , Window , int , unsigned int , XWindowChanges* ); extern int XGetWMProtocols( Display* , Window , Atom** , int* ); extern int XSetWMProtocols( Display* , Window , Atom* , int ); extern int XIconifyWindow( Display* , Window , int ); extern int XWithdrawWindow( Display* , Window , int ); extern int XGetCommand( Display* , Window , char*** , int* ); extern int XGetWMColormapWindows( Display* , Window , Window** , int* ); extern int XSetWMColormapWindows( Display* , Window , Window* , int ); extern void XFreeStringList( char** ); extern int XSetTransientForHint( Display* , Window , Window ); extern int XActivateScreenSaver( Display* ); extern int XAddHost( Display* , XHostAddress* ); extern int XAddHosts( Display* , XHostAddress* , int ); extern int XAddToExtensionList( struct _XExtData** , XExtData* ); extern int XAddToSaveSet( Display* , Window ); extern int XAllocColor( Display* , Colormap , XColor* ); extern int XAllocColorCells( Display* , Colormap , int , unsigned long* , unsigned int , unsigned long* , unsigned int ); extern int XAllocColorPlanes( Display* , Colormap , int , unsigned long* , int , int , int , int , unsigned long* , unsigned long* , unsigned long* ); extern int XAllocNamedColor( Display* , Colormap , const char* , XColor* , XColor* ); extern int XAllowEvents( Display* , int , Time ); extern int XAutoRepeatOff( Display* ); extern int XAutoRepeatOn( Display* ); extern int XBell( Display* , int ); extern int XBitmapBitOrder( Display* ); extern int XBitmapPad( Display* ); extern int XBitmapUnit( Display* ); extern int XCellsOfScreen( Screen* ); extern int XChangeActivePointerGrab( Display* , unsigned int , Cursor , Time ); extern int XChangeGC( Display* , GC , unsigned long , XGCValues* ); extern int XChangeKeyboardControl( Display* , unsigned long , XKeyboardControl* ); extern int XChangeKeyboardMapping( Display* , int , int , KeySym* , int ); extern int XChangePointerControl( Display* , int , int , int , int , int ); extern int XChangeProperty( Display* , Window , Atom , Atom , int , int , const unsigned char* , int ); extern int XChangeSaveSet( Display* , Window , int ); extern int XChangeWindowAttributes( Display* , Window , unsigned long , XSetWindowAttributes* ); extern int XCheckIfEvent( Display* , XEvent* , int (*) ( Display* , XEvent* , XPointer ) , XPointer ); extern int XCheckMaskEvent( Display* , long , XEvent* ); extern int XCheckTypedEvent( Display* , int , XEvent* ); extern int XCheckTypedWindowEvent( Display* , Window , int , XEvent* ); extern int XCheckWindowEvent( Display* , Window , long , XEvent* ); extern int XCirculateSubwindows( Display* , Window , int ); extern int XCirculateSubwindowsDown( Display* , Window ); extern int XCirculateSubwindowsUp( Display* , Window ); extern int XClearArea( Display* , Window , int , int , unsigned int , unsigned int , int ); extern int XClearWindow( Display* , Window ); extern int XCloseDisplay( Display* ); extern int XConfigureWindow( Display* , Window , unsigned int , XWindowChanges* ); extern int XConnectionNumber( Display* ); extern int XConvertSelection( Display* , Atom , Atom , Atom , Window , Time ); extern int XCopyArea( Display* , Drawable , Drawable , GC , int , int , unsigned int , unsigned int , int , int ); extern int XCopyGC( Display* , GC , unsigned long , GC ); extern int XCopyPlane( Display* , Drawable , Drawable , GC , int , int , unsigned int , unsigned int , int , int , unsigned long ); extern int XDefaultDepth( Display* , int ); extern int XDefaultDepthOfScreen( Screen* ); extern int XDefaultScreen( Display* ); extern int XDefineCursor( Display* , Window , Cursor ); extern int XDeleteProperty( Display* , Window , Atom ); extern int XDestroyWindow( Display* , Window ); extern int XDestroySubwindows( Display* , Window ); extern int XDoesBackingStore( Screen* ); extern int XDoesSaveUnders( Screen* ); extern int XDisableAccessControl( Display* ); extern int XDisplayCells( Display* , int ); extern int XDisplayHeight( Display* , int ); extern int XDisplayHeightMM( Display* , int ); extern int XDisplayKeycodes( Display* , int* , int* ); extern int XDisplayPlanes( Display* , int ); extern int XDisplayWidth( Display* , int ); extern int XDisplayWidthMM( Display* , int ); extern int XDrawArc( Display* , Drawable , GC , int , int , unsigned int , unsigned int , int , int ); extern int XDrawArcs( Display* , Drawable , GC , XArc* , int ); extern int XDrawImageString( Display* , Drawable , GC , int , int , const char* , int ); extern int XDrawImageString16( Display* , Drawable , GC , int , int , const XChar2b* , int ); extern int XDrawLine( Display* , Drawable , GC , int , int , int , int ); extern int XDrawLines( Display* , Drawable , GC , XPoint* , int , int ); extern int XDrawPoint( Display* , Drawable , GC , int , int ); extern int XDrawPoints( Display* , Drawable , GC , XPoint* , int , int ); extern int XDrawRectangle( Display* , Drawable , GC , int , int , unsigned int , unsigned int ); extern int XDrawRectangles( Display* , Drawable , GC , XRectangle* , int ); extern int XDrawSegments( Display* , Drawable , GC , XSegment* , int ); extern int XDrawString( Display* , Drawable , GC , int , int , const char* , int ); extern int XDrawString16( Display* , Drawable , GC , int , int , const XChar2b* , int ); extern int XDrawText( Display* , Drawable , GC , int , int , XTextItem* , int ); extern int XDrawText16( Display* , Drawable , GC , int , int , XTextItem16* , int ); extern int XEnableAccessControl( Display* ); extern int XEventsQueued( Display* , int ); extern int XFetchName( Display* , Window , char** ); extern int XFillArc( Display* , Drawable , GC , int , int , unsigned int , unsigned int , int , int ); extern int XFillArcs( Display* , Drawable , GC , XArc* , int ); extern int XFillPolygon( Display* , Drawable , GC , XPoint* , int , int , int ); extern int XFillRectangle( Display* , Drawable , GC , int , int , unsigned int , unsigned int ); extern int XFillRectangles( Display* , Drawable , GC , XRectangle* , int ); extern int XFlush( Display* ); extern int XForceScreenSaver( Display* , int ); extern int XFree( void* ); extern int XFreeColormap( Display* , Colormap ); extern int XFreeColors( Display* , Colormap , unsigned long* , int , unsigned long ); extern int XFreeCursor( Display* , Cursor ); extern int XFreeExtensionList( char** ); extern int XFreeFont( Display* , XFontStruct* ); extern int XFreeFontInfo( char** , XFontStruct* , int ); extern int XFreeFontNames( char** ); extern int XFreeFontPath( char** ); extern int XFreeGC( Display* , GC ); extern int XFreeModifiermap( XModifierKeymap* ); extern int XFreePixmap( Display* , Pixmap ); extern int XGeometry( Display* , int , const char* , const char* , unsigned int , unsigned int , unsigned int , int , int , int* , int* , int* , int* ); extern int XGetErrorDatabaseText( Display* , const char* , const char* , const char* , char* , int ); extern int XGetErrorText( Display* , int , char* , int ); extern int XGetFontProperty( XFontStruct* , Atom , unsigned long* ); extern int XGetGCValues( Display* , GC , unsigned long , XGCValues* ); extern int XGetGeometry( Display* , Drawable , Window* , int* , int* , unsigned int* , unsigned int* , unsigned int* , unsigned int* ); extern int XGetIconName( Display* , Window , char** ); extern int XGetInputFocus( Display* , Window* , int* ); extern int XGetKeyboardControl( Display* , XKeyboardState* ); extern int XGetPointerControl( Display* , int* , int* , int* ); extern int XGetPointerMapping( Display* , unsigned char* , int ); extern int XGetScreenSaver( Display* , int* , int* , int* , int* ); extern int XGetTransientForHint( Display* , Window , Window* ); extern int XGetWindowProperty( Display* , Window , Atom , long , long , int , Atom , Atom* , int* , unsigned long* , unsigned long* , unsigned char** ); extern int XGetWindowAttributes( Display* , Window , XWindowAttributes* ); extern int XGrabButton( Display* , unsigned int , unsigned int , Window , int , unsigned int , int , int , Window , Cursor ); extern int XGrabKey( Display* , int , unsigned int , Window , int , int , int ); extern int XGrabKeyboard( Display* , Window , int , int , int , Time ); extern int XGrabPointer( Display* , Window , int , unsigned int , int , int , Window , Cursor , Time ); extern int XGrabServer( Display* ); extern int XHeightMMOfScreen( Screen* ); extern int XHeightOfScreen( Screen* ); extern int XIfEvent( Display* , XEvent* , int (*) ( Display* , XEvent* , XPointer ) , XPointer ); extern int XImageByteOrder( Display* ); extern int XInstallColormap( Display* , Colormap ); extern KeyCode XKeysymToKeycode( Display* , KeySym ); extern int XKillClient( Display* , XID ); extern int XLookupColor( Display* , Colormap , const char* , XColor* , XColor* ); extern int XLowerWindow( Display* , Window ); extern int XMapRaised( Display* , Window ); extern int XMapSubwindows( Display* , Window ); extern int XMapWindow( Display* , Window ); extern int XMaskEvent( Display* , long , XEvent* ); extern int XMaxCmapsOfScreen( Screen* ); extern int XMinCmapsOfScreen( Screen* ); extern int XMoveResizeWindow( Display* , Window , int , int , unsigned int , unsigned int ); extern int XMoveWindow( Display* , Window , int , int ); extern int XNextEvent( Display* , XEvent* ); extern int XNoOp( Display* ); extern int XParseColor( Display* , Colormap , const char* , XColor* ); extern int XParseGeometry( const char* , int* , int* , unsigned int* , unsigned int* ); extern int XPeekEvent( Display* , XEvent* ); extern int XPeekIfEvent( Display* , XEvent* , int (*) ( Display* , XEvent* , XPointer ) , XPointer ); extern int XPending( Display* ); extern int XPlanesOfScreen( Screen* ); extern int XProtocolRevision( Display* ); extern int XProtocolVersion( Display* ); extern int XPutBackEvent( Display* , XEvent* ); extern int XPutImage( Display* , Drawable , GC , XImage* , int , int , int , int , unsigned int , unsigned int ); extern int XQLength( Display* ); extern int XQueryBestCursor( Display* , Drawable , unsigned int , unsigned int , unsigned int* , unsigned int* ); extern int XQueryBestSize( Display* , int , Drawable , unsigned int , unsigned int , unsigned int* , unsigned int* ); extern int XQueryBestStipple( Display* , Drawable , unsigned int , unsigned int , unsigned int* , unsigned int* ); extern int XQueryBestTile( Display* , Drawable , unsigned int , unsigned int , unsigned int* , unsigned int* ); extern int XQueryColor( Display* , Colormap , XColor* ); extern int XQueryColors( Display* , Colormap , XColor* , int ); extern int XQueryExtension( Display* , const char* , int* , int* , int* ); extern int XQueryKeymap( Display* , char [32] ); extern int XQueryPointer( Display* , Window , Window* , Window* , int* , int* , int* , int* , unsigned int* ); extern int XQueryTextExtents( Display* , XID , const char* , int , int* , int* , int* , XCharStruct* ); extern int XQueryTextExtents16( Display* , XID , const XChar2b* , int , int* , int* , int* , XCharStruct* ); extern int XQueryTree( Display* , Window , Window* , Window* , Window** , unsigned int* ); extern int XRaiseWindow( Display* , Window ); extern int XReadBitmapFile( Display* , Drawable , const char* , unsigned int* , unsigned int* , Pixmap* , int* , int* ); extern int XReadBitmapFileData( const char* , unsigned int* , unsigned int* , unsigned char** , int* , int* ); extern int XRebindKeysym( Display* , KeySym , KeySym* , int , const unsigned char* , int ); extern int XRecolorCursor( Display* , Cursor , XColor* , XColor* ); extern int XRefreshKeyboardMapping( XMappingEvent* ); extern int XRemoveFromSaveSet( Display* , Window ); extern int XRemoveHost( Display* , XHostAddress* ); extern int XRemoveHosts( Display* , XHostAddress* , int ); extern int XReparentWindow( Display* , Window , Window , int , int ); extern int XResetScreenSaver( Display* ); extern int XResizeWindow( Display* , Window , unsigned int , unsigned int ); extern int XRestackWindows( Display* , Window* , int ); extern int XRotateBuffers( Display* , int ); extern int XRotateWindowProperties( Display* , Window , Atom* , int , int ); extern int XScreenCount( Display* ); extern int XSelectInput( Display* , Window , long ); extern int XSendEvent( Display* , Window , int , long , XEvent* ); extern int XSetAccessControl( Display* , int ); extern int XSetArcMode( Display* , GC , int ); extern int XSetBackground( Display* , GC , unsigned long ); extern int XSetClipMask( Display* , GC , Pixmap ); extern int XSetClipOrigin( Display* , GC , int , int ); extern int XSetClipRectangles( Display* , GC , int , int , XRectangle* , int , int ); extern int XSetCloseDownMode( Display* , int ); extern int XSetCommand( Display* , Window , char** , int ); extern int XSetDashes( Display* , GC , int , const char* , int ); extern int XSetFillRule( Display* , GC , int ); extern int XSetFillStyle( Display* , GC , int ); extern int XSetFont( Display* , GC , Font ); extern int XSetFontPath( Display* , char** , int ); extern int XSetForeground( Display* , GC , unsigned long ); extern int XSetFunction( Display* , GC , int ); extern int XSetGraphicsExposures( Display* , GC , int ); extern int XSetIconName( Display* , Window , const char* ); extern int XSetInputFocus( Display* , Window , int , Time ); extern int XSetLineAttributes( Display* , GC , unsigned int , int , int , int ); extern int XSetModifierMapping( Display* , XModifierKeymap* ); extern int XSetPlaneMask( Display* , GC , unsigned long ); extern int XSetPointerMapping( Display* , const unsigned char* , int ); extern int XSetScreenSaver( Display* , int , int , int , int ); extern int XSetSelectionOwner( Display* , Atom , Window , Time ); extern int XSetState( Display* , GC , unsigned long , unsigned long , int , unsigned long ); extern int XSetStipple( Display* , GC , Pixmap ); extern int XSetSubwindowMode( Display* , GC , int ); extern int XSetTSOrigin( Display* , GC , int , int ); extern int XSetTile( Display* , GC , Pixmap ); extern int XSetWindowBackground( Display* , Window , unsigned long ); extern int XSetWindowBackgroundPixmap( Display* , Window , Pixmap ); extern int XSetWindowBorder( Display* , Window , unsigned long ); extern int XSetWindowBorderPixmap( Display* , Window , Pixmap ); extern int XSetWindowBorderWidth( Display* , Window , unsigned int ); extern int XSetWindowColormap( Display* , Window , Colormap ); extern int XStoreBuffer( Display* , const char* , int , int ); extern int XStoreBytes( Display* , const char* , int ); extern int XStoreColor( Display* , Colormap , XColor* ); extern int XStoreColors( Display* , Colormap , XColor* , int ); extern int XStoreName( Display* , Window , const char* ); extern int XStoreNamedColor( Display* , Colormap , const char* , unsigned long , int ); extern int XSync( Display* , int ); extern int XTextExtents( XFontStruct* , const char* , int , int* , int* , int* , XCharStruct* ); extern int XTextExtents16( XFontStruct* , const XChar2b* , int , int* , int* , int* , XCharStruct* ); extern int XTextWidth( XFontStruct* , const char* , int ); extern int XTextWidth16( XFontStruct* , const XChar2b* , int ); extern int XTranslateCoordinates( Display* , Window , Window , int , int , int* , int* , Window* ); extern int XUndefineCursor( Display* , Window ); extern int XUngrabButton( Display* , unsigned int , unsigned int , Window ); extern int XUngrabKey( Display* , int , unsigned int , Window ); extern int XUngrabKeyboard( Display* , Time ); extern int XUngrabPointer( Display* , Time ); extern int XUngrabServer( Display* ); extern int XUninstallColormap( Display* , Colormap ); extern int XUnloadFont( Display* , Font ); extern int XUnmapSubwindows( Display* , Window ); extern int XUnmapWindow( Display* , Window ); extern int XVendorRelease( Display* ); extern int XWarpPointer( Display* , Window , Window , int , int , unsigned int , unsigned int , int , int ); extern int XWidthMMOfScreen( Screen* ); extern int XWidthOfScreen( Screen* ); extern int XWindowEvent( Display* , Window , long , XEvent* ); extern int XWriteBitmapFile( Display* , const char* , Pixmap , unsigned int , unsigned int , int , int ); extern int XSupportsLocale (void); extern char *XSetLocaleModifiers( const char* ); extern XOM XOpenOM( Display* , struct _XrmHashBucketRec* , const char* , const char* ); extern int XCloseOM( XOM ); extern char *XSetOMValues( XOM , ... ) __attribute__ ((__sentinel__(0))); extern char *XGetOMValues( XOM , ... ) __attribute__ ((__sentinel__(0))); extern Display *XDisplayOfOM( XOM ); extern char *XLocaleOfOM( XOM ); extern XOC XCreateOC( XOM , ... ) __attribute__ ((__sentinel__(0))); extern void XDestroyOC( XOC ); extern XOM XOMOfOC( XOC ); extern char *XSetOCValues( XOC , ... ) __attribute__ ((__sentinel__(0))); extern char *XGetOCValues( XOC , ... ) __attribute__ ((__sentinel__(0))); extern XFontSet XCreateFontSet( Display* , const char* , char*** , int* , char** ); extern void XFreeFontSet( Display* , XFontSet ); extern int XFontsOfFontSet( XFontSet , XFontStruct*** , char*** ); extern char *XBaseFontNameListOfFontSet( XFontSet ); extern char *XLocaleOfFontSet( XFontSet ); extern int XContextDependentDrawing( XFontSet ); extern int XDirectionalDependentDrawing( XFontSet ); extern int XContextualDrawing( XFontSet ); extern XFontSetExtents *XExtentsOfFontSet( XFontSet ); extern int XmbTextEscapement( XFontSet , const char* , int ); extern int XwcTextEscapement( XFontSet , const wchar_t* , int ); extern int Xutf8TextEscapement( XFontSet , const char* , int ); extern int XmbTextExtents( XFontSet , const char* , int , XRectangle* , XRectangle* ); extern int XwcTextExtents( XFontSet , const wchar_t* , int , XRectangle* , XRectangle* ); extern int Xutf8TextExtents( XFontSet , const char* , int , XRectangle* , XRectangle* ); extern int XmbTextPerCharExtents( XFontSet , const char* , int , XRectangle* , XRectangle* , int , int* , XRectangle* , XRectangle* ); extern int XwcTextPerCharExtents( XFontSet , const wchar_t* , int , XRectangle* , XRectangle* , int , int* , XRectangle* , XRectangle* ); extern int Xutf8TextPerCharExtents( XFontSet , const char* , int , XRectangle* , XRectangle* , int , int* , XRectangle* , XRectangle* ); extern void XmbDrawText( Display* , Drawable , GC , int , int , XmbTextItem* , int ); extern void XwcDrawText( Display* , Drawable , GC , int , int , XwcTextItem* , int ); extern void Xutf8DrawText( Display* , Drawable , GC , int , int , XmbTextItem* , int ); extern void XmbDrawString( Display* , Drawable , XFontSet , GC , int , int , const char* , int ); extern void XwcDrawString( Display* , Drawable , XFontSet , GC , int , int , const wchar_t* , int ); extern void Xutf8DrawString( Display* , Drawable , XFontSet , GC , int , int , const char* , int ); extern void XmbDrawImageString( Display* , Drawable , XFontSet , GC , int , int , const char* , int ); extern void XwcDrawImageString( Display* , Drawable , XFontSet , GC , int , int , const wchar_t* , int ); extern void Xutf8DrawImageString( Display* , Drawable , XFontSet , GC , int , int , const char* , int ); extern XIM XOpenIM( Display* , struct _XrmHashBucketRec* , char* , char* ); extern int XCloseIM( XIM ); extern char *XGetIMValues( XIM , ... ) __attribute__ ((__sentinel__(0))); extern char *XSetIMValues( XIM , ... ) __attribute__ ((__sentinel__(0))); extern Display *XDisplayOfIM( XIM ); extern char *XLocaleOfIM( XIM ); extern XIC XCreateIC( XIM , ... ) __attribute__ ((__sentinel__(0))); extern void XDestroyIC( XIC ); extern void XSetICFocus( XIC ); extern void XUnsetICFocus( XIC ); extern wchar_t *XwcResetIC( XIC ); extern char *XmbResetIC( XIC ); extern char *Xutf8ResetIC( XIC ); extern char *XSetICValues( XIC , ... ) __attribute__ ((__sentinel__(0))); extern char *XGetICValues( XIC , ... ) __attribute__ ((__sentinel__(0))); extern XIM XIMOfIC( XIC ); extern int XFilterEvent( XEvent* , Window ); extern int XmbLookupString( XIC , XKeyPressedEvent* , char* , int , KeySym* , int* ); extern int XwcLookupString( XIC , XKeyPressedEvent* , wchar_t* , int , KeySym* , int* ); extern int Xutf8LookupString( XIC , XKeyPressedEvent* , char* , int , KeySym* , int* ); extern XVaNestedList XVaCreateNestedList( int , ... ) __attribute__ ((__sentinel__(0))); extern int XRegisterIMInstantiateCallback( Display* , struct _XrmHashBucketRec* , char* , char* , XIDProc , XPointer ); extern int XUnregisterIMInstantiateCallback( Display* , struct _XrmHashBucketRec* , char* , char* , XIDProc , XPointer ); typedef void (*XConnectionWatchProc)( Display* , XPointer , int , int , XPointer* ); extern int XInternalConnectionNumbers( Display* , int** , int* ); extern void XProcessInternalConnection( Display* , int ); extern int XAddConnectionWatch( Display* , XConnectionWatchProc , XPointer ); extern void XRemoveConnectionWatch( Display* , XConnectionWatchProc , XPointer ); extern void XSetAuthorization( char * , int , char * , int ); extern int _Xmbtowc( wchar_t * , char * , int ); extern int _Xwctomb( char * , wchar_t ); extern int XGetEventData( Display* , XGenericEventCookie* ); extern void XFreeEventData( Display* , XGenericEventCookie* ); # 4 "/tmp/petsc-pA4Uet/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Found header files ['X11/Xlib.h'] in [] Popping language C ================================================================================ TEST checkSharedLibrary from config.packages.X(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:738) TESTING: checkSharedLibrary from config.packages.X(config/BuildSystem/config/package.py:738) By default we don't care about checking if the library is shared Popping language C ================================================================================ TEST alternateConfigureLibrary from config.packages.Triangle(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.Triangle(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.boost(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.boost(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.hdf5(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.hdf5(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.ascem-io(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.ascem-io(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.pflotran(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.pflotran(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.netcdf(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.netcdf(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.MOAB(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.MOAB(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.exodusii(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.exodusii(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.openmp(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.openmp(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.PTScotch(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.PTScotch(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default Pushing language C ================================================================================ TEST configureLibrary from config.packages.hwloc(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:679) TESTING: configureLibrary from config.packages.hwloc(config/BuildSystem/config/package.py:679) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional hwloc Checking for library in Compiler specific search HWLOC: [] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [hwloc_topology_init] in library [] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char hwloc_topology_init(); static void _check_hwloc_topology_init() { hwloc_topology_init(); } int main() { _check_hwloc_topology_init();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.o: In function `_check_hwloc_topology_init': /tmp/petsc-pA4Uet/config.libraries/conftest.c:5: undefined reference to `hwloc_topology_init' Popping language C Checking for library in Compiler specific search HWLOC: ['libhwloc.a'] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [hwloc_topology_init] in library ['libhwloc.a'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char hwloc_topology_init(); static void _check_hwloc_topology_init() { hwloc_topology_init(); } int main() { _check_hwloc_topology_init();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -lhwloc -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lhwloc Popping language C Checking for library in Compiler specific search HWLOC: ['libhwloc.a', 'libxml2.a'] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [hwloc_topology_init] in library ['libhwloc.a', 'libxml2.a'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char hwloc_topology_init(); static void _check_hwloc_topology_init() { hwloc_topology_init(); } int main() { _check_hwloc_topology_init();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -lhwloc -lxml2 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lhwloc Popping language C Checking for library in Package specific search directory HWLOC: ['/usr/local/lib/libhwloc.a'] Contents: ['bin', 'etc', 'games', 'include', 'lib', 'lib64', 'libexec', 'sbin', 'share', 'src', 'cuda-7.5', 'cuda-8.0', 'cuda'] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [hwloc_topology_init] in library ['/usr/local/lib/libhwloc.a'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char hwloc_topology_init(); static void _check_hwloc_topology_init() { hwloc_topology_init(); } int main() { _check_hwloc_topology_init();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lhwloc -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lhwloc Popping language C Checking for library in Package specific search directory HWLOC: ['/usr/local/lib/libhwloc.a', 'libxml2.a'] Contents: ['bin', 'etc', 'games', 'include', 'lib', 'lib64', 'libexec', 'sbin', 'share', 'src', 'cuda-7.5', 'cuda-8.0', 'cuda'] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [hwloc_topology_init] in library ['/usr/local/lib/libhwloc.a', 'libxml2.a'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char hwloc_topology_init(); static void _check_hwloc_topology_init() { hwloc_topology_init(); } int main() { _check_hwloc_topology_init();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lhwloc -lxml2 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lhwloc Popping language C Checking for library in Package specific search directory HWLOC: ['/usr/local/lib64/libhwloc.a'] Contents: ['bin', 'etc', 'games', 'include', 'lib', 'lib64', 'libexec', 'sbin', 'share', 'src', 'cuda-7.5', 'cuda-8.0', 'cuda'] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [hwloc_topology_init] in library ['/usr/local/lib64/libhwloc.a'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char hwloc_topology_init(); static void _check_hwloc_topology_init() { hwloc_topology_init(); } int main() { _check_hwloc_topology_init();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/usr/local/lib64 -L/usr/local/lib64 -lhwloc -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lhwloc Popping language C Checking for library in Package specific search directory HWLOC: ['/usr/local/lib64/libhwloc.a', 'libxml2.a'] Contents: ['bin', 'etc', 'games', 'include', 'lib', 'lib64', 'libexec', 'sbin', 'share', 'src', 'cuda-7.5', 'cuda-8.0', 'cuda'] ================================================================================ TEST check from config.libraries(/home/swong/Downloads/petsc/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [hwloc_topology_init] in library ['/usr/local/lib64/libhwloc.a', 'libxml2.a'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char hwloc_topology_init(); static void _check_hwloc_topology_init() { hwloc_topology_init(); } int main() { _check_hwloc_topology_init();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/usr/local/lib64 -L/usr/local/lib64 -lhwloc -lxml2 -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lhwloc Popping language C HWLOC: SearchDir DirPath not found.. skipping: /opt/local ================================================================================ TEST checkSharedLibrary from config.packages.hwloc(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:738) TESTING: checkSharedLibrary from config.packages.hwloc(config/BuildSystem/config/package.py:738) By default we don't care about checking if the library is shared Popping language C ================================================================================ TEST alternateConfigureLibrary from config.packages.scientificpython(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.scientificpython(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.fiat(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.fiat(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST locateCMake from config.packages.cmake(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/cmake.py:33) TESTING: locateCMake from config.packages.cmake(config/BuildSystem/config/packages/cmake.py:33) Looking for default CMake executable Checking for program /home/swong/anaconda2/bin/cmake...found Defined make macro "CMAKE" to "/home/swong/anaconda2/bin/cmake" Looking for default CTest executable Checking for program /home/swong/anaconda2/bin/ctest...found Defined make macro "CTEST" to "/home/swong/anaconda2/bin/ctest" ================================================================================ TEST alternateConfigureLibrary from config.packages.unittestcpp(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.unittestcpp(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.alquimia(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.alquimia(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST configureScalarType from PETSc.options.scalarTypes(/home/swong/Downloads/petsc/config/PETSc/options/scalarTypes.py:37) TESTING: configureScalarType from PETSc.options.scalarTypes(config/PETSc/options/scalarTypes.py:37) Choose between real and complex numbers Defined "USE_SCALAR_REAL" to "1" Scalar type is real Pushing language C All intermediate test results are stored in /tmp/petsc-pA4Uet/PETSc.options.scalarTypes Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnormal(b); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_ISNORMAL" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnan(b); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_ISNAN" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isinf(b); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_ISINF" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0;int a = _isnan(b); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o: In function `main': /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.c:6: undefined reference to `_isnan' Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0;int a = _finite(b); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.o: In function `main': /tmp/petsc-pA4Uet/PETSc.options.scalarTypes/conftest.c:6: undefined reference to `_finite' Popping language C ================================================================================ TEST configurePrecision from PETSc.options.scalarTypes(/home/swong/Downloads/petsc/config/PETSc/options/scalarTypes.py:77) TESTING: configurePrecision from PETSc.options.scalarTypes(config/PETSc/options/scalarTypes.py:77) Set the default real number precision for PETSc objects Defined "USE_REAL_DOUBLE" to "1" Defined make macro "PETSC_SCALAR_SIZE" to "64" Precision is double ================================================================================ TEST alternateConfigureLibrary from config.packages.opencl(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.opencl(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.viennacl(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.viennacl(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.fblaslapack(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.fblaslapack(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.f2cblaslapack(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.f2cblaslapack(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST configureLibrary from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:333) TESTING: configureLibrary from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:333) Looking for BLAS/LAPACK in user specified directory: /opt/intel/mkl/lib/intel64 Files and directorys in that directory: ['libmkl_avx.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_core.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_intel_lp64.so', 'libmkl_gnu_thread.so', 'libmkl_intel_thread.so', 'libmkl_mc.so', 'libmkl_mc3.so', 'libmkl_rt.so', 'libmkl_sequential.so', 'libmkl_vml_avx.so', 'libmkl_vml_avx2.so', 'libmkl_vml_avx512_mic.so', 'libmkl_vml_cmpt.so', 'libmkl_vml_def.so', 'libmkl_vml_mc.so', 'libmkl_vml_mc2.so', 'libmkl_vml_mc3.so', 'locale', 'libmkl_core.a', 'libmkl_intel_ilp64.a', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_sequential.a', 'libmkl_blas95_ilp64.a', 'libmkl_blas95_lp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_lapack95_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_gf_lp64.a', 'libmkl_gnu_thread.a', 'libmkl_blacs_ilp64.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_blacs_intelmpi_lp64.a', 'libmkl_blacs_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_cdft_core.a', 'libmkl_scalapack_ilp64.a', 'libmkl_scalapack_lp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_gf_ilp64.so', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_cdft_core.so'] ================================================================================ Checking for a functional BLAS and LAPACK in User specified installation root (HPUX) ================================================================================ TEST checkLib from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:106) TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:106) Checking for BLAS and LAPACK symbols Checking for functions [ddot_] in library ['/opt/intel/mkl/lib/intel64/libveclib.a'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lveclib -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lveclib Popping language C Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['/opt/intel/mkl/lib/intel64/libveclib.a'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot(); static void _check_ddot() { ddot(); } int main() { _check_ddot();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lveclib -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lveclib Popping language C Checking for underscore name mangling on BLAS/LAPACK Checking for functions [ddot_] in library ['/opt/intel/mkl/lib/intel64/libveclib.a'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lveclib -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lveclib Popping language C Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for a functional BLAS and LAPACK in User specified installation root (F2C) ================================================================================ TEST checkLib from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:106) TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:106) Checking for BLAS and LAPACK symbols Checking for functions [ddot_] in library ['/opt/intel/mkl/lib/intel64/libf2cblas.a'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lf2cblas -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lf2cblas Popping language C Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['/opt/intel/mkl/lib/intel64/libf2cblas.a'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot(); static void _check_ddot() { ddot(); } int main() { _check_ddot();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lf2cblas -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lf2cblas Popping language C Checking for underscore name mangling on BLAS/LAPACK Checking for functions [ddot_] in library ['/opt/intel/mkl/lib/intel64/libf2cblas.a'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lf2cblas -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lf2cblas Popping language C Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for a functional BLAS and LAPACK in User specified installation root ================================================================================ TEST checkLib from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:106) TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:106) Checking for BLAS and LAPACK symbols Checking for functions [ddot_] in library ['/opt/intel/mkl/lib/intel64/libfblas.a'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lfblas -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lfblas Popping language C Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['/opt/intel/mkl/lib/intel64/libfblas.a'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot(); static void _check_ddot() { ddot(); } int main() { _check_ddot();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lfblas -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lfblas Popping language C Checking for underscore name mangling on BLAS/LAPACK Checking for functions [ddot_] in library ['/opt/intel/mkl/lib/intel64/libfblas.a'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lfblas -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lfblas Popping language C Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for a functional BLAS and LAPACK in User specified MATLAB [ILP64] MKL Linux lib dir ================================================================================ TEST checkLib from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:106) TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:106) Checking for BLAS and LAPACK symbols Checking for functions [ddot_] in library ['/opt/intel/mkl/lib/intel64/bin/glnxa64/mkl.so', '/opt/intel/mkl/lib/intel64/sys/os/glnxa64/libiomp5.so', 'pthread'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o /opt/intel/mkl/lib/intel64/bin/glnxa64/mkl.so -Wl,-rpath,/opt/intel/mkl/lib/intel64/sys/os/glnxa64 -L/opt/intel/mkl/lib/intel64/sys/os/glnxa64 -liomp5 -lpthread -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: icc: error #10236: File not found: '/opt/intel/mkl/lib/intel64/bin/glnxa64/mkl.so' Popping language C Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['/opt/intel/mkl/lib/intel64/bin/glnxa64/mkl.so', '/opt/intel/mkl/lib/intel64/sys/os/glnxa64/libiomp5.so', 'pthread'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot(); static void _check_ddot() { ddot(); } int main() { _check_ddot();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o /opt/intel/mkl/lib/intel64/bin/glnxa64/mkl.so -Wl,-rpath,/opt/intel/mkl/lib/intel64/sys/os/glnxa64 -L/opt/intel/mkl/lib/intel64/sys/os/glnxa64 -liomp5 -lpthread -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: icc: error #10236: File not found: '/opt/intel/mkl/lib/intel64/bin/glnxa64/mkl.so' Popping language C Checking for underscore name mangling on BLAS/LAPACK Checking for functions [ddot_] in library ['/opt/intel/mkl/lib/intel64/bin/glnxa64/mkl.so', '/opt/intel/mkl/lib/intel64/sys/os/glnxa64/libiomp5.so', 'pthread'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o /opt/intel/mkl/lib/intel64/bin/glnxa64/mkl.so -Wl,-rpath,/opt/intel/mkl/lib/intel64/sys/os/glnxa64 -L/opt/intel/mkl/lib/intel64/sys/os/glnxa64 -liomp5 -lpthread -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: icc: error #10236: File not found: '/opt/intel/mkl/lib/intel64/bin/glnxa64/mkl.so' Popping language C Unknown name mangling in BLAS/LAPACK MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/lib/32 MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/lib/ia32 MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/32 MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/ia32 ================================================================================ Checking for a functional BLAS and LAPACK in User specified MKL11/12 Linux32 ================================================================================ TEST checkLib from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:106) TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:106) Checking for BLAS and LAPACK symbols Checking for functions [ddot_] in library ['/opt/intel/mkl/lib/intel64/libmkl_intel.a', 'mkl_sequential', 'mkl_core', 'pthread'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel -lmkl_sequential -lmkl_core -lpthread -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lmkl_intel Popping language C Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['/opt/intel/mkl/lib/intel64/libmkl_intel.a', 'mkl_sequential', 'mkl_core', 'pthread'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot(); static void _check_ddot() { ddot(); } int main() { _check_ddot();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel -lmkl_sequential -lmkl_core -lpthread -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lmkl_intel Popping language C Checking for underscore name mangling on BLAS/LAPACK Checking for functions [ddot_] in library ['/opt/intel/mkl/lib/intel64/libmkl_intel.a', 'mkl_sequential', 'mkl_core', 'pthread'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel -lmkl_sequential -lmkl_core -lpthread -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lmkl_intel Popping language C Unknown name mangling in BLAS/LAPACK MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/lib/64 MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/lib/ia64 MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/lib/em64t MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/lib/intel64 MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/lib MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/64 MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/ia64 MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/em64t MKL Path not found.. skipping: /opt/intel/mkl/lib/intel64/intel64 ================================================================================ Checking for a functional BLAS and LAPACK in User specified MKL11/12 Linux64 ================================================================================ TEST checkLib from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:106) TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:106) Checking for BLAS and LAPACK symbols Checking for functions [ddot_] in library ['/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_sequential', 'mkl_core', 'pthread'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LIBMKL_INTEL_LP64" to "1" Defined "HAVE_LIBMKL_SEQUENTIAL" to "1" Defined "HAVE_LIBMKL_CORE" to "1" Defined "HAVE_LIBPTHREAD" to "1" Popping language C Checking for functions [dgetrs_] in library ['/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_sequential', 'mkl_core', 'pthread'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgetrs_(); static void _check_dgetrs_() { dgetrs_(); } int main() { _check_dgetrs_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LIBMKL_INTEL_LP64" to "1" Defined "HAVE_LIBMKL_SEQUENTIAL" to "1" Defined "HAVE_LIBMKL_CORE" to "1" Defined "HAVE_LIBPTHREAD" to "1" Popping language C Checking for functions [dgeev_] in library ['/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_sequential', 'mkl_core', 'pthread'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgeev_(); static void _check_dgeev_() { dgeev_(); } int main() { _check_dgeev_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LIBMKL_INTEL_LP64" to "1" Defined "HAVE_LIBMKL_SEQUENTIAL" to "1" Defined "HAVE_LIBMKL_CORE" to "1" Defined "HAVE_LIBPTHREAD" to "1" Popping language C Found Fortran mangling on BLAS/LAPACK which is underscore Defined "BLASLAPACK_UNDERSCORE" to "1" ================================================================================ TEST check64BitBLASIndices from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:483) TESTING: check64BitBLASIndices from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:483) Check for and use 64bit integer blas ================================================================================ TEST checkESSL from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:400) TESTING: checkESSL from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:400) Check for the IBM ESSL library Checking for functions [iessl] in library ['/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_sequential', 'mkl_core', 'pthread'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char iessl(); static void _check_iessl() { iessl(); } int main() { _check_iessl();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.o: In function `_check_iessl': /tmp/petsc-pA4Uet/config.libraries/conftest.c:5: undefined reference to `iessl' Popping language C ================================================================================ TEST checkPESSL from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:416) TESTING: checkPESSL from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:416) Check for the IBM PESSL library - and error out - if used instead of ESSL Checking for functions [ipessl] in library ['/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_sequential', 'mkl_core', 'pthread'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ipessl(); static void _check_ipessl() { ipessl(); } int main() { _check_ipessl();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.o: In function `_check_ipessl': /tmp/petsc-pA4Uet/config.libraries/conftest.c:5: undefined reference to `ipessl' Popping language C ================================================================================ TEST checkMKL from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:408) TESTING: checkMKL from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:408) Check for Intel MKL library Checking for functions [mkl_set_num_threads] in library ['/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_sequential', 'mkl_core', 'pthread'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char mkl_set_num_threads(); static void _check_mkl_set_num_threads() { mkl_set_num_threads(); } int main() { _check_mkl_set_num_threads();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LIBMKL_INTEL_LP64" to "1" Defined "HAVE_LIBMKL_SEQUENTIAL" to "1" Defined "HAVE_LIBMKL_CORE" to "1" Defined "HAVE_LIBPTHREAD" to "1" Popping language C ================================================================================ TEST checkMissing from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:441) TESTING: checkMissing from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:441) Check for missing LAPACK routines Checking for functions [dtrsen_ dgerfs_ dgges_ dtgsen_ dgesvd_ dgetrf_ dgetrs_ dgeev_ dgelss_ dsyev_ dsyevx_ dsygv_ dsygvx_ dpotrf_ dpotrs_ dstebz_ dpttrf_ dpttrs_ dstein_ dorgqr_ dgeqrf_ dgesv_ dhseqr_ dsteqr_] in library ['/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_sequential', 'mkl_core', 'pthread'] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dtrsen_(); static void _check_dtrsen_() { dtrsen_(); } char dgerfs_(); static void _check_dgerfs_() { dgerfs_(); } char dgges_(); static void _check_dgges_() { dgges_(); } char dtgsen_(); static void _check_dtgsen_() { dtgsen_(); } char dgesvd_(); static void _check_dgesvd_() { dgesvd_(); } char dgetrf_(); static void _check_dgetrf_() { dgetrf_(); } char dgetrs_(); static void _check_dgetrs_() { dgetrs_(); } char dgeev_(); static void _check_dgeev_() { dgeev_(); } char dgelss_(); static void _check_dgelss_() { dgelss_(); } char dsyev_(); static void _check_dsyev_() { dsyev_(); } char dsyevx_(); static void _check_dsyevx_() { dsyevx_(); } char dsygv_(); static void _check_dsygv_() { dsygv_(); } char dsygvx_(); static void _check_dsygvx_() { dsygvx_(); } char dpotrf_(); static void _check_dpotrf_() { dpotrf_(); } char dpotrs_(); static void _check_dpotrs_() { dpotrs_(); } char dstebz_(); static void _check_dstebz_() { dstebz_(); } char dpttrf_(); static void _check_dpttrf_() { dpttrf_(); } char dpttrs_(); static void _check_dpttrs_() { dpttrs_(); } char dstein_(); static void _check_dstein_() { dstein_(); } char dorgqr_(); static void _check_dorgqr_() { dorgqr_(); } char dgeqrf_(); static void _check_dgeqrf_() { dgeqrf_(); } char dgesv_(); static void _check_dgesv_() { dgesv_(); } char dhseqr_(); static void _check_dhseqr_() { dhseqr_(); } char dsteqr_(); static void _check_dsteqr_() { dsteqr_(); } int main() { _check_dtrsen_(); _check_dgerfs_(); _check_dgges_(); _check_dtgsen_(); _check_dgesvd_(); _check_dgetrf_(); _check_dgetrs_(); _check_dgeev_(); _check_dgelss_(); _check_dsyev_(); _check_dsyevx_(); _check_dsygv_(); _check_dsygvx_(); _check_dpotrf_(); _check_dpotrs_(); _check_dstebz_(); _check_dpttrf_(); _check_dpttrs_(); _check_dstein_(); _check_dorgqr_(); _check_dgeqrf_(); _check_dgesv_(); _check_dhseqr_(); _check_dsteqr_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LIBMKL_INTEL_LP64" to "1" Defined "HAVE_LIBMKL_SEQUENTIAL" to "1" Defined "HAVE_LIBMKL_CORE" to "1" Defined "HAVE_LIBPTHREAD" to "1" Popping language C ================================================================================ TEST checklsame from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:456) TESTING: checklsame from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:456) Do the BLAS/LAPACK libraries have a valid lsame() function with correction binding. Lion and xcode 4.2 do not Checking for functions [lsame_] in library ['/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_sequential', 'mkl_core', 'pthread', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char lsame_(); static void _check_lsame_() { lsame_(); } int main() { _check_lsame_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_LIBMKL_INTEL_LP64" to "1" Defined "HAVE_LIBMKL_SEQUENTIAL" to "1" Defined "HAVE_LIBMKL_CORE" to "1" Defined "HAVE_LIBPTHREAD" to "1" Defined "HAVE_LIBIFPORT" to "1" Defined "HAVE_LIBIFCORE" to "1" Defined "HAVE_LIBPTHREAD" to "1" Popping language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" char *dgeev_(void); char* testroutine(void){return dgeev_(); }Executing: icc -c -o /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" char *dgeev_(void); char* testroutine(void){return dgeev_(); } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.setCompilers/libconftest.so -shared -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.setCompilers/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl ================================================================================ TEST checksdotreturnsdouble from config.packages.BlasLapack(/home/swong/Downloads/petsc/config/BuildSystem/config/packages/BlasLapack.py:518) TESTING: checksdotreturnsdouble from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:518) Determines if BLAS sdot routine returns a float or a double Checking if sdot() returns a float or a double Pushing language C All intermediate test results are stored in /tmp/petsc-pA4Uet/config.packages.BlasLapack Executing: icc -c -o /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *output = fopen("runtimetestoutput","w"); extern float sdot_(int*,float*,int *,float*,int*); float x1[1] = {3.0}; int one1 = 1; float sdotresult = sdot_(&one1,x1,&one1,x1,&one1); fprintf(output, " '--known-sdot-returns-double=%d',\n",(sdotresult != 9.0)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest Executing: /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest Popping language C Checking if snrm() returns a float or a double Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *output = fopen("runtimetestoutput","w"); extern float snrm2_(int*,float*,int*); float x2[1] = {3.0}; int one2 = 1; float normresult = snrm2_(&one2,x2,&one2); fprintf(output, " '--known-snrm2-returns-double=%d',\n",(normresult != 3.0)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest.o -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest Executing: /tmp/petsc-pA4Uet/config.packages.BlasLapack/conftest Popping language C ================================================================================ TEST alternateConfigureLibrary from config.packages.SuperLU_MT(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.SuperLU_MT(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.SuiteSparse(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.SuiteSparse(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.spai(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.spai(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.fftw(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.fftw(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.mkl_cpardiso(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.mkl_cpardiso(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.sundials(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.sundials(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.PaStiX(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.PaStiX(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.Chombo(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.Chombo(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.ml(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.ml(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.scalapack(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.scalapack(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.hypre(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.hypre(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.mkl_pardiso(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.mkl_pardiso(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.SuperLU(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.SuperLU(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.pARMS(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.pARMS(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.metis(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.metis(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.pragmatic(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.pragmatic(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.parmetis(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.parmetis(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.elemental(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.elemental(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.Zoltan(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.Zoltan(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.MUMPS(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.MUMPS(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.SuperLU_DIST(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.SuperLU_DIST(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST configureRegression from PETSc.Regression(/home/swong/Downloads/petsc/config/PETSc/Regression.py:35) TESTING: configureRegression from PETSc.Regression(config/PETSc/Regression.py:35) Output a file listing the jobs that should be run by the PETSc buildtest Defined make macro "TEST_RUNS" to "C_X_MPIUni Fortran_MPIUni " ================================================================================ TEST alternateConfigureLibrary from config.packages.Trilinos(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.Trilinos(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.xSDKTrilinos(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.xSDKTrilinos(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.mstk(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.mstk(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.amanzi(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.amanzi(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.cuda(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.cuda(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.cusp(/home/swong/Downloads/petsc/config/BuildSystem/config/package.py:742) TESTING: alternateConfigureLibrary from config.packages.cusp(config/BuildSystem/config/package.py:742) Called if --with-packagename=0; does nothing by default ================================================================================ TEST configureVecCUDA from config.utilities.veccuda(/home/swong/Downloads/petsc/config/BuildSystem/config/utilities/veccuda.py:15) TESTING: configureVecCUDA from config.utilities.veccuda(config/BuildSystem/config/utilities/veccuda.py:15) Configure VecCUDA as fallback CUDA vector if CUSP and VIENNACL are not present ================================================================================ TEST configureRTLDDefault from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:837) TESTING: configureRTLDDefault from PETSc.Configure(config/PETSc/Configure.py:837) All intermediate test results are stored in /tmp/petsc-pA4Uet/PETSc.Configure Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/PETSc.Configure -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Possible ERROR while running compiler: exit code 512 stderr: /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c(4): error: identifier "RTLD_DEFAULT" is undefined void *ptr = RTLD_DEFAULT; ^ compilation aborted for /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c (code 2) Source: #include "confdefs.h" #include "conffix.h" #include void *ptr = RTLD_DEFAULT; int main() { ; return 0; } ================================================================================ TEST configurePrefetch from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:640) TESTING: configurePrefetch from PETSc.Configure(config/PETSc/Configure.py:640) Sees if there are any prefetch functions supported Executing: uname -s stdout: Linux Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *v = 0;_mm_prefetch((const char*)v,_MM_HINT_NTA); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_XMMINTRIN_H" to "1" Defined "Prefetch(a,b,c)" to "_mm_prefetch((const char*)(a),(c))" Defined "PREFETCH_HINT_NTA" to "_MM_HINT_NTA" Defined "PREFETCH_HINT_T0" to "_MM_HINT_T0" Defined "PREFETCH_HINT_T1" to "_MM_HINT_T1" Defined "PREFETCH_HINT_T2" to "_MM_HINT_T2" Popping language C ================================================================================ TEST configureUnused from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:701) TESTING: configureUnused from PETSc.Configure(config/PETSc/Configure.py:701) Sees if __attribute((unused)) is supported Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" __attribute((unused)) static int myfunc(__attribute((unused)) void *name){ return 1;} int main() { int i = 0; int j = myfunc(&i); typedef void* atype; __attribute((unused)) atype a; ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "UNUSED" to "__attribute((unused))" Popping language C ================================================================================ TEST configureDeprecated from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:719) TESTING: configureDeprecated from PETSc.Configure(config/PETSc/Configure.py:719) Check if __attribute((deprecated)) is supported Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" __attribute((deprecated)) static int myfunc(void) { return 1;} int main() { ; return 0; } Defined "DEPRECATED(why)" to "__attribute((deprecated))" Popping language C ================================================================================ TEST configureIsatty from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:713) TESTING: configureIsatty from PETSc.Configure(config/PETSc/Configure.py:713) Check if the Unix C function isatty() works correctly Actually just assumes it does not work correctly on batch systems Defined "USE_ISATTY" to "1" ================================================================================ TEST configureExpect from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:786) TESTING: configureExpect from PETSc.Configure(config/PETSc/Configure.py:786) Sees if the __builtin_expect directive is supported Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__builtin_expect(0,1)) return 1;; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_BUILTIN_EXPECT" to "1" Popping language C ================================================================================ TEST configureAlign from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:739) TESTING: configureAlign from PETSc.Configure(config/PETSc/Configure.py:739) Check if __attribute(align) is supported Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { struct mystruct {int myint;} __attribute((aligned(16))); FILE *f = fopen("conftestalign", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(struct mystruct)); ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Testing executable /tmp/petsc-pA4Uet/PETSc.Configure/conftest to see if it can be run Executing: /tmp/petsc-pA4Uet/PETSc.Configure/conftest Executing: /tmp/petsc-pA4Uet/PETSc.Configure/conftest Popping language C Defined "ATTRIBUTEALIGNED(size)" to "__attribute((aligned (size)))" Defined "HAVE_ATTRIBUTEALIGNED" to "1" ================================================================================ TEST configureFunctionName from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:793) TESTING: configureFunctionName from PETSc.Configure(config/PETSc/Configure.py:793) Sees if the compiler supports __func__ or a variant. Falls back on __FUNCT__ which PETSc source defines, but most users do not, thus stack traces through user code are better when the compiler's variant is used. Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__func__[0] != 'm') return 1;; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language C Defined "FUNCTION_NAME_C" to "__func__" Pushing language Cxx Executing: icpc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/PETSc.Configure -I/tmp/petsc-pA4Uet/config.utilities.missing -wd1572 -g -fPIC /tmp/petsc-pA4Uet/PETSc.Configure/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__func__[0] != 'm') return 1;; return 0; } Pushing language CXX Popping language CXX Executing: icpc -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language Cxx Defined "FUNCTION_NAME_CXX" to "__func__" ================================================================================ TEST configureIntptrt from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:815) TESTING: configureIntptrt from PETSc.Configure(config/PETSc/Configure.py:815) Determine what to use for uintptr_t Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int x; uintptr_t i = (uintptr_t)&x;; return 0; } Defined "UINTPTR_T" to "uintptr_t" Popping language C ================================================================================ TEST configureSolaris from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:842) TESTING: configureSolaris from PETSc.Configure(config/PETSc/Configure.py:842) Solaris specific stuff ================================================================================ TEST configureLinux from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:855) TESTING: configureLinux from PETSc.Configure(config/PETSc/Configure.py:855) Linux specific stuff Defined "HAVE_DOUBLE_ALIGN_MALLOC" to "1" ================================================================================ TEST configureWin32 from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:861) TESTING: configureWin32 from PETSc.Configure(config/PETSc/Configure.py:861) Win32 non-cygwin specific stuff Checking for functions [GetComputerName] in library ['Kernel32.lib'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1024 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.c(4): catastrophic error: cannot open source file "Windows.h" #include ^ compilation aborted for /tmp/petsc-pA4Uet/config.libraries/conftest.c (code 4) Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetComputerName() { GetComputerName(NULL,NULL);; } int main() { _check_GetComputerName();; return 0; } Compile failed inside link Popping language C Checking for functions [GetComputerName] in library ['kernel32'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1024 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.c(4): catastrophic error: cannot open source file "Windows.h" #include ^ compilation aborted for /tmp/petsc-pA4Uet/config.libraries/conftest.c (code 4) Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetComputerName() { GetComputerName(NULL,NULL);; } int main() { _check_GetComputerName();; return 0; } Compile failed inside link Popping language C Checking for functions [GetUserName] in library ['Advapi32.lib'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1024 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.c(4): catastrophic error: cannot open source file "Windows.h" #include ^ compilation aborted for /tmp/petsc-pA4Uet/config.libraries/conftest.c (code 4) Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetUserName() { GetUserName(NULL,NULL);; } int main() { _check_GetUserName();; return 0; } Compile failed inside link Popping language C Checking for functions [GetUserName] in library ['advapi32'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1024 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.c(4): catastrophic error: cannot open source file "Windows.h" #include ^ compilation aborted for /tmp/petsc-pA4Uet/config.libraries/conftest.c (code 4) Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetUserName() { GetUserName(NULL,NULL);; } int main() { _check_GetUserName();; return 0; } Compile failed inside link Popping language C Checking for functions [GetDC] in library ['User32.lib'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1024 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.c(4): catastrophic error: cannot open source file "Windows.h" #include ^ compilation aborted for /tmp/petsc-pA4Uet/config.libraries/conftest.c (code 4) Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetDC() { GetDC(0);; } int main() { _check_GetDC();; return 0; } Compile failed inside link Popping language C Checking for functions [GetDC] in library ['user32'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1024 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.c(4): catastrophic error: cannot open source file "Windows.h" #include ^ compilation aborted for /tmp/petsc-pA4Uet/config.libraries/conftest.c (code 4) Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetDC() { GetDC(0);; } int main() { _check_GetDC();; return 0; } Compile failed inside link Popping language C Checking for functions [CreateCompatibleDC] in library ['Gdi32.lib'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1024 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.c(4): catastrophic error: cannot open source file "Windows.h" #include ^ compilation aborted for /tmp/petsc-pA4Uet/config.libraries/conftest.c (code 4) Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_CreateCompatibleDC() { CreateCompatibleDC(0);; } int main() { _check_CreateCompatibleDC();; return 0; } Compile failed inside link Popping language C Checking for functions [CreateCompatibleDC] in library ['gdi32'] [] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.types -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1024 stderr: /tmp/petsc-pA4Uet/config.libraries/conftest.c(4): catastrophic error: cannot open source file "Windows.h" #include ^ compilation aborted for /tmp/petsc-pA4Uet/config.libraries/conftest.c (code 4) Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_CreateCompatibleDC() { CreateCompatibleDC(0);; } int main() { _check_CreateCompatibleDC();; return 0; } Compile failed inside link Popping language C Checking for type: int32_t Executing: icc -c -o /tmp/petsc-pA4Uet/config.types/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { int32_t a;; return 0; } int32_t found Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { uid_t u; ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if defined(PETSC_HAVE_UNISTD_H) #include #endif int main() { int a=R_OK; ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int a=0; if (S_ISDIR(a)){} ; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Possible ERROR while running compiler: exit code 1024 stderr: /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c(3): catastrophic error: cannot open source file "Windows.h" #include ^ compilation aborted for /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c (code 4) Source: #include "confdefs.h" #include "conffix.h" #include int main() { LARGE_INTEGER a; DWORD b=a.u.HighPart; ; return 0; } Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Possible ERROR while running compiler: exit code 1024 stderr: /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c(3): catastrophic error: cannot open source file "Windows.h" #include ^ compilation aborted for /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c (code 4) Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { int flags = O_BINARY;; return 0; } Defined "PATH_SEPARATOR" to "':'" Defined "REPLACE_DIR_SEPARATOR" to "'\\'" Defined "DIR_SEPARATOR" to "'/'" Defined "DIR" to ""/home/swong/Downloads/petsc"" ================================================================================ TEST configureCygwinBrokenPipe from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:931) TESTING: configureCygwinBrokenPipe from PETSc.Configure(config/PETSc/Configure.py:931) Cygwin version <= 1.7.18 had issues with pipes and long commands invoked from gnu-make http://cygwin.com/ml/cygwin/2013-05/msg00340.html Executing: uname -s stdout: Linux ================================================================================ TEST configureDefaultArch from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:947) TESTING: configureDefaultArch from PETSc.Configure(config/PETSc/Configure.py:947) ================================================================================ TEST configureScript from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:964) TESTING: configureScript from PETSc.Configure(config/PETSc/Configure.py:964) Output a script in the conf directory which will reproduce the configuration ================================================================================ TEST configureInstall from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:1001) TESTING: configureInstall from PETSc.Configure(config/PETSc/Configure.py:1001) Setup the directories for installation Defined make rule "shared_install" with dependencies "" and code ['-@echo "Now to check if the libraries are working do:"', '-@echo "make PETSC_DIR=${PETSC_DIR} PETSC_ARCH=${PETSC_ARCH} test"', '-@echo "========================================="'] ================================================================================ TEST configureGCOV from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:1013) TESTING: configureGCOV from PETSc.Configure(config/PETSc/Configure.py:1013) ================================================================================ TEST configureFortranFlush from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:1018) TESTING: configureFortranFlush from PETSc.Configure(config/PETSc/Configure.py:1018) Checking for functions [flush_] in library [''] ['-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64', '-Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5', '-lifport', '-lifcore', '-lpthread'] Pushing language C Executing: icc -c -o /tmp/petsc-pA4Uet/config.libraries/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char flush_(); static void _check_flush_() { flush_(); } int main() { _check_flush_();; return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/config.libraries/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/config.libraries/conftest.o -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Popping language C Defined "HAVE_FLUSH" to "1" ================================================================================ TEST configureAtoll from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:696) TESTING: configureAtoll from PETSc.Configure(config/PETSc/Configure.py:696) Checks if atoll exists Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { long v = atoll("25"); return 0; } Pushing language C Popping language C Executing: icc -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl Defined "HAVE_ATOLL" to "1" ================================================================================ TEST configureViewFromOptions from PETSc.Configure(/home/swong/Downloads/petsc/config/PETSc/Configure.py:1025) TESTING: configureViewFromOptions from PETSc.Configure(config/PETSc/Configure.py:1025) Defined make rule "remote" with dependencies "" and code [] Defined make rule "remoteclean" with dependencies "" and code [] Executing: rm -rf /home/swong/Downloads/petsc/arch-linux2-c-debug/include/mpi* /home/swong/Downloads/petsc/arch-linux2-c-debug/include/opa* Pushing language C Defined make macro "CC_FLAGS" to " -fPIC -wd1572 -g " Popping language C Pushing language Cxx Defined make macro "CXX_FLAGS" to " -wd1572 -g -fPIC " Popping language Cxx Defined make macro "CPP_FLAGS" to "" Pushing language C Defined make macro "PCC" to "icc" Defined make macro "PCC_FLAGS" to " -fPIC -wd1572 -g " Popping language C Defined make macro "CC_SUFFIX" to "o" Pushing language C Defined make macro "PCC_LINKER" to "icc" Defined make macro "PCC_LINKER_FLAGS" to " -fPIC -wd1572 -g" Popping language C Defined make macro "CC_LINKER_SUFFIX" to "" Pushing language FC Defined "HAVE_FORTRAN" to "1" Defined make macro "FPP_FLAGS" to "" Defined make macro "FC_FLAGS" to " -fPIC -g " Popping language FC Defined make macro "FC_SUFFIX" to "o" Pushing language FC Executing: ifort -V Defined make macro "FC_LINKER" to "ifort" Defined make macro "FC_LINKER_FLAGS" to " -fPIC -g " Popping language FC Defined make macro "FC_MODULE_FLAG" to "-I" Defined make macro "FC_MODULE_OUTPUT_FLAG" to "-module " Pushing language C Defined make macro "SL_LINKER" to "icc" Defined make macro "SL_LINKER_FLAGS" to "${PCC_LINKER_FLAGS}" Popping language C Defined make macro "SL_LINKER_SUFFIX" to "so" Defined "SLSUFFIX" to ""so"" Defined make macro "SL_LINKER_LIBS" to "${PETSC_EXTERNAL_LIB_BASIC}" Defined make macro "PETSC_LANGUAGE" to "CONLY" Defined make macro "PETSC_SCALAR" to "real" Defined make macro "PETSC_PRECISION" to "double" Executing: CC -VV Defined "USE_SOCKET_VIEWER" to "1" Executing: icc -c -o /tmp/petsc-pA4Uet/PETSc.Configure/conftest.o -I/tmp/petsc-pA4Uet/config.compilers -I/tmp/petsc-pA4Uet/config.utilities.closure -I/tmp/petsc-pA4Uet/config.headers -I/tmp/petsc-pA4Uet/config.utilities.cacheDetails -I/tmp/petsc-pA4Uet/config.atomics -I/tmp/petsc-pA4Uet/config.functions -I/tmp/petsc-pA4Uet/config.utilities.featureTestMacros -I/tmp/petsc-pA4Uet/config.utilities.missing -I/tmp/petsc-pA4Uet/config.packages.pthread -I/tmp/petsc-pA4Uet/config.setCompilers -I/tmp/petsc-pA4Uet/PETSc.options.scalarTypes -I/tmp/petsc-pA4Uet/config.packages.BlasLapack -I/tmp/petsc-pA4Uet/config.libraries -I/tmp/petsc-pA4Uet/PETSc.Configure -I/tmp/petsc-pA4Uet/config.types -fPIC -wd1572 -g /tmp/petsc-pA4Uet/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { setsockopt(0,SOL_SOCKET,SO_REUSEADDR,0,0); return 0; } Defined "HAVE_SO_REUSEADDR" to "1" Defined "HAVE_BLASLAPACK" to "1" Defined make macro "BLASLAPACK_LIB" to "-Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread" Defined make macro "BLASLAPACK_INCLUDE" to "" Defined "HAVE_X" to "1" Defined make macro "X_LIB" to "-lX11" Defined make macro "X_INCLUDE" to "" Defined "HAVE_PTHREAD" to "1" Defined make macro "PTHREAD_LIB" to "-lpthread" Defined make macro "PTHREAD_INCLUDE" to "" Defined "HAVE_SSL" to "1" Defined make macro "SSL_LIB" to "-lssl -lcrypto" Defined make macro "SSL_INCLUDE" to "" Defined "HAVE_MPI" to "1" Defined make macro "MPI_LIB" to "" Defined make macro "MPI_INCLUDE" to "-I/home/swong/Downloads/petsc/include/petsc/mpiuni" Defined make macro "PETSC_EXTERNAL_LIB_BASIC" to "-Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lX11 -lpthread -lssl -lcrypto -lifport -lifcore -lpthread -ldl -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -ldl" Defined make macro "PETSC_CC_INCLUDES" to "-I/home/swong/Downloads/petsc/include -I/home/swong/Downloads/petsc/arch-linux2-c-debug/include -I/home/swong/Downloads/petsc/include/petsc/mpiuni" Pushing language FC Popping language FC Pushing language FC Popping language FC Pushing language FC Popping language FC Defined make macro "PETSC_FC_INCLUDES" to "-I/home/swong/Downloads/petsc/include -I/home/swong/Downloads/petsc/arch-linux2-c-debug/include -I/home/swong/Downloads/petsc/include/petsc/mpiuni" Defined make macro "DESTDIR" to "/home/swong/Downloads/petsc/arch-linux2-c-debug" Defined "LIB_DIR" to ""/home/swong/Downloads/petsc/arch-linux2-c-debug/lib"" Defined make macro "LIBNAME" to "${INSTALL_LIB_DIR}/libpetsc.${AR_LIB_SUFFIX}" Defined make macro "SHLIBS" to "libpetsc" Defined make macro "PETSC_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_KSP_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_TS_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_TAO_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_WITH_EXTERNAL_LIB" to "-L/home/swong/Downloads/petsc/arch-linux2-c-debug/lib -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lpetsc -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lX11 -lpthread -lssl -lcrypto -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl " Defined "USE_SINGLE_LIBRARY" to "1" Defined make macro "PETSC_SYS_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_VEC_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_MAT_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_DM_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_KSP_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_SNES_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_TS_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_TAO_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_CHARACTERISTIC_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_CONTRIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "CONFIGURE_OPTIONS" to "--with-cc=icc --with-cxx=icpc --with-fc=ifort --with-blas-lapack-dir=/opt/intel/mkl/lib/intel64 --with-mpi=0" Pushing language C Popping language C Pushing language FC Popping language FC Pushing language C Popping language C Pushing language FC Popping language FC Executing: ['/home/swong/anaconda2/bin/cmake', '--version'] stdout: cmake version 3.7.1 CMake suite maintained and supported by Kitware (kitware.com/cmake). Pushing language C Popping language C Pushing language FC Popping language FC Pushing language Cxx Popping language Cxx Contents of initial cache file /home/swong/Downloads/petsc/arch-linux2-c-debug/initial_cache_file.cmake : SET (CMAKE_C_COMPILER icc CACHE FILEPATH "Dummy comment" FORCE) SET (CMAKE_C_FLAGS " -fPIC -wd1572 -g " CACHE STRING "Dummy comment" FORCE) SET (PETSC_CUDA_HOST_FLAGS ,-fPIC,-wd1572,-g CACHE STRING "Dummy comment" FORCE) SET (CMAKE_Fortran_COMPILER ifort CACHE FILEPATH "Dummy comment" FORCE) SET (CMAKE_Fortran_FLAGS " -fPIC -g " CACHE STRING "Dummy comment" FORCE) SET (CMAKE_CXX_COMPILER icpc CACHE FILEPATH "Dummy comment" FORCE) SET (CMAKE_CXX_FLAGS " -wd1572 -g -fPIC " CACHE STRING "Dummy comment" FORCE) SET (CMAKE_AR /usr/bin/ar CACHE FILEPATH "Dummy comment" FORCE) SET (CMAKE_RANLIB /usr/bin/ranlib CACHE FILEPATH "Dummy comment" FORCE) Removing: /home/swong/Downloads/petsc/arch-linux2-c-debug/CMakeCache.txt Removing: /home/swong/Downloads/petsc/arch-linux2-c-debug/CMakeFiles/3.7.1 Invoking: ['/home/swong/anaconda2/bin/cmake', '--trace', '--debug-output', '-C/home/swong/Downloads/petsc/arch-linux2-c-debug/initial_cache_file.cmake', '-DPETSC_CMAKE_ARCH:STRING=arch-linux2-c-debug', '/home/swong/Downloads/petsc'] Executing: ['/home/swong/anaconda2/bin/cmake', '--trace', '--debug-output', '-C/home/swong/Downloads/petsc/arch-linux2-c-debug/initial_cache_file.cmake', '-DPETSC_CMAKE_ARCH:STRING=arch-linux2-c-debug', '/home/swong/Downloads/petsc'] stdout: Running with trace output on. Running with debug output on. loading initial cache file /home/swong/Downloads/petsc/arch-linux2-c-debug/initial_cache_file.cmake -- The C compiler identification is Intel 15.0.0.20140723 Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompilerId.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Check for working C compiler: /opt/intel/bin/icc Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCompilerCommon.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Check for working C compiler: /opt/intel/bin/icc -- works Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCompilerCommon.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Detecting C compiler ABI info Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompilerABI.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Detecting C compiler ABI info - done Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompilerABI.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Detecting C compile features Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompileFeatures.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Detecting C compile features - done Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompileFeatures.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- The Fortran compiler identification is Intel 15.0.0.20140723 Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompilerId.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineFortranCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Check for working Fortran compiler: /opt/intel/bin/ifort Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCompilerCommon.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestFortranCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Check for working Fortran compiler: /opt/intel/bin/ifort -- works Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCompilerCommon.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestFortranCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Detecting Fortran compiler ABI info Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompilerABI.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestFortranCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Detecting Fortran compiler ABI info - done Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompilerABI.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestFortranCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Checking whether /opt/intel/bin/ifort supports Fortran 90 Called from: [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestFortranCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Checking whether /opt/intel/bin/ifort supports Fortran 90 -- yes Called from: [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestFortranCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- The CXX compiler identification is Intel 15.0.0.20140723 Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompilerId.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCXXCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Check for working CXX compiler: /opt/intel/bin/icpc Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCompilerCommon.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCXXCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Check for working CXX compiler: /opt/intel/bin/icpc -- works Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCompilerCommon.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCXXCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Detecting CXX compiler ABI info Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompilerABI.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCXXCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Detecting CXX compiler ABI info - done Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompilerABI.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCXXCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Detecting CXX compile features Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompileFeatures.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCXXCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Detecting CXX compile features - done Called from: [3] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeDetermineCompileFeatures.cmake [2] /home/swong/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.7/Modules/CMakeTestCXXCompiler.cmake [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Configuring done -- Generating /home/swong/Downloads/petsc/arch-linux2-c-debug Called from: [1] /home/swong/Downloads/petsc/CMakeLists.txt -- Generating done -- Build files have been written to: /home/swong/Downloads/petsc/arch-linux2-c-debug CMake configured successfully, using as default build Defined make macro "PETSC_BUILD_USING_CMAKE" to "1" Pushing language C Popping language C Pushing language FC Popping language FC ================================================================================ **** arch-linux2-c-debug/lib/petsc/conf/petscvariables **** C_DEPFLAGS = -MMD -MP FC_DEFINE_FLAG = -D FAST_AR_FLAGS = Scq CXX_DEPFLAGS = -MMD -MP AR_FLAGS = cr FC_MODULE_OUTPUT_FLAG = -module PETSC_LANGUAGE = CONLY FC_LINKER_FLAGS = -fPIC -g LIBNAME = ${INSTALL_LIB_DIR}/libpetsc.${AR_LIB_SUFFIX} SL_LINKER = icc PETSC_BUILD_USING_CMAKE = 1 CC_FLAGS = -fPIC -wd1572 -g PETSC_PRECISION = double PETSC_LIB_BASIC = -lpetsc FC_FLAGS = -fPIC -g BLASLAPACK_LIB = -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread PETSC_MAT_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PCC = icc SL_LINKER_LIBS = ${PETSC_EXTERNAL_LIB_BASIC} MPI_LIB = SSL_LIB = -lssl -lcrypto PETSC_EXTERNAL_LIB_BASIC = -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lX11 -lpthread -lssl -lcrypto -lifport -lifcore -lpthread -ldl -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -ldl SL_LINKER_FLAGS = ${PCC_LINKER_FLAGS} CC_SUFFIX = o PETSC_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} SHLIBS = libpetsc CONFIGURE_OPTIONS = --with-cc=icc --with-cxx=icpc --with-fc=ifort --with-blas-lapack-dir=/opt/intel/mkl/lib/intel64 --with-mpi=0 PETSC_CHARACTERISTIC_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PTHREAD_LIB = -lpthread PETSC_SCALAR = real PETSC_FC_INCLUDES = -I/home/swong/Downloads/petsc/include -I/home/swong/Downloads/petsc/arch-linux2-c-debug/include -I/home/swong/Downloads/petsc/include/petsc/mpiuni CPP_FLAGS = PETSC_KSP_LIB_BASIC = -lpetsc FPP_FLAGS = FC_LINKER = ifort PETSC_KSP_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} CXX_FLAGS = -wd1572 -g -fPIC PCC_LINKER_FLAGS = -fPIC -wd1572 -g SSL_INCLUDE = PETSC_CONTRIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_CC_INCLUDES = -I/home/swong/Downloads/petsc/include -I/home/swong/Downloads/petsc/arch-linux2-c-debug/include -I/home/swong/Downloads/petsc/include/petsc/mpiuni PCC_LINKER = icc PETSC_SYS_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PCC_FLAGS = -fPIC -wd1572 -g PTHREAD_INCLUDE = PETSC_TS_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_TAO_LIB_BASIC = -lpetsc BLASLAPACK_INCLUDE = PETSC_TS_LIB_BASIC = -lpetsc PETSC_VEC_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} CC_LINKER_SUFFIX = SL_LINKER_SUFFIX = so PETSC_DM_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} DESTDIR = /home/swong/Downloads/petsc/arch-linux2-c-debug FC_MODULE_FLAG = -I X_LIB = -lX11 X_INCLUDE = PETSC_WITH_EXTERNAL_LIB = -L/home/swong/Downloads/petsc/arch-linux2-c-debug/lib -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lpetsc -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lX11 -lpthread -lssl -lcrypto -lifport -lifcore -lpthread -ldl -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -limf -lsvml -lirng -lm -lipgo -ldecimal -lcilkrts -lstdc++ -lgcc_s -lirc -lirc_s -Wl,-rpath,/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.0.090/compiler/lib/intel64 -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -ldl PETSC_TAO_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} MPI_INCLUDE = -I/home/swong/Downloads/petsc/include/petsc/mpiuni FC_SUFFIX = o PETSC_SNES_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} SHELL = /usr/bin/sh GREP = /usr/bin/grep MV = /usr/bin/mv PYTHON = /home/swong/anaconda2/bin/python MKDIR = /usr/bin/mkdir -p SEDINPLACE = /usr/bin/sed -i SED = /usr/bin/sed DIFF = /usr/bin/diff -w GZIP = /usr/bin/gzip RM = /usr/bin/rm -f CP = /usr/bin/cp CC_LINKER_SLFLAG = -Wl,-rpath, CC = icc RANLIB = /usr/bin/ranlib DYNAMICLINKER = icc CXX = icpc FC = ifort CXXCPP = icpc -E FC_LINKER_SLFLAG = -Wl,-rpath, CPP = icc -E AR_LIB_SUFFIX = a LD_SHARED = icc AR = /usr/bin/ar DIR = /home/swong/Downloads/petsc PETSC_SCALAR_SIZE = 64 MPIEXEC = ${PETSC_DIR}/bin/petsc-mpiexec.uni MPI_IS_MPIUNI = 1 GIT = git HG = hg SL_LINKER_FUNCTION = -shared -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2)) SONAME_FUNCTION = $(1).so.$(2) BUILDSHAREDLIB = yes GDB = /usr/bin/gdb DSYMUTIL = true MAKE_IS_GNUMAKE = 1 MAKE_NP = 24 NPMAX = 32 OMAKE_PRINTDIR = /usr/bin/gmake --print-directory MAKE = /usr/bin/gmake MAKE_PAR_OUT_FLG = OMAKE = /usr/bin/gmake --no-print-directory PETSC_INDEX_SIZE = 32 CMAKE = /home/swong/anaconda2/bin/cmake CTEST = /home/swong/anaconda2/bin/ctest TEST_RUNS = C_X_MPIUni Fortran_MPIUni **** arch-linux2-c-debug/lib/petsc/conf/petscrules **** shared_install: -@echo "Now to check if the libraries are working do:" -@echo "make PETSC_DIR=${PETSC_DIR} PETSC_ARCH=${PETSC_ARCH} test" -@echo "=========================================" remoteclean: remote: shared_arch: shared_linux libc: ${LIBNAME}(${OBJSC}) libcxx: ${LIBNAME}(${OBJSCXX}) libcu: ${LIBNAME}(${OBJSCU}) libf: ${OBJSF} -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} .F.a: ${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} ${FCPPFLAGS} $< -${AR} ${AR_FLAGS} ${LIBNAME} $*.o -${RM} $*.o .f.o .f90.o .f95.o: ${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} -o $@ $< .f.a: ${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} $< -${AR} ${AR_FLAGS} ${LIBNAME} $*.o -${RM} $*.o .F.o .F90.o .F95.o: ${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} ${FCPPFLAGS} -o $@ $< petsc4py-build: petsc4py-install: mpi4py-build: mpi4py-install: **** arch-linux2-c-debug/include/petscconf.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #ifndef IS_COLORING_MAX #define IS_COLORING_MAX 65535 #endif #ifndef MPI_Type_create_struct #define MPI_Type_create_struct(count,lens,displs,types,newtype) MPI_Type_struct((count),(lens),(displs),(types),(newtype)) #endif #ifndef MPIUNI_FORTRAN_BINDING #define MPIUNI_FORTRAN_BINDING 1 #endif #ifndef STDC_HEADERS #define STDC_HEADERS 1 #endif #ifndef MPI_Comm_create_errhandler #define MPI_Comm_create_errhandler(p_err_fun,p_errhandler) MPI_Errhandler_create((p_err_fun),(p_errhandler)) #endif #ifndef MPI_Comm_set_errhandler #define MPI_Comm_set_errhandler(comm,p_errhandler) MPI_Errhandler_set((comm),(p_errhandler)) #endif #ifndef MPIU_COLORING_VALUE #define MPIU_COLORING_VALUE MPI_UNSIGNED_SHORT #endif #ifndef PETSC_UINTPTR_T #define PETSC_UINTPTR_T uintptr_t #endif #ifndef PETSC_HAVE_PTHREAD #define PETSC_HAVE_PTHREAD 1 #endif #ifndef PETSC_HAVE_SSL #define PETSC_HAVE_SSL 1 #endif #ifndef PETSC_DEPRECATED #define PETSC_DEPRECATED(why) __attribute((deprecated)) #endif #ifndef PETSC_REPLACE_DIR_SEPARATOR #define PETSC_REPLACE_DIR_SEPARATOR '\\' #endif #ifndef PETSC_HAVE_SO_REUSEADDR #define PETSC_HAVE_SO_REUSEADDR 1 #endif #ifndef PETSC_HAVE_MPI #define PETSC_HAVE_MPI 1 #endif #ifndef PETSC_PREFETCH_HINT_T2 #define PETSC_PREFETCH_HINT_T2 _MM_HINT_T2 #endif #ifndef PETSC_PREFETCH_HINT_T0 #define PETSC_PREFETCH_HINT_T0 _MM_HINT_T0 #endif #ifndef PETSC_PREFETCH_HINT_T1 #define PETSC_PREFETCH_HINT_T1 _MM_HINT_T1 #endif #ifndef PETSC_HAVE_FORTRAN #define PETSC_HAVE_FORTRAN 1 #endif #ifndef PETSC_DIR #define PETSC_DIR "/home/swong/Downloads/petsc" #endif #ifndef PETSC_HAVE_X #define PETSC_HAVE_X 1 #endif #ifndef PETSC_LIB_DIR #define PETSC_LIB_DIR "/home/swong/Downloads/petsc/arch-linux2-c-debug/lib" #endif #ifndef PETSC_USE_SOCKET_VIEWER #define PETSC_USE_SOCKET_VIEWER 1 #endif #ifndef PETSC_USE_ISATTY #define PETSC_USE_ISATTY 1 #endif #ifndef PETSC_SLSUFFIX #define PETSC_SLSUFFIX "so" #endif #ifndef PETSC_FUNCTION_NAME_CXX #define PETSC_FUNCTION_NAME_CXX __func__ #endif #ifndef PETSC_HAVE_FLUSH #define PETSC_HAVE_FLUSH 1 #endif #ifndef PETSC_HAVE_ATOLL #define PETSC_HAVE_ATOLL 1 #endif #ifndef PETSC_HAVE_ATTRIBUTEALIGNED #define PETSC_HAVE_ATTRIBUTEALIGNED 1 #endif #ifndef PETSC_HAVE_DOUBLE_ALIGN_MALLOC #define PETSC_HAVE_DOUBLE_ALIGN_MALLOC 1 #endif #ifndef PETSC_UNUSED #define PETSC_UNUSED __attribute((unused)) #endif #ifndef PETSC_ATTRIBUTEALIGNED #define PETSC_ATTRIBUTEALIGNED(size) __attribute((aligned (size))) #endif #ifndef PETSC_FUNCTION_NAME_C #define PETSC_FUNCTION_NAME_C __func__ #endif #ifndef PETSC_USE_SINGLE_LIBRARY #define PETSC_USE_SINGLE_LIBRARY 1 #endif #ifndef PETSC_HAVE_BUILTIN_EXPECT #define PETSC_HAVE_BUILTIN_EXPECT 1 #endif #ifndef PETSC_DIR_SEPARATOR #define PETSC_DIR_SEPARATOR '/' #endif #ifndef PETSC_PATH_SEPARATOR #define PETSC_PATH_SEPARATOR ':' #endif #ifndef PETSC_HAVE_XMMINTRIN_H #define PETSC_HAVE_XMMINTRIN_H 1 #endif #ifndef PETSC_PREFETCH_HINT_NTA #define PETSC_PREFETCH_HINT_NTA _MM_HINT_NTA #endif #ifndef PETSC_Prefetch #define PETSC_Prefetch(a,b,c) _mm_prefetch((const char*)(a),(c)) #endif #ifndef PETSC_HAVE_BLASLAPACK #define PETSC_HAVE_BLASLAPACK 1 #endif #ifndef PETSC_HAVE_GZIP #define PETSC_HAVE_GZIP 1 #endif #ifndef PETSC_HAVE_STRING_H #define PETSC_HAVE_STRING_H 1 #endif #ifndef PETSC_HAVE_SYS_TYPES_H #define PETSC_HAVE_SYS_TYPES_H 1 #endif #ifndef PETSC_HAVE_ENDIAN_H #define PETSC_HAVE_ENDIAN_H 1 #endif #ifndef PETSC_HAVE_SYS_PROCFS_H #define PETSC_HAVE_SYS_PROCFS_H 1 #endif #ifndef PETSC_HAVE_DLFCN_H #define PETSC_HAVE_DLFCN_H 1 #endif #ifndef PETSC_HAVE_SCHED_H #define PETSC_HAVE_SCHED_H 1 #endif #ifndef PETSC_HAVE_STDINT_H #define PETSC_HAVE_STDINT_H 1 #endif #ifndef PETSC_HAVE_LINUX_KERNEL_H #define PETSC_HAVE_LINUX_KERNEL_H 1 #endif #ifndef PETSC_HAVE_TIME_H #define PETSC_HAVE_TIME_H 1 #endif #ifndef PETSC_HAVE_MATH_H #define PETSC_HAVE_MATH_H 1 #endif #ifndef PETSC_HAVE_MATHIMF_H #define PETSC_HAVE_MATHIMF_H 1 #endif #ifndef PETSC_HAVE_INTTYPES_H #define PETSC_HAVE_INTTYPES_H 1 #endif #ifndef PETSC_TIME_WITH_SYS_TIME #define PETSC_TIME_WITH_SYS_TIME 1 #endif #ifndef PETSC_HAVE_SYS_PARAM_H #define PETSC_HAVE_SYS_PARAM_H 1 #endif #ifndef PETSC_HAVE_PTHREAD_H #define PETSC_HAVE_PTHREAD_H 1 #endif #ifndef PETSC_HAVE_UNISTD_H #define PETSC_HAVE_UNISTD_H 1 #endif #ifndef PETSC_HAVE_STDLIB_H #define PETSC_HAVE_STDLIB_H 1 #endif #ifndef PETSC_HAVE_SYS_WAIT_H #define PETSC_HAVE_SYS_WAIT_H 1 #endif #ifndef PETSC_HAVE_SETJMP_H #define PETSC_HAVE_SETJMP_H 1 #endif #ifndef PETSC_HAVE_LIMITS_H #define PETSC_HAVE_LIMITS_H 1 #endif #ifndef PETSC_HAVE_SYS_UTSNAME_H #define PETSC_HAVE_SYS_UTSNAME_H 1 #endif #ifndef PETSC_HAVE_NETINET_IN_H #define PETSC_HAVE_NETINET_IN_H 1 #endif #ifndef PETSC_HAVE_SYS_SOCKET_H #define PETSC_HAVE_SYS_SOCKET_H 1 #endif #ifndef PETSC_HAVE_FLOAT_H #define PETSC_HAVE_FLOAT_H 1 #endif #ifndef PETSC_HAVE_SEARCH_H #define PETSC_HAVE_SEARCH_H 1 #endif #ifndef PETSC_HAVE_SYS_RESOURCE_H #define PETSC_HAVE_SYS_RESOURCE_H 1 #endif #ifndef PETSC_HAVE_SYS_TIMES_H #define PETSC_HAVE_SYS_TIMES_H 1 #endif #ifndef PETSC_HAVE_NETDB_H #define PETSC_HAVE_NETDB_H 1 #endif #ifndef PETSC_HAVE_MALLOC_H #define PETSC_HAVE_MALLOC_H 1 #endif #ifndef PETSC_HAVE_PWD_H #define PETSC_HAVE_PWD_H 1 #endif #ifndef PETSC_HAVE_FCNTL_H #define PETSC_HAVE_FCNTL_H 1 #endif #ifndef PETSC_HAVE_STRINGS_H #define PETSC_HAVE_STRINGS_H 1 #endif #ifndef PETSC_HAVE_SYS_SYSINFO_H #define PETSC_HAVE_SYS_SYSINFO_H 1 #endif #ifndef PETSC_HAVE_SYS_TIME_H #define PETSC_HAVE_SYS_TIME_H 1 #endif #ifndef PETSC_USING_F90 #define PETSC_USING_F90 1 #endif #ifndef PETSC_USING_F2003 #define PETSC_USING_F2003 1 #endif #ifndef PETSC_HAVE_RTLD_NOW #define PETSC_HAVE_RTLD_NOW 1 #endif #ifndef PETSC_HAVE_RTLD_LOCAL #define PETSC_HAVE_RTLD_LOCAL 1 #endif #ifndef PETSC_HAVE_RTLD_LAZY #define PETSC_HAVE_RTLD_LAZY 1 #endif #ifndef PETSC_C_STATIC_INLINE #define PETSC_C_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_FORTRAN_UNDERSCORE #define PETSC_HAVE_FORTRAN_UNDERSCORE 1 #endif #ifndef PETSC_HAVE_CXX_NAMESPACE #define PETSC_HAVE_CXX_NAMESPACE 1 #endif #ifndef PETSC_HAVE_RTLD_GLOBAL #define PETSC_HAVE_RTLD_GLOBAL 1 #endif #ifndef PETSC_C_RESTRICT #define PETSC_C_RESTRICT __restrict #endif #ifndef PETSC_CXX_RESTRICT #define PETSC_CXX_RESTRICT __restrict #endif #ifndef PETSC_CXX_STATIC_INLINE #define PETSC_CXX_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_LIBZ #define PETSC_HAVE_LIBZ 1 #endif #ifndef PETSC_HAVE_LIBDL #define PETSC_HAVE_LIBDL 1 #endif #ifndef PETSC_HAVE_LIBMKL_SEQUENTIAL #define PETSC_HAVE_LIBMKL_SEQUENTIAL 1 #endif #ifndef PETSC_HAVE_LIBX11 #define PETSC_HAVE_LIBX11 1 #endif #ifndef PETSC_HAVE_LIBPTHREAD #define PETSC_HAVE_LIBPTHREAD 1 #endif #ifndef PETSC_HAVE_LIBCRYPTO #define PETSC_HAVE_LIBCRYPTO 1 #endif #ifndef PETSC_HAVE_FENV_H #define PETSC_HAVE_FENV_H 1 #endif #ifndef PETSC_HAVE_LOG2 #define PETSC_HAVE_LOG2 1 #endif #ifndef PETSC_HAVE_ERF #define PETSC_HAVE_ERF 1 #endif #ifndef PETSC_HAVE_LIBSSL #define PETSC_HAVE_LIBSSL 1 #endif #ifndef PETSC_HAVE_LIBIFCORE #define PETSC_HAVE_LIBIFCORE 1 #endif #ifndef PETSC_HAVE_LIBMKL_INTEL_LP64 #define PETSC_HAVE_LIBMKL_INTEL_LP64 1 #endif #ifndef PETSC_HAVE_LIBMKL_CORE #define PETSC_HAVE_LIBMKL_CORE 1 #endif #ifndef PETSC_HAVE_TGAMMA #define PETSC_HAVE_TGAMMA 1 #endif #ifndef PETSC_HAVE_LIBIFPORT #define PETSC_HAVE_LIBIFPORT 1 #endif #ifndef PETSC_ARCH #define PETSC_ARCH "arch-linux2-c-debug" #endif #ifndef PETSC_USE_SCALAR_REAL #define PETSC_USE_SCALAR_REAL 1 #endif #ifndef PETSC_HAVE_ISINF #define PETSC_HAVE_ISINF 1 #endif #ifndef PETSC_HAVE_ISNAN #define PETSC_HAVE_ISNAN 1 #endif #ifndef PETSC_HAVE_ISNORMAL #define PETSC_HAVE_ISNORMAL 1 #endif #ifndef PETSC_USE_REAL_DOUBLE #define PETSC_USE_REAL_DOUBLE 1 #endif #ifndef PETSC_BITS_PER_BYTE #define PETSC_BITS_PER_BYTE 8 #endif #ifndef PETSC_USE_VISIBILITY_C #define PETSC_USE_VISIBILITY_C 1 #endif #ifndef PETSC_SIZEOF_VOID_P #define PETSC_SIZEOF_VOID_P 8 #endif #ifndef PETSC_RETSIGTYPE #define PETSC_RETSIGTYPE void #endif #ifndef PETSC_HAVE___INT64 #define PETSC_HAVE___INT64 1 #endif #ifndef PETSC_HAVE_CXX_COMPLEX #define PETSC_HAVE_CXX_COMPLEX 1 #endif #ifndef PETSC_SIZEOF_LONG #define PETSC_SIZEOF_LONG 8 #endif #ifndef PETSC_USE_FORTRANKIND #define PETSC_USE_FORTRANKIND 1 #endif #ifndef PETSC_USE_VISIBILITY_CXX #define PETSC_USE_VISIBILITY_CXX 1 #endif #ifndef PETSC_SIZEOF_SIZE_T #define PETSC_SIZEOF_SIZE_T 8 #endif #ifndef PETSC_HAVE_SIGINFO_T #define PETSC_HAVE_SIGINFO_T 1 #endif #ifndef PETSC_SIZEOF_CHAR #define PETSC_SIZEOF_CHAR 1 #endif #ifndef PETSC_SIZEOF_DOUBLE #define PETSC_SIZEOF_DOUBLE 8 #endif #ifndef PETSC_SIZEOF_FLOAT #define PETSC_SIZEOF_FLOAT 4 #endif #ifndef PETSC_HAVE_C99_COMPLEX #define PETSC_HAVE_C99_COMPLEX 1 #endif #ifndef PETSC_SIZEOF_INT #define PETSC_SIZEOF_INT 4 #endif #ifndef PETSC_SIZEOF_LONG_LONG #define PETSC_SIZEOF_LONG_LONG 8 #endif #ifndef PETSC_SIZEOF_SHORT #define PETSC_SIZEOF_SHORT 2 #endif #ifndef PETSC_CLANGUAGE_C #define PETSC_CLANGUAGE_C 1 #endif #ifndef PETSC_HAVE_MPIUNI #define PETSC_HAVE_MPIUNI 1 #endif #ifndef PETSC_HAVE_MPI_COMM_C2F #define PETSC_HAVE_MPI_COMM_C2F 1 #endif #ifndef PETSC_HAVE_MPI_IN_PLACE #define PETSC_HAVE_MPI_IN_PLACE 1 #endif #ifndef PETSC_HAVE_MPI_COMM_F2C #define PETSC_HAVE_MPI_COMM_F2C 1 #endif #ifndef PETSC_HAVE_MPI_FINT #define PETSC_HAVE_MPI_FINT 1 #endif #ifndef PETSC_HAVE_DYNAMIC_LIBRARIES #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #endif #ifndef PETSC_HAVE_SHARED_LIBRARIES #define PETSC_HAVE_SHARED_LIBRARIES 1 #endif #ifndef PETSC_USE_SHARED_LIBRARIES #define PETSC_USE_SHARED_LIBRARIES 1 #endif #ifndef PETSC_USE_GDB_DEBUGGER #define PETSC_USE_GDB_DEBUGGER 1 #endif #ifndef PETSC_USE_ERRORCHECKING #define PETSC_USE_ERRORCHECKING 1 #endif #ifndef PETSC_HAVE_STRCASECMP #define PETSC_HAVE_STRCASECMP 1 #endif #ifndef PETSC_HAVE_GET_NPROCS #define PETSC_HAVE_GET_NPROCS 1 #endif #ifndef PETSC_HAVE_POPEN #define PETSC_HAVE_POPEN 1 #endif #ifndef PETSC_HAVE_SIGSET #define PETSC_HAVE_SIGSET 1 #endif #ifndef PETSC_HAVE_GETWD #define PETSC_HAVE_GETWD 1 #endif #ifndef PETSC_HAVE_VSNPRINTF #define PETSC_HAVE_VSNPRINTF 1 #endif #ifndef PETSC_HAVE_TIMES #define PETSC_HAVE_TIMES 1 #endif #ifndef PETSC_HAVE_DLSYM #define PETSC_HAVE_DLSYM 1 #endif #ifndef PETSC_HAVE_SNPRINTF #define PETSC_HAVE_SNPRINTF 1 #endif #ifndef PETSC_HAVE_IPXFARGC_ #define PETSC_HAVE_IPXFARGC_ 1 #endif #ifndef PETSC_HAVE_GETHOSTBYNAME #define PETSC_HAVE_GETHOSTBYNAME 1 #endif #ifndef PETSC_HAVE_GETCWD #define PETSC_HAVE_GETCWD 1 #endif #ifndef PETSC_HAVE_DLERROR #define PETSC_HAVE_DLERROR 1 #endif #ifndef PETSC_HAVE_FORK #define PETSC_HAVE_FORK 1 #endif #ifndef PETSC_HAVE_RAND #define PETSC_HAVE_RAND 1 #endif #ifndef PETSC_HAVE_GETTIMEOFDAY #define PETSC_HAVE_GETTIMEOFDAY 1 #endif #ifndef PETSC_HAVE_DLCLOSE #define PETSC_HAVE_DLCLOSE 1 #endif #ifndef PETSC_HAVE_UNAME #define PETSC_HAVE_UNAME 1 #endif #ifndef PETSC_HAVE_GETHOSTNAME #define PETSC_HAVE_GETHOSTNAME 1 #endif #ifndef PETSC_HAVE_MKSTEMP #define PETSC_HAVE_MKSTEMP 1 #endif #ifndef PETSC_HAVE_SIGACTION #define PETSC_HAVE_SIGACTION 1 #endif #ifndef PETSC_HAVE_DRAND48 #define PETSC_HAVE_DRAND48 1 #endif #ifndef PETSC_HAVE_MEMALIGN #define PETSC_HAVE_MEMALIGN 1 #endif #ifndef PETSC_HAVE_VA_COPY #define PETSC_HAVE_VA_COPY 1 #endif #ifndef PETSC_HAVE_CLOCK #define PETSC_HAVE_CLOCK 1 #endif #ifndef PETSC_HAVE_ACCESS #define PETSC_HAVE_ACCESS 1 #endif #ifndef PETSC_HAVE_SIGNAL #define PETSC_HAVE_SIGNAL 1 #endif #ifndef PETSC_HAVE_USLEEP #define PETSC_HAVE_USLEEP 1 #endif #ifndef PETSC_HAVE_GETRUSAGE #define PETSC_HAVE_GETRUSAGE 1 #endif #ifndef PETSC_HAVE_VFPRINTF #define PETSC_HAVE_VFPRINTF 1 #endif #ifndef PETSC_HAVE_NANOSLEEP #define PETSC_HAVE_NANOSLEEP 1 #endif #ifndef PETSC_HAVE_GETDOMAINNAME #define PETSC_HAVE_GETDOMAINNAME 1 #endif #ifndef PETSC_HAVE_TIME #define PETSC_HAVE_TIME 1 #endif #ifndef PETSC_HAVE_LSEEK #define PETSC_HAVE_LSEEK 1 #endif #ifndef PETSC_HAVE_SOCKET #define PETSC_HAVE_SOCKET 1 #endif #ifndef PETSC_HAVE_SYSINFO #define PETSC_HAVE_SYSINFO 1 #endif #ifndef PETSC_HAVE_READLINK #define PETSC_HAVE_READLINK 1 #endif #ifndef PETSC_HAVE_REALPATH #define PETSC_HAVE_REALPATH 1 #endif #ifndef PETSC_HAVE_DLOPEN #define PETSC_HAVE_DLOPEN 1 #endif #ifndef PETSC_HAVE_MEMMOVE #define PETSC_HAVE_MEMMOVE 1 #endif #ifndef PETSC_HAVE_GETPAGESIZE #define PETSC_HAVE_GETPAGESIZE 1 #endif #ifndef PETSC_HAVE_SLEEP #define PETSC_HAVE_SLEEP 1 #endif #ifndef PETSC_HAVE_VPRINTF #define PETSC_HAVE_VPRINTF 1 #endif #ifndef PETSC_HAVE_BZERO #define PETSC_HAVE_BZERO 1 #endif #ifndef PETSC_SIGNAL_CAST #define PETSC_SIGNAL_CAST #endif #ifndef PETSC_WRITE_MEMORY_BARRIER #define PETSC_WRITE_MEMORY_BARRIER() asm volatile("sfence":::"memory") #endif #ifndef PETSC_MEMORY_BARRIER #define PETSC_MEMORY_BARRIER() asm volatile("mfence":::"memory") #endif #ifndef PETSC_READ_MEMORY_BARRIER #define PETSC_READ_MEMORY_BARRIER() asm volatile("lfence":::"memory") #endif #ifndef PETSC_CPU_RELAX #define PETSC_CPU_RELAX() asm volatile("rep; nop" ::: "memory") #endif #ifndef PETSC_BLASLAPACK_UNDERSCORE #define PETSC_BLASLAPACK_UNDERSCORE 1 #endif #ifndef PETSC_USE_INFO #define PETSC_USE_INFO 1 #endif #ifndef PETSC_Alignx #define PETSC_Alignx(a,b) #endif #ifndef PETSC_USE_BACKWARD_LOOP #define PETSC_USE_BACKWARD_LOOP 1 #endif #ifndef PETSC_USE_DEBUG #define PETSC_USE_DEBUG 1 #endif #ifndef PETSC_USE_LOG #define PETSC_USE_LOG 1 #endif #ifndef PETSC_IS_COLOR_VALUE_TYPE_F #define PETSC_IS_COLOR_VALUE_TYPE_F integer2 #endif #ifndef PETSC_IS_COLOR_VALUE_TYPE #define PETSC_IS_COLOR_VALUE_TYPE short #endif #ifndef PETSC_USE_CTABLE #define PETSC_USE_CTABLE 1 #endif #ifndef PETSC_MEMALIGN #define PETSC_MEMALIGN 16 #endif #ifndef PETSC__GNU_SOURCE #define PETSC__GNU_SOURCE 1 #endif #ifndef PETSC__BSD_SOURCE #define PETSC__BSD_SOURCE 1 #endif #ifndef PETSC__DEFAULT_SOURCE #define PETSC__DEFAULT_SOURCE 1 #endif #ifndef PETSC_LEVEL1_DCACHE_LINESIZE #define PETSC_LEVEL1_DCACHE_LINESIZE 64 #endif #ifndef PETSC_LEVEL1_DCACHE_SIZE #define PETSC_LEVEL1_DCACHE_SIZE 32768 #endif #ifndef PETSC_LEVEL1_DCACHE_ASSOC #define PETSC_LEVEL1_DCACHE_ASSOC 8 #endif #ifndef PETSC_HAVE_PXFGETARG_NEW #define PETSC_HAVE_PXFGETARG_NEW 1 #endif #ifndef PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT #define PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT 1 #endif #ifndef PETSC_HAVE_GETARG #define PETSC_HAVE_GETARG 1 #endif #ifndef PETSC_USE_PROC_FOR_SIZE #define PETSC_USE_PROC_FOR_SIZE 1 #endif #ifndef PETSC_HAVE_SCHED_CPU_SET_T #define PETSC_HAVE_SCHED_CPU_SET_T 1 #endif #ifndef PETSC_HAVE_PTHREAD_BARRIER_T #define PETSC_HAVE_PTHREAD_BARRIER_T 1 #endif #ifndef PETSC_HAVE_SYS_SYSCTL_H #define PETSC_HAVE_SYS_SYSCTL_H 1 #endif #endif **** arch-linux2-c-debug/include/petscfix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #if defined(__cplusplus) extern "C" { } #else #endif #endif Configure Actions These are the actions performed by configure on the filesystem ----------------------------------------------------------------- PETSc: Build : Set default architecture to arch-linux2-c-debug in lib/petsc/conf/petscvariables File creation : Created arch-linux2-c-debug/lib/petsc/conf/reconfigure-arch-linux2-c-debug.py for automatic reconfiguration Framework: RDict update : Substitutions were stored in RDict with parent None File creation : Created makefile configure header arch-linux2-c-debug/lib/petsc/conf/petscvariables File creation : Created makefile configure header arch-linux2-c-debug/lib/petsc/conf/petscrules File creation : Created configure header arch-linux2-c-debug/include/petscconf.h File creation : Created C specific configure header arch-linux2-c-debug/include/petscfix.h Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Compilers: C Compiler: icc -fPIC -wd1572 -g C++ Compiler: icpc -wd1572 -g -fPIC Fortran Compiler: ifort -fPIC -g Linkers: Shared linker: icc -shared -fPIC -wd1572 -g Dynamic linker: icc -shared -fPIC -wd1572 -g make: BLAS/LAPACK: -Wl,-rpath,/opt/intel/mkl/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread cmake: Arch: X: Library: -lX11 pthread: Library: -lpthread ssl: Library: -lssl -lcrypto PETSc: PETSC_ARCH: arch-linux2-c-debug PETSC_DIR: /home/swong/Downloads/petsc Scalar type: real Precision: double Clanguage: C shared libraries: enabled Integer size: 32 Memory alignment: 16 xxx=========================================================================xxx Configure stage complete. Now build PETSc libraries with (gnumake build): make PETSC_DIR=/home/swong/Downloads/petsc PETSC_ARCH=arch-linux2-c-debug all xxx=========================================================================xxx ================================================================================ Finishing Configure Run at Thu Jul 20 17:22:45 2017 ================================================================================