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 Mon Jul 13 10:16:57 2015 Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --with-cc=gcc --with-cxx=g++ PETSC_ARCH=linux-intel_elemental -with-blas-lapack-dir=/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64/ --with-mpi-dir=/opt/cray/mpt/7.0.5/gni/mpich2-intel/140 --with-scalar-type=complex --with-fortran-kernels=1 -known-mpi-shared-libraries=0 --with-large-file-io=1 --with-64-bit-indices=0 --with-batch FC=ifort --with-valgrind-dir=/mnt/lustre/esd2/esdveng/valgrind --download-elemental=/home/proj/14/esdveng/apps/Elemental-0.84-p5.tgz --download-cmake=/home/proj/14/esdveng/apps/cmake-2.8.12.2.tar.gz --with-cxx-dialect=C++11 Working directory: /mnt/lustre/esd2/esdveng/petsc-3.5.3 Machine platform: ('Linux', 'login2', '3.0.101-0.31.1_1.0502.8394-cray_ari_s', '#1 SMP Wed Sep 10 04:03:41 UTC 2014', 'x86_64', 'x86_64') Python version: 2.6.9 (unknown, Jul 28 2014, 08:24:16) [GCC 4.3.4 [gcc-4_3-branch revision 152973]] ================================================================================ Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ TEST configureExternalPackagesDir from config.framework(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/framework.py:829) TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:829) ================================================================================ TEST configureDebuggers from PETSc.utilities.debuggers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/debuggers.py:22) TESTING: configureDebuggers from PETSc.utilities.debuggers(config/PETSc/utilities/debuggers.py:22) Find a default debugger and determine its arguments Checking for program /opt/cray/atp/1.7.5/bin/gdb...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/gdb...not found Checking for program /opt/cray/netcdf/4.3.2/bin/gdb...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/gdb...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/gdb...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/gdb...not found Checking for program /opt/cray/craype/2.2.1/bin/gdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/gdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/gdb...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/gdb...not found Checking for program /opt/pbs/12.2.402.142964/bin/gdb...not found Checking for program ./gdb...not found Checking for program /bin/gdb...not found Checking for program /usr/bin/gdb...found Defined make macro "GDB" to "/usr/bin/gdb" Checking for program /opt/cray/atp/1.7.5/bin/dbx...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/dbx...not found Checking for program /opt/cray/netcdf/4.3.2/bin/dbx...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/dbx...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/dbx...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/dbx...not found Checking for program /opt/cray/craype/2.2.1/bin/dbx...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/dbx...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/dbx...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/dbx...not found Checking for program /opt/pbs/12.2.402.142964/bin/dbx...not found Checking for program ./dbx...not found Checking for program /bin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /usr/sbin/dbx...not found Checking for program /usr/local/bin/dbx...not found Checking for program /opt/cray/bin/dbx...not found Checking for program /home/proj/14/esdveng/dbx...not found Checking for program /opt/cray/atp/1.7.5/bin/xdb...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/xdb...not found Checking for program /opt/cray/netcdf/4.3.2/bin/xdb...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/xdb...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/xdb...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/xdb...not found Checking for program /opt/cray/craype/2.2.1/bin/xdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/xdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/xdb...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/xdb...not found Checking for program /opt/pbs/12.2.402.142964/bin/xdb...not found Checking for program ./xdb...not found Checking for program /bin/xdb...not found Checking for program /usr/bin/xdb...not found Checking for program /usr/sbin/xdb...not found Checking for program /usr/local/bin/xdb...not found Checking for program /opt/cray/bin/xdb...not found Checking for program /home/proj/14/esdveng/xdb...not found Checking for program /opt/cray/atp/1.7.5/bin/dsymutil...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/dsymutil...not found Checking for program /opt/cray/netcdf/4.3.2/bin/dsymutil...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/dsymutil...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/dsymutil...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/dsymutil...not found Checking for program /opt/cray/craype/2.2.1/bin/dsymutil...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/dsymutil...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/dsymutil...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/dsymutil...not found Checking for program /opt/pbs/12.2.402.142964/bin/dsymutil...not found Checking for program ./dsymutil...not found Checking for program /bin/dsymutil...not found Checking for program /usr/bin/dsymutil...not found Checking for program /usr/sbin/dsymutil...not found Checking for program /usr/local/bin/dsymutil...not found Checking for program /opt/cray/bin/dsymutil...not found Checking for program /home/proj/14/esdveng/dsymutil...not found Defined make macro "DSYMUTIL" to "true" Defined "USE_GDB_DEBUGGER" to "1" ================================================================================ TEST configureGit from config.sourceControl(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/sourceControl.py:24) TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /opt/cray/atp/1.7.5/bin/git...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/git...not found Checking for program /opt/cray/netcdf/4.3.2/bin/git...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/git...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/git...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/git...not found Checking for program /opt/cray/craype/2.2.1/bin/git...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/git...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/git...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/git...not found Checking for program /opt/pbs/12.2.402.142964/bin/git...not found Checking for program ./git...not found Checking for program /bin/git...not found Checking for program /usr/bin/git...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 1.7.12.4 ================================================================================ TEST configureMercurial from config.sourceControl(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/sourceControl.py:35) TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /opt/cray/atp/1.7.5/bin/hg...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/hg...not found Checking for program /opt/cray/netcdf/4.3.2/bin/hg...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/hg...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/hg...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/hg...not found Checking for program /opt/cray/craype/2.2.1/bin/hg...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/hg...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/hg...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/hg...not found Checking for program /opt/pbs/12.2.402.142964/bin/hg...not found Checking for program ./hg...not found Checking for program /bin/hg...not found Checking for program /usr/bin/hg...not found Checking for program /usr/sbin/hg...not found Checking for program /usr/local/bin/hg...not found Checking for program /opt/cray/bin/hg...not found Checking for program /home/proj/14/esdveng/hg...not found ================================================================================ TEST configureCVS from config.sourceControl(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/sourceControl.py:46) TESTING: configureCVS from config.sourceControl(config/BuildSystem/config/sourceControl.py:46) Find the CVS executable Checking for program /opt/cray/atp/1.7.5/bin/cvs...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/cvs...not found Checking for program /opt/cray/netcdf/4.3.2/bin/cvs...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/cvs...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/cvs...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/cvs...not found Checking for program /opt/cray/craype/2.2.1/bin/cvs...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/cvs...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/cvs...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/cvs...not found Checking for program /opt/pbs/12.2.402.142964/bin/cvs...not found Checking for program ./cvs...not found Checking for program /bin/cvs...not found Checking for program /usr/bin/cvs...found Defined make macro "CVS" to "cvs" Executing: cvs --version stdout: Concurrent Versions System (CVS) 1.12.12 (client/server) Copyright (C) 2005 Free Software Foundation, Inc. Senior active maintainers include Larry Jones, Derek R. Price, and Mark D. Baushke. Please see the AUTHORS and README files from the CVS distribution kit for a complete list of contributors and copyrights. CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS ================================================================================ TEST configureSubversion from config.sourceControl(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/sourceControl.py:55) TESTING: configureSubversion from config.sourceControl(config/BuildSystem/config/sourceControl.py:55) Find the Subversion executable Checking for program /opt/cray/atp/1.7.5/bin/svn...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/svn...not found Checking for program /opt/cray/netcdf/4.3.2/bin/svn...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/svn...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/svn...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/svn...not found Checking for program /opt/cray/craype/2.2.1/bin/svn...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/svn...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/svn...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/svn...not found Checking for program /opt/pbs/12.2.402.142964/bin/svn...not found Checking for program ./svn...not found Checking for program /bin/svn...not found Checking for program /usr/bin/svn...found Defined make macro "SVN" to "svn" Executing: svn --version -q stdout: 1.6.17 ================================================================================ TEST configureCLanguage from PETSc.utilities.languages(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/languages.py:27) TESTING: configureCLanguage from PETSc.utilities.languages(config/PETSc/utilities/languages.py:27) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" ================================================================================ TEST configureDirectories from PETSc.utilities.petscdir(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/petscdir.py:23) TESTING: configureDirectories from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:23) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 1 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 5 #define PETSC_VERSION_SUBMINOR 3 #define PETSC_VERSION_PATCH 0 #define PETSC_VERSION_DATE "Jan, 31, 2015" #define PETSC_VERSION_GIT "v3.5.2-168-g7f8d836" #define PETSC_VERSION_DATE_GIT "2015-01-31 00:20:02 -0600" #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 "/mnt/lustre/esd2/esdveng/petsc-3.5.3" ================================================================================ TEST configureETags from PETSc.utilities.Etags(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/Etags.py:27) TESTING: configureETags from PETSc.utilities.Etags(config/PETSc/utilities/Etags.py:27) Determine if etags files exist and try to create otherwise Found etags file ================================================================================ TEST configureInstallationMethod from PETSc.utilities.petscclone(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/petscclone.py:15) TESTING: configureInstallationMethod from PETSc.utilities.petscclone(config/PETSc/utilities/petscclone.py:15) This is a tarball installation ================================================================================ TEST getDatafilespath from PETSc.utilities.dataFilesPath(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/dataFilesPath.py:29) TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(config/PETSc/utilities/dataFilesPath.py:29) Checks what DATAFILESPATH should be ================================================================================ TEST configureArchitecture from PETSc.utilities.arch(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/arch.py:25) TESTING: configureArchitecture from PETSc.utilities.arch(config/PETSc/utilities/arch.py:25) Checks PETSC_ARCH and sets if not set =============================================================================== Warning: PETSC_ARCH from environment does not match command-line or name of script. Warning: Using from command-line or name of script: linux-intel_elemental, ignoring environment: linux-intel_superlu =============================================================================== Defined "ARCH" to ""linux-intel_elemental"" ================================================================================ TEST setInstallDir from PETSc.utilities.installDir(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/installDir.py:27) TESTING: setInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:27) setup installDir to PETSC_DIR/PETSC_ARCH ================================================================================ TEST saveReconfigure from PETSc.utilities.installDir(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/installDir.py:53) TESTING: saveReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:53) ================================================================================ TEST cleanInstallDir from PETSc.utilities.installDir(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/installDir.py:46) TESTING: cleanInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:46) ================================================================================ TEST configureInstallDir from PETSc.utilities.installDir(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/installDir.py:31) TESTING: configureInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:31) Makes installDir subdirectories if it does not exist Changed persistence directory to /mnt/lustre/esd2/esdveng/petsc-3.5.3/linux-intel_elemental/conf ================================================================================ TEST restoreReconfigure from PETSc.utilities.installDir(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/installDir.py:66) TESTING: restoreReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:66) ================================================================================ TEST setExternalPackagesDir from PETSc.utilities.externalpackagesdir(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/externalpackagesdir.py:15) TESTING: setExternalPackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:15) ================================================================================ TEST cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/externalpackagesdir.py:22) TESTING: cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:22) ================================================================================ TEST printEnvVariables from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:1527) TESTING: printEnvVariables from config.setCompilers(config/BuildSystem/config/setCompilers.py:1527) **** printenv **** PE_LIBSCI_GENCOMPS_CRAY_interlagos=83 PE_LIBSCI_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL RCLOCAL_BASEOPTS=true PKG_CONFIG_PATH_DEFAULT=/opt/cray/papi/5.3.2/lib64/pkgconfig CRAY_MPICH2_VER=7.0.5 LESS=-M -I INTEL_VERSION=15.0.1.133 PE_LIBSCI_ACC_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_LIBSCI PE_CRAY_FIXED_PKGCONFIG_PATH=/opt/cray/netcdf/4.3.2/CRAY/83/lib/pkgconfig PE_PKGCONFIG_LIBS=AtpSigHandler:libsci_mpi:libsci:netcdf:mpich:fftw3f_mpi:fftw3f_threads:fftw3f:fftw3_mpi:fftw3_threads:fftw3 PE_LIBSCI_PKGCONFIG_LIBS=libsci_mpi:libsci PE_LIBSCI_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/libsci/13.0.1/@PRGENV@/@PE_LIBSCI_DEFAULT_GENCOMPS@/@PE_LIBSCI_DEFAULT_TARGET@/lib/pkgconfig PE_FFTW_DEFAULT_TARGET_haswell=haswell PE_LIBSCI_ACC_DEFAULT_GENCOMPS_CRAY_x86_64=83 FFTW_INC=/opt/fftw/3.3.4.0/haswell/include CRAYPE_NETWORK_TARGET=aries PE_PETSC_DEFAULT_GENCOMPS_INTEL_interlagos=140 PE_FFTW_TARGET_x86_64=x86_64 USERMODULES=/opt/modules/3.2.6.7/init/.usermodules:acml:alps:apprentice2:atp:blcr:cce:chapel:cray-fftw:cray-libsci:cray-mpich2:craypat:craype:cray-petsc:cray-petsc-complex:cray-shmem:cray-tpsl:cray-trilinos:cudatoolkit:ddt:fftw:ga:gcc:hdf5:hdf5-parallel:intel:iobuf:java:lgdb:libfast:libsci_acc:mpich1:mrnet:netcdf:netcdf-hdf5parallel:netcdf-nofsync:netcdf-nofsync-hdf5parallel:ntk:onesided:papi:parallel-netcdf:pathscale:perftools:petsc:petsc-complex:pgi:pmi:PrgEnv-cray:PrgEnv-gnu:PrgEnv-intel:PrgEnv-pathscale:PrgEnv-pgi:stat:totalview:tpsl:trilinos:xt-asyncpe:xt-craypat:xt-lgdb:xt-libsci:xt-mpich2:xt-mpt:xt-papi:xt-shmem:xt-totalview CRAY_LIBSCI_BASE_DIR=/opt/cray/libsci/13.0.1 PE_PAPI_DEFAULT_ACCEL_LIBS= PE_HDF5_DEFAULT_GENCOMPS_GNU=49 48 CPU=x86_64 PE_PETSC_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/petsc/3.5.1.0/real/@PRGENV@/@PE_PETSC_DEFAULT_GENCOMPS@/@PE_PETSC_DEFAULT_TARGET@/lib/pkgconfig PE_CXX_PKGCONFIG_LIBS=netcdf_c++4:mpichcxx INFOPATH=/usr/local/info:/usr/share/info:/usr/info CRAYPE_DIR=/opt/cray/craype/2.2.1 SHELL=/bin/csh PE_MPICH_NV_LIBS= PE_HDF5_PARALLEL_DEFAULT_VOLATILE_PRGENV=GNU PROFILEREAD=true PE_PAPI_DEFAULT_TARGET_VAR_nvidia35=,-lcupti,-lcudart,-lcuda XDG_DATA_DIRS=/usr/local/share:/usr/share:/etc/opt/kde3/share:/opt/cray/share:/opt/kde3/share:/usr/share/gnome/help CRAY_MPICH2_ROOTDIR=/opt/cray/mpt/7.0.5 INTEL_LICENSE_FILE=/opt/intel/composer_xe_2015.1.133/licenses:/opt/intel/licenses:/intel/licenses PE_NETCDF_BASEDIR=/opt/cray/netcdf/4.3.2 PE_MPICH_TARGET_VAR_nvidia35=-lcudart PE_NETCDF_VOLATILE_PRGENV=GNU PE_PETSC_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL LESS_ADVANCED_PREPROCESSOR=no ATP_HOME=/opt/cray/atp/1.7.5 MANPATH=/opt/cray/atp/1.7.5/man:/opt/cray/libsci/13.0.1/man:/opt/cray/netcdf/4.3.2/share/man:/opt/cray/mpt/7.0.5/gni/man/mpich2:/opt/intel/composer_xe_2015.1.133/man/en_US:/opt/intel/composer_xe_2015.1.133/man/en_US:/opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64/share/man/:/opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/share/man/:/opt/cray/craype/2.2.1/man:/opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/man:/opt/fftw/3.3.4.0/share/man:/opt/pbs/12.2.402.142964/man:/opt/cray/llm/default/man:/opt/cray/lustre-cray_ari_s/2.5_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17871.10.3/man:/opt/modules/3.2.6.7/man:/usr/share/man:/usr/local/man:/opt/cray/share/man JAVA_HOME=/usr/lib64/jvm/java PRGENVMODULES=/opt/modules/3.2.6.7/init/.prgenvmodules:PrgEnv-cray:PrgEnv-gnu:PrgEnv-intel:PrgEnv-pathscale:PrgEnv-pgi PE_PETSC_DEFAULT_GENCOMPS_GNU_sandybridge=49 48 PE_PKGCONFIG_PRODUCTS=PE_LIBSCI:PE_MPICH:PE_FFTW:PE_NETCDF CRAY_MPICH2_BASEDIR=/opt/cray/mpt/7.0.5/gni DMAPP_ABORT_ON_ERROR=1 PE_LIBSCI_ACC_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/libsci_acc/3.0.2/@PRGENV@/@PE_LIBSCI_ACC_DEFAULT_GENCOMPS@/@PE_LIBSCI_ACC_DEFAULT_TARGET@/lib/pkgconfig PE_NETCDF_VOLATILE_PKGCONFIG_PATH=/opt/cray/netcdf/4.3.2/@PRGENV@/@PE_NETCDF_GENCOMPS@/lib/pkgconfig VENDOR=suse PE_MPICH_PKGCONFIG_VARIABLES=PE_MPICH_NV_LIBS_@accelerator@:PE_MPICH_MULTITHREADED_LIBS_@multithreaded@ PE_LIBSCI_MODULE_NAME=cray-libsci/13.0.1 PE_FFTW_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH PYTHONPATH=/opt/cray/sdb/1.0-1.0502.55976.5.27.ari/lib64/py FFTW_VERSION=3.3.4.0 PE_PARALLEL_NETCDF_DEFAULT_FIXED_PRGENV=CRAY INTEL PE_LIBSCI_VOLATILE_PKGCONFIG_PATH=/opt/cray/libsci/13.0.1/@PRGENV@/@PE_LIBSCI_GENCOMPS@/@PE_LIBSCI_TARGET@/lib/pkgconfig PE_FFTW_TARGET_sandybridge=sandybridge PE_NETCDF_HDF5PARALLEL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/netcdf-hdf5parallel/4.3.2/@PRGENV@/@PE_NETCDF_HDF5PARALLEL_DEFAULT_GENCOMPS@/lib/pkgconfig NETCDF_DIR=/opt/cray/netcdf/4.3.2/INTEL/140 MPICH_ABORT_ON_ERROR=1 PE_ENV=INTEL PE_MPICH_MODULE_NAME=cray-mpich MIC_LIBRARY_PATH=/opt/intel/composer_xe_2015.1.133/compiler/lib/mic:/opt/intel/composer_xe_2015.1.133/mpirt/lib/mic:/opt/intel/composer_xe_2015.1.133/tbb/lib/mic PE_PRODUCT_LIST=CRAY_PMI:CRAY_LIBSCI:CRAYPE:INTEL:CRAY_ALPS:CRAYPE_HASWELL:CRAY_LLM:CRAY_XPMEM:CRAY_DMAPP:CRAY_UGNI:CRAY_UDREG PELOCAL_PRGENV=true PE_HDF5_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/hdf5/1.8.13/@PRGENV@/@PE_HDF5_DEFAULT_GENCOMPS@/lib/pkgconfig PE_PETSC_DEFAULT_GENCOMPS_CRAY_x86_64=83 PE_PETSC_DEFAULT_GENCOMPS_GNU_interlagos=49 48 PE_PETSC_DEFAULT_GENCOMPS_GNU_haswell=49 48 SDK_HOME=/usr/lib64/jvm/java TARGETMODULES=/opt/modules/3.2.6.7/init/.targetmodules:craype-abudhabi:craype-abudhabi-cu:craype-accel-nvidia20:craype-accel-nvidia30:craype-accel-nvidia35:craype-barcelona:craype-hugepages128K:craype-hugepages128M:craype-hugepages16M:craype-hugepages256M:craype-hugepages2M:craype-hugepages512K:craype-hugepages512M:craype-hugepages64M:craype-hugepages8M:craype-interlagos:craype-interlagos-cu:craype-istanbul:craype-ivybridge:craype-knc:craype-mc12:craype-mc8:craype-network-aries:craype-network-gemini:craype-network-seastar:craype-sandybridge:craype-shanghai:craype-target-compute_node:craype-target-local_host:craype-target-native:craype-target-petest:craype-xeon:xtpe-barcelona:xtpe-interlagos:xtpe-interlagos-cu:xtpe-istanbul:xtpe-mc12:xtpe-mc8:xtpe-network-gemini:xtpe-network-seastar:xtpe-shanghai:xtpe-target-native:xtpe-xeon PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_interlagos=83 PE_TPSL_DEFAULT_GENCOMPS_INTEL_x86_64=140 PE_LIBSCI_GENCOMPS_GNU_interlagos=49 48 PE_LIBSCI_GENCOMPS_INTEL_sandybridge=140 PE_FFTW_VOLATILE_PKGCONFIG_PATH=/opt/fftw/3.3.4.0/@PE_FFTW_TARGET@/lib/pkgconfig PE_LIBSCI_DEFAULT_GENCOMPS_GNU_sandybridge=49 48 HOSTNAME=login2 IPPROOT=/opt/intel/composer_xe_2015.1.133/ipp CRAY_DMAPP_POST_LINK_OPTS=-L/opt/cray/dmapp/7.0.1-1.0502.9501.5.219.ari/lib64 SSH_SENDS_LOCALE=yes RCLOCAL_PRGENV=true PE_TRILINOS_DEFAULT_GENCOMPS_INTEL_haswell=140 PE_FFTW_REQUIRED_PRODUCTS=PE_MPICH PE_MPICH_TARGET_VAR_nvidia20=-lcudart SLEPC_DIR=/mnt/lustre/esd2/esdveng/petsc-3.5.3/slepc-3.5.3 MAIL=/var/mail/esdveng CSHRCREAD=true LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: TOOLMODULES=/opt/modules/3.2.6.7/init/.toolmodules:apprentice:apprentice2:atp:chapel:craypat:ddt:gdb:iobuf:mrnet:papi:perftools:stat:totalview:xt-craypat:xt-lgdb:xt-papi:xt-totalview CRAYOS_VERSION=5.2.40 PE_PETSC_DEFAULT_GENCOMPS_GNU_x86_64=49 48 GROUP=esd2 PE_TPSL_DEFAULT_GENCOMPS_CRAY_interlagos=83 JAVA_ROOT=/usr/lib64/jvm/java PE_LIBSCI_GENCOMPS_INTEL_haswell=140 PE_SMA_DIR_CRAY_DEFAULT64=64 PE_MPICH_DIR_CRAY_DEFAULT64=64 MINICOM=-c on PE_TPSL_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL CSHEDIT=emacs PE_PAPI_DEFAULT_ACCEL_LIBS_nvidia35=,-lcupti,-lcudart,-lcuda LESSOPEN=lessopen.sh %s PE_LIBSCI_GENCOMPS_INTEL_interlagos=140 MACHTYPE=x86_64-suse-linux PE_TPSL_DEFAULT_GENCOMPS_CRAY_sandybridge=83 CVS_RSH=ssh CRAY_UDREG_INCLUDE_OPTS=-I/opt/cray/udreg/2.3.2-1.0502.9275.1.12.ari/include USER=esdveng INPUTRC=/etc/inputrc HOME=/home/proj/14/esdveng ATP_POST_LINK_OPTS=-Wl,-L/opt/cray/atp/1.7.5/lib/ PE_LIBSCI_ACC_DEFAULT_PKGCONFIG_VARIABLES=PE_LIBSCI_ACC_DEFAULT_NV_SUFFIX_@accelerator@ PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_x86_64=140 PE_LIBSCI_OMP_REQUIRES_openmp=_mp PE_NETCDF_HDF5PARALLEL_DEFAULT_FIXED_PRGENV=CRAY INTEL PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_x86_64=83 JDK_HOME=/usr/lib64/jvm/java PKGCONFIG_ENABLED=1 SHLVL=1 PE_MPICH_NV_LIBS_nvidia20=-lcudart PE_PARALLEL_NETCDF_DEFAULT_GENCOMPS_GNU=49 48 PE_MPICH_DEFAULT_DIR_CRAY_DEFAULT64=64 CRAY_UGNI_INCLUDE_OPTS=-I/opt/cray/ugni/5.0-1.0502.9685.4.24.ari/include PE_LIBSCI_PKGCONFIG_VARIABLES=PE_LIBSCI_OMP_REQUIRES_@openmp@ XKEYSYMDB=/usr/share/X11/XKeysymDB PE_PKGCONFIG_DEFAULT_PRODUCTS=PE_NETCDF:PE_MPICH:PE_HDF5:PE_FFTW:PE_LIBSCI_ACC:PE_GA:PE_TPSL:PE_TRILINOS:PE_LIBSCI:PE_NETCDF_HDF5PARALLEL:PE_PARALLEL_NETCDF:PE_HDF5_PARALLEL:PE_PETSC CRAY_XPMEM_POST_LINK_OPTS=-L/opt/cray/xpmem/0.1-2.0502.55507.3.2.ari/lib64 CRAY_LIBSCI_DIR=/opt/cray/libsci/13.0.1 PETSC_DIR=/mnt/lustre/esd2/esdveng/petsc-3.5.3 INTEL_MINOR_VERSION=1.133 LIBRARYMODULES=/opt/modules/3.2.6.7/init/.librarymodules:acml:alps:apprentice2:atp:cray-fftw:cray-libsci:cray-mpich2:cray-petsc:cray-petsc-complex:cray-shmem:cray-tpsl:cray-trilinos:cudatoolkit:fftw:ga:hdf5:hdf5-parallel:iobuf:lgdb:libfast:libsci_acc:mpich1:mpich2:mrnet:netcdf:netcdf-hdf5parallel:netcdf-nofsync:netcdf-nofsync-hdf5parallel:ntk:onesided:papi:parallel-netcdf:petsc:petsc-complex:pmi:shmem:tpsl:trilinos:xt-atp:xt-lgdb:xt-libsci:xt-mpt:xt-papi CRAY_FFTW_VERSION=3.3.4.0 PE_LIBSCI_DEFAULT_GENCOMPS_GNU_interlagos=49 48 MODULESHOME=/opt/modules/3.2.6.7 PE_PETSC_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_LIBSCI:PE_TPSL CRAY_NETCDF_VERSION=4.3.2 JAVA_BINDIR=/usr/lib64/jvm/java/bin PE_NETCDF_CXX_PKGCONFIG_LIBS=netcdf_c++4 PE_LIBSCI_GENCOMPS_GNU_sandybridge=49 48 PE_LIBSCI_DEFAULT_OMP_REQUIRES= XTPE_NETWORK_TARGET=aries PE_FFTW_DEFAULT_TARGET_sandybridge=sandybridge PE_NETCDF_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/netcdf/4.3.2/@PRGENV@/@PE_NETCDF_DEFAULT_GENCOMPS@/lib/pkgconfig PE_TRILINOS_DEFAULT_GENCOMPS_INTEL_sandybridge=140 PE_TPSL_DEFAULT_GENCOMPS_CRAY_haswell=83 ENV=/etc/bash.bashrc CRAY_PRGENVINTEL=loaded PKG_CONFIG_PATH=/opt/cray/craype/2.2.1/pkg-config:/opt/cray/iobuf/2.0.5/lib/pkgconfig:/opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/lib64/pkgconfig:/opt/cray/nodehealth/5.1-1.0502.56494.9.2.ari/lib64/pkgconfig:/opt/cray/rca/1.0.0-2.0502.53711.3.127.ari/lib64/pkgconfig:/opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/lib64/pkgconfig:/opt/cray/xpmem/0.1-2.0502.55507.3.2.ari/lib64/pkgconfig:/opt/cray/dmapp/7.0.1-1.0502.9501.5.219.ari/lib64/pkgconfig:/opt/cray/gni-headers/3.0-1.0502.9684.5.2.ari/lib64/pkgconfig:/opt/cray/ugni/5.0-1.0502.9685.4.24.ari/lib64/pkgconfig:/opt/cray/udreg/2.3.2-1.0502.9275.1.12.ari/lib64/pkgconfig:/opt/cray/atp/1.7.5/lib/pkgconfig PE_PETSC_DEFAULT_GENCOMPS_CRAY_haswell=83 LS_OPTIONS=-N --color=none -T 0 INCLUDE=/opt/intel/composer_xe_2015.1.133/mkl/include XNLSPATH=/usr/share/X11/nls PE_TPSL_DEFAULT_GENCOMPS_INTEL_sandybridge=140 PE_MPICH_NV_LIBS_nvidia35=-lcudart MODULEPATH=/opt/cray/craype/default/modulefiles:/opt/cray/ari/modulefiles:/opt/cray/modulefiles:/opt/modulefiles PE_PKGCONFIG_PRODUCTS_DEFAULT=PE_PAPI PE_FFTW_DEFAULT_TARGET_x86_64=x86_64 SSH_CONNECTION=10.132.10.27 34285 10.16.2.12 22 XDG_CONFIG_DIRS=/etc/xdg CRAY_ALPS_INCLUDE_OPTS=-I/opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/include PE_GA_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/ga/5.1.0.5/@PRGENV@/@PE_GA_DEFAULT_GENCOMPS@/lib/pkgconfig CRAY_LLM_DIR=/opt/cray/llm/default PE_TPSL_DEFAULT_GENCOMPS_GNU_haswell=49 48 INTEL_MAJOR_VERSION=15.0 PE_NETCDF_DEFAULT_GENCOMPS_GNU=49 48 COLORTERM=1 PE_HDF5_PARALLEL_DEFAULT_GENCOMPS_GNU=49 48 CRAY_DMAPP_INCLUDE_OPTS=-I/opt/cray/dmapp/7.0.1-1.0502.9501.5.219.ari/include -I/opt/cray/gni-headers/3.0-1.0502.9684.5.2.ari/include PAGER=less MKLROOT=/opt/intel/composer_xe_2015.1.133/mkl MODULE_VERSION=3.2.6.7 PE_GA_DEFAULT_GENCOMPS_GNU=49 48 PE_TPSL_DEFAULT_GENCOMPS_CRAY_x86_64=83 LIBSCI_VERSION=13.0.1 PE_GA_DEFAULT_FIXED_PRGENV=CRAY INTEL MPM_LAUNCHER=/opt/intel/composer_xe_2015.1.133/debugger/mpm/bin/start_mpm.sh PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_haswell=140 CRAY_XPMEM_INCLUDE_OPTS=-I/opt/cray/xpmem/0.1-2.0502.55507.3.2.ari/include PE_TRILINOS_DEFAULT_GENCOMPS_INTEL_x86_64=140 PE_TRILINOS_DEFAULT_GENCOMPS_CRAY_interlagos=83 PE_MPICH_DEFAULT_FIXED_PRGENV=INTEL ATP_MRNET_COMM_PATH=/opt/cray/atp/1.7.5/bin/atp_mrnet_commnode_wrapper PE_FFTW_DEFAULT_TARGET_interlagos=interlagos LD_LIBRARY_PATH=/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64:/opt/intel/composer_xe_2015.1.133/mpirt/lib/intel64:/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64:/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64:/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1:/opt/cray/nodehealth/5.1-1.0502.56494.9.2.ari/lib64 PE_PETSC_DEFAULT_GENCOMPS_INTEL_x86_64=140 PE_MPICH_DEFAULT_GENCOMPS_GNU=48 47 QTDIR=/usr/lib/qt3 PE_TPSL_DEFAULT_GENCOMPS_GNU_interlagos=49 48 PE_MPICH_DEFAULT_GENCOMPS_CRAY=81 DISPLAY=localhost:15.0 LANG=en_US.UTF-8 PE_NETCDF_DEFAULT_FIXED_PRGENV=CRAY INTEL CRAY_ALPS_POST_LINK_OPTS=-L/opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/lib64 PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_interlagos=140 PE_MPICH_VOLATILE_PRGENV=CRAY GNU PE_LIBSCI_GENCOMPS_INTEL_x86_64=140 PE_INTEL_FIXED_PKGCONFIG_PATH=/opt/cray/netcdf/4.3.2/INTEL/140/lib/pkgconfig:/opt/cray/mpt/7.0.5/gni/mpich2-intel/140/lib/pkgconfig PE_TPSL_DEFAULT_GENCOMPS_INTEL_haswell=140 PE_PETSC_DEFAULT_GENCOMPS_CRAY_sandybridge=83 G_BROKEN_FILENAMES=1 FFTW_SYSTEM_WISDOM_DIR=/opt/cray/libsci/13.0.1 PE_LIBSCI_DEFAULT_GENCOMPS_GNU_haswell=49 48 PE_LIBSCI_GENCOMPS_CRAY_sandybridge=83 PE_TRILINOS_DEFAULT_GENCOMPS_GNU_interlagos=49 48 PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_sandybridge=83 PE_LIBSCI_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH PE_FORTRAN_PKGCONFIG_LIBS=netcdff:mpichf90 OSTYPE=linux _LMFILES_000=/opt/modulefiles/modules/3.2.6.7:/opt/cray/ari/modulefiles/nodestat/2.2-1.0502.53712.3.109.ari:/opt/cray/ari/modulefiles/sdb/1.0-1.0502.55976.5.27.ari:/opt/cray/modulefiles/lustre-cray_ari_s/2.5_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17871.10.3:/opt/cray/ari/modulefiles/udreg/2.3.2-1.0502.9275.1.12.ari:/opt/cray/ari/modulefiles/ugni/5.0-1.0502.9685.4.24.ari:/opt/cray/ari/modulefiles/gni-headers/3.0-1.0502.9684.5.2.ari:/opt/cray/ari/modulefiles/dmapp/7.0.1-1.0502.9501.5.219.ari:/opt/cray/ari/modulefiles/xpmem/0.1-2.0502.55507.3.2.ari:/opt/modulefiles/hss-llm/7.2.0:/opt/modulefiles/Base-opts/1.0.2-1.0502.53325.1.2.ari:/opt/cray/craype/default/modulefiles/craype-network-aries:/opt/cray/modulefiles/craype/2.2.1:/opt/cray/ari/modulefiles/nodehealth/5.1-1.0502.56494.9.2.ari:/opt/cray/craype/default/modulefiles/craype-haswell:/opt/cray/modulefiles/cray-mpich/7.0.5:/opt/modulefiles/pbs/12.2.402.142964:/opt/cray/modulefiles/cray-netcdf/4.3.2:/opt/cray/modulefiles/fftw/3.3.4.0:/opt/cray/ari/modu _LMFILES_001=lefiles/alps/5.2.1-2.0502.9371.19.1.ari:/opt/modulefiles/intel/15.0.1.133:/opt/cray/modulefiles/cray-libsci/13.0.1:/opt/cray/ari/modulefiles/pmi/5.0.6-1.0000.10439.140.2.ari:/opt/cray/modulefiles/atp/1.7.5:/opt/cray/modulefiles/PrgEnv-intel/5.2.40 INTEL_PATH=/opt/intel/composer_xe_2015.1.133 CRAY_PMI_INCLUDE_OPTS=-I/opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/include PE_NETCDF_DEFAULT_REQUIRED_PRODUCTS=PE_HDF5 PE_NETCDF_HDF5PARALLEL_DEFAULT_GENCOMPS_GNU=49 48 PE_HDF5_DEFAULT_VOLATILE_PRGENV=GNU PE_TPSL_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_LIBSCI PE_MPICH_VOLATILE_PKGCONFIG_PATH=/opt/cray/mpt/7.0.5/gni/mpich2-@PRGENV@@PE_MPICH_DIR_DEFAULT64@/@PE_MPICH_GENCOMPS@/lib/pkgconfig LIBRARY_PATH=/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64:/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64:/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64:/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 PE_TPSL_DEFAULT_GENCOMPS_INTEL_interlagos=140 PE_SMA_VOLATILE_PKGCONFIG_PATH=/opt/cray/mpt/6.1.0/gni/sma@PE_SMA_DIR_DEFAULT64@/lib64/pkgconfig NNTPSERVER=news XCURSOR_THEME=crystalwhite CRAY_CPU_TARGET=haswell PE_TRILINOS_DEFAULT_GENCOMPS_GNU_sandybridge=49 48 CRAY_UGNI_POST_LINK_OPTS=-L/opt/cray/ugni/5.0-1.0502.9685.4.24.ari/lib64 PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_haswell=83 HOST=login2 PE_NETCDF_HDF5PARALLEL_DEFAULT_VOLATILE_PRGENV=GNU PE_LIBSCI_DEFAULT_GENCOMPS_GNU_x86_64=49 48 PE_NETCDF_REQUIRED_PRODUCTS=PE_HDF5 CRAY_PMI_POST_LINK_OPTS=-L/opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/lib64 TBBROOT=/opt/intel/composer_xe_2015.1.133/tbb PE_LIBSCI_VOLATILE_PRGENV=CRAY GNU INTEL MIC_LD_LIBRARY_PATH=/opt/intel/composer_xe_2015.1.133/compiler/lib/mic:/opt/intel/composer_xe_2015.1.133/mpirt/lib/mic:/opt/intel/composer_xe_2015.1.133/compiler/lib/mic:/opt/intel/composer_xe_2015.1.133/mkl/lib/mic:/opt/intel/composer_xe_2015.1.133/tbb/lib/mic NLSPATH=/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/locale/%l_%t/%N:/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64/locale/%l_%t/%N:/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64/locale/%l_%t/%N:/opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/share/locale/%l_%t/%N:/opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64/share/locale/%l_%t/%N FFTW_DIR=/opt/fftw/3.3.4.0/haswell/lib CRAY_LIBSCI_VERSION=13.0.1 PE_TPSL_DEFAULT_GENCOMPS_GNU_x86_64=49 48 PE_PARALLEL_NETCDF_DEFAULT_VOLATILE_PRGENV=GNU FROM_HEADER= LESSCLOSE=lessclose.sh %s %s PE_LIBSCI_ACC_DEFAULT_VOLATILE_PRGENV=CRAY GNU SSH_TTY=/dev/pts/14 PE_TRILINOS_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/trilinos/11.10.1.0/@PRGENV@/@PE_TRILINOS_DEFAULT_GENCOMPS@/@PE_TRILINOS_DEFAULT_TARGET@/lib/pkgconfig PE_NETCDF_MODULE_NAME=cray-netcdf GDB_CROSS=/opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/gdb-mic PE_FFTW_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/fftw/3.3.4.0/@PE_FFTW_DEFAULT_TARGET@/lib/pkgconfig PE_PETSC_DEFAULT_GENCOMPS_INTEL_haswell=140 PE_TRILINOS_DEFAULT_GENCOMPS_GNU_x86_64=49 48 PE_TPSL_DEFAULT_GENCOMPS_GNU_sandybridge=49 48 PE_TRILINOS_DEFAULT_GENCOMPS_CRAY_sandybridge=83 PE_PARALLEL_NETCDF_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/parallel-netcdf/1.5.0/@PRGENV@/@PE_PARALLEL_NETCDF_DEFAULT_GENCOMPS@/lib/pkgconfig PE_NETCDF_FORTRAN_PKGCONFIG_LIBS=netcdff JRE_HOME=/usr/lib64/jvm/java/jre PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_sandybridge=140 PE_TPSL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/tpsl/1.4.2/@PRGENV@/@PE_TPSL_DEFAULT_GENCOMPS@/@PE_TPSL_DEFAULT_TARGET@/lib/pkgconfig PE_TRILINOS_DEFAULT_GENCOMPS_INTEL_interlagos=140 MORE=-sl PE_FFTW_TARGET_haswell=haswell PE_LIBSCI_DEFAULT_OMP_REQUIRES_openmp=_mp PE_MPICH_GENCOMPS_GNU=49 48 CRAY_LIBSCI_PREFIX_DIR=/opt/cray/libsci/13.0.1/INTEL/140/haswell PE_NETCDF_DEFAULT_VOLATILE_PRGENV=GNU PE_MPICH_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/mpt/6.1.0/gni/mpich2-@PRGENV@@PE_MPICH_DEFAULT_DIR_DEFAULT64@/@PE_MPICH_DEFAULT_GENCOMPS@/lib/pkgconfig HOSTTYPE=x86_64 CRAYPE_VERSION=2.2.1 PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH SSH_CLIENT=10.132.10.27 34285 22 LOGNAME=esdveng PE_MPICH_GENCOMPS_CRAY=83 PE_HDF5_DEFAULT_FIXED_PRGENV=CRAY INTEL PE_HDF5_PARALLEL_DEFAULT_FIXED_PRGENV=CRAY INTEL PATH=/opt/cray/atp/1.7.5/bin:/opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin:/opt/cray/netcdf/4.3.2/bin:/opt/cray/mpt/7.0.5/gni/bin:/opt/intel/composer_xe_2015.1.133/bin/intel64:/opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin:/opt/cray/craype/2.2.1/bin:/opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin:/opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin:/opt/fftw/3.3.4.0/haswell/bin:/opt/pbs/12.2.402.142964/bin:.:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/cray/bin PE_TRILINOS_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL PE_TRILINOS_DEFAULT_GENCOMPS_CRAY_haswell=83 XTOS_VERSION=5.2.40 PE_PETSC_DEFAULT_GENCOMPS_CRAY_interlagos=83 TERM=xterm TZ=America/Chicago PE_NETCDF_HDF5PARALLEL_DEFAULT_REQUIRED_PRODUCTS=PE_HDF5_PARALLEL PE_MPICH CPATH=/opt/intel/composer_xe_2015.1.133/ipp/include:/opt/intel/composer_xe_2015.1.133/mkl/include:/opt/intel/composer_xe_2015.1.133/tbb/include PE_MPICH_DEFAULT_VOLATILE_PRGENV=CRAY GNU PE_HDF5_PARALLEL_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH PE_FFTW_TARGET_interlagos=interlagos PE_LIBSCI_GENCOMPS_CRAY_x86_64=83 CRAY_MPICH2_DIR=/opt/cray/mpt/7.0.5/gni/mpich2-intel/140 LIBSCI_BASE_DIR=/opt/cray/libsci/13.0.1 PE_MPICH_MULTITHREADED_LIBS_multithreaded=_mt PE_NETCDF_GENCOMPS_GNU=49 48 CRAY_GNI_HEADERS_INCLUDE_OPTS=-I/opt/cray/gni-headers/3.0-1.0502.9684.5.2.ari/include CRAY_PRE_COMPILE_OPTS=-hnetwork=aries PE_LIBSCI_ACC_DEFAULT_NV_SUFFIX_nvidia35=nv35 MODULE_VERSION_STACK=3.2.6.7 PE_LIBSCI_ACC_DEFAULT_GENCOMPS_GNU_x86_64=48 INFODIR=/usr/local/info:/usr/share/info:/usr/info PE_CRAY_DEFAULT_FIXED_PKGCONFIG_PATH=/opt/cray/netcdf/4.3.2/CRAY/83/lib/pkgconfig:/opt/cray/hdf5/1.8.13/CRAY/83/lib/pkgconfig:/opt/cray/ga/5.1.0.5/CRAY/83/lib/pkgconfig:/opt/cray/netcdf-hdf5parallel/4.3.2/CRAY/83/lib/pkgconfig:/opt/cray/parallel-netcdf/1.5.0/CRAY/83/lib/pkgconfig:/opt/cray/hdf5-parallel/1.8.13/CRAY/83/lib/pkgconfig PETSC_ARCH=linux-intel_superlu MPICH_DIR=/opt/cray/mpt/7.0.5/gni/mpich2-intel/140 PE_TRILINOS_DEFAULT_GENCOMPS_GNU_haswell=49 48 PE_TRILINOS_DEFAULT_GENCOMPS_CRAY_x86_64=83 QT_HOME_DIR=/usr/share/desktop-data PE_TRILINOS_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_HDF5_PARALLEL:PE_NETCDF_HDF5PARALLEL:PE_LIBSCI:PE_TPSL PE_LIBSCI_GENCOMPS_CRAY_haswell=83 CRAY_SITE_LIST_DIR=/etc/opt/cray/modules LESSKEY=/etc/lesskey.bin PE_HDF5_PARALLEL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/hdf5-parallel/1.8.13/@PRGENV@/@PE_HDF5_PARALLEL_DEFAULT_GENCOMPS@/lib/pkgconfig PE_NETCDF_PKGCONFIG_LIBS=netcdf PE_SMA_DIR_PGI_DEFAULT64=64 G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-1,CP1252 PE_LIBSCI_OMP_REQUIRES= PE_LIBSCI_ACC_DEFAULT_NV_SUFFIX_nvidia20=nv20 GDBSERVER_MIC=/opt/intel/composer_xe_2015.1.133/debugger/gdb/target/mic/bin/gdbserver PE_MPICH_FIXED_PRGENV=INTEL PE_GA_DEFAULT_VOLATILE_PRGENV=GNU PYTHONSTARTUP=/etc/pythonstart LOADEDMODULES=modules/3.2.6.7:nodestat/2.2-1.0502.53712.3.109.ari:sdb/1.0-1.0502.55976.5.27.ari:lustre-cray_ari_s/2.5_3.0.101_0.31.1_1.0502.8394.10.1-1.0502.17871.10.3:udreg/2.3.2-1.0502.9275.1.12.ari:ugni/5.0-1.0502.9685.4.24.ari:gni-headers/3.0-1.0502.9684.5.2.ari:dmapp/7.0.1-1.0502.9501.5.219.ari:xpmem/0.1-2.0502.55507.3.2.ari:hss-llm/7.2.0:Base-opts/1.0.2-1.0502.53325.1.2.ari:craype-network-aries:craype/2.2.1:nodehealth/5.1-1.0502.56494.9.2.ari:craype-haswell:cray-mpich/7.0.5:pbs/12.2.402.142964:cray-netcdf/4.3.2:fftw/3.3.4.0:alps/5.2.1-2.0502.9371.19.1.ari:intel/15.0.1.133:cray-libsci/13.0.1:pmi/5.0.6-1.0000.10439.140.2.ari:atp/1.7.5:PrgEnv-intel/5.2.40 PE_LIBSCI_DEFAULT_PKGCONFIG_VARIABLES=PE_LIBSCI_DEFAULT_OMP_REQUIRES_@openmp@ SHMEM_ABORT_ON_ERROR=1 PE_PETSC_DEFAULT_GENCOMPS_INTEL_sandybridge=140 PE_LIBSCI_GENCOMPS_GNU_x86_64=49 48 PWD=/mnt/lustre/esd2/esdveng/petsc-3.5.3 PE_LIBSCI_GENCOMPS_GNU_haswell=49 48 PE_PAPI_DEFAULT_PKGCONFIG_VARIABLES=PE_PAPI_ACCEL_LIBS_@accelerator@ CRAY_UDREG_POST_LINK_OPTS=-L/opt/cray/udreg/2.3.2-1.0502.9275.1.12.ari/lib64 CRAY_LD_LIBRARY_PATH=/opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/lib64:/opt/cray/libsci/13.0.1/INTEL/140/haswell/lib:/opt/cray/netcdf/4.3.2/INTEL/140/lib:/opt/cray/mpt/7.0.5/gni/mpich2-intel/140/lib:/opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/lib64:/opt/fftw/3.3.4.0/haswell/lib:/opt/cray/netcdf/4.3.2/CRAY/83/lib:/opt/cray/mpt/7.0.5/gni/mpich2-cray/83/lib:/opt/cray/libsci/13.0.1/CRAY/83/x86_64/lib:/opt/cray/xpmem/0.1-2.0502.55507.3.2.ari/lib64:/opt/cray/dmapp/7.0.1-1.0502.9501.5.219.ari/lib64:/opt/cray/ugni/5.0-1.0502.9685.4.24.ari/lib64:/opt/cray/udreg/2.3.2-1.0502.9275.1.12.ari/lib64 PE_INTEL_DEFAULT_FIXED_PKGCONFIG_PATH=/opt/cray/netcdf/4.3.2/INTEL/140/lib/pkgconfig:/opt/cray/mpt/7.0.5/gni/mpich2-intel/140/lib/pkgconfig:/opt/cray/hdf5/1.8.13/INTEL/140/lib/pkgconfig:/opt/cray/ga/5.1.0.5/INTEL/140/lib/pkgconfig:/opt/cray/mpt/6.1.0/gni/mpich2-intel/130/lib/pkgconfig:/opt/cray/netcdf-hdf5parallel/4.3.2/INTEL/140/lib/pkgconfig:/opt/cray/parallel-netcdf/1.5.0/INTEL/140/lib/pkgconfig:/opt/cray/hdf5-parallel/1.8.13/INTEL/140/lib/pkgconfig PE_NETCDF_FIXED_PRGENV=CRAY INTEL INTEL_PYTHONHOME=/opt/intel/composer_xe_2015.1.133/debugger/python/intel64/ XAUTHLOCALHOSTNAME=login2 ================================================================================ TEST resetEnvCompilers from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:1534) TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1534) ================================================================================ TEST checkMPICompilerOverride from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:1499) TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:1499) 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(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:1518) TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:1518) OpenMPI wrappers require LD_LIBRARY_PATH set ================================================================================ TEST checkVendor from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:398) TESTING: checkVendor from config.setCompilers(config/BuildSystem/config/setCompilers.py:398) Determine the compiler vendor Compiler vendor is "" ================================================================================ TEST checkInitialFlags from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:408) TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:408) Initialize the compiler and linker flags Pushing language C Initialized CFLAGS to Initialized CFLAGS to Initialized LDFLAGS to Popping language C Pushing language CUDA Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to Popping language CUDA Pushing language Cxx Initialized CXXFLAGS to Initialized CXX_CXXFLAGS to Initialized LDFLAGS to Popping language Cxx Pushing language FC Initialized FFLAGS to Initialized FFLAGS to Initialized LDFLAGS to Popping language FC Initialized CPPFLAGS to Initialized CUDAPPFLAGS to Initialized CXXCPPFLAGS to Initialized CC_LINKER_FLAGS to [] Initialized CXX_LINKER_FLAGS to [] Initialized FC_LINKER_FLAGS to [] Initialized CUDAC_LINKER_FLAGS to [] Initialized sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ================================================================================ TEST checkCCompiler from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:534) TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:534) Locate a functional C compiler Checking for program /opt/cray/atp/1.7.5/bin/gcc...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/gcc...not found Checking for program /opt/cray/netcdf/4.3.2/bin/gcc...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/gcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/gcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/gcc...not found Checking for program /opt/cray/craype/2.2.1/bin/gcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/gcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/gcc...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/gcc...not found Checking for program /opt/pbs/12.2.402.142964/bin/gcc...not found Checking for program ./gcc...not found Checking for program /bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "CC" to "gcc" Pushing language C All intermediate test results are stored in /tmp/petsc-Q7eJC6 All intermediate test results are stored in /tmp/petsc-Q7eJC6/config.setCompilers Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/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: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: ld returned 1 exit status Popping language C ================================================================================ TEST checkCPreprocessor from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:567) TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:567) Locate a functional C preprocessor Checking for program /opt/cray/atp/1.7.5/bin/gcc...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/gcc...not found Checking for program /opt/cray/netcdf/4.3.2/bin/gcc...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/gcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/gcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/gcc...not found Checking for program /opt/cray/craype/2.2.1/bin/gcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/gcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/gcc...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/gcc...not found Checking for program /opt/pbs/12.2.402.142964/bin/gcc...not found Checking for program ./gcc...not found Checking for program /bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "CPP" to "gcc -E" Pushing language C Executing: gcc -E -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c stdout: # 1 "/tmp/petsc-Q7eJC6/config.setCompilers/conftest.c" # 1 "" # 1 "" # 1 "/tmp/petsc-Q7eJC6/config.setCompilers/conftest.c" # 1 "/tmp/petsc-Q7eJC6/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-Q7eJC6/config.setCompilers/conftest.c" 2 # 1 "/tmp/petsc-Q7eJC6/config.setCompilers/conffix.h" 1 # 3 "/tmp/petsc-Q7eJC6/config.setCompilers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 25 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 214 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 3 4 typedef long unsigned int size_t; # 326 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 3 4 typedef int wchar_t; # 34 "/usr/include/stdlib.h" 2 3 4 # 96 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 140 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ; extern double atof (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 311 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ; extern long int a64l (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 321 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); extern double drand48 (void) __attribute__ ((__nothrow__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); # 498 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 530 "/usr/include/stdlib.h" 3 4 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 553 "/usr/include/stdlib.h" 3 4 extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); extern int clearenv (void) __attribute__ ((__nothrow__)); # 604 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 615 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 637 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 658 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 707 "/usr/include/stdlib.h" 3 4 extern int system (__const char *__command) ; # 729 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__)) ; typedef int (*__compar_fn_t) (__const void *, __const void *); # 747 "/usr/include/stdlib.h" 3 4 extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); # 766 "/usr/include/stdlib.h" 3 4 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; # 802 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ; extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ; extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__)); extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 907 "/usr/include/stdlib.h" 3 4 extern int posix_openpt (int __oflag) ; # 942 "/usr/include/stdlib.h" 3 4 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 958 "/usr/include/stdlib.h" 3 4 # 3 "/tmp/petsc-Q7eJC6/config.setCompilers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Popping language C ================================================================================ TEST checkCUDACompiler from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:601) TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:601) Locate a functional CUDA compiler Checking for program /opt/cray/atp/1.7.5/bin/nvcc...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/nvcc...not found Checking for program /opt/cray/netcdf/4.3.2/bin/nvcc...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/nvcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/nvcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/nvcc...not found Checking for program /opt/cray/craype/2.2.1/bin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/nvcc...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/nvcc...not found Checking for program /opt/pbs/12.2.402.142964/bin/nvcc...not found Checking for program ./nvcc...not found Checking for program /bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /usr/sbin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /opt/cray/bin/nvcc...not found Checking for program /home/proj/14/esdveng/nvcc...not found Checking for program /mnt/lustre/esd2/esdveng/petsc-3.5.3/bin/win32fe/nvcc...not found Checking for program /opt/cray/atp/1.7.5/bin/nvcc...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/nvcc...not found Checking for program /opt/cray/netcdf/4.3.2/bin/nvcc...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/nvcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/nvcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/nvcc...not found Checking for program /opt/cray/craype/2.2.1/bin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/nvcc...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/nvcc...not found Checking for program /opt/pbs/12.2.402.142964/bin/nvcc...not found Checking for program ./nvcc...not found Checking for program /bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /usr/sbin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /opt/cray/bin/nvcc...not found Checking for program /home/proj/14/esdveng/nvcc...not found Checking for program /mnt/lustre/esd2/esdveng/petsc-3.5.3/bin/win32fe/nvcc...not found ================================================================================ TEST checkCUDAPreprocessor from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:641) TESTING: checkCUDAPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:641) Locate a functional CUDA preprocessor ================================================================================ TEST checkCxxCompiler from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:753) TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:753) Locate a functional Cxx compiler Checking for program /opt/cray/atp/1.7.5/bin/g++...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/g++...not found Checking for program /opt/cray/netcdf/4.3.2/bin/g++...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/g++...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/g++...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/g++...not found Checking for program /opt/cray/craype/2.2.1/bin/g++...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/g++...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/g++...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/g++...not found Checking for program /opt/pbs/12.2.402.142964/bin/g++...not found Checking for program ./g++...not found Checking for program /bin/g++...not found Checking for program /usr/bin/g++...found Defined make macro "CXX" to "g++" Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/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: g++ -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: ld returned 1 exit status Popping language Cxx ================================================================================ TEST checkCxxPreprocessor from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:791) TESTING: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:791) Locate a functional Cxx preprocessor Checking for program /opt/cray/atp/1.7.5/bin/g++...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/g++...not found Checking for program /opt/cray/netcdf/4.3.2/bin/g++...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/g++...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/g++...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/g++...not found Checking for program /opt/cray/craype/2.2.1/bin/g++...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/g++...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/g++...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/g++...not found Checking for program /opt/pbs/12.2.402.142964/bin/g++...not found Checking for program ./g++...not found Checking for program /bin/g++...not found Checking for program /usr/bin/g++...found Defined make macro "CXXCPP" to "g++ -E" Pushing language Cxx Executing: g++ -E -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc stdout: # 1 "/tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc" # 1 "" # 1 "" # 1 "/tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc" # 1 "/tmp/petsc-Q7eJC6/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc" 2 # 1 "/tmp/petsc-Q7eJC6/config.setCompilers/conffix.h" 1 extern "C" { } # 3 "/tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc" 2 # 1 "/usr/include/c++/4.3/cstdlib" 1 3 # 46 "/usr/include/c++/4.3/cstdlib" 3 # 47 "/usr/include/c++/4.3/cstdlib" 3 # 1 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 4 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 2 3 # 1449 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 3 # 1 "/usr/include/c++/4.3/x86_64-suse-linux/bits/os_defines.h" 1 3 # 44 "/usr/include/c++/4.3/x86_64-suse-linux/bits/os_defines.h" 3 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 45 "/usr/include/c++/4.3/x86_64-suse-linux/bits/os_defines.h" 2 3 # 1450 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 2 3 # 1 "/usr/include/c++/4.3/x86_64-suse-linux/bits/cpu_defines.h" 1 3 # 1453 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 2 3 # 1642 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 1654 "/usr/include/c++/4.3/x86_64-suse-linux/bits/c++config.h" 3 } # 49 "/usr/include/c++/4.3/cstdlib" 2 3 # 1 "/usr/include/c++/4.3/cstddef" 1 3 # 46 "/usr/include/c++/4.3/cstddef" 3 # 47 "/usr/include/c++/4.3/cstddef" 3 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 152 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 3 4 typedef long int ptrdiff_t; # 214 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 3 4 typedef long unsigned int size_t; # 50 "/usr/include/c++/4.3/cstddef" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { using ::ptrdiff_t; using ::size_t; } # 50 "/usr/include/c++/4.3/cstdlib" 2 3 # 73 "/usr/include/c++/4.3/cstdlib" 3 # 1 "/usr/include/stdlib.h" 1 3 4 # 33 "/usr/include/stdlib.h" 3 4 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 34 "/usr/include/stdlib.h" 2 3 4 extern "C" { # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 43 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 65 "/usr/include/bits/waitstatus.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 66 "/usr/include/bits/waitstatus.h" 2 3 4 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 44 "/usr/include/stdlib.h" 2 3 4 # 96 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 140 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) throw () ; extern double atof (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ; extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ; extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ; extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; # 236 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 237 "/usr/include/stdlib.h" 2 3 4 extern long int strtol_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; extern unsigned long int strtoul_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; __extension__ extern long long int strtoll_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; __extension__ extern unsigned long long int strtoull_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; extern double strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))) ; extern float strtof_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))) ; extern long double strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))) ; # 311 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) throw () ; extern long int a64l (__const char *__s) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 extern "C" { # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 58 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 220 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 # 55 "/usr/include/sys/select.h" 3 4 typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 extern "C" { # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); } # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) throw (); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) throw (); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw (); # 224 "/usr/include/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 262 "/usr/include/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 } # 321 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) throw (); extern void srandom (unsigned int __seed) throw (); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw () __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) throw (); extern void srand (unsigned int __seed) throw (); extern int rand_r (unsigned int *__seed) throw (); extern double drand48 (void) throw (); extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) throw (); extern long int nrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) throw (); extern long int jrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) throw (); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw () __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) throw (); extern void cfree (void *__ptr) throw (); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern "C" { extern void *alloca (size_t __size) throw (); } # 498 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) throw () __attribute__ ((__nonnull__ (1))) ; extern void abort (void) throw () __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); extern "C++" int at_quick_exit (void (*__func) (void)) throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) throw () __attribute__ ((__nonnull__ (1))); extern void exit (int __status) throw () __attribute__ ((__noreturn__)); extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__)); extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern char *__secure_getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) throw () __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) throw (); extern int clearenv (void) throw (); # 604 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; # 615 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 625 "/usr/include/stdlib.h" 3 4 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; # 637 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 647 "/usr/include/stdlib.h" 3 4 extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 658 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; # 669 "/usr/include/stdlib.h" 3 4 extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 679 "/usr/include/stdlib.h" 3 4 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 689 "/usr/include/stdlib.h" 3 4 extern int mkostemps (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 701 "/usr/include/stdlib.h" 3 4 extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; extern int system (__const char *__command) ; extern char *canonicalize_file_name (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; # 729 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) throw () ; typedef int (*__compar_fn_t) (__const void *, __const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *); extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) throw () __attribute__ ((__const__)) ; extern long int labs (long int __x) throw () __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) throw () __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) throw () __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) throw () __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) throw () __attribute__ ((__const__)) ; # 802 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) throw () ; extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) throw () ; extern int wctomb (char *__s, wchar_t __wchar) throw () ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) throw (); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) throw (); extern int rpmatch (__const char *__response) throw () __attribute__ ((__nonnull__ (1))) ; # 890 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *__const *__restrict __tokens, char **__restrict __valuep) throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (__const char *__key) throw () __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) throw (); extern int unlockpt (int __fd) throw (); extern char *ptsname (int __fd) throw () ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) throw () __attribute__ ((__nonnull__ (1))); # 958 "/usr/include/stdlib.h" 3 4 } # 74 "/usr/include/c++/4.3/cstdlib" 2 3 # 105 "/usr/include/c++/4.3/cstdlib" 3 namespace std __attribute__ ((__visibility__ ("default"))) { using ::div_t; using ::ldiv_t; using ::abort; using ::abs; using ::atexit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::calloc; using ::div; using ::exit; using ::free; using ::getenv; using ::labs; using ::ldiv; using ::malloc; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::qsort; using ::rand; using ::realloc; using ::srand; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; inline long abs(long __i) { return labs(__i); } inline ldiv_t div(long __i, long __j) { return ldiv(__i, __j); } } # 162 "/usr/include/c++/4.3/cstdlib" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { using ::lldiv_t; using ::_Exit; inline long long abs(long long __x) { return __x >= 0 ? __x : -__x; } using ::llabs; inline lldiv_t div(long long __n, long long __d) { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } using ::lldiv; # 195 "/usr/include/c++/4.3/cstdlib" 3 using ::atoll; using ::strtoll; using ::strtoull; using ::strtof; using ::strtold; } namespace std __attribute__ ((__visibility__ ("default"))) { using ::__gnu_cxx::lldiv_t; using ::__gnu_cxx::_Exit; using ::__gnu_cxx::abs; using ::__gnu_cxx::llabs; using ::__gnu_cxx::div; using ::__gnu_cxx::lldiv; using ::__gnu_cxx::atoll; using ::__gnu_cxx::strtof; using ::__gnu_cxx::strtoll; using ::__gnu_cxx::strtoull; using ::__gnu_cxx::strtold; } # 3 "/tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Popping language Cxx ================================================================================ TEST checkFortranCompiler from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:908) TESTING: checkFortranCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:908) Locate a functional Fortran compiler Executing: uname -s stdout: Linux Checking for program /opt/cray/atp/1.7.5/bin/ifort...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/ifort...not found Checking for program /opt/cray/netcdf/4.3.2/bin/ifort...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/ifort...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/ifort...found Defined make macro "FC" to "ifort" Pushing language FC Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/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-Q7eJC6/config.setCompilers/conftest /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Popping language FC ================================================================================ TEST checkFortranComments from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:929) TESTING: checkFortranComments from config.setCompilers(config/BuildSystem/config/setCompilers.py:929) Make sure fortran comment "!" works Pushing language FC Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: ! comment program main end Fortran comments can use ! in column 1 Popping language FC ================================================================================ TEST checkPIC from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:992) TESTING: checkPIC from config.setCompilers(config/BuildSystem/config/setCompilers.py:992) Determine the PIC option for each compiler - There needs to be a test that checks that the functionality is actually working Pushing language C Executing: gcc --help stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase --help Display this information --target-help Display target specific command line options --help={target|optimizers|warnings|undocumented|params}[,{[^]joined|[^]separate}] Display specific types of command line options (Use '-v --help' to display command line options of sub-processes) -dumpspecs Display all of the built in spec strings -dumpversion Display the version of the compiler -dumpmachine Display the compiler's target processor -print-search-dirs Display the directories in the compiler's search path -print-libgcc-file-name Display the name of the compiler's companion library -print-file-name= Display the full path to library -print-prog-name= Display the full path to compiler component -print-multi-directory Display the root directory for versions of libgcc -print-multi-lib Display the mapping between command line options and multiple library search directories -print-multi-os-directory Display the relative path to OS libraries -print-sysroot-headers-suffix Display the sysroot suffix used to find headers -Wa, Pass comma-separated on to the assembler -Wp, Pass comma-separated on to the preprocessor -Wl, Pass comma-separated on to the linker -Xassembler Pass on to the assembler -Xpreprocessor Pass on to the preprocessor -Xlinker Pass on to the linker -combine Pass multiple source files to compiler at once -save-temps Do not delete intermediate files -pipe Use pipes rather than intermediate files -time Time the execution of each subprocess -specs= Override built-in specs with the contents of -std= Assume that the input sources are for --sysroot= Use as the root directory for headers and libraries -B Add to the compiler's search paths -b Run gcc for target , if installed -V Run gcc version number , if installed -v Display the programs invoked by the compiler -### Like -v but options quoted and commands not executed -E Preprocess only; do not compile, assemble or link -S Compile only; do not assemble or link -c Compile and assemble, but do not link -o Place the output into -x Specify the language of the following input files Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by gcc. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . Trying C compiler flag -fPIC Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Valid C linker flag -fPIC Adding C compiler flag -fPIC Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -fPIC Popping language C Pushing language Cxx Executing: g++ --help stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase --help Display this information --target-help Display target specific command line options --help={target|optimizers|warnings|undocumented|params}[,{[^]joined|[^]separate}] Display specific types of command line options (Use '-v --help' to display command line options of sub-processes) -dumpspecs Display all of the built in spec strings -dumpversion Display the version of the compiler -dumpmachine Display the compiler's target processor -print-search-dirs Display the directories in the compiler's search path -print-libgcc-file-name Display the name of the compiler's companion library -print-file-name= Display the full path to library -print-prog-name= Display the full path to compiler component -print-multi-directory Display the root directory for versions of libgcc -print-multi-lib Display the mapping between command line options and multiple library search directories -print-multi-os-directory Display the relative path to OS libraries -print-sysroot-headers-suffix Display the sysroot suffix used to find headers -Wa, Pass comma-separated on to the assembler -Wp, Pass comma-separated on to the preprocessor -Wl, Pass comma-separated on to the linker -Xassembler Pass on to the assembler -Xpreprocessor Pass on to the preprocessor -Xlinker Pass on to the linker -combine Pass multiple source files to compiler at once -save-temps Do not delete intermediate files -pipe Use pipes rather than intermediate files -time Time the execution of each subprocess -specs= Override built-in specs with the contents of -std= Assume that the input sources are for --sysroot= Use as the root directory for headers and libraries -B Add to the compiler's search paths -b Run gcc for target , if installed -V Run gcc version number , if installed -v Display the programs invoked by the compiler -### Like -v but options quoted and commands not executed -E Preprocess only; do not compile, assemble or link -S Compile only; do not assemble or link -c Compile and assemble, but do not link -o Place the output into -x Specify the language of the following input files Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by g++. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . Trying Cxx compiler flag -fPIC Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Valid Cxx linker flag -fPIC Adding Cxx compiler flag -fPIC Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -fPIC Popping language Cxx Pushing language FC Executing: 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 -fp-model fast=2 -Ofast enable -O3 -no-prec-div -fp-model fast=2 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. CORE-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 Doubleword and Quadword instructions, Intel(R) AVX-512 Byte and Word instructions and Intel(R) AVX-512 Vector Length Extensions 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. CORE-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 Doubleword and Quadword instructions, Intel(R) AVX-512 Byte and Word instructions and Intel(R) AVX-512 Vector Length Extensions 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-]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 -Xassembler pass directly to the assembler for processing -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 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-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -PIC /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: ifort: command line warning #10006: ignoring unknown option '-PIC' Rejecting FC linker flag -PIC due to ifort: command line warning #10006: ignoring unknown option '-PIC' Rejected FC compiler flag -PIC because linker cannot handle it Trying FC compiler flag -fPIC Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Valid FC linker flag -fPIC Adding FC compiler flag -fPIC Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -fPIC Popping language FC ================================================================================ TEST checkLargeFileIO from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:1025) TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:1025) Pushing language C Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c:8:7: warning: extra tokens at end of #endif directive Source: #include "confdefs.h" #include "conffix.h" #include int main() { #ifndef _LFS64_LARGEFILE #error no largefile defines #endif; return 0; } Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 Popping language C Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Possible ERROR while running compiler: stderr: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:8:7: warning: extra tokens at end of #endif directive Source: #include "confdefs.h" #include "conffix.h" #include int main() { #ifndef _LFS64_LARGEFILE #error no largefile defines #endif; return 0; } Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 Popping language Cxx ================================================================================ TEST checkArchiver from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:1124) TESTING: checkArchiver from config.setCompilers(config/BuildSystem/config/setCompilers.py:1124) Check that the archiver exists and can make a library usable by the compiler Pushing language C Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /opt/cray/atp/1.7.5/bin/ar...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/ar...not found Checking for program /opt/cray/netcdf/4.3.2/bin/ar...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/ar...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/ar...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/ar...not found Checking for program /opt/cray/craype/2.2.1/bin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/ar...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/ar...not found Checking for program /opt/pbs/12.2.402.142964/bin/ar...not found Checking for program ./ar...not found Checking for program /bin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /opt/cray/atp/1.7.5/bin/ranlib...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/ranlib...not found Checking for program /opt/cray/netcdf/4.3.2/bin/ranlib...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/ranlib...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/ranlib...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/ranlib...not found Checking for program /opt/cray/craype/2.2.1/bin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/ranlib...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/ranlib...not found Checking for program /opt/pbs/12.2.402.142964/bin/ranlib...not found Checking for program ./ranlib...not found Checking for program /bin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib -c" Executing: /usr/bin/ar cr /tmp/petsc-Q7eJC6/config.setCompilers/libconf1.a /tmp/petsc-Q7eJC6/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /tmp/petsc-Q7eJC6/config.setCompilers/libconf1.a Possible ERROR while running ranlib: stderr: /usr/bin/ranlib: invalid option -- 'c' Ranlib is not functional with your archiver. Try --with-ranlib=true if ranlib is unnecessary. Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /opt/cray/atp/1.7.5/bin/ar...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/ar...not found Checking for program /opt/cray/netcdf/4.3.2/bin/ar...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/ar...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/ar...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/ar...not found Checking for program /opt/cray/craype/2.2.1/bin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/ar...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/ar...not found Checking for program /opt/pbs/12.2.402.142964/bin/ar...not found Checking for program ./ar...not found Checking for program /bin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /opt/cray/atp/1.7.5/bin/ranlib...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/ranlib...not found Checking for program /opt/cray/netcdf/4.3.2/bin/ranlib...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/ranlib...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/ranlib...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/ranlib...not found Checking for program /opt/cray/craype/2.2.1/bin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/ranlib...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/ranlib...not found Checking for program /opt/pbs/12.2.402.142964/bin/ranlib...not found Checking for program ./ranlib...not found Checking for program /bin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib" Executing: /usr/bin/ar cr /tmp/petsc-Q7eJC6/config.setCompilers/libconf1.a /tmp/petsc-Q7eJC6/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /tmp/petsc-Q7eJC6/config.setCompilers/libconf1.a Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/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: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -L/tmp/petsc-Q7eJC6/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(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:1235) TESTING: checkSharedLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1235) Check that the linker can produce shared libraries Executing: uname -s stdout: Linux Checking shared linker gcc using flags ['-shared'] Checking for program /opt/cray/atp/1.7.5/bin/gcc...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/gcc...not found Checking for program /opt/cray/netcdf/4.3.2/bin/gcc...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/gcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/gcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/gcc...not found Checking for program /opt/cray/craype/2.2.1/bin/gcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/gcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/gcc...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/gcc...not found Checking for program /opt/pbs/12.2.402.142964/bin/gcc...not found Checking for program ./gcc...not found Checking for program /bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "LD_SHARED" to "gcc" Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -shared -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Valid C linker flag -shared Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/libconftest.so -shared -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/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: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -L/tmp/petsc-Q7eJC6/config.setCompilers -lconftest Using shared linker gcc with flags ['-shared'] and library extension so Executing: uname -s stdout: Linux ================================================================================ TEST checkSharedLinkerPaths from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:1313) TESTING: checkSharedLinkerPaths from config.setCompilers(config/BuildSystem/config/setCompilers.py:1313) 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: gcc -V Trying C linker flag -Wl,-rpath, Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -Wl,-rpath,/mnt/lustre/esd2/esdveng/petsc-3.5.3 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/mnt/lustre/esd2/esdveng/petsc-3.5.3 Popping language C Pushing language Cxx Executing: uname -s stdout: Linux Executing: gcc -V Trying Cxx linker flag -Wl,-rpath, Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -Wl,-rpath,/mnt/lustre/esd2/esdveng/petsc-3.5.3 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/mnt/lustre/esd2/esdveng/petsc-3.5.3 Popping language Cxx Pushing language FC Executing: uname -s stdout: Linux Executing: gcc -V Trying FC linker flag -Wl,-rpath, Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -Wl,-rpath,/mnt/lustre/esd2/esdveng/petsc-3.5.3 -fPIC /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Valid FC linker flag -Wl,-rpath,/mnt/lustre/esd2/esdveng/petsc-3.5.3 Popping language FC ================================================================================ TEST checkLibC from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:1348) TESTING: checkLibC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1348) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/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: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/libconftest.so -shared -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o Shared linking does not require an explicit libc reference ================================================================================ TEST checkDynamicLinker from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:1397) TESTING: checkDynamicLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1397) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h All intermediate test results are stored in /tmp/petsc-Q7eJC6/config.headers Executing: gcc -E -I/tmp/petsc-Q7eJC6/config.setCompilers -I/tmp/petsc-Q7eJC6/config.headers /tmp/petsc-Q7eJC6/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Q7eJC6/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/tmp/petsc-Q7eJC6/config.headers/conftest.c" # 1 "/tmp/petsc-Q7eJC6/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Q7eJC6/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Q7eJC6/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Q7eJC6/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 4 # 23 "/usr/include/dlfcn.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 24 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 1 3 4 # 214 "/usr/lib64/gcc/x86_64-suse-linux/4.3/include/stddef.h" 3 4 typedef long unsigned int size_t; # 26 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/include/bits/dlfcn.h" 1 3 4 # 29 "/usr/include/dlfcn.h" 2 3 4 # 53 "/usr/include/dlfcn.h" 3 4 extern void *dlopen (__const char *__file, int __mode) __attribute__ ((__nothrow__)); extern int dlclose (void *__handle) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void *dlsym (void *__restrict __handle, __const char *__restrict __name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 83 "/usr/include/dlfcn.h" 3 4 extern char *dlerror (void) __attribute__ ((__nothrow__)); # 189 "/usr/include/dlfcn.h" 3 4 # 3 "/tmp/petsc-Q7eJC6/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-Q7eJC6/config.libraries Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.libraries/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/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: gcc -o /tmp/petsc-Q7eJC6/config.libraries/conftest -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/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 gcc using flags ['-shared'] Checking for program /opt/cray/atp/1.7.5/bin/gcc...not found Checking for program /opt/cray/pmi/5.0.6-1.0000.10439.140.2.ari/bin/gcc...not found Checking for program /opt/cray/netcdf/4.3.2/bin/gcc...not found Checking for program /opt/cray/mpt/7.0.5/gni/bin/gcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/bin/intel64/gcc...not found Checking for program /opt/intel/composer_xe_2015.1.133/debugger/gdb/intel64_mic/bin/gcc...not found Checking for program /opt/cray/craype/2.2.1/bin/gcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/sbin/gcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.9371.19.1.ari/bin/gcc...not found Checking for program /opt/fftw/3.3.4.0/haswell/bin/gcc...not found Checking for program /opt/pbs/12.2.402.142964/bin/gcc...not found Checking for program ./gcc...not found Checking for program /bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "DYNAMICLINKER" to "gcc" Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -shared -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -ldl Valid C linker flag -shared Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/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: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/libconftest.so -shared -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -ldl Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c: In function ‘main’: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c:11: warning: incompatible implicit declaration of built-in function ‘printf’ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c:15: warning: incompatible implicit declaration of built-in function ‘printf’ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c:19: warning: incompatible implicit declaration of built-in function ‘printf’ Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *handle = dlopen("/tmp/petsc-Q7eJC6/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: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -ldl Using dynamic linker gcc with flags ['-shared'] and library extension so ================================================================================ TEST output from config.setCompilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/setCompilers.py:1443) TESTING: output from config.setCompilers(config/BuildSystem/config/setCompilers.py:1443) Output module data as defines and substitutions Substituting "CC" with "gcc" Substituting "CFLAGS" with " -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "gcc -E" Substituting "CPPFLAGS" with "" Substituting "CXX" with "g++" Substituting "CXX_CXXFLAGS" with " -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXCPP" with "g++ -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" Executing: uname -s stdout: Linux ================================================================================ TEST checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/sharedLibraries.py:37) TESTING: checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:37) ================================================================================ TEST configureSharedLibraries from PETSc.utilities.sharedLibraries(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/sharedLibraries.py:53) TESTING: configureSharedLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:53) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Defined make rule "shared_arch" with dependencies "shared_linux" and code [] Defined make macro "SONAME_FUNCTION" to "$(1).so.$(2)" Defined make macro "SL_LINKER_FUNCTION" to "-shared -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2))" Defined make macro "BUILDSHAREDLIB" to "yes" Defined "HAVE_SHARED_LIBRARIES" to "1" Defined "USE_SHARED_LIBRARIES" to "1" ================================================================================ TEST configureDynamicLibraries from PETSc.utilities.sharedLibraries(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/sharedLibraries.py:96) TESTING: configureDynamicLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:96) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ================================================================================ TEST configureSerializedFunctions from PETSc.utilities.sharedLibraries(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/sharedLibraries.py:102) TESTING: configureSerializedFunctions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:102) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ================================================================================ TEST configureCompilerFlags from config.compilerFlags(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilerFlags.py:71) TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:71) Get the default compiler flags Pushing language C Executing: gcc --version stdout: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: gcc gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] Trying C compiler flag -Wall Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wall Trying C compiler flag -Wwrite-strings Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wwrite-strings Trying C compiler flag -Wno-strict-aliasing Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wno-strict-aliasing Trying C compiler flag -Wno-unknown-pragmas Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wno-unknown-pragmas Trying C compiler flag -g3 Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -g3 Trying C compiler flag -O0 Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -O0 Popping language C Pushing language Cxx Executing: g++ --version stdout: g++ (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: g++ g++ (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] Trying Cxx compiler flag -Wall Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wall Trying Cxx compiler flag -Wwrite-strings Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wwrite-strings Trying Cxx compiler flag -Wno-strict-aliasing Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wno-strict-aliasing Trying Cxx compiler flag -Wno-unknown-pragmas Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wno-unknown-pragmas Trying Cxx compiler flag -g Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -g Trying Cxx compiler flag -O0 Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -O0 Popping language Cxx Pushing language FC Executing: ifort --version stdout: ifort (IFORT) 15.0.1 20141023 Copyright (C) 1985-2014 Intel Corporation. All rights reserved. getCompilerVersion: ifort ifort (IFORT) 15.0.1 20141023 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 -fp-model fast=2 -Ofast enable -O3 -no-prec-div -fp-model fast=2 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. CORE-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 Doubleword and Quadword instructions, Intel(R) AVX-512 Byte and Word instructions and Intel(R) AVX-512 Vector Length Extensions 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. CORE-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 Doubleword and Quadword instructions, Intel(R) AVX-512 Byte and Word instructions and Intel(R) AVX-512 Vector Length Extensions 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-]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 -Xassembler pass directly to the assembler for processing -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 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 -fp-model fast=2 -Ofast enable -O3 -no-prec-div -fp-model fast=2 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. CORE-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 Doubleword and Quadword instructions, Intel(R) AVX-512 Byte and Word instructions and Intel(R) AVX-512 Vector Length Extensions 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. CORE-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 Doubleword and Quadword instructions, Intel(R) AVX-512 Byte and Word instructions and Intel(R) AVX-512 Vector Length Extensions 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-]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 -Xassembler pass directly to the assembler for processing -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 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 -g Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -g Popping language FC ================================================================================ TEST configureDebugging from PETSc.utilities.debugging(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/PETSc/utilities/debugging.py:25) TESTING: configureDebugging from PETSc.utilities.debugging(config/PETSc/utilities/debugging.py:25) Defined "USE_ERRORCHECKING" to "1" ================================================================================ TEST checkRestrict from config.compilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:136) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:136) Check for the C/CXX restrict keyword Pushing language C All intermediate test results are stored in /tmp/petsc-Q7eJC6/config.compilers Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.compilers/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Q7eJC6/config.compilers/conftest.c: In function ‘main’: /tmp/petsc-Q7eJC6/config.compilers/conftest.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘x’ /tmp/petsc-Q7eJC6/config.compilers/conftest.c:5: error: ‘x’ undeclared (first use in this function) /tmp/petsc-Q7eJC6/config.compilers/conftest.c:5: error: (Each undeclared identifier is reported only once /tmp/petsc-Q7eJC6/config.compilers/conftest.c:5: error: for each function it appears in.) Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -I/tmp/petsc-Q7eJC6/config.compilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Q7eJC6/config.compilers/conftest.c: In function ‘main’: /tmp/petsc-Q7eJC6/config.compilers/conftest.c:5: warning: unused variable ‘x’ 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(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:309) TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:309) Activate format string checking if using the GNU compilers ================================================================================ TEST checkCStaticInline from config.compilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:107) TESTING: checkCStaticInline from config.compilers(config/BuildSystem/config/compilers.py:107) Check for C keyword: static inline Pushing language C Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -I/tmp/petsc-Q7eJC6/config.compilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/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(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:320) TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:320) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -I/tmp/petsc-Q7eJC6/config.compilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/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: gcc -o /tmp/petsc-Q7eJC6/config.compilers/conftest -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LAZY" to "1" Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -I/tmp/petsc-Q7eJC6/config.compilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/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: gcc -o /tmp/petsc-Q7eJC6/config.compilers/conftest -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_NOW" to "1" Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -I/tmp/petsc-Q7eJC6/config.compilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/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: gcc -o /tmp/petsc-Q7eJC6/config.compilers/conftest -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LOCAL" to "1" Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -I/tmp/petsc-Q7eJC6/config.compilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/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: gcc -o /tmp/petsc-Q7eJC6/config.compilers/conftest -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_GLOBAL" to "1" ================================================================================ TEST checkCLibraries from config.compilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:163) TESTING: checkCLibraries from config.compilers(config/BuildSystem/config/compilers.py:163) Determines the libraries needed to link with C Pushing language C Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.setCompilers -I/tmp/petsc-Q7eJC6/config.compilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Q7eJC6/config.compilers/conftest -v -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ LIBRARY_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64/:/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-Q7eJC6/config.compilers/conftest' '-v' '-fPIC' '-D_LARGEFILE64_SOURCE' '-D_FILE_OFFSET_BITS=64' '-Wall' '-Wwrite-strings' '-Wno-strict-aliasing' '-Wno-unknown-pragmas' '-g3' '-O0' '-mtune=generic' /usr/lib64/gcc/x86_64-suse-linux/4.3/collect2 --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-Q7eJC6/config.compilers/conftest /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../.. /tmp/petsc-Q7eJC6/config.compilers/conftest.o -ldl -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib64/gcc/x86_64-suse-linux/4.3/crtend.o /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crtn.o Popping language C compilers: Checking arg Using compilers: Unknown arg Using compilers: Checking arg built-in compilers: Unknown arg built-in compilers: Checking arg specs. compilers: Unknown arg specs. compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg x86_64-suse-linux compilers: Unknown arg x86_64-suse-linux compilers: Checking arg Configured compilers: Unknown arg Configured compilers: Checking arg with: compilers: Unknown arg with: compilers: Checking arg ../configure compilers: Unknown arg ../configure compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --infodir=/usr/share/info compilers: Unknown arg --infodir=/usr/share/info compilers: Checking arg --mandir=/usr/share/man compilers: Unknown arg --mandir=/usr/share/man compilers: Checking arg --libdir=/usr/lib64 compilers: Unknown arg --libdir=/usr/lib64 compilers: Checking arg --libexecdir=/usr/lib64 compilers: Unknown arg --libexecdir=/usr/lib64 compilers: Checking arg --enable-languages=c,c++,objc,fortran,obj-c++,java,ada compilers: Unknown arg --enable-languages=c,c++,objc,fortran,obj-c++,java,ada compilers: Checking arg --enable-checking=release compilers: Unknown arg --enable-checking=release compilers: Checking arg --with-gxx-include-dir=/usr/include/c++/4.3 compilers: Unknown arg --with-gxx-include-dir=/usr/include/c++/4.3 compilers: Checking arg --enable-ssp compilers: Unknown arg --enable-ssp compilers: Checking arg --disable-libssp compilers: Unknown arg --disable-libssp compilers: Checking arg --with-bugurl=http://bugs.opensuse.org/ compilers: Unknown arg --with-bugurl=http://bugs.opensuse.org/ compilers: Checking arg --with-pkgversion= compilers: Unknown arg --with-pkgversion= compilers: Checking arg --disable-libgcj compilers: Unknown arg --disable-libgcj compilers: Checking arg --disable-libmudflap compilers: Unknown arg --disable-libmudflap compilers: Checking arg --with-slibdir=/lib64 compilers: Unknown arg --with-slibdir=/lib64 compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg --enable-__cxa_atexit compilers: Unknown arg --enable-__cxa_atexit compilers: Checking arg --enable-libstdcxx-allocator=new compilers: Unknown arg --enable-libstdcxx-allocator=new compilers: Checking arg --disable-libstdcxx-pch compilers: Unknown arg --disable-libstdcxx-pch compilers: Checking arg --enable-version-specific-runtime-libs compilers: Unknown arg --enable-version-specific-runtime-libs compilers: Checking arg --program-suffix=-4.3 compilers: Unknown arg --program-suffix=-4.3 compilers: Checking arg --enable-linux-futex compilers: Unknown arg --enable-linux-futex compilers: Checking arg --without-system-libunwind compilers: Unknown arg --without-system-libunwind compilers: Checking arg --with-cpu=generic compilers: Unknown arg --with-cpu=generic compilers: Checking arg --build=x86_64-suse-linux compilers: Unknown arg --build=x86_64-suse-linux compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg gcc compilers: Unknown arg gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 4.3.4 compilers: Unknown arg 4.3.4 compilers: Checking arg [gcc-4_3-branch compilers: Unknown arg [gcc-4_3-branch compilers: Checking arg revision compilers: Unknown arg revision compilers: Checking arg 152973] compilers: Unknown arg 152973] compilers: Checking arg (SUSE compilers: Unknown arg (SUSE compilers: Checking arg Linux) compilers: Unknown arg Linux) compilers: Checking arg COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ compilers: Unknown arg COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ compilers: Checking arg LIBRARY_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64/:/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../:/lib/:/usr/lib/ compilers: Unknown arg LIBRARY_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64/:/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../:/lib/:/usr/lib/ compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/collect2 compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/collect2 compilers: Checking arg --build-id compilers: Unknown arg --build-id compilers: Checking arg --eh-frame-hdr compilers: Unknown arg --eh-frame-hdr compilers: Checking arg -m compilers: Unknown arg -m compilers: Checking arg elf_x86_64 compilers: Unknown arg elf_x86_64 compilers: Checking arg -dynamic-linker compilers: Unknown arg -dynamic-linker compilers: Checking arg /lib64/ld-linux-x86-64.so.2 compilers: Unknown arg /lib64/ld-linux-x86-64.so.2 compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-Q7eJC6/config.compilers/conftest compilers: Unknown arg /tmp/petsc-Q7eJC6/config.compilers/conftest compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crti.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crti.o compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/4.3 compilers: Found library directory: -L/usr/lib64/gcc/x86_64-suse-linux/4.3 compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64 compilers: Checking arg -L/lib/../lib64 compilers: Checking arg -L/usr/lib/../lib64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Found library directory: -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64 compilers: Found library directory: -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 compilers: Found library directory: -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Found library directory: -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 compilers: Found library directory: -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 compilers: Found library directory: -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib compilers: Found library directory: -L/usr/x86_64-suse-linux/lib compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../.. compilers: Checking arg /tmp/petsc-Q7eJC6/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-Q7eJC6/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Found library : -ldl compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lgcc_s compilers: Found library : -lgcc_s compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg -lc compilers: Skipping system library: -lc compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lgcc_s compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/crtend.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/crtend.o compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crtn.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crtn.o compilers: Libraries needed to link C code with another linker: ['-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3', '-L/usr/lib64/gcc/x86_64-suse-linux/4.3', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64', '-L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64', '-L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1', '-L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-ldl', '-lgcc_s'] compilers: Check that C libraries can be used from Fortran Pushing language FC Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC -g /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -ldl -lgcc_s -ldl Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC -g /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -ldl -lgcc_s -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Popping language FC ================================================================================ TEST checkDependencyGenerationFlag from config.compilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:1327) TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1327) Check if -MMD works for dependency generation, and add it if it does Pushing language C Trying C compiler flag -MMD -MP Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 -MMD -MP /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Defined make macro "C_DEPFLAGS" to "-MMD -MP" Popping language C Pushing language Cxx Trying Cxx compiler flag -MMD -MP Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MMD -MP /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Popping language Cxx Pushing language FC Trying FC compiler flag -MMD -MP Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g -MMD -MP /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F stdout: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o : \ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Possible ERROR while running compiler: stdout: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o : \ /tmp/petsc-Q7eJC6/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-Q7eJC6/config.setCompilers/conftest.o : \ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.Fifort: command line warning #10006: ignoring unknown option '-MP' Rejected FC compiler flag -MMD -MP Trying FC compiler flag -MMD Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g -MMD /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F stdout: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o : \ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Rejected FC compiler flag -MMD because no dependency file (/tmp/petsc-Q7eJC6/config.setCompilers/conftest.d) was generated Trying FC compiler flag -xMMD Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g -xMMD /tmp/petsc-Q7eJC6/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 Rejected FC compiler flag -xMMD Trying FC compiler flag -qmakedep=gcc Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g -qmakedep=gcc /tmp/petsc-Q7eJC6/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' Rejected FC compiler flag -qmakedep=gcc Trying FC compiler flag -MD Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g -MD /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F stdout: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o : \ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Rejected FC compiler flag -MD because no dependency file (/tmp/petsc-Q7eJC6/config.setCompilers/conftest.d) was generated Popping language FC ================================================================================ TEST checkRestrict from config.compilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:136) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:136) Check for the C/CXX restrict keyword Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.compilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Q7eJC6/config.compilers/conftest.cc: In function ‘int main()’: /tmp/petsc-Q7eJC6/config.compilers/conftest.cc:5: error: expected initializer before ‘x’ Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -I/tmp/petsc-Q7eJC6/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.compilers/conftest.cc Possible ERROR while running compiler: stderr: /tmp/petsc-Q7eJC6/config.compilers/conftest.cc: In function ‘int main()’: /tmp/petsc-Q7eJC6/config.compilers/conftest.cc:5: warning: unused variable ‘x’ 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(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:358) TESTING: checkCxxNamespace from config.compilers(config/BuildSystem/config/compilers.py:358) Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -I/tmp/petsc-Q7eJC6/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" namespace petsc {int dummy;} int main() { ; return 0; } Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -I/tmp/petsc-Q7eJC6/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/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(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:333) TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:333) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/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(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:121) TESTING: checkCxxStaticInline from config.compilers(config/BuildSystem/config/compilers.py:121) Check for C++ keyword: static inline Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/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(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:412) TESTING: checkCxxLibraries from config.compilers(config/BuildSystem/config/compilers.py:412) Determines the libraries needed to link with C++ Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.compilers/conftest.o -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Q7eJC6/config.compilers/conftest -v -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-Q7eJC6/config.compilers/conftest.o -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -ldl -lgcc_s -ldl Possible ERROR while running linker: stderr: Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ LIBRARY_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64/:/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-Q7eJC6/config.compilers/conftest' '-v' '-Wall' '-Wwrite-strings' '-Wno-strict-aliasing' '-Wno-unknown-pragmas' '-g' '-O0' '-L/usr/lib64/gcc/x86_64-suse-linux/4.3' '-L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64' '-L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64' '-L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64' '-L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64' '-L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64' '-L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1' '-L/usr/x86_64-suse-linux/lib' '-shared-libgcc' '-mtune=generic' /usr/lib64/gcc/x86_64-suse-linux/4.3/collect2 --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-Q7eJC6/config.compilers/conftest /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/usr/x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../.. /tmp/petsc-Q7eJC6/config.compilers/conftest.o -rpath /usr/lib64/gcc/x86_64-suse-linux/4.3 -rpath /opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -rpath /opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -rpath /opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -rpath /opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -rpath /opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -rpath /opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -rpath /usr/x86_64-suse-linux/lib -ldl -lgcc_s -ldl -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib64/gcc/x86_64-suse-linux/4.3/crtend.o /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crtn.o Popping language Cxx compilers: Checking arg Using compilers: Unknown arg Using compilers: Checking arg built-in compilers: Unknown arg built-in compilers: Checking arg specs. compilers: Unknown arg specs. compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg x86_64-suse-linux compilers: Unknown arg x86_64-suse-linux compilers: Checking arg Configured compilers: Unknown arg Configured compilers: Checking arg with: compilers: Unknown arg with: compilers: Checking arg ../configure compilers: Unknown arg ../configure compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --infodir=/usr/share/info compilers: Unknown arg --infodir=/usr/share/info compilers: Checking arg --mandir=/usr/share/man compilers: Unknown arg --mandir=/usr/share/man compilers: Checking arg --libdir=/usr/lib64 compilers: Unknown arg --libdir=/usr/lib64 compilers: Checking arg --libexecdir=/usr/lib64 compilers: Unknown arg --libexecdir=/usr/lib64 compilers: Checking arg --enable-languages=c,c++,objc,fortran,obj-c++,java,ada compilers: Unknown arg --enable-languages=c,c++,objc,fortran,obj-c++,java,ada compilers: Checking arg --enable-checking=release compilers: Unknown arg --enable-checking=release compilers: Checking arg --with-gxx-include-dir=/usr/include/c++/4.3 compilers: Unknown arg --with-gxx-include-dir=/usr/include/c++/4.3 compilers: Checking arg --enable-ssp compilers: Unknown arg --enable-ssp compilers: Checking arg --disable-libssp compilers: Unknown arg --disable-libssp compilers: Checking arg --with-bugurl=http://bugs.opensuse.org/ compilers: Unknown arg --with-bugurl=http://bugs.opensuse.org/ compilers: Checking arg --with-pkgversion= compilers: Unknown arg --with-pkgversion= compilers: Checking arg --disable-libgcj compilers: Unknown arg --disable-libgcj compilers: Checking arg --disable-libmudflap compilers: Unknown arg --disable-libmudflap compilers: Checking arg --with-slibdir=/lib64 compilers: Unknown arg --with-slibdir=/lib64 compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg --enable-__cxa_atexit compilers: Unknown arg --enable-__cxa_atexit compilers: Checking arg --enable-libstdcxx-allocator=new compilers: Unknown arg --enable-libstdcxx-allocator=new compilers: Checking arg --disable-libstdcxx-pch compilers: Unknown arg --disable-libstdcxx-pch compilers: Checking arg --enable-version-specific-runtime-libs compilers: Unknown arg --enable-version-specific-runtime-libs compilers: Checking arg --program-suffix=-4.3 compilers: Unknown arg --program-suffix=-4.3 compilers: Checking arg --enable-linux-futex compilers: Unknown arg --enable-linux-futex compilers: Checking arg --without-system-libunwind compilers: Unknown arg --without-system-libunwind compilers: Checking arg --with-cpu=generic compilers: Unknown arg --with-cpu=generic compilers: Checking arg --build=x86_64-suse-linux compilers: Unknown arg --build=x86_64-suse-linux compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg gcc compilers: Unknown arg gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 4.3.4 compilers: Unknown arg 4.3.4 compilers: Checking arg [gcc-4_3-branch compilers: Unknown arg [gcc-4_3-branch compilers: Checking arg revision compilers: Unknown arg revision compilers: Checking arg 152973] compilers: Unknown arg 152973] compilers: Checking arg (SUSE compilers: Unknown arg (SUSE compilers: Checking arg Linux) compilers: Unknown arg Linux) compilers: Checking arg COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ compilers: Unknown arg COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ compilers: Checking arg LIBRARY_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64/:/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../:/lib/:/usr/lib/ compilers: Unknown arg LIBRARY_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.3/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64/:/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64/:/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64/:/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib/:/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../:/lib/:/usr/lib/ compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/collect2 compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/collect2 compilers: Checking arg --build-id compilers: Unknown arg --build-id compilers: Checking arg --eh-frame-hdr compilers: Unknown arg --eh-frame-hdr compilers: Checking arg -m compilers: Unknown arg -m compilers: Checking arg elf_x86_64 compilers: Unknown arg elf_x86_64 compilers: Checking arg -dynamic-linker compilers: Unknown arg -dynamic-linker compilers: Checking arg /lib64/ld-linux-x86-64.so.2 compilers: Unknown arg /lib64/ld-linux-x86-64.so.2 compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-Q7eJC6/config.compilers/conftest compilers: Unknown arg /tmp/petsc-Q7eJC6/config.compilers/conftest compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crti.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crti.o compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/crtbegin.o compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/4.3 compilers: Found library directory: -L/usr/lib64/gcc/x86_64-suse-linux/4.3 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Found library directory: -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 compilers: Found library directory: -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 compilers: Found library directory: -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 compilers: Found library directory: -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 compilers: Checking arg -L/usr/x86_64-suse-linux/lib compilers: Found library directory: -L/usr/x86_64-suse-linux/lib compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/4.3 compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64 compilers: Checking arg -L/lib/../lib64 compilers: Checking arg -L/usr/lib/../lib64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/ipp/../compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 compilers: Checking arg -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/lib compilers: Checking arg -L/usr/lib64/gcc/x86_64-suse-linux/4.3/../../.. compilers: Checking arg /tmp/petsc-Q7eJC6/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-Q7eJC6/config.compilers/conftest.o compilers: Checking arg -rpath compilers: Found -rpath library: /usr/lib64/gcc/x86_64-suse-linux/4.3 compilers: Checking arg -rpath compilers: Found -rpath library: /opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 compilers: Checking arg -rpath compilers: Already in rpathflags, skipping:-rpath compilers: Checking arg -rpath compilers: Found -rpath library: /opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 compilers: Checking arg -rpath compilers: Already in rpathflags, skipping:-rpath compilers: Checking arg -rpath compilers: Found -rpath library: /opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 compilers: Checking arg -rpath compilers: Found -rpath library: /opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 compilers: Checking arg -rpath compilers: Found -rpath library: /usr/x86_64-suse-linux/lib compilers: Checking arg -ldl compilers: Found library: -ldl 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 -ldl compilers: Checking arg -lstdc++ compilers: Found library: -lstdc++ compilers: Checking arg -lm compilers: Checking arg -lgcc_s compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg -lc compilers: Skipping system library: -lc compilers: Checking arg -lgcc_s compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/crtend.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/crtend.o compilers: Checking arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crtn.o compilers: Unknown arg /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crtn.o compilers: Libraries needed to link Cxx code with another linker: ['-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3', '-L/usr/lib64/gcc/x86_64-suse-linux/4.3', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64', '-L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64', '-L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64', '-L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1', '-L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-L/usr/x86_64-suse-linux/lib', '-Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64', '-Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1', '-Wl,-rpath,/usr/x86_64-suse-linux/lib', '-lstdc++'] compilers: Check that Cxx libraries can be used from C Pushing language C Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -lstdc++ -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -ldl -lgcc_s -ldl Executing: gcc -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.libraries -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -lstdc++ -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -ldl -lgcc_s -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: ld returned 1 exit status Popping language C compilers: Check that Cxx libraries can be used from Fortran Pushing language FC Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC -g /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -lstdc++ -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -ldl -lgcc_s -ldl Executing: ifort -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.setCompilers -fPIC -g /tmp/petsc-Q7eJC6/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ifort -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest -fPIC -g /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -lstdc++ -Wl,-rpath,/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/ipp/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/compiler/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -L/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64 -Wl,-rpath,/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -L/opt/intel/composer_xe_2015.1.133/tbb/lib/intel64/gcc4.1 -Wl,-rpath,/usr/x86_64-suse-linux/lib -L/usr/x86_64-suse-linux/lib -ldl -lgcc_s -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Popping language FC ================================================================================ TEST checkCxx11 from config.compilers(/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py:373) TESTING: checkCxx11 from config.compilers(config/BuildSystem/config/compilers.py:373) Determine the option needed to support the C++11 dialect We auto-detect C++11 if the compiler supports it without options, otherwise we require with-cxx-dialect=C++11 to try adding flags to support it. Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: In file included from /usr/include/c++/4.3/random:40, from /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:4: /usr/include/c++/4.3/c++0x_warning.h:36:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options. In file included from /usr/include/c++/4.3/random:57, from /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:4: /usr/include/c++/4.3/type_traits:82: error: template argument 1 is invalid /usr/include/c++/4.3/type_traits:106: error: template argument 1 is invalid /usr/include/c++/4.3/type_traits:136: error: expected unqualified-id before ‘&&’ token In file included from /usr/include/c++/4.3/tr1_impl/random:2347, from /usr/include/c++/4.3/random:66, from /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:4: /usr/include/c++/4.3/tr1_impl/random.tcc: In member function ‘void std::poisson_distribution<_IntType, _RealType>::_M_initialize()’: /usr/include/c++/4.3/tr1_impl/random.tcc:907: error: ‘lgamma’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc:913: error: ‘round’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc: In member function ‘_IntType std::poisson_distribution<_IntType, _RealType>::operator()(_UniformRandomNumberGenerator&)’: /usr/include/c++/4.3/tr1_impl/random.tcc:1010: error: ‘lgamma’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc: In member function ‘void std::binomial_distribution<_IntType, _RealType>::_M_initialize()’: /usr/include/c++/4.3/tr1_impl/random.tcc:1101: error: ‘round’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc:1105: error: ‘round’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc:1121: error: ‘lgamma’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc:1122: error: ‘lgamma’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc: In member function ‘_IntType std::binomial_distribution<_IntType, _RealType>::operator()(_UniformRandomNumberGenerator&)’: /usr/include/c++/4.3/tr1_impl/random.tcc:1250: error: ‘lgamma’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc:1251: error: ‘lgamma’ is not a member of ‘std’ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc: At global scope: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:5: error: expected constructor, destructor, or type conversion before ‘T’ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc: In function ‘int main()’: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:13: warning: unused variable ‘x’ 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.3/random:40, from /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:4: /usr/include/c++/4.3/c++0x_warning.h:36:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options. In file included from /usr/include/c++/4.3/random:57, from /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:4: /usr/include/c++/4.3/type_traits:82: error: template argument 1 is invalid /usr/include/c++/4.3/type_traits:106: error: template argument 1 is invalid /usr/include/c++/4.3/type_traits:136: error: expected unqualified-id before ‘&&’ token In file included from /usr/include/c++/4.3/tr1_impl/random:2347, from /usr/include/c++/4.3/random:66, from /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:4: /usr/include/c++/4.3/tr1_impl/random.tcc: In member function ‘void std::poisson_distribution<_IntType, _RealType>::_M_initialize()’: /usr/include/c++/4.3/tr1_impl/random.tcc:907: error: ‘lgamma’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc:913: error: ‘round’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc: In member function ‘_IntType std::poisson_distribution<_IntType, _RealType>::operator()(_UniformRandomNumberGenerator&)’: /usr/include/c++/4.3/tr1_impl/random.tcc:1010: error: ‘lgamma’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc: In member function ‘void std::binomial_distribution<_IntType, _RealType>::_M_initialize()’: /usr/include/c++/4.3/tr1_impl/random.tcc:1101: error: ‘round’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc:1105: error: ‘round’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc:1121: error: ‘lgamma’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc:1122: error: ‘lgamma’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc: In member function ‘_IntType std::binomial_distribution<_IntType, _RealType>::operator()(_UniformRandomNumberGenerator&)’: /usr/include/c++/4.3/tr1_impl/random.tcc:1250: error: ‘lgamma’ is not a member of ‘std’ /usr/include/c++/4.3/tr1_impl/random.tcc:1251: error: ‘lgamma’ is not a member of ‘std’ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc: At global scope: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:5: error: expected constructor, destructor, or type conversion before ‘T’ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc: In function ‘int main()’: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:13: warning: unused variable ‘x’ PETSc Error: No output file produced Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -std=c++11 -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: cc1plus: error: unrecognized command line option "-std=c++11" Source: #include "confdefs.h" #include "conffix.h" #include template constexpr T Cubed( T x ) { return x*x*x; } int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag -std=c++11 due to nonzero status from link Rejecting compiler flag -std=c++11 due to cc1plus: error: unrecognized command line option "-std=c++11" PETSc Error: No output file produced Executing: g++ -c -o /tmp/petsc-Q7eJC6/config.setCompilers/conftest.o -I/tmp/petsc-Q7eJC6/config.compilers -I/tmp/petsc-Q7eJC6/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -std=c++0x -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:5: error: expected constructor, destructor, or type conversion before ‘T’ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc: In function ‘int main()’: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:13: warning: unused variable ‘x’ Source: #include "confdefs.h" #include "conffix.h" #include template constexpr T Cubed( T x ) { return x*x*x; } int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag -std=c++0x due to nonzero status from link Rejecting compiler flag -std=c++0x due to /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:5: error: expected constructor, destructor, or type conversion before ‘T’ /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc: In function ‘int main()’: /tmp/petsc-Q7eJC6/config.setCompilers/conftest.cc:13: warning: unused variable ‘x’ PETSc Error: No output file produced **** Configure header /tmp/petsc-Q7eJC6/confdefs.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #ifndef PETSC_HAVE_DLFCN_H #define PETSC_HAVE_DLFCN_H 1 #endif #ifndef PETSC_HAVE_RTLD_NOW #define PETSC_HAVE_RTLD_NOW 1 #endif #ifndef PETSC_HAVE_RTLD_LOCAL #define PETSC_HAVE_RTLD_LOCAL 1 #endif #ifndef PETSC_HAVE_RTLD_LAZY #define PETSC_HAVE_RTLD_LAZY 1 #endif #ifndef PETSC_C_STATIC_INLINE #define PETSC_C_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_CXX_NAMESPACE #define PETSC_HAVE_CXX_NAMESPACE 1 #endif #ifndef PETSC_HAVE_RTLD_GLOBAL #define PETSC_HAVE_RTLD_GLOBAL 1 #endif #ifndef PETSC_C_RESTRICT #define PETSC_C_RESTRICT __restrict__ #endif #ifndef PETSC_CXX_RESTRICT #define PETSC_CXX_RESTRICT __restrict__ #endif #ifndef PETSC_CXX_STATIC_INLINE #define PETSC_CXX_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_LIBDL #define PETSC_HAVE_LIBDL 1 #endif #ifndef PETSC_ARCH #define PETSC_ARCH "linux-intel_elemental" #endif #ifndef PETSC_CLANGUAGE_C #define PETSC_CLANGUAGE_C 1 #endif #ifndef PETSC_USE_ERRORCHECKING #define PETSC_USE_ERRORCHECKING 1 #endif #ifndef PETSC_USE_GDB_DEBUGGER #define PETSC_USE_GDB_DEBUGGER 1 #endif #ifndef PETSC_HAVE_DYNAMIC_LIBRARIES #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #endif #ifndef PETSC_HAVE_SHARED_LIBRARIES #define PETSC_HAVE_SHARED_LIBRARIES 1 #endif #ifndef PETSC_USE_SHARED_LIBRARIES #define PETSC_USE_SHARED_LIBRARIES 1 #endif #endif **** C specific Configure header /tmp/petsc-Q7eJC6/conffix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #if defined(__cplusplus) extern "C" { } #else #endif #endif ******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Could not determine compiler flag for with-cxx-dialect=C++11, use CXXFLAGS ******************************************************************************* File "./config/configure.py", line 272, in petsc_configure framework.configure(out = sys.stdout) File "/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/framework.py", line 941, in configure child.configure() File "/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py", line 1392, in configure self.executeTest(self.checkCxx11) File "/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/base.py", line 126, in executeTest ret = test(*args,**kargs) File "/mnt/lustre/esd2/esdveng/petsc-3.5.3/config/BuildSystem/config/compilers.py", line 403, in checkCxx11 raise RuntimeError('Could not determine compiler flag for with-cxx-dialect=%s, use CXXFLAGS' % (self.framework.argDB['with-cxx-dialect'])) ================================================================================ Finishing Configure Run at Mon Jul 13 10:17:25 2015 ================================================================================