Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ ================================================================================ Starting Configure Run at Thu Feb 1 07:46:34 2018 Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --CC=cc --CXX=CC --FC=ftn --with-default-arch=0 --PETSC_ARCH=linux-opt --with-debugging=0 --with-hypre=1 --download-hypre=1 --COPTFLAGS=-O3 --CXXOPTFLAGS=-O3 --FOPTFLAGS=-O3 --with-clib-autodetect=0 --with-cxxlib-autodetect=0 --with-fortranlib-autodetect=0 Working directory: /global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc Machine platform: ('Linux', 'edison07', '4.4.74-92.38-default', '#1 SMP Tue Sep 12 19:43:46 UTC 2017 (545c055)', 'x86_64', 'x86_64') Python version: 2.7.9 (default, Dec 21 2014, 11:02:59) [GCC] ================================================================================ 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(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/framework.py:835) TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:835) ================================================================================ TEST configureDebuggers from config.utilities.debuggers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/utilities/debuggers.py:22) TESTING: configureDebuggers from config.utilities.debuggers(config/BuildSystem/config/utilities/debuggers.py:22) Find a default debugger and determine its arguments Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/gdb...not found Checking for program /usr/common/software/darshan/3.1.4/bin/gdb...not found Checking for program /usr/common/software/altd/2.0/bin/gdb...not found Checking for program /usr/common/software/bin/gdb...not found Checking for program /usr/common/mss/bin/gdb...not found Checking for program /usr/common/nsg/bin/gdb...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/gdb...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/gdb...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/gdb...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/gdb...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/gdb...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/gdb...not found Checking for program /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/gdb...not found Checking for program /usr/syscom/nsg/sbin/gdb...not found Checking for program /usr/syscom/nsg/bin/gdb...not found Checking for program /opt/cray/pe/modules/3.2.10.6/bin/gdb...not found Checking for program /usr/local/bin/gdb...not found Checking for program /usr/bin/gdb...found Defined make macro "GDB" to "/usr/bin/gdb" Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/dbx...not found Checking for program /usr/common/software/darshan/3.1.4/bin/dbx...not found Checking for program /usr/common/software/altd/2.0/bin/dbx...not found Checking for program /usr/common/software/bin/dbx...not found Checking for program /usr/common/mss/bin/dbx...not found Checking for program /usr/common/nsg/bin/dbx...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/dbx...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/dbx...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/dbx...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/dbx...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/dbx...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/dbx...not found Checking for program /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/dbx...not found Checking for program /usr/syscom/nsg/sbin/dbx...not found Checking for program /usr/syscom/nsg/bin/dbx...not found Checking for program /opt/cray/pe/modules/3.2.10.6/bin/dbx...not found Checking for program /usr/local/bin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /bin/dbx...not found Checking for program /usr/bin/X11/dbx...not found Checking for program /usr/games/dbx...not found Checking for program /usr/lib/mit/bin/dbx...not found Checking for program /usr/lib/mit/sbin/dbx...not found Checking for program /opt/cray/pe/bin/dbx...not found Checking for program /global/homes/a/apbhalla/dbx...not found Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/xdb...not found Checking for program /usr/common/software/darshan/3.1.4/bin/xdb...not found Checking for program /usr/common/software/altd/2.0/bin/xdb...not found Checking for program /usr/common/software/bin/xdb...not found Checking for program /usr/common/mss/bin/xdb...not found Checking for program /usr/common/nsg/bin/xdb...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/xdb...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/xdb...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/xdb...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/xdb...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/xdb...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/xdb...not found Checking for program /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/xdb...not found Checking for program /usr/syscom/nsg/sbin/xdb...not found Checking for program /usr/syscom/nsg/bin/xdb...not found Checking for program /opt/cray/pe/modules/3.2.10.6/bin/xdb...not found Checking for program /usr/local/bin/xdb...not found Checking for program /usr/bin/xdb...not found Checking for program /bin/xdb...not found Checking for program /usr/bin/X11/xdb...not found Checking for program /usr/games/xdb...not found Checking for program /usr/lib/mit/bin/xdb...not found Checking for program /usr/lib/mit/sbin/xdb...not found Checking for program /opt/cray/pe/bin/xdb...not found Checking for program /global/homes/a/apbhalla/xdb...not found Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/dsymutil...not found Checking for program /usr/common/software/darshan/3.1.4/bin/dsymutil...not found Checking for program /usr/common/software/altd/2.0/bin/dsymutil...not found Checking for program /usr/common/software/bin/dsymutil...not found Checking for program /usr/common/mss/bin/dsymutil...not found Checking for program /usr/common/nsg/bin/dsymutil...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/dsymutil...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/dsymutil...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/dsymutil...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/dsymutil...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/dsymutil...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/dsymutil...not found Checking for program /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/dsymutil...not found Checking for program /usr/syscom/nsg/sbin/dsymutil...not found Checking for program /usr/syscom/nsg/bin/dsymutil...not found Checking for program /opt/cray/pe/modules/3.2.10.6/bin/dsymutil...not found Checking for program /usr/local/bin/dsymutil...not found Checking for program /usr/bin/dsymutil...not found Checking for program /bin/dsymutil...not found Checking for program /usr/bin/X11/dsymutil...not found Checking for program /usr/games/dsymutil...not found Checking for program /usr/lib/mit/bin/dsymutil...not found Checking for program /usr/lib/mit/sbin/dsymutil...not found Checking for program /opt/cray/pe/bin/dsymutil...not found Checking for program /global/homes/a/apbhalla/dsymutil...not found Defined make macro "DSYMUTIL" to "true" Defined "USE_GDB_DEBUGGER" to "1" ================================================================================ TEST configureGit from config.sourceControl(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/sourceControl.py:24) TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/git...not found Checking for program /usr/common/software/darshan/3.1.4/bin/git...not found Checking for program /usr/common/software/altd/2.0/bin/git...not found Checking for program /usr/common/software/bin/git...not found Checking for program /usr/common/mss/bin/git...not found Checking for program /usr/common/nsg/bin/git...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/git...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/git...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/git...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/git...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/git...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/git...not found Checking for program /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/git...not found Checking for program /usr/syscom/nsg/sbin/git...not found Checking for program /usr/syscom/nsg/bin/git...not found Checking for program /opt/cray/pe/modules/3.2.10.6/bin/git...not found Checking for program /usr/local/bin/git...not found Checking for program /usr/bin/git...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 1.8.5.6 ================================================================================ TEST configureMercurial from config.sourceControl(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/sourceControl.py:35) TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/hg...not found Checking for program /usr/common/software/darshan/3.1.4/bin/hg...not found Checking for program /usr/common/software/altd/2.0/bin/hg...not found Checking for program /usr/common/software/bin/hg...not found Checking for program /usr/common/mss/bin/hg...not found Checking for program /usr/common/nsg/bin/hg...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/hg...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/hg...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/hg...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/hg...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/hg...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/hg...not found Checking for program /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/hg...not found Checking for program /usr/syscom/nsg/sbin/hg...not found Checking for program /usr/syscom/nsg/bin/hg...not found Checking for program /opt/cray/pe/modules/3.2.10.6/bin/hg...not found Checking for program /usr/local/bin/hg...not found Checking for program /usr/bin/hg...not found Checking for program /bin/hg...not found Checking for program /usr/bin/X11/hg...not found Checking for program /usr/games/hg...not found Checking for program /usr/lib/mit/bin/hg...not found Checking for program /usr/lib/mit/sbin/hg...not found Checking for program /opt/cray/pe/bin/hg...not found Checking for program /global/homes/a/apbhalla/hg...not found ================================================================================ TEST configureCLanguage from PETSc.options.languages(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/languages.py:27) TESTING: configureCLanguage from PETSc.options.languages(config/PETSc/options/languages.py:27) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" ================================================================================ TEST configureDirectories from PETSc.options.petscdir(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/petscdir.py:23) TESTING: configureDirectories from PETSc.options.petscdir(config/PETSc/options/petscdir.py:23) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 1 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 7 #define PETSC_VERSION_SUBMINOR 7 #define PETSC_VERSION_PATCH 0 #define PETSC_VERSION_DATE "unknown" #define PETSC_VERSION_GIT "unknown" #define PETSC_VERSION_DATE_GIT "unknown" #define PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ Defined make macro "DIR" to "/global/homes/a/apbhalla/softwares/PETSc-BitBucket/PETSc" ================================================================================ TEST getDatafilespath from PETSc.options.dataFilesPath(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/dataFilesPath.py:29) TESTING: getDatafilespath from PETSc.options.dataFilesPath(config/PETSc/options/dataFilesPath.py:29) Checks what DATAFILESPATH should be ================================================================================ TEST configureInstallationMethod from PETSc.options.petscclone(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/petscclone.py:20) TESTING: configureInstallationMethod from PETSc.options.petscclone(config/PETSc/options/petscclone.py:20) bin/maint exists. This appears to be a repository clone .git directory exists Executing: cd /global/homes/a/apbhalla/softwares/PETSc-BitBucket/PETSc && git describe stdout: v3.7.7 Executing: cd /global/homes/a/apbhalla/softwares/PETSc-BitBucket/PETSc && git log -1 --pretty=format:%H stdout: b1d50a6186ff05ff2a65c5efe4577635b0130cd8 Executing: cd /global/homes/a/apbhalla/softwares/PETSc-BitBucket/PETSc && git log -1 --pretty=format:%ci stdout: 2017-09-25 18:01:20 -0500 Executing: cd /global/homes/a/apbhalla/softwares/PETSc-BitBucket/PETSc && git branch stdout: * (detached from v3.7.7) master Defined "VERSION_GIT" to ""v3.7.7"" Defined "VERSION_DATE_GIT" to ""2017-09-25 18:01:20 -0500"" Defined "VERSION_BRANCH_GIT" to ""(detached from v3.7.7)"" ================================================================================ TEST configureArchitecture from PETSc.options.arch(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/arch.py:36) TESTING: configureArchitecture from PETSc.options.arch(config/PETSc/options/arch.py:36) Checks PETSC_ARCH and sets if not set Defined "ARCH" to ""linux-opt"" ================================================================================ TEST setInstallDir from PETSc.options.installDir(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/installDir.py:35) TESTING: setInstallDir from PETSc.options.installDir(config/PETSc/options/installDir.py:35) setup installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH ================================================================================ TEST saveReconfigure from PETSc.options.installDir(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/installDir.py:74) TESTING: saveReconfigure from PETSc.options.installDir(config/PETSc/options/installDir.py:74) ================================================================================ TEST cleanInstallDir from PETSc.options.installDir(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/installDir.py:67) TESTING: cleanInstallDir from PETSc.options.installDir(config/PETSc/options/installDir.py:67) ================================================================================ TEST configureInstallDir from PETSc.options.installDir(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/installDir.py:51) TESTING: configureInstallDir from PETSc.options.installDir(config/PETSc/options/installDir.py:51) Makes installDir subdirectories if it does not exist for both prefix install location and PETSc work install location Changed persistence directory to /global/homes/a/apbhalla/softwares/PETSc-BitBucket/PETSc/linux-opt/lib/petsc/conf ================================================================================ TEST restoreReconfigure from PETSc.options.installDir(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/installDir.py:87) TESTING: restoreReconfigure from PETSc.options.installDir(config/PETSc/options/installDir.py:87) ================================================================================ TEST setExternalPackagesDir from PETSc.options.externalpackagesdir(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/externalpackagesdir.py:15) TESTING: setExternalPackagesDir from PETSc.options.externalpackagesdir(config/PETSc/options/externalpackagesdir.py:15) ================================================================================ TEST cleanExternalpackagesDir from PETSc.options.externalpackagesdir(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/externalpackagesdir.py:22) TESTING: cleanExternalpackagesDir from PETSc.options.externalpackagesdir(config/PETSc/options/externalpackagesdir.py:22) ================================================================================ TEST printEnvVariables from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1589) TESTING: printEnvVariables from config.setCompilers(config/BuildSystem/config/setCompilers.py:1589) **** printenv **** CRAY_MPICH_BASEDIR=/opt/cray/pe/mpt/7.6.2/gni PE_HDF5_FORTRAN_PKGCONFIG_LIBS=hdf5hl_fortran:hdf5_fortran PE_HDF5_FIXED_PRGENV=CRAY INTEL CRAY_LIBSCI_BASE_DIR=/opt/cray/pe/libsci/17.09.1 CPU=x86_64 PE_PETSC_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/petsc/3.7.6.0/complex/@PRGENV@/@PE_PETSC_DEFAULT_GENCOMPS@/@PE_PETSC_DEFAULT_TARGET@/lib/pkgconfig INTEL_PATH=/opt/intel/compilers_and_libraries_2018.1.163 ALTD_ON=1 PE_LIBSCI_GENCOMPILERS_CRAY_x86_64=8.6 PE_FFTW_DEFAULT_TARGET_share=share HISTSIZE=1000 PE_TPSL_64_DEFAULT_GENCOMPS_INTEL_x86_64=160 CRAY_LIBSCI_VERSION=17.09.1 JAVA_HOME=/usr/lib64/jvm/java craype_already_loaded=0 PE_LIBSCI_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/libsci/17.09.1/@PRGENV@/@PE_LIBSCI_GENCOMPS@/@PE_LIBSCI_TARGET@/lib/pkgconfig FPATH=:/opt/cray/pe/modules/3.2.10.6/init/sh_funcs/no_redirect:/opt/cray/pe/modules/3.2.10.6/init/sh_funcs/no_redirect PE_NETCDF_HDF5PARALLEL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/netcdf-hdf5parallel/4.4.1.1.3/@PRGENV@/@PE_NETCDF_HDF5PARALLEL_DEFAULT_GENCOMPS@/lib/pkgconfig PE_HDF5_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/hdf5/1.10.0.3/@PRGENV@/@PE_HDF5_DEFAULT_GENCOMPS@/lib/pkgconfig PE_TPSL_DEFAULT_GENCOMPILERS_GNU_x86_skylake=6.1 XDG_SESSION_ID=18409 PE_TRILINOS_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/trilinos/12.10.1.1/@PRGENV@/@PE_TRILINOS_DEFAULT_GENCOMPS@/@PE_TRILINOS_DEFAULT_TARGET@/lib/pkgconfig PE_FFTW_DEFAULT_TARGET_x86_skylake=x86_skylake PE_SMA_DEFAULT_DIR_PGI_DEFAULT64=64 CSCRATCH=/global/cscratch1/sd/apbhalla KSH_AUTOLOAD=1 PE_PETSC_DEFAULT_GENCOMPILERS_GNU_haswell=5.3 4.9 CSHEDIT=emacs PE_TRILINOS_DEFAULT_GENCOMPILERS_INTEL_x86_64=16.0 CRAY_UDREG_INCLUDE_OPTS=-I/opt/cray/udreg/2.3.2-6.0.4.0_12.2__g2f9c3ee.ari/include USER=apbhalla PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_x86_64=160 PE_TPSL_64_DEFAULT_GENCOMPILERS_GNU_x86_64=5.1 4.9 JDK_HOME=/usr/lib64/jvm/java PE_HDF5_DEFAULT_GENCOMPS_GNU=51 49 PE_TPSL_DEFAULT_GENCOMPILERS_INTEL_x86_64=16.0 CRAY_LIBSCI_DIR=/opt/cray/pe/libsci/17.09.1 PE_TPSL_64_DEFAULT_GENCOMPILERS_INTEL_x86_64=16.0 PE_HDF5_PARALLEL_DEFAULT_GENCOMPILERS_GNU=5.1 4.9 JAVA_BINDIR=/usr/lib64/jvm/java/bin PE_TPSL_DEFAULT_GENCOMPS_INTEL_x86_skylake=160 PE_LIBSCI_DEFAULT_OMP_REQUIRES= PE_NETCDF_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/netcdf/4.4.1.1.3/@PRGENV@/@PE_NETCDF_DEFAULT_GENCOMPS@/lib/pkgconfig PE_PETSC_DEFAULT_GENCOMPILERS_GNU_mic_knl=5.3 PE_PETSC_DEFAULT_GENCOMPS_GNU_skylake=61 PE_TPSL_DEFAULT_GENCOMPS_CRAY_x86_64=86 PE_MPICH_DEFAULT_FIXED_PRGENV=INTEL PE_HDF5_PARALLEL_DEFAULT_FIXED_PRGENV=CRAY INTEL PE_TPSL_64_DEFAULT_GENCOMPS_CRAY_sandybridge=86 TMPDIR=/tmp PE_PKGCONFIG_PRODUCTS_DEFAULT=PE_PAPI PE_LIBSCI_DEFAULT_OMP_REQUIRES_openmp=_mp XDG_DATA_DIRS=/usr/share PE_HDF5_PARALLEL_DEFAULT_GENCOMPS_GNU=51 49 _LMFILES_=/opt/cray/pe/modulefiles/modules/3.2.10.6:/usr/syscom/nsg/modulefiles/nsg/1.2.0:/opt/modulefiles/intel/18.0.1.163:/opt/cray/pe/craype/2.5.12/modulefiles/craype-network-aries:/opt/cray/pe/modulefiles/craype/2.5.12:/opt/cray/pe/modulefiles/cray-libsci/17.09.1:/opt/cray/ari/modulefiles/udreg/2.3.2-6.0.4.0_12.2__g2f9c3ee.ari:/opt/cray/ari/modulefiles/ugni/6.0.14-6.0.4.0_14.1__ge7db4a2.ari:/opt/cray/pe/modulefiles/pmi/5.0.12:/opt/cray/ari/modulefiles/dmapp/7.1.1-6.0.4.0_46.2__gb8abda2.ari:/opt/cray/ari/modulefiles/gni-headers/5.0.11-6.0.4.0_7.2__g7136988.ari:/opt/cray/ari/modulefiles/xpmem/2.2.2-6.0.4.0_3.1__g43b0535.ari:/opt/cray/ari/modulefiles/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari:/opt/cray/ari/modulefiles/dvs/2.7_2.2.32-6.0.4.1_7.2__ged1923a:/opt/cray/ari/modulefiles/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari:/opt/cray/ari/modulefiles/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari:/opt/cray/pe/modulefiles/atp/2.1.1:/opt/cray/pe/modulefiles/PrgEnv-intel/6.0.4:/opt/cray/pe/craype/2.5.12/modulefiles/craype-ivybridge:/opt/cray/pe/modulefiles/cray-mpich/7.6.2:/usr/common/software/modulefiles/altd/2.0:/usr/common/software/modulefiles/darshan/3.1.4:/opt/cray/pe/modulefiles/cray-hdf5/1.10.0.3 MODULE_VERSION=3.2.10.6 LIBSCI_VERSION=17.09.1 CRAY_XPMEM_INCLUDE_OPTS=-I/opt/cray/xpmem/2.2.2-6.0.4.0_3.1__g43b0535.ari/include PE_MPICH_DEFAULT_GENCOMPS_GNU=51 49 HOME=/global/homes/a/apbhalla LS_OPTIONS=-N --color=none -T 0 PE_LIBSCI_GENCOMPS_INTEL_x86_64=160 PE_GA_DEFAULT_FIXED_PRGENV=CRAY INTEL DVS_MAXNODES=1__ PE_GA_DEFAULT_GENCOMPILERS_GNU=5.1 4.9 PE_FORTRAN_PKGCONFIG_LIBS=hdf5hl_fortran:hdf5_fortran:mpichf90 PE_PAPI_DEFAULT_ACCEL_LIBS_nvidia35=,-lcupti,-lcudart,-lcuda CRAYLMD_LICENSE_FILE=27000@craycce.licenses.nersc.gov NNTPSERVER=news ATP_IGNORE_SIGTERM=1 HOST=edison07 PE_NETCDF_HDF5PARALLEL_DEFAULT_VOLATILE_PRGENV=GNU PE_MPICH_DEFAULT_GENCOMPILERS_GNU=5.1 4.9 INPUTRC=/etc/inputrc PE_MPICH_MODULE_NAME=cray-mpich MAN_POSIXLY_CORRECT=1 PE_TPSL_64_DEFAULT_GENCOMPS_CRAY_x86_skylake=86 PE_FFTW_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/fftw/3.3.6.2/@PE_FFTW_DEFAULT_TARGET@/lib/pkgconfig PE_PETSC_DEFAULT_GENCOMPS_INTEL_haswell=160 NERSC_HOST=edison INTEL_MINOR_VERSION=18 PE_PARALLEL_NETCDF_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/parallel-netcdf/1.8.1.3/@PRGENV@/@PE_PARALLEL_NETCDF_DEFAULT_GENCOMPS@/lib/pkgconfig JRE_HOME=/usr/lib64/jvm/java/jre PE_TPSL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/tpsl/17.06.1/@PRGENV@/@PE_TPSL_DEFAULT_GENCOMPS@/@PE_TPSL_DEFAULT_TARGET@/lib/pkgconfig HDF5_ROOT=/opt/cray/pe/hdf5/1.10.0.3/INTEL/16.0 PE_LIBSCI_DEFAULT_GENCOMPS_GNU_x86_64=61 51 49 PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH PE_HDF5_DEFAULT_FIXED_PRGENV=CRAY INTEL LIBGL_ALWAYS_INDIRECT=1 PE_SMA_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/mpt/7.6.2/gni/sma@PE_SMA_DEFAULT_DIR_DEFAULT64@/lib64/pkgconfig PE_TPSL_DEFAULT_VOLATILE_PRGENV=CRAY CRAY64 GNU GNU64 INTEL INTEL64 PE_MPICH_PKGCONFIG_VARIABLES=PE_MPICH_NV_LIBS_@accelerator@:PE_MPICH_ALTERNATE_LIBS_@multithreaded@:PE_MPICH_ALTERNATE_LIBS_@dpm@ LIBSCI_BASE_DIR=/opt/cray/pe/libsci/17.09.1 PE_TPSL_64_DEFAULT_GENCOMPS_GNU_x86_skylake=61 ATP_POST_LINK_OPTS=-Wl,-L/opt/cray/pe/atp/2.1.1/libApp/ COLORTERM=1 PE_TPSL_64_DEFAULT_GENCOMPS_GNU_sandybridge=51 49 PE_HDF5_PARALLEL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/hdf5-parallel/1.10.0.3/@PRGENV@/@PE_HDF5_PARALLEL_DEFAULT_GENCOMPS@/lib/pkgconfig PE_GA_DEFAULT_VOLATILE_PRGENV=GNU OLDPWD=/global/homes/a/apbhalla/softwares/PETSc-BitBucket LOADEDMODULES=modules/3.2.10.6:nsg/1.2.0:intel/18.0.1.163:craype-network-aries:craype/2.5.12:cray-libsci/17.09.1:udreg/2.3.2-6.0.4.0_12.2__g2f9c3ee.ari:ugni/6.0.14-6.0.4.0_14.1__ge7db4a2.ari:pmi/5.0.12:dmapp/7.1.1-6.0.4.0_46.2__gb8abda2.ari:gni-headers/5.0.11-6.0.4.0_7.2__g7136988.ari:xpmem/2.2.2-6.0.4.0_3.1__g43b0535.ari:job/2.2.2-6.0.4.0_8.2__g3c644b5.ari:dvs/2.7_2.2.32-6.0.4.1_7.2__ged1923a:alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari:rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari:atp/2.1.1:PrgEnv-intel/6.0.4:craype-ivybridge:cray-mpich/7.6.2:altd/2.0:darshan/3.1.4:cray-hdf5/1.10.0.3 PE_PETSC_DEFAULT_GENCOMPILERS_CRAY_x86_64=8.6 PE_PETSC_DEFAULT_GENCOMPS_INTEL_sandybridge=160 PE_PAPI_DEFAULT_PKGCONFIG_VARIABLES=PE_PAPI_ACCEL_LIBS_@accelerator@ PE_MPICH_ALTERNATE_LIBS_multithreaded=_mt CRAY_LD_LIBRARY_PATH=/opt/cray/pe/hdf5/1.10.0.3/INTEL/16.0/lib:/opt/cray/pe/mpt/7.6.2/gni/mpich-intel/16.0/lib:/opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/lib64:/opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/lib64:/opt/cray/xpmem/2.2.2-6.0.4.0_3.1__g43b0535.ari/lib64:/opt/cray/dmapp/7.1.1-6.0.4.0_46.2__gb8abda2.ari/lib64:/opt/cray/pe/pmi/5.0.12/lib64:/opt/cray/ugni/6.0.14-6.0.4.0_14.1__ge7db4a2.ari/lib64:/opt/cray/udreg/2.3.2-6.0.4.0_12.2__g2f9c3ee.ari/lib64:/opt/cray/pe/libsci/17.09.1/INTEL/16.0/x86_64/lib PE_TRILINOS_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL PE_LIBSCI_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL PE_PAPI_DEFAULT_ACCEL_LIBS= LESS=-M -I -R PE_LIBSCI_GENCOMPILERS_GNU_x86_64=6.1 5.1 4.9 PE_HDF5_PARALLEL_DEFAULT_VOLATILE_PRGENV=GNU PE_TPSL_64_DEFAULT_GENCOMPILERS_CRAY_x86_64=8.6 CRAYPE_NETWORK_TARGET=aries USERMODULES=PrgEnv-cray:PrgEnv-gnu:PrgEnv-intel:PrgEnv-pathscale:PrgEnv-pgi:acml:alps:apprentice:apprentice2:atp:blcr:cce:chapel:cray-ccdb:cray-fftw:cray-ga:cray-hdf5:cray-hdf5-parallel:cray-lgdb:cray-libsci:cray-libsci_acc:cray-mpich:cray-mpich-compat:cray-mpich2:cray-netcdf:cray-netcdf-hdf5parallel:cray-parallel-netcdf:cray-petsc:cray-petsc-complex:cray-shmem:cray-snplauncher:cray-tpsl:cray-trilinos:craypat:craype:craypkg-gen:cudatoolkit:ddt:fftw:ga:gcc:hdf5:hdf5-parallel:intel:iobuf:java:lgdb:libfast:libsci_acc:mpich1:netcdf:netcdf-hdf5parallel:netcdf-nofsync:netcdf-nofsync-hdf5parallel:ntk:onesided:papi:parallel-netcdf:pathscale:perftools:perftools-lite:petsc:petsc-complex:pgi:pmi:stat:totalview:tpsl:trilinos:xt-asyncpe:xt-craypat:xt-lgdb:xt-libsci:xt-mpich2:xt-mpt:xt-papi:xt-shmem:xt-totalview XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB CRAY_HDF5_DIR=/opt/cray/pe/hdf5/1.10.0.3 PE_TPSL_64_DEFAULT_GENCOMPS_INTEL_x86_skylake=160 CRAY_CPU_TARGET=sandybridge PE_PKGCONFIG_PRODUCTS=PE_HDF5:PE_MPICH:PE_LIBSCI PE_LIBSCI_MODULE_NAME=cray-libsci/17.09.1 PE_FFTW_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH LDAPTLS_REQCERT=never PELOCAL_PRGENV=true PE_PETSC_DEFAULT_GENCOMPS_INTEL_skylake=160 PE_TPSL_DEFAULT_GENCOMPS_INTEL_x86_64=160 TARGETMODULES=craype-abudhabi:craype-abudhabi-cu:craype-accel-host:craype-accel-nvidia20:craype-accel-nvidia30:craype-accel-nvidia35:craype-barcelona:craype-broadwell:craype-haswell:craype-hugepages128K:craype-hugepages128M:craype-hugepages16M:craype-hugepages256M:craype-hugepages2M:craype-hugepages32M:craype-hugepages4M:craype-hugepages512K:craype-hugepages512M:craype-hugepages64M:craype-hugepages8M:craype-intel-knc:craype-interlagos:craype-interlagos-cu:craype-istanbul:craype-ivybridge:craype-mc12:craype-mc8:craype-mic-knl:craype-network-aries:craype-network-gemini:craype-network-infiniband:craype-network-none:craype-network-seastar:craype-sandybridge:craype-shanghai:craype-target-compute_node:craype-target-local_host:craype-target-native: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_TPSL_64_DEFAULT_GENCOMPS_CRAY_mic_knl=86 PE_PAPI_DEFAULT_ACCEL_FAMILY_LIBS_nvidia=,-lcupti,-lcudart,-lcuda CRAY_DMAPP_POST_LINK_OPTS=-L/opt/cray/dmapp/7.1.1-6.0.4.0_46.2__gb8abda2.ari/lib64 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:*.xz=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::di=0;35: PE_SMA_DEFAULT_COMPFLAG= PE_PETSC_DEFAULT_GENCOMPS_GNU_x86_64=53 49 JAVA_ROOT=/usr/lib64/jvm/java PE_TPSL_DEFAULT_GENCOMPS_CRAY_sandybridge=86 CPATH=/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/include MODULE_VERSION_STACK=3.2.10.6 PE_MPICH_PKGCONFIG_LIBS=mpich PE_HDF5_GENCOMPILERS_GNU=5.1 4.9 SHLVL=1 CRAY_ALPS_INCLUDE_OPTS=-I/opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/include PE_MPICH_DEFAULT_DIR_CRAY_DEFAULT64=64 PE_LIBSCI_PKGCONFIG_VARIABLES=PE_LIBSCI_OMP_REQUIRES_@openmp@ CRAY_XPMEM_POST_LINK_OPTS=-L/opt/cray/xpmem/2.2.2-6.0.4.0_3.1__g43b0535.ari/lib64 PETSC_DIR=/global/homes/a/apbhalla/softwares/PETSc-BitBucket/PETSc PE_PETSC_DEFAULT_GENCOMPILERS_CRAY_sandybridge=8.6 PE_TPSL_DEFAULT_GENCOMPS_CRAY_mic_knl=86 PE_PETSC_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_LIBSCI:PE_HDF5_PARALLEL:PE_TPSL XTPE_NETWORK_TARGET=aries PE_TPSL_DEFAULT_GENCOMPS_INTEL_mic_knl=160 PE_TPSL_64_DEFAULT_GENCOMPS_INTEL_mic_knl=160 PE_PETSC_DEFAULT_GENCOMPS_INTEL_x86_64=160 BASH_ENV=/global/homes/a/apbhalla/.bashrc MODULEPATH=/opt/cray/pe/craype/2.5.12/modulefiles:/opt/cray/pe/modulefiles:/opt/cray/modulefiles:/opt/modulefiles:/usr/common/software/modulefiles:/usr/syscom/nsg/modulefiles:/usr/common/das/modulefiles:/usr/common/ftg/modulefiles:/usr/common/graphics/modulefiles:/usr/common/jgi/modulefiles:/usr/common/tig/modulefiles:/opt/cray/craype/default/modulefiles:/opt/cray/ari/modulefiles:/opt/cray/pe/ari/modulefiles CRAY_PE_MODULES=cray-hdf5 ALT_LINKER=/usr/common/software/altd/2.0/bin/ld PE_HDF5_DEFAULT_GENCOMPILERS_GNU=5.1 4.9 PE_PETSC_DEFAULT_GENCOMPS_CRAY_skylake=86 PE_TPSL_64_DEFAULT_GENCOMPS_INTEL_sandybridge=160 PE_TPSL_64_DEFAULT_GENCOMPS_CRAY_x86_64=86 INTEL_LICENSE_FILE=28518@crayintel.licenses.nersc.gov:28518@intel.licenses.nersc.gov HDF5_DIR=/opt/cray/pe/hdf5/1.10.0.3/INTEL/16.0 PE_TRILINOS_DEFAULT_GENCOMPILERS_GNU_x86_64=5.1 4.9 PE_MPICH_DEFAULT_GENCOMPS_CRAY=86 PE_PETSC_DEFAULT_GENCOMPS_CRAY_sandybridge=86 ALTD_PATH=/usr/common/software/altd/2.0 PE_FFTW_DEFAULT_TARGET_ivybridge=ivybridge PE_TPSL_DEFAULT_GENCOMPILERS_INTEL_haswell=16.0 PE_TPSL_64_DEFAULT_GENCOMPILERS_INTEL_mic_knl=16.0 ATP_HOME=/opt/cray/pe/atp/2.1.1 DVS_INCLUDE_OPTS=-I/opt/cray/dvs/2.7_2.2.32-6.0.4.1_7.2__ged1923a/include intel_already_loaded=0 CRAY_UGNI_POST_LINK_OPTS=-L/opt/cray/ugni/6.0.14-6.0.4.0_14.1__ge7db4a2.ari/lib64 PE_PETSC_DEFAULT_GENCOMPILERS_GNU_skylake=6.1 SHMEM_ABORT_ON_ERROR=1 PKG_CONFIG_PATH_DEFAULT=/opt/cray/pe/papi/5.5.1.3/lib64/pkgconfig LESSOPEN=lessopen.sh %s PE_TPSL_64_DEFAULT_GENCOMPILERS_GNU_x86_skylake=6.1 PE_PARALLEL_NETCDF_DEFAULT_VOLATILE_PRGENV=GNU PE_CXX_PKGCONFIG_LIBS=hdf5_hl_cpp:hdf5_cpp:mpichcxx PE_TPSL_DEFAULT_GENCOMPILERS_CRAY_x86_skylake=8.6 SSH_TTY=/dev/pts/48 PE_TPSL_DEFAULT_GENCOMPILERS_GNU_sandybridge=5.1 4.9 PE_TPSL_64_DEFAULT_GENCOMPILERS_INTEL_haswell=16.0 PE_TPSL_DEFAULT_GENCOMPILERS_CRAY_x86_64=8.6 PE_TRILINOS_DEFAULT_GENCOMPS_GNU_x86_64=51 49 PE_PARALLEL_NETCDF_DEFAULT_FIXED_PRGENV=CRAY INTEL PE_FFTW_DEFAULT_TARGET_broadwell=broadwell PE_MPICH_GENCOMPILERS_GNU=5.1 4.9 NSG_HOME=/usr/syscom/nsg PE_TPSL_DEFAULT_GENCOMPS_GNU_x86_64=51 49 SSH_CLIENT=70.42.240.31 53765 22 LOGNAME=apbhalla PE_MPICH_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/mpt/7.6.2/gni/mpich-@PRGENV@@PE_MPICH_DEFAULT_DIR_DEFAULT64@/@PE_MPICH_DEFAULT_GENCOMPS@/lib/pkgconfig PATH=/opt/cray/pe/hdf5/1.10.0.3/bin:/usr/common/software/darshan/3.1.4/bin:/usr/common/software/altd/2.0/bin:/usr/common/software/bin:/usr/common/mss/bin:/usr/common/nsg/bin:/global/homes/a/apbhalla/softwares/automake-1.15.1/bin:/opt/cray/pe/mpt/7.6.2/gni/bin:/opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin:/opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin:/opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin:/opt/cray/pe/craype/2.5.12/bin:/opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64:/usr/syscom/nsg/sbin:/usr/syscom/nsg/bin:/opt/cray/pe/modules/3.2.10.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/cray/pe/bin CLICOLOR=1 PE_TPSL_64_DEFAULT_GENCOMPS_INTEL_haswell=160 PE_HDF5_PARALLEL_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH CRAYPAT_LICENSE_FILE=27000@craycce.licenses.nersc.gov CRAY_PRE_COMPILE_OPTS=-hnetwork=aries PE_TPSL_DEFAULT_GENCOMPILERS_INTEL_x86_skylake=16.0 MPICH_DIR=/opt/cray/pe/mpt/7.6.2/gni/mpich-intel/16.0 PE_PETSC_DEFAULT_GENCOMPILERS_CRAY_mic_knl=8.6 PE_LIBSCI_OMP_REQUIRES= PE_INTEL_DEFAULT_FIXED_PKGCONFIG_PATH=/opt/cray/pe/parallel-netcdf/1.8.1.3/INTEL/16.0/lib/pkgconfig:/opt/cray/pe/netcdf-hdf5parallel/4.4.1.1.3/INTEL/16.0/lib/pkgconfig:/opt/cray/pe/netcdf/4.4.1.1.3/INTEL/16.0/lib/pkgconfig:/opt/cray/pe/mpt/7.6.2/gni/mpich-intel/16.0/lib/pkgconfig:/opt/cray/pe/hdf5-parallel/1.10.0.3/INTEL/16.0/lib/pkgconfig:/opt/cray/pe/hdf5/1.10.0.3/INTEL/16.0/lib/pkgconfig:/opt/cray/pe/ga/5.3.0.7/INTEL/15.0/lib/pkgconfig PE_MPICH_FIXED_PRGENV=INTEL PE_PETSC_DEFAULT_GENCOMPILERS_INTEL_mic_knl=16.0 ALTD_SELECT_OFF_USERS= PE_LIBSCI_GENCOMPS_GNU_x86_64=61 51 49 PE_SMA_DEFAULT_PKGCONFIG_VARIABLES=PE_SMA_COMPFLAG_@prgenv@ PE_PAPI_DEFAULT_ACCELL_FAMILY_LIBS= PE_PKGCONFIG_LIBS=hdf5_hl:hdf5:darshan-runtime:mpich:AtpSigHandler:cray-rca:libsci_mpi:libsci PE_HDF5_DIR=/opt/cray/pe/hdf5/1.10.0.3 PE_TRILINOS_DEFAULT_GENCOMPILERS_CRAY_x86_64=8.6 PE_SMA_DEFAULT_DIR_CRAY_DEFAULT64=64 XCURSOR_THEME=DMZ PE_TPSL_64_DEFAULT_GENCOMPILERS_CRAY_x86_skylake=8.6 CRAYPE_DIR=/opt/cray/pe/craype/2.5.12 INTEL_MAJOR_VERSION=18 PE_MPICH_TARGET_VAR_nvidia35=-lcudart CRAY_PMI_INCLUDE_OPTS=-I/opt/cray/pe/pmi/5.0.12/include MANPATH=/usr/common/software/man:/usr/common/mss/man:/usr/common/nsg/man:/opt/cray/pe/mpt/7.6.2/gni/man/mpich:/opt/cray/pe/atp/2.1.1/man:/opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/man:/opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/man:/opt/cray/pe/pmi/5.0.12/man:/opt/cray/pe/libsci/17.09.1/man:/opt/cray/pe/man/csmlversion:/opt/cray/pe/craype/2.5.12/man:/opt/intel/compilers_and_libraries_2018.1.163/linux/man/common:/usr/syscom/nsg/man:/opt/cray/pe/modules/3.2.10.6/share/man:/usr/local/man:/usr/share/man:/opt/cray/share/man:/opt/cray/pe/man:/opt/cray/share/man PE_TPSL_DEFAULT_GENCOMPILERS_GNU_x86_64=5.1 4.9 PROFILEREAD=true PE_PETSC_DEFAULT_GENCOMPS_GNU_sandybridge=53 49 PE_PETSC_DEFAULT_GENCOMPS_GNU_mic_knl=53 ALTD_SELECT_USERS= PE_NETCDF_HDF5PARALLEL_DEFAULT_REQUIRED_PRODUCTS=PE_HDF5_PARALLEL:PE_MPICH PE_PETSC_DEFAULT_GENCOMPILERS_CRAY_haswell=8.6 MKLROOT=/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl HOSTNAME=edison07 PE_FFTW_DEFAULT_TARGET_mic_knl=mic_knl PETSC_ARCH=linux-opt PE_LIBSCI_PKGCONFIG_LIBS=libsci_mpi:libsci PE_TPSL_DEFAULT_GENCOMPS_INTEL_sandybridge=160 MACHTYPE=x86_64-suse-linux PE_NETCDF_HDF5PARALLEL_DEFAULT_FIXED_PRGENV=CRAY INTEL BASH_FUNC_module%%=() { eval `/opt/cray/pe/modules/3.2.10.6/bin/modulecmd bash $*` } CRAY_MPICH_DIR=/opt/cray/pe/mpt/7.6.2/gni/mpich-intel/16.0 MINICOM=-c on PE_TPSL_64_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_LIBSCI CVS_RSH=ssh PS1=\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]$ PE_HDF5_CXX_PKGCONFIG_LIBS=hdf5_hl_cpp:hdf5_cpp PKGCONFIG_ENABLED=1 PE_PETSC_DEFAULT_GENCOMPILERS_CRAY_skylake=8.6 PE_TPSL_64_DEFAULT_GENCOMPS_GNU_haswell=51 49 PE_TPSL_DEFAULT_GENCOMPILERS_GNU_mic_knl=5.1 PE_NETCDF_HDF5PARALLEL_DEFAULT_GENCOMPILERS_GNU=5.1 4.9 DVS_VERSION=0.9.0 PE_TPSL_DEFAULT_GENCOMPILERS_CRAY_mic_knl=8.6 LIBRARYMODULES=acml:alps:cray-dwarf:cray-fftw:cray-ga:cray-hdf5:cray-hdf5-parallel:cray-libsci:cray-libsci_acc:cray-mpich:cray-mpich-abi:cray-mpich2:cray-netcdf:cray-netcdf-hdf5parallel:cray-parallel-netcdf:cray-petsc:cray-petsc-complex:cray-shmem:cray-tpsl:cray-trilinos:cudatoolkit:fftw:ga:hdf5:hdf5-parallel:iobuf:libfast:netcdf:netcdf-hdf5parallel:ntk:onesided:papi:petsc:petsc-complex:pmi:tpsl:trilinos:xt-libsci:xt-mpich2:xt-mpt:xt-papi MODULESHOME=/opt/cray/pe/modules/3.2.10.6 PE_LIBSCI_DEFAULT_GENCOMPILERS_CRAY_x86_64=8.6 PE_TPSL_DEFAULT_GENCOMPS_CRAY_haswell=86 PE_PETSC_DEFAULT_GENCOMPS_CRAY_haswell=86 PE_MPICH_NV_LIBS_nvidia35=-lcudart CRAY_HDF5_VERSION=1.10.0.3 PE_MPICH_CXX_PKGCONFIG_LIBS=mpichcxx XDG_CONFIG_DIRS=/etc/xdg PE_TPSL_DEFAULT_GENCOMPILERS_CRAY_haswell=8.6 PE_NETCDF_DEFAULT_GENCOMPS_GNU=51 49 PE_TPSL_64_DEFAULT_GENCOMPILERS_GNU_haswell=5.1 4.9 PAGER=less PE_GA_DEFAULT_GENCOMPS_GNU=51 49 LIBGL_DEBUG=quiet CRAY_PMI_POST_LINK_OPTS=-L/opt/cray/pe/pmi/5.0.12/lib64 ATP_MRNET_COMM_PATH=/opt/cray/pe/atp/2.1.1/libexec/atp_mrnet_commnode_wrapper CRAY_MPICH2_VER=7.6.2 PE_LIBSCI_GENCOMPILERS_INTEL_x86_64=16.0 PE_HDF5_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/hdf5/1.10.0.3/@PRGENV@/@PE_HDF5_GENCOMPS@/lib/pkgconfig LD_LIBRARY_PATH=/usr/common/software/darshan/3.1.4/lib:/opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/lib64:/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64 G_BROKEN_FILENAMES=1 ALLINEA_QUEUE_DLL=/opt/cray/pe/mpt/7.6.2/gni/mpich-intel/16.0/lib/libtvmpich.so.3.0.1 PE_TPSL_64_DEFAULT_GENCOMPILERS_GNU_sandybridge=5.1 4.9 PE_TPSL_DEFAULT_GENCOMPS_CRAY_x86_skylake=86 PE_TPSL_DEFAULT_GENCOMPS_GNU_sandybridge=51 49 CRAYPE_USE_BUILDTOOLS=0 PE_LIBSCI_VOLATILE_PRGENV=CRAY GNU INTEL GPG_TTY=/dev/pts/48 FROM_HEADER= LESSCLOSE=lessclose.sh %s %s PE_MPICH_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/mpt/7.6.2/gni/mpich-@PRGENV@@PE_MPICH_DIR_DEFAULT64@/@PE_MPICH_GENCOMPS@/lib/pkgconfig CRAY_ALPS_POST_LINK_OPTS=-L/opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/lib64 PE_MPICH_DEFAULT_GENCOMPILERS_CRAY=8.6 MORE=-sl PE_GA_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/ga/5.3.0.7/@PRGENV@/@PE_GA_DEFAULT_GENCOMPS@/lib/pkgconfig PE_TPSL_DEFAULT_GENCOMPS_GNU_mic_knl=51 HOSTTYPE=x86_64 CRAYPE_VERSION=2.5.12 TERM=xterm-256color PE_PETSC_DEFAULT_GENCOMPILERS_INTEL_sandybridge=16.0 CRAY_MPICH2_DIR=/opt/cray/pe/mpt/7.6.2/gni/mpich-intel/16.0 PE_TPSL_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_LIBSCI CRAY_GNI_HEADERS_INCLUDE_OPTS=-I/opt/cray/gni-headers/5.0.11-6.0.4.0_7.2__g7136988.ari/include PE_PKG_CONFIG_PATH=/opt/cray/pe/cti/1.0.6/lib/pkgconfig PE_CRAY_DEFAULT_FIXED_PKGCONFIG_PATH=/opt/cray/pe/parallel-netcdf/1.8.1.3/CRAY/8.6/lib/pkgconfig:/opt/cray/pe/netcdf-hdf5parallel/4.4.1.1.3/CRAY/8.6/lib/pkgconfig:/opt/cray/pe/netcdf/4.4.1.1.3/CRAY/8.6/lib/pkgconfig:/opt/cray/pe/hdf5-parallel/1.10.0.3/CRAY/8.6/lib/pkgconfig:/opt/cray/pe/hdf5/1.10.0.3/CRAY/8.6/lib/pkgconfig:/opt/cray/pe/ga/5.3.0.7/CRAY/8.4/lib/pkgconfig PE_FFTW_DEFAULT_TARGET_x86_64=x86_64 PE_PETSC_DEFAULT_GENCOMPILERS_INTEL_haswell=16.0 LESSKEY=/etc/lesskey.bin PE_TPSL_64_DEFAULT_GENCOMPS_GNU_mic_knl=51 PYTHONSTARTUP=/etc/pythonstart PWD=/global/homes/a/apbhalla/softwares/PETSc-BitBucket/PETSc PE_PETSC_DEFAULT_GENCOMPS_CRAY_mic_knl=86 PE_TPSL_64_DEFAULT_GENCOMPILERS_CRAY_haswell=8.6 PE_SMA_DEFAULT_COMPFLAG_GNU=-fcray-pointer PE_MPICH_NV_LIBS_nvidia60=-lcudart PE_TPSL_64_DEFAULT_GENCOMPILERS_CRAY_mic_knl=8.6 INTEL_VERSION=18.0.1.163 PE_CRAY_FIXED_PKGCONFIG_PATH=/opt/cray/pe/hdf5/1.10.0.3/CRAY/8.6/lib/pkgconfig PE_LIBSCI_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/libsci/17.09.1/@PRGENV@/@PE_LIBSCI_DEFAULT_GENCOMPS@/@PE_LIBSCI_DEFAULT_TARGET@/lib/pkgconfig PE_FFTW_DEFAULT_TARGET_haswell=haswell PE_FFTW_DEFAULT_TARGET_sandybridge=sandybridge ALTD_WORKDIR=/scratch1/scratchdirs/altdlogs SHELL=/bin/bash PE_MPICH_NV_LIBS= PE_LIBSCI_GENCOMPS_CRAY_x86_64=86 PE_HDF5_PKGCONFIG_LIBS=hdf5_hl:hdf5 PE_PETSC_DEFAULT_VOLATILE_PRGENV=CRAY CRAY64 GNU GNU64 INTEL INTEL64 LESS_ADVANCED_PREPROCESSOR=no PE_HDF5_DEFAULT_VOLATILE_PRGENV=GNU PE_TPSL_DEFAULT_GENCOMPILERS_CRAY_sandybridge=8.6 PE_HDF5_MODULE_NAME=cray-hdf5 PRGENVMODULES=PrgEnv-cray:PrgEnv-gnu:PrgEnv-intel:PrgEnv-pathscale:PrgEnv-pgi DMAPP_ABORT_ON_ERROR=1 XDG_RUNTIME_DIR=/run/user/72823 PE_NETCDF_DEFAULT_VOLATILE_PRGENV=GNU PE_TPSL_64_DEFAULT_GENCOMPILERS_CRAY_sandybridge=8.6 PE_PETSC_DEFAULT_GENCOMPILERS_GNU_sandybridge=5.3 4.9 MPICH_ABORT_ON_ERROR=1 PE_ENV=INTEL PE_PRODUCT_LIST=CRAYPE_IVYBRIDGE:CRAY_RCA:CRAY_ALPS:DVS:CRAY_XPMEM:CRAY_DMAPP:CRAY_PMI:CRAY_UGNI:CRAY_UDREG:CRAY_LIBSCI:CRAYPE:INTEL PE_MPICH_VOLATILE_PRGENV=CRAY GNU PE_PETSC_DEFAULT_GENCOMPS_CRAY_x86_64=86 PE_PETSC_DEFAULT_GENCOMPS_GNU_haswell=53 49 SDK_HOME=/usr/lib64/jvm/java PE_MPICH_GENCOMPILERS_CRAY=8.6 PE_MPICH_GENCOMPS_CRAY=86 CRAY_RCA_POST_LINK_OPTS=-L/opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/lib64 -lrca PE_MPICH_TARGET_VAR_nvidia20=-lcudart MAIL=/var/mail/apbhalla SSH_CONNECTION=70.42.240.31 53765 128.55.209.26 22 MPICH_MPIIO_DVS_MAXNODES=14 PE_LIBSCI_DEFAULT_GENCOMPILERS_GNU_x86_64=6.1 5.1 4.9 PE_MPICH_DIR_CRAY_DEFAULT64=64 ALTD_SELECT_ON=0 PE_TPSL_DEFAULT_GENCOMPILERS_GNU_haswell=5.1 4.9 PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_x86_64=86 PE_PARALLEL_NETCDF_DEFAULT_GENCOMPS_GNU=51 49 CRAY_UGNI_INCLUDE_OPTS=-I/opt/cray/ugni/6.0.14-6.0.4.0_14.1__ge7db4a2.ari/include PE_PKGCONFIG_DEFAULT_PRODUCTS=PE_TRILINOS:PE_TPSL_64:PE_TPSL:PE_PETSC:PE_PARALLEL_NETCDF:PE_NETCDF_HDF5PARALLEL:PE_NETCDF:PE_MPICH:PE_LIBSCI:PE_HDF5_PARALLEL:PE_HDF5:PE_GA:PE_FFTW HDF5_INCLUDE_OPTS=/opt/cray/pe/hdf5/1.10.0.3/INTEL/16.0/include PKG_CONFIG_PATH=/usr/common/software/darshan/3.1.4/lib/pkgconfig:/opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/lib64/pkgconfig:/opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/lib64/pkgconfig:/opt/cray/xpmem/2.2.2-6.0.4.0_3.1__g43b0535.ari/lib64/pkgconfig:/opt/cray/gni-headers/5.0.11-6.0.4.0_7.2__g7136988.ari/lib64/pkgconfig:/opt/cray/dmapp/7.1.1-6.0.4.0_46.2__gb8abda2.ari/lib64/pkgconfig:/opt/cray/pe/pmi/5.0.12/lib64/pkgconfig:/opt/cray/ugni/6.0.14-6.0.4.0_14.1__ge7db4a2.ari/lib64/pkgconfig:/opt/cray/udreg/2.3.2-6.0.4.0_12.2__g2f9c3ee.ari/lib64/pkgconfig:/opt/cray/pe/craype/2.5.12/pkg-config:/opt/cray/pe/iobuf/2.0.8/lib/pkgconfig:/opt/cray/pe/atp/2.1.1/lib/pkgconfig CRAY_MPICH_ROOTDIR=/opt/cray/pe/mpt/7.6.2 XNLSPATH=/usr/share/X11/nls _=./config/configure.py ALTD_VERBOSE=0 WINDOWMANAGER= PE_TPSL_DEFAULT_GENCOMPS_GNU_haswell=51 49 TOOLMODULES=apprentice:apprentice2:atp:chapel:cray-lgdb:cray-snplauncher:craypat:craypkg-gen:ddt:gdb:iobuf:papi:perftools:perftools-lite:stat:totalview:xt-craypat:xt-lgdb:xt-papi:xt-totalview PE_TRILINOS_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_HDF5_PARALLEL:PE_NETCDF_HDF5PARALLEL:PE_LIBSCI:PE_TPSL CRAY_DMAPP_INCLUDE_OPTS=-I/opt/cray/dmapp/7.1.1-6.0.4.0_46.2__gb8abda2.ari/include -I/opt/cray/gni-headers/5.0.11-6.0.4.0_7.2__g7136988.ari/include PE_TPSL_64_DEFAULT_GENCOMPILERS_INTEL_sandybridge=16.0 PE_MPICH_ALTERNATE_LIBS_dpm=_dpm QT_SYSTEM_DIR=/usr/share/desktop-data PE_MPICH_NV_LIBS_nvidia20=-lcudart PE_PETSC_DEFAULT_GENCOMPILERS_INTEL_skylake=16.0 PE_HDF5_VOLATILE_PRGENV=GNU PE_NETCDF_DEFAULT_FIXED_PRGENV=CRAY INTEL LIBRARY_PATH=/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64 PE_INTEL_FIXED_PKGCONFIG_PATH=/opt/cray/pe/hdf5/1.10.0.3/INTEL/16.0/lib/pkgconfig:/opt/cray/pe/mpt/7.6.2/gni/mpich-intel/16.0/lib/pkgconfig PE_TPSL_DEFAULT_GENCOMPS_INTEL_haswell=160 PE_LIBSCI_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH OSTYPE=linux PE_NETCDF_DEFAULT_REQUIRED_PRODUCTS=PE_HDF5 PE_NETCDF_HDF5PARALLEL_DEFAULT_GENCOMPS_GNU=51 49 PE_TRILINOS_DEFAULT_GENCOMPS_INTEL_x86_64=160 MPICH_GNI_ROUTING_MODE=ADAPTIVE_1 PE_TPSL_64_DEFAULT_GENCOMPILERS_INTEL_x86_skylake=16.0 NLSPATH=/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64/locale/%l_%t/%N:/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64/locale/%l_%t/%N PE_MPICH_GENCOMPS_GNU=51 49 CRAY_RCA_INCLUDE_OPTS=-I/opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/include -I/opt/cray/krca/2.2.2-6.0.4.0_5.2__g4614cf3.ari/include -I/opt/cray-hss-devel/8.0.0/include PE_PETSC_DEFAULT_GENCOMPILERS_INTEL_x86_64=16.0 PE_TRILINOS_DEFAULT_GENCOMPS_CRAY_x86_64=86 PE_HDF5_GENCOMPS_GNU=51 49 PE_TPSL_DEFAULT_GENCOMPS_GNU_x86_skylake=61 PE_TPSL_64_DEFAULT_GENCOMPS_CRAY_haswell=86 CRAY_LIBSCI_PREFIX_DIR=/opt/cray/pe/libsci/17.09.1/INTEL/16.0/x86_64 PE_TPSL_DEFAULT_GENCOMPILERS_INTEL_mic_knl=16.0 TZ=US/Pacific PE_PARALLEL_NETCDF_DEFAULT_GENCOMPILERS_GNU=5.1 4.9 PE_TPSL_64_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/pe/tpsl/17.06.1/@PRGENV@64/@PE_TPSL_64_DEFAULT_GENCOMPS@/@PE_TPSL_64_DEFAULT_TARGET@/lib/pkgconfig PE_TPSL_DEFAULT_GENCOMPILERS_INTEL_sandybridge=16.0 PE_MPICH_DEFAULT_VOLATILE_PRGENV=CRAY GNU CRAY_PRGENVINTEL=loaded PE_TPSL_64_DEFAULT_VOLATILE_PRGENV=CRAY CRAY64 GNU GNU64 INTEL INTEL64 PE_LIBSCI_DEFAULT_GENCOMPILERS_INTEL_x86_64=16.0 PE_LIBSCI_OMP_REQUIRES_openmp=_mp PE_MPICH_FORTRAN_PKGCONFIG_LIBS=mpichf90 PE_NETCDF_DEFAULT_GENCOMPILERS_GNU=5.1 4.9 CRAY_SITE_LIST_DIR=/etc/opt/cray/pe/modules CRAY_UDREG_POST_LINK_OPTS=-L/opt/cray/udreg/2.3.2-6.0.4.0_12.2__g2f9c3ee.ari/lib64 RCLOCAL_PRGENV=true PE_PETSC_DEFAULT_GENCOMPILERS_GNU_x86_64=5.3 4.9 SCRATCH=/scratch1/scratchdirs/apbhalla PE_TPSL_64_DEFAULT_GENCOMPS_GNU_x86_64=51 49 PE_LIBSCI_DEFAULT_PKGCONFIG_VARIABLES=PE_LIBSCI_DEFAULT_OMP_REQUIRES_@openmp@ PE_PETSC_DEFAULT_GENCOMPS_INTEL_mic_knl=160 PE_TPSL_64_DEFAULT_GENCOMPILERS_GNU_mic_knl=5.1 ================================================================================ TEST resetEnvCompilers from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1596) TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1596) ================================================================================ TEST checkEnvCompilers from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1626) TESTING: checkEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1626) ================================================================================ TEST checkMPICompilerOverride from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1561) TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:1561) Check if --with-mpi-dir is used along with CC CXX or FC compiler options. This usually prevents mpi compilers from being used - so issue a warning ================================================================================ TEST requireMpiLdPath from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1580) TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:1580) OpenMPI wrappers require LD_LIBRARY_PATH set ================================================================================ TEST checkVendor from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:417) TESTING: checkVendor from config.setCompilers(config/BuildSystem/config/setCompilers.py:417) Determine the compiler vendor Compiler vendor is "" ================================================================================ TEST checkInitialFlags from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:427) TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:427) Initialize the compiler and linker flags Pushing language C Initialized CFLAGS to Initialized CFLAGS to Initialized LDFLAGS to Popping language C Pushing language CUDA Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to Popping language CUDA Pushing language Cxx Initialized CXXFLAGS to Initialized CXX_CXXFLAGS to Initialized LDFLAGS to Popping language Cxx Pushing language FC Initialized FFLAGS to Initialized FFLAGS to Initialized LDFLAGS to Popping language FC Initialized CPPFLAGS to Initialized CUDAPPFLAGS to Initialized CXXCPPFLAGS to Initialized CC_LINKER_FLAGS to [] Initialized CXX_LINKER_FLAGS to [] Initialized FC_LINKER_FLAGS to [] Initialized CUDAC_LINKER_FLAGS to [] Initialized sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ================================================================================ TEST checkCCompiler from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:553) TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:553) Locate a functional C compiler Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/cc...not found Checking for program /usr/common/software/darshan/3.1.4/bin/cc...not found Checking for program /usr/common/software/altd/2.0/bin/cc...not found Checking for program /usr/common/software/bin/cc...not found Checking for program /usr/common/mss/bin/cc...not found Checking for program /usr/common/nsg/bin/cc...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/cc...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/cc...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/cc...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/cc...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/cc...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/cc...found Defined make macro "CC" to "cc" Pushing language C All intermediate test results are stored in /tmp/petsc-pUSgZ5 All intermediate test results are stored in /tmp/petsc-pUSgZ5/config.setCompilers Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/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: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Testing executable /tmp/petsc-pUSgZ5/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-pUSgZ5/config.setCompilers/conftest Executing: /tmp/petsc-pUSgZ5/config.setCompilers/conftest Popping language C ================================================================================ TEST checkCPreprocessor from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:586) TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:586) Locate a functional C preprocessor Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/cc...not found Checking for program /usr/common/software/darshan/3.1.4/bin/cc...not found Checking for program /usr/common/software/altd/2.0/bin/cc...not found Checking for program /usr/common/software/bin/cc...not found Checking for program /usr/common/mss/bin/cc...not found Checking for program /usr/common/nsg/bin/cc...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/cc...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/cc...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/cc...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/cc...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/cc...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/cc...found Defined make macro "CPP" to "cc -E" Pushing language C Executing: cc -E -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c stdout: # 1 "/tmp/petsc-pUSgZ5/config.setCompilers/conftest.c" # 1 "/usr/include/stdc-predef.h" 1 # 43 "/usr/include/stdc-predef.h" # 51 "/usr/include/stdc-predef.h" # 1 "/tmp/petsc-pUSgZ5/config.setCompilers/conftest.c" 2 # 1 "/tmp/petsc-pUSgZ5/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-pUSgZ5/config.setCompilers/conftest.c" 2 # 1 "/tmp/petsc-pUSgZ5/config.setCompilers/conffix.h" 1 # 3 "/tmp/petsc-pUSgZ5/config.setCompilers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 121 "/usr/include/features.h" 3 # 141 "/usr/include/features.h" 3 # 152 "/usr/include/features.h" 3 # 176 "/usr/include/features.h" 3 # 187 "/usr/include/features.h" 3 # 241 "/usr/include/features.h" 3 # 265 "/usr/include/features.h" 3 # 297 "/usr/include/features.h" 3 # 340 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 48 "/usr/include/sys/cdefs.h" 3 # 69 "/usr/include/sys/cdefs.h" 3 # 79 "/usr/include/sys/cdefs.h" 3 # 104 "/usr/include/sys/cdefs.h" 3 # 119 "/usr/include/sys/cdefs.h" 3 # 129 "/usr/include/sys/cdefs.h" 3 # 146 "/usr/include/sys/cdefs.h" 3 # 163 "/usr/include/sys/cdefs.h" 3 # 191 "/usr/include/sys/cdefs.h" 3 # 224 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 401 "/usr/include/sys/cdefs.h" 3 # 409 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 411 "/usr/include/sys/cdefs.h" 2 3 # 443 "/usr/include/sys/cdefs.h" 3 # 366 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 390 "/usr/include/features.h" 2 3 # 25 "/usr/include/stdlib.h" 2 3 # 1 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 83 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 99 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 33 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitflags.h" 1 3 # 42 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitstatus.h" 1 3 # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 116 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 122 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 95 "/usr/include/endian.h" 3 # 65 "/usr/include/bits/waitstatus.h" 2 3 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; # 83 "/usr/include/bits/waitstatus.h" 3 } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; # 96 "/usr/include/bits/waitstatus.h" 3 } __wait_stopped; }; # 43 "/usr/include/stdlib.h" 2 3 # 56 "/usr/include/stdlib.h" 3 typedef union { union wait *__uptr; int *__iptr; } __WAIT_STATUS __attribute__ ((__transparent_union__)); # 82 "/usr/include/stdlib.h" 3 # 94 "/usr/include/stdlib.h" 3 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 273 "/usr/include/stdlib.h" 3 extern __inline int __attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) { return (int) strtol (__nptr, (char **) ((void*)0), 10); } extern __inline long int __attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) { return strtol (__nptr, (char **) ((void*)0), 10); } __extension__ extern __inline long long int __attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) { return strtoll (__nptr, (char **) ((void*)0), 10); } extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 58 "/usr/include/sys/types.h" 3 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 96 "/usr/include/sys/types.h" 3 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 # 144 "/usr/include/sys/types.h" 3 # 1 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 65 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 76 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 83 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 99 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 100 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; short __spins; short __elision; __pthread_list_t __list; # 125 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; signed char __rwelision; unsigned char __pad1[7]; unsigned long int __pad2; unsigned int __flags; } __data; # 220 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 # 315 "/usr/include/stdlib.h" 2 3 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; __extension__ unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/alloca.h" 1 3 # 1 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 65 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 76 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 83 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 99 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 25 "/usr/include/alloca.h" 2 3 extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); # 493 "/usr/include/stdlib.h" 2 3 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 530 "/usr/include/stdlib.h" 3 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); # 551 "/usr/include/stdlib.h" 3 extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 573 "/usr/include/stdlib.h" 3 extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 632 "/usr/include/stdlib.h" 3 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 655 "/usr/include/stdlib.h" 3 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 709 "/usr/include/stdlib.h" 3 extern int system (const char *__command) ; # 726 "/usr/include/stdlib.h" 3 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; typedef int (*__compar_fn_t) (const void *, const void *); # 750 "/usr/include/stdlib.h" 3 extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; # 1 "/usr/include/bits/stdlib-bsearch.h" 1 3 extern __inline void * bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) { size_t __l, __u, __idx; const void *__p; int __comparison; __l = 0; __u = __nmemb; while (__l < __u) { __idx = (__l + __u) / 2; __p = (void *) (((const char *) __base) + (__idx * __size)); __comparison = (*__compar) (__key, __p); if (__comparison < 0) __u = __idx; else if (__comparison > 0) __l = __idx + 1; else return (void *) __p; } return ((void*)0); } # 760 "/usr/include/stdlib.h" 2 3 extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; # 934 "/usr/include/stdlib.h" 3 # 945 "/usr/include/stdlib.h" 3 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/stdlib-float.h" 1 3 extern __inline double __attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) { return strtod (__nptr, (char **) ((void*)0)); } # 955 "/usr/include/stdlib.h" 2 3 # 963 "/usr/include/stdlib.h" 3 # 4 "/tmp/petsc-pUSgZ5/config.setCompilers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Popping language C ================================================================================ TEST checkCUDACompiler from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:627) TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:627) Locate a functional CUDA compiler ================================================================================ TEST checkCUDAPreprocessor from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:667) TESTING: checkCUDAPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:667) Locate a functional CUDA preprocessor ================================================================================ TEST checkCxxCompiler from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:779) TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:779) Locate a functional Cxx compiler Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/CC...not found Checking for program /usr/common/software/darshan/3.1.4/bin/CC...not found Checking for program /usr/common/software/altd/2.0/bin/CC...not found Checking for program /usr/common/software/bin/CC...not found Checking for program /usr/common/mss/bin/CC...not found Checking for program /usr/common/nsg/bin/CC...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/CC...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/CC...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/CC...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/CC...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/CC...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/CC...found Defined make macro "CXX" to "CC" Pushing language Cxx Executing: CC -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/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: CC -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Executing: CC -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: CC -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Testing executable /tmp/petsc-pUSgZ5/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-pUSgZ5/config.setCompilers/conftest Executing: /tmp/petsc-pUSgZ5/config.setCompilers/conftest Popping language Cxx ================================================================================ TEST checkCxxPreprocessor from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:817) TESTING: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:817) Locate a functional Cxx preprocessor Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/CC...not found Checking for program /usr/common/software/darshan/3.1.4/bin/CC...not found Checking for program /usr/common/software/altd/2.0/bin/CC...not found Checking for program /usr/common/software/bin/CC...not found Checking for program /usr/common/mss/bin/CC...not found Checking for program /usr/common/nsg/bin/CC...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/CC...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/CC...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/CC...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/CC...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/CC...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/CC...found Defined make macro "CXXCPP" to "CC -E" Pushing language Cxx Executing: CC -E -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc stdout: # 1 "/tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc" # 1 "/usr/include/stdc-predef.h" 1 # 43 "/usr/include/stdc-predef.h" # 51 "/usr/include/stdc-predef.h" # 1 "/tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc" 2 # 1 "/tmp/petsc-pUSgZ5/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc" 2 # 1 "/tmp/petsc-pUSgZ5/config.setCompilers/conffix.h" 1 extern "C" { } # 3 "/tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc" 2 # 1 "/usr/include/c++/4.8/cstdlib" 1 3 # 40 "/usr/include/c++/4.8/cstdlib" 3 # 1 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 4 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 2 3 # 1672 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 # 1744 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 # 1776 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 # 1789 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 # 1801 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 namespace std { typedef unsigned long size_t; typedef long ptrdiff_t; } # 1910 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 # 1958 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 # 1978 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 # 1986 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 # 2029 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 # 2055 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 # 2083 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 3 # 1 "/usr/include/c++/4.8/x86_64-suse-linux/bits/os_defines.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 121 "/usr/include/features.h" 3 # 141 "/usr/include/features.h" 3 # 152 "/usr/include/features.h" 3 # 176 "/usr/include/features.h" 3 # 187 "/usr/include/features.h" 3 # 241 "/usr/include/features.h" 3 # 265 "/usr/include/features.h" 3 # 297 "/usr/include/features.h" 3 # 340 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 48 "/usr/include/sys/cdefs.h" 3 # 69 "/usr/include/sys/cdefs.h" 3 # 79 "/usr/include/sys/cdefs.h" 3 # 104 "/usr/include/sys/cdefs.h" 3 # 119 "/usr/include/sys/cdefs.h" 3 # 129 "/usr/include/sys/cdefs.h" 3 # 146 "/usr/include/sys/cdefs.h" 3 # 163 "/usr/include/sys/cdefs.h" 3 # 191 "/usr/include/sys/cdefs.h" 3 # 224 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 401 "/usr/include/sys/cdefs.h" 3 # 409 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 411 "/usr/include/sys/cdefs.h" 2 3 # 443 "/usr/include/sys/cdefs.h" 3 # 366 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 390 "/usr/include/features.h" 2 3 # 40 "/usr/include/c++/4.8/x86_64-suse-linux/bits/os_defines.h" 2 3 # 2098 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 2 3 # 1 "/usr/include/c++/4.8/x86_64-suse-linux/bits/cpu_defines.h" 1 3 # 2101 "/usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h" 2 3 # 42 "/usr/include/c++/4.8/cstdlib" 2 3 # 71 "/usr/include/c++/4.8/cstdlib" 3 # 1 "/usr/include/stdlib.h" 1 3 # 1 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 typedef unsigned long size_t; # 65 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 76 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 83 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 99 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 33 "/usr/include/stdlib.h" 2 3 extern "C" { # 1 "/usr/include/bits/waitflags.h" 1 3 # 42 "/usr/include/stdlib.h" 2 3 # 1 "/usr/include/bits/waitstatus.h" 1 3 # 1 "/usr/include/endian.h" 1 3 # 1 "/usr/include/bits/endian.h" 1 3 # 37 "/usr/include/endian.h" 2 3 # 50 "/usr/include/endian.h" 3 # 1 "/usr/include/bits/byteswap.h" 1 3 # 1 "/usr/include/bits/types.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 28 "/usr/include/bits/types.h" 2 3 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 116 "/usr/include/bits/types.h" 3 # 1 "/usr/include/bits/typesizes.h" 1 3 # 37 "/usr/include/bits/typesizes.h" 3 # 74 "/usr/include/bits/typesizes.h" 3 # 122 "/usr/include/bits/types.h" 2 3 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 28 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 29 "/usr/include/bits/byteswap.h" 2 3 # 1 "/usr/include/bits/byteswap-16.h" 1 3 # 36 "/usr/include/bits/byteswap.h" 2 3 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 93 "/usr/include/bits/byteswap.h" 3 # 106 "/usr/include/bits/byteswap.h" 3 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 154 "/usr/include/bits/byteswap.h" 3 # 61 "/usr/include/endian.h" 2 3 # 95 "/usr/include/endian.h" 3 # 65 "/usr/include/bits/waitstatus.h" 2 3 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; # 83 "/usr/include/bits/waitstatus.h" 3 } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; # 96 "/usr/include/bits/waitstatus.h" 3 } __wait_stopped; }; # 43 "/usr/include/stdlib.h" 2 3 # 56 "/usr/include/stdlib.h" 3 # 74 "/usr/include/stdlib.h" 3 # 82 "/usr/include/stdlib.h" 3 # 94 "/usr/include/stdlib.h" 3 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; extern size_t __ctype_get_mb_cur_max (void) throw () ; extern double atof (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/xlocale.h" 1 3 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 236 "/usr/include/stdlib.h" 2 3 extern long int strtol_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern unsigned long int strtoul_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern long long int strtoll_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern unsigned long long int strtoull_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern double strtod_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern float strtof_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern long double strtold_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__leaf__)) atoi (const char *__nptr) throw () { return (int) strtol (__nptr, (char **) __null, 10); } extern __inline __attribute__ ((__gnu_inline__)) long int __attribute__ ((__leaf__)) atol (const char *__nptr) throw () { return strtol (__nptr, (char **) __null, 10); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int __attribute__ ((__leaf__)) atoll (const char *__nptr) throw () { return strtoll (__nptr, (char **) __null, 10); } extern char *l64a (long int __n) throw () ; extern long int a64l (const char *__s) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 extern "C" { typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 55 "/usr/include/sys/types.h" 3 typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 93 "/usr/include/sys/types.h" 3 typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 typedef __clock_t clock_t; typedef __time_t time_t; typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 128 "/usr/include/time.h" 3 # 433 "/usr/include/time.h" 3 # 133 "/usr/include/sys/types.h" 2 3 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 65 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 76 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 83 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 99 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 147 "/usr/include/sys/types.h" 2 3 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 185 "/usr/include/sys/types.h" 3 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 1 "/usr/include/sys/select.h" 1 3 # 1 "/usr/include/bits/select.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 23 "/usr/include/bits/select.h" 2 3 # 43 "/usr/include/bits/select.h" 3 # 57 "/usr/include/bits/select.h" 3 # 31 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/sigset.h" 1 3 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/sys/select.h" 2 3 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 # 32 "/usr/include/time.h" 3 # 51 "/usr/include/time.h" 3 # 67 "/usr/include/time.h" 3 # 83 "/usr/include/time.h" 3 # 95 "/usr/include/time.h" 3 # 107 "/usr/include/time.h" 3 # 115 "/usr/include/time.h" 3 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 433 "/usr/include/time.h" 3 # 44 "/usr/include/sys/select.h" 2 3 # 1 "/usr/include/bits/time.h" 1 3 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 100 "/usr/include/bits/time.h" 3 # 46 "/usr/include/sys/select.h" 2 3 typedef long int __fd_mask; typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; extern "C" { extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); } # 220 "/usr/include/sys/types.h" 2 3 # 1 "/usr/include/sys/sysmacros.h" 1 3 extern "C" { __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () __attribute__ ((__const__)); __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__leaf__)) gnu_dev_major (unsigned long long int __dev) throw () { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__leaf__)) gnu_dev_minor (unsigned long long int __dev) throw () { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned long long int __attribute__ ((__leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } } # 223 "/usr/include/sys/types.h" 2 3 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 260 "/usr/include/sys/types.h" 3 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 22 "/usr/include/bits/pthreadtypes.h" 2 3 # 56 "/usr/include/bits/pthreadtypes.h" 3 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 86 "/usr/include/bits/pthreadtypes.h" 3 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; short __spins; short __elision; __pthread_list_t __list; # 125 "/usr/include/bits/pthreadtypes.h" 3 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; signed char __rwelision; unsigned char __pad1[7]; unsigned long int __pad2; unsigned int __flags; } __data; # 220 "/usr/include/bits/pthreadtypes.h" 3 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 } # 315 "/usr/include/stdlib.h" 2 3 extern long int random (void) throw (); extern void srandom (unsigned int __seed) throw (); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw () __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) throw (); extern void srand (unsigned int __seed) throw (); extern int rand_r (unsigned int *__seed) throw (); extern double drand48 (void) throw (); extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) throw (); extern long int nrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) throw (); extern long int jrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) throw (); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw () __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; __extension__ unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) throw (); extern void cfree (void *__ptr) throw (); # 1 "/usr/include/alloca.h" 1 3 # 1 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 1 3 # 46 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 65 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 76 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 83 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 99 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 25 "/usr/include/alloca.h" 2 3 extern "C" { extern void *alloca (size_t __size) throw (); } # 493 "/usr/include/stdlib.h" 2 3 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) throw () __attribute__ ((__nonnull__ (1))) ; extern void *aligned_alloc (size_t __alignment, size_t __size) throw () __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ; extern void abort (void) throw () __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); extern "C++" int at_quick_exit (void (*__func) (void)) throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) throw () __attribute__ ((__nonnull__ (1))); extern void exit (int __status) throw () __attribute__ ((__noreturn__)); extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__)); extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern char *secure_getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) throw () __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))); extern int clearenv (void) throw (); extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))); extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 629 "/usr/include/stdlib.h" 3 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 651 "/usr/include/stdlib.h" 3 extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 683 "/usr/include/stdlib.h" 3 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; extern int mkostemps (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 705 "/usr/include/stdlib.h" 3 extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; extern int system (const char *__command) ; extern char *canonicalize_file_name (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern char *realpath (const char *__restrict __name, char *__restrict __resolved) throw () ; typedef int (*__compar_fn_t) (const void *, const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (const void *, const void *, void *); extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; # 1 "/usr/include/bits/stdlib-bsearch.h" 1 3 extern __inline __attribute__ ((__gnu_inline__)) void * bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) { size_t __l, __u, __idx; const void *__p; int __comparison; __l = 0; __u = __nmemb; while (__l < __u) { __idx = (__l + __u) / 2; __p = (void *) (((const char *) __base) + (__idx * __size)); __comparison = (*__compar) (__key, __p); if (__comparison < 0) __u = __idx; else if (__comparison > 0) __l = __idx + 1; else return (void *) __p; } return __null; } # 760 "/usr/include/stdlib.h" 2 3 extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) throw () __attribute__ ((__const__)) ; extern long int labs (long int __x) throw () __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) throw () __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) throw () __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) throw () __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) throw () __attribute__ ((__const__)) ; extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) throw (); extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) throw (); extern int wctomb (char *__s, wchar_t __wchar) throw (); extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) throw (); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) throw (); extern int rpmatch (const char *__response) throw () __attribute__ ((__nonnull__ (1))) ; extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (const char *__key) throw () __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) throw (); extern int unlockpt (int __fd) throw (); extern char *ptsname (int __fd) throw () ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) throw () __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/bits/stdlib-float.h" 1 3 extern __inline __attribute__ ((__gnu_inline__)) double __attribute__ ((__leaf__)) atof (const char *__nptr) throw () { return strtod (__nptr, (char **) __null); } # 955 "/usr/include/stdlib.h" 2 3 # 963 "/usr/include/stdlib.h" 3 } # 73 "/usr/include/c++/4.8/cstdlib" 2 3 # 113 "/usr/include/c++/4.8/cstdlib" 3 namespace std __attribute__ ((__visibility__ ("default"))) { using ::div_t; using ::ldiv_t; using ::abort; using ::abs; using ::atexit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::calloc; using ::div; using ::exit; using ::free; using ::getenv; using ::labs; using ::ldiv; using ::malloc; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::qsort; using ::rand; using ::realloc; using ::srand; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; inline long abs(long __i) { return __builtin_labs(__i); } inline ldiv_t div(long __i, long __j) { return ldiv(__i, __j); } inline long long abs(long long __x) { return __builtin_llabs (__x); } inline __int128 abs(__int128 __x) { return __x >= 0 ? __x : -__x; } } # 195 "/usr/include/c++/4.8/cstdlib" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { using ::lldiv_t; using ::_Exit; using ::llabs; inline lldiv_t div(long long __n, long long __d) { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } using ::lldiv; # 228 "/usr/include/c++/4.8/cstdlib" 3 using ::atoll; using ::strtoll; using ::strtoull; using ::strtof; using ::strtold; } namespace std { using ::__gnu_cxx::lldiv_t; using ::__gnu_cxx::_Exit; using ::__gnu_cxx::llabs; using ::__gnu_cxx::div; using ::__gnu_cxx::lldiv; using ::__gnu_cxx::atoll; using ::__gnu_cxx::strtof; using ::__gnu_cxx::strtoll; using ::__gnu_cxx::strtoull; using ::__gnu_cxx::strtold; } # 4 "/tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Popping language Cxx ================================================================================ TEST checkFortranCompiler from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:934) TESTING: checkFortranCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:934) Locate a functional Fortran compiler Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/ftn...not found Checking for program /usr/common/software/darshan/3.1.4/bin/ftn...not found Checking for program /usr/common/software/altd/2.0/bin/ftn...not found Checking for program /usr/common/software/bin/ftn...not found Checking for program /usr/common/mss/bin/ftn...not found Checking for program /usr/common/nsg/bin/ftn...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/ftn...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/ftn...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/ftn...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/ftn...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/ftn...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/ftn...found Defined make macro "FC" to "ftn" Pushing language FC Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/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: ftn -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ftn -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ftn -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Testing executable /tmp/petsc-pUSgZ5/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-pUSgZ5/config.setCompilers/conftest Executing: /tmp/petsc-pUSgZ5/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkFortranComments from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:955) TESTING: checkFortranComments from config.setCompilers(config/BuildSystem/config/setCompilers.py:955) Make sure fortran comment "!" works Pushing language FC Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Successful compile: Source: ! comment program main end Fortran comments can use ! in column 1 Popping language FC ================================================================================ TEST checkLargeFileIO from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1072) TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:1072) ================================================================================ TEST checkArchiver from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1171) TESTING: checkArchiver from config.setCompilers(config/BuildSystem/config/setCompilers.py:1171) Check that the archiver exists and can make a library usable by the compiler Pushing language C Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 12) 2.26.1 Copyright (C) 2015 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 12) 2.26.1 Copyright (C) 2015 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: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/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/pe/hdf5/1.10.0.3/bin/ar...not found Checking for program /usr/common/software/darshan/3.1.4/bin/ar...not found Checking for program /usr/common/software/altd/2.0/bin/ar...not found Checking for program /usr/common/software/bin/ar...not found Checking for program /usr/common/mss/bin/ar...not found Checking for program /usr/common/nsg/bin/ar...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/ar...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/ar...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/ar...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/ar...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/ar...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/ar...not found Checking for program /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/ar...not found Checking for program /usr/syscom/nsg/sbin/ar...not found Checking for program /usr/syscom/nsg/bin/ar...not found Checking for program /opt/cray/pe/modules/3.2.10.6/bin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/ranlib...not found Checking for program /usr/common/software/darshan/3.1.4/bin/ranlib...not found Checking for program /usr/common/software/altd/2.0/bin/ranlib...not found Checking for program /usr/common/software/bin/ranlib...not found Checking for program /usr/common/mss/bin/ranlib...not found Checking for program /usr/common/nsg/bin/ranlib...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/ranlib...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/ranlib...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/ranlib...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/ranlib...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/ranlib...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/ranlib...not found Checking for program /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/ranlib...not found Checking for program /usr/syscom/nsg/sbin/ranlib...not found Checking for program /usr/syscom/nsg/bin/ranlib...not found Checking for program /opt/cray/pe/modules/3.2.10.6/bin/ranlib...not found Checking for program /usr/local/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-pUSgZ5/config.setCompilers/libconf1.a /tmp/petsc-pUSgZ5/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /tmp/petsc-pUSgZ5/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 12) 2.26.1 Copyright (C) 2015 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 12) 2.26.1 Copyright (C) 2015 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: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/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/pe/hdf5/1.10.0.3/bin/ar...not found Checking for program /usr/common/software/darshan/3.1.4/bin/ar...not found Checking for program /usr/common/software/altd/2.0/bin/ar...not found Checking for program /usr/common/software/bin/ar...not found Checking for program /usr/common/mss/bin/ar...not found Checking for program /usr/common/nsg/bin/ar...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/ar...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/ar...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/ar...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/ar...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/ar...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/ar...not found Checking for program /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/ar...not found Checking for program /usr/syscom/nsg/sbin/ar...not found Checking for program /usr/syscom/nsg/bin/ar...not found Checking for program /opt/cray/pe/modules/3.2.10.6/bin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/ranlib...not found Checking for program /usr/common/software/darshan/3.1.4/bin/ranlib...not found Checking for program /usr/common/software/altd/2.0/bin/ranlib...not found Checking for program /usr/common/software/bin/ranlib...not found Checking for program /usr/common/mss/bin/ranlib...not found Checking for program /usr/common/nsg/bin/ranlib...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/ranlib...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/ranlib...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/ranlib...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/ranlib...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/ranlib...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/ranlib...not found Checking for program /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/ranlib...not found Checking for program /usr/syscom/nsg/sbin/ranlib...not found Checking for program /usr/syscom/nsg/bin/ranlib...not found Checking for program /opt/cray/pe/modules/3.2.10.6/bin/ranlib...not found Checking for program /usr/local/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-pUSgZ5/config.setCompilers/libconf1.a /tmp/petsc-pUSgZ5/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /tmp/petsc-pUSgZ5/config.setCompilers/libconf1.a Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/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: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -L/tmp/petsc-pUSgZ5/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(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1280) TESTING: checkSharedLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1280) Check that the linker can produce shared libraries Executing: uname -s stdout: Linux Checking shared linker cc using flags ['-shared'] Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/cc...not found Checking for program /usr/common/software/darshan/3.1.4/bin/cc...not found Checking for program /usr/common/software/altd/2.0/bin/cc...not found Checking for program /usr/common/software/bin/cc...not found Checking for program /usr/common/mss/bin/cc...not found Checking for program /usr/common/nsg/bin/cc...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/cc...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/cc...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/cc...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/cc...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/cc...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/cc...found Defined make macro "LD_SHARED" to "cc" Trying C compiler flag Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -shared /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o: relocation R_X86_64_PC32 against undefined symbol `__intel_new_feature_proc_init' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value Rejecting linker flag -shared due to nonzero status from link Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.so /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: /opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64/libifcore.a(for_main.o): In function `main': for_main.c:(.text+0x3e): undefined reference to `MAIN__' Rejected C compiler flag because it was not compatible with shared linker cc using flags ['-shared'] Executing: cc --help stdout: Usage: cc [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using gcc. This enables a user to run such an application without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Trying C compiler flag -PIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -PIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line warning #10006: ignoring unknown option '-PIC' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -PIC due to icc: command line warning #10006: ignoring unknown option '-PIC' Rejected C compiler flag -PIC because it was not compatible with shared linker cc using flags ['-shared'] Trying C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -shared -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Valid C linker flag -shared Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/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: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -L/tmp/petsc-pUSgZ5/config.setCompilers -lconftest Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lconftest Rejected C compiler flag -fPIC because it was not compatible with shared linker cc using flags ['-shared'] Trying C compiler flag -KPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -KPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -shared -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: icc: command line remark #10148: option '-KPIC' not supported /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o: relocation R_X86_64_PC32 against undefined symbol `__intel_new_feature_proc_init' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value Rejecting linker flag -shared due to nonzero status from link Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.so -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: icc: command line remark #10148: option '-KPIC' not supported /opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64/libifcore.a(for_main.o): In function `main': for_main.c:(.text+0x3e): undefined reference to `MAIN__' Rejected C compiler flag -KPIC because it was not compatible with shared linker cc using flags ['-shared'] Trying C compiler flag -qpic Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -qpic /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line warning #10006: ignoring unknown option '-qpic' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -qpic due to icc: command line warning #10006: ignoring unknown option '-qpic' Rejected C compiler flag -qpic because it was not compatible with shared linker cc using flags ['-shared'] Deleting "LD_SHARED" Checking shared linker cc using flags ['-dynamic'] Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/cc...not found Checking for program /usr/common/software/darshan/3.1.4/bin/cc...not found Checking for program /usr/common/software/altd/2.0/bin/cc...not found Checking for program /usr/common/software/bin/cc...not found Checking for program /usr/common/mss/bin/cc...not found Checking for program /usr/common/nsg/bin/cc...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/cc...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/cc...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/cc...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/cc...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/cc...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/cc...found Defined make macro "LD_SHARED" to "cc" Trying C compiler flag Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -dynamic /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Valid C linker flag -dynamic Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.so -dynamic /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/crt1.o: In function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.22/csu/../sysdeps/x86_64/start.S:114: undefined reference to `main' Rejected C compiler flag because it was not compatible with shared linker cc using flags ['-dynamic'] Trying C compiler flag -PIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -PIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line warning #10006: ignoring unknown option '-PIC' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -PIC due to icc: command line warning #10006: ignoring unknown option '-PIC' Rejected C compiler flag -PIC because it was not compatible with shared linker cc using flags ['-dynamic'] Trying C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -dynamic -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Valid C linker flag -dynamic Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.so -dynamic -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/crt1.o: In function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.22/csu/../sysdeps/x86_64/start.S:114: undefined reference to `main' Rejected C compiler flag -fPIC because it was not compatible with shared linker cc using flags ['-dynamic'] Trying C compiler flag -KPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -KPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -dynamic -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: icc: command line remark #10148: option '-KPIC' not supported Valid C linker flag -dynamic Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.so -dynamic -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: icc: command line remark #10148: option '-KPIC' not supported /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/crt1.o: In function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.22/csu/../sysdeps/x86_64/start.S:114: undefined reference to `main' Rejected C compiler flag -KPIC because it was not compatible with shared linker cc using flags ['-dynamic'] Trying C compiler flag -qpic Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -qpic /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line warning #10006: ignoring unknown option '-qpic' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -qpic due to icc: command line warning #10006: ignoring unknown option '-qpic' Rejected C compiler flag -qpic because it was not compatible with shared linker cc using flags ['-dynamic'] Deleting "LD_SHARED" Checking shared linker cc using flags ['-qmkshrobj'] Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/cc...not found Checking for program /usr/common/software/darshan/3.1.4/bin/cc...not found Checking for program /usr/common/software/altd/2.0/bin/cc...not found Checking for program /usr/common/software/bin/cc...not found Checking for program /usr/common/mss/bin/cc...not found Checking for program /usr/common/nsg/bin/cc...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/cc...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/cc...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/cc...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/cc...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/cc...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/cc...found Defined make macro "LD_SHARED" to "cc" Trying C compiler flag Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -qmkshrobj /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: icc: command line warning #10006: ignoring unknown option '-qmkshrobj' Rejecting C linker flag -qmkshrobj due to icc: command line warning #10006: ignoring unknown option '-qmkshrobj' Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.so /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: /opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64/libifcore.a(for_main.o): In function `main': for_main.c:(.text+0x3e): undefined reference to `MAIN__' Rejected C compiler flag because it was not compatible with shared linker cc using flags ['-qmkshrobj'] Trying C compiler flag -PIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -PIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line warning #10006: ignoring unknown option '-PIC' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -PIC due to icc: command line warning #10006: ignoring unknown option '-PIC' Rejected C compiler flag -PIC because it was not compatible with shared linker cc using flags ['-qmkshrobj'] Trying C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -qmkshrobj -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: icc: command line warning #10006: ignoring unknown option '-qmkshrobj' Rejecting C linker flag -qmkshrobj due to icc: command line warning #10006: ignoring unknown option '-qmkshrobj' Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.so -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: /opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64/libifcore.a(for_main.o): In function `main': for_main.c:(.text+0x3e): undefined reference to `MAIN__' Rejected C compiler flag -fPIC because it was not compatible with shared linker cc using flags ['-qmkshrobj'] Trying C compiler flag -KPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -KPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -qmkshrobj -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: icc: command line warning #10006: ignoring unknown option '-qmkshrobj' icc: command line remark #10148: option '-KPIC' not supported Rejecting C linker flag -qmkshrobj due to icc: command line warning #10006: ignoring unknown option '-qmkshrobj' icc: command line remark #10148: option '-KPIC' not supported Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.so -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: icc: command line remark #10148: option '-KPIC' not supported /opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64/libifcore.a(for_main.o): In function `main': for_main.c:(.text+0x3e): undefined reference to `MAIN__' Rejected C compiler flag -KPIC because it was not compatible with shared linker cc using flags ['-qmkshrobj'] Trying C compiler flag -qpic Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -qpic /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line warning #10006: ignoring unknown option '-qpic' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -qpic due to icc: command line warning #10006: ignoring unknown option '-qpic' Rejected C compiler flag -qpic because it was not compatible with shared linker cc using flags ['-qmkshrobj'] Deleting "LD_SHARED" Checking shared linker cc using flags ['-shared'] Checking for program /opt/cray/pe/hdf5/1.10.0.3/bin/cc...not found Checking for program /usr/common/software/darshan/3.1.4/bin/cc...not found Checking for program /usr/common/software/altd/2.0/bin/cc...not found Checking for program /usr/common/software/bin/cc...not found Checking for program /usr/common/mss/bin/cc...not found Checking for program /usr/common/nsg/bin/cc...not found Checking for program /global/homes/a/apbhalla/softwares/automake-1.15.1/bin/cc...not found Checking for program /opt/cray/pe/mpt/7.6.2/gni/bin/cc...not found Checking for program /opt/cray/rca/2.2.15-6.0.4.1_13.1__g46acb0f.ari/bin/cc...not found Checking for program /opt/cray/alps/6.4.1-6.0.4.0_7.2__g86d0f3d.ari/sbin/cc...not found Checking for program /opt/cray/job/2.2.2-6.0.4.0_8.2__g3c644b5.ari/bin/cc...not found Checking for program /opt/cray/pe/craype/2.5.12/bin/cc...found Defined make macro "LD_SHARED" to "cc" Trying C compiler flag Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -shared /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o: relocation R_X86_64_PC32 against undefined symbol `__intel_new_feature_proc_init' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value Rejecting linker flag -shared due to nonzero status from link Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.dll /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: /opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64/libifcore.a(for_main.o): In function `main': for_main.c:(.text+0x3e): undefined reference to `MAIN__' Rejected C compiler flag because it was not compatible with shared linker cc using flags ['-shared'] Trying C compiler flag -PIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -PIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line warning #10006: ignoring unknown option '-PIC' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -PIC due to icc: command line warning #10006: ignoring unknown option '-PIC' Rejected C compiler flag -PIC because it was not compatible with shared linker cc using flags ['-shared'] Trying C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -fPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -shared -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Valid C linker flag -shared Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.dll -shared -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -fPIC /tmp/petsc-pUSgZ5/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: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -fPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -L/tmp/petsc-pUSgZ5/config.setCompilers -lconftest Possible ERROR while running linker: exit code 256 stderr: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lconftest Rejected C compiler flag -fPIC because it was not compatible with shared linker cc using flags ['-shared'] Trying C compiler flag -KPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -KPIC Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -shared -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: icc: command line remark #10148: option '-KPIC' not supported /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o: relocation R_X86_64_PC32 against undefined symbol `__intel_new_feature_proc_init' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value Rejecting linker flag -shared due to nonzero status from link Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line remark #10148: option '-KPIC' not supported Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.dll -KPIC /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: icc: command line remark #10148: option '-KPIC' not supported /opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64/libifcore.a(for_main.o): In function `main': for_main.c:(.text+0x3e): undefined reference to `MAIN__' Rejected C compiler flag -KPIC because it was not compatible with shared linker cc using flags ['-shared'] Trying C compiler flag -qpic Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -qpic /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: icc: command line warning #10006: ignoring unknown option '-qpic' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -qpic due to icc: command line warning #10006: ignoring unknown option '-qpic' Rejected C compiler flag -qpic because it was not compatible with shared linker cc using flags ['-shared'] Deleting "LD_SHARED" Executing: uname -s stdout: Linux Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Checking shared linker /usr/bin/ar using flags [] Checking for program /usr/bin/ar...found Defined make macro "LD_SHARED" to "/usr/bin/ar" Trying C compiler flag Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {fprintf(stdout,"hello"); return 0;} Pushing language C Popping language C Executing: /usr/bin/ar cr /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.a /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o ; /usr/bin/ranlib /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.a Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/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: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -L/tmp/petsc-pUSgZ5/config.setCompilers -lconftest Using shared linker /usr/bin/ar with flags [] and library extension a Executing: uname -s stdout: Linux ================================================================================ TEST checkPIC from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1031) TESTING: checkPIC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1031) Determine the PIC option for each compiler Skip checking PIC options on user request ================================================================================ TEST checkSharedLinkerPaths from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1369) TESTING: checkSharedLinkerPaths from config.setCompilers(config/BuildSystem/config/setCompilers.py:1369) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Pushing language C Executing: uname -s stdout: Linux Executing: cc -V Trying C linker flag -Wl,-rpath, Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -Wl,-rpath,/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc Popping language C Pushing language Cxx Executing: uname -s stdout: Linux Executing: cc -V Trying Cxx linker flag -Wl,-rpath, Executing: CC -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -Wl,-rpath,/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc Popping language Cxx Pushing language FC Executing: uname -s stdout: Linux Executing: cc -V Trying FC linker flag -Wl,-rpath, Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ftn -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest -Wl,-rpath,/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o Valid FC linker flag -Wl,-rpath,/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc Popping language FC ================================================================================ TEST checkLibC from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1404) TESTING: checkLibC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1404) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking ================================================================================ TEST checkDynamicLinker from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1453) TESTING: checkDynamicLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1453) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h All intermediate test results are stored in /tmp/petsc-pUSgZ5/config.headers Executing: cc -E -I/tmp/petsc-pUSgZ5/config.setCompilers -I/tmp/petsc-pUSgZ5/config.headers /tmp/petsc-pUSgZ5/config.headers/conftest.c stdout: # 1 "/tmp/petsc-pUSgZ5/config.headers/conftest.c" # 1 "/usr/include/stdc-predef.h" 1 # 43 "/usr/include/stdc-predef.h" # 51 "/usr/include/stdc-predef.h" # 1 "/tmp/petsc-pUSgZ5/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pUSgZ5/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-pUSgZ5/config.headers/conftest.c" 2 # 1 "/tmp/petsc-pUSgZ5/config.headers/conffix.h" 1 # 3 "/tmp/petsc-pUSgZ5/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 # 1 "/usr/include/features.h" 1 3 # 121 "/usr/include/features.h" 3 # 141 "/usr/include/features.h" 3 # 152 "/usr/include/features.h" 3 # 176 "/usr/include/features.h" 3 # 187 "/usr/include/features.h" 3 # 241 "/usr/include/features.h" 3 # 265 "/usr/include/features.h" 3 # 297 "/usr/include/features.h" 3 # 340 "/usr/include/features.h" 3 # 1 "/usr/include/sys/cdefs.h" 1 3 # 48 "/usr/include/sys/cdefs.h" 3 # 69 "/usr/include/sys/cdefs.h" 3 # 79 "/usr/include/sys/cdefs.h" 3 # 104 "/usr/include/sys/cdefs.h" 3 # 119 "/usr/include/sys/cdefs.h" 3 # 129 "/usr/include/sys/cdefs.h" 3 # 146 "/usr/include/sys/cdefs.h" 3 # 163 "/usr/include/sys/cdefs.h" 3 # 191 "/usr/include/sys/cdefs.h" 3 # 224 "/usr/include/sys/cdefs.h" 3 # 251 "/usr/include/sys/cdefs.h" 3 # 281 "/usr/include/sys/cdefs.h" 3 # 304 "/usr/include/sys/cdefs.h" 3 # 341 "/usr/include/sys/cdefs.h" 3 # 383 "/usr/include/sys/cdefs.h" 3 # 391 "/usr/include/sys/cdefs.h" 3 # 401 "/usr/include/sys/cdefs.h" 3 # 409 "/usr/include/sys/cdefs.h" 3 # 1 "/usr/include/bits/wordsize.h" 1 3 # 411 "/usr/include/sys/cdefs.h" 2 3 # 443 "/usr/include/sys/cdefs.h" 3 # 366 "/usr/include/features.h" 2 3 # 1 "/usr/include/gnu/stubs.h" 1 3 # 1 "/usr/include/gnu/stubs-64.h" 1 3 # 11 "/usr/include/gnu/stubs.h" 2 3 # 390 "/usr/include/features.h" 2 3 # 23 "/usr/include/dlfcn.h" 2 3 # 1 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 1 3 typedef long ptrdiff_t; # 44 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 typedef unsigned long size_t; typedef int wchar_t; # 76 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 83 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 99 "/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/include/stddef.h" 3 # 25 "/usr/include/dlfcn.h" 2 3 # 1 "/usr/include/bits/dlfcn.h" 1 3 # 28 "/usr/include/dlfcn.h" 2 3 # 50 "/usr/include/dlfcn.h" 3 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__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 78 "/usr/include/dlfcn.h" 3 extern char *dlerror (void) __attribute__ ((__nothrow__ , __leaf__)); # 186 "/usr/include/dlfcn.h" 3 # 4 "/tmp/petsc-pUSgZ5/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-pUSgZ5/config.libraries Executing: cc -c -o /tmp/petsc-pUSgZ5/config.libraries/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/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: cc -o /tmp/petsc-pUSgZ5/config.libraries/conftest /tmp/petsc-pUSgZ5/config.libraries/conftest.o -ldl Possible ERROR while running linker: stderr: /tmp/petsc-pUSgZ5/config.libraries/conftest.o: In function `main': conftest.c:(.text+0x2f): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_LIBDL" to "1" Popping language C Adding ['dl'] to LIBS Executing: uname -s stdout: Linux Checking dynamic linker /usr/bin/ar using flags [] Checking for program /usr/bin/ar...found Defined make macro "DYNAMICLINKER" to "/usr/bin/ar" Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/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: /usr/bin/ar -o /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.so /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -ldl Possible ERROR while running linker: stderr: /usr/bin/ar: creating /tmp/petsc-pUSgZ5/config.setCompilers/libconftest.so Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.setCompilers /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *handle = dlopen("/tmp/petsc-pUSgZ5/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: cc -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -ldl Possible ERROR while running linker: stderr: /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o: In function `main': conftest.c:(.text+0x33): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Using dynamic linker /usr/bin/ar with flags [] and library extension so ================================================================================ TEST output from config.setCompilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/setCompilers.py:1505) TESTING: output from config.setCompilers(config/BuildSystem/config/setCompilers.py:1505) Output module data as defines and substitutions Substituting "CC" with "cc" Substituting "CFLAGS" with " " Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "cc -E" Substituting "CPPFLAGS" with "" Substituting "CXX" with "CC" Substituting "CXX_CXXFLAGS" with "" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXCPP" with "CC -E" Substituting "CXXCPPFLAGS" with "" Substituting "FC" with "ftn" Substituting "FFLAGS" with "" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "" ================================================================================ TEST configureIndexSize from PETSc.options.indexTypes(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/indexTypes.py:31) TESTING: configureIndexSize from PETSc.options.indexTypes(config/PETSc/options/indexTypes.py:31) Defined make macro "PETSC_INDEX_SIZE" to "32" ================================================================================ TEST checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/sharedLibraries.py:37) TESTING: checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:37) ================================================================================ TEST configureSharedLibraries from PETSc.options.sharedLibraries(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/sharedLibraries.py:53) TESTING: configureSharedLibraries from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:53) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Defined make rule "shared_arch" with dependencies "" and code [] Defined make macro "BUILDSHAREDLIB" to "no" Defined "HAVE_SHARED_LIBRARIES" to "1" Shared libraries - disabled ================================================================================ TEST configureDynamicLibraries from PETSc.options.sharedLibraries(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/sharedLibraries.py:96) TESTING: configureDynamicLibraries from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:96) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ================================================================================ TEST configureSerializedFunctions from PETSc.options.sharedLibraries(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/sharedLibraries.py:102) TESTING: configureSerializedFunctions from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:102) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ================================================================================ TEST configureCompilerFlags from config.compilerFlags(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilerFlags.py:72) TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:72) Get the default compiler flags Trying C compiler flag -O3 Trying Cxx compiler flag -O3 Trying FC compiler flag -O3 Pushing language C Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -O3 Popping language C Pushing language Cxx Executing: CC -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -O3 Popping language Cxx Pushing language FC Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -O3 Popping language FC Executing: cc --version stdout: icc (ICC) 18.0.1 20171018 Copyright (C) 1985-2017 Intel Corporation. All rights reserved. getCompilerVersion: cc icc (ICC) 18.0.1 20171018 Executing: cc --help stdout: Usage: cc [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using gcc. This enables a user to run such an application without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Executing: cc --help stdout: Usage: cc [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using gcc. This enables a user to run such an application without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Executing: cc --help stdout: Usage: cc [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using gcc. This enables a user to run such an application without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Executing: CC --version stdout: icpc (ICC) 18.0.1 20171018 Copyright (C) 1985-2017 Intel Corporation. All rights reserved. getCompilerVersion: CC icpc (ICC) 18.0.1 20171018 Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using gcc. This enables a user to run such an application without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using gcc. This enables a user to run such an application without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using gcc. This enables a user to run such an application without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Executing: ftn --version stdout: ifort (IFORT) 18.0.1 20171018 Copyright (C) 1985-2017 Intel Corporation. All rights reserved. getCompilerVersion: ftn ifort (IFORT) 18.0.1 20171018 Executing: ftn --help stdout: Usage: ftn [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using gcc. This enables a user to run such an application without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. Executing: ftn --help stdout: Usage: ftn [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using gcc. This enables a user to run such an application without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. ================================================================================ TEST configureDebugging from PETSc.options.debugging(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/PETSc/options/debugging.py:25) TESTING: configureDebugging from PETSc.options.debugging(config/PETSc/options/debugging.py:25) Defined "USE_ERRORCHECKING" to "1" =============================================================================== WARNING! Compiling PETSc with no debugging, this should only be done for timing and production runs. All development should be done when configured using --with-debugging=1 =============================================================================== ================================================================================ TEST checkRestrict from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:137) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:137) Check for the C/CXX restrict keyword Executing: cc -V Pushing language C All intermediate test results are stored in /tmp/petsc-pUSgZ5/config.compilers Executing: cc -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set C restrict keyword to __restrict Defined "C_RESTRICT" to "__restrict" Popping language C ================================================================================ TEST checkCFormatting from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:322) TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:322) Activate format string checking if using the GNU compilers ================================================================================ TEST checkCStaticInline from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:108) TESTING: checkCStaticInline from config.compilers(config/BuildSystem/config/compilers.py:108) Check for C keyword: static inline Pushing language C Executing: cc -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.setCompilers -I/tmp/petsc-pUSgZ5/config.compilers -O3 /tmp/petsc-pUSgZ5/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(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:333) TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:333) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: cc -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.setCompilers -I/tmp/petsc-pUSgZ5/config.compilers -O3 /tmp/petsc-pUSgZ5/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: cc -o /tmp/petsc-pUSgZ5/config.compilers/conftest -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: /tmp/petsc-pUSgZ5/config.compilers/conftest.o: In function `main': conftest.c:(.text+0x39): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_RTLD_LAZY" to "1" Executing: cc -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.setCompilers -I/tmp/petsc-pUSgZ5/config.compilers -O3 /tmp/petsc-pUSgZ5/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: cc -o /tmp/petsc-pUSgZ5/config.compilers/conftest -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: /tmp/petsc-pUSgZ5/config.compilers/conftest.o: In function `main': conftest.c:(.text+0x39): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_RTLD_NOW" to "1" Executing: cc -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.setCompilers -I/tmp/petsc-pUSgZ5/config.compilers -O3 /tmp/petsc-pUSgZ5/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: cc -o /tmp/petsc-pUSgZ5/config.compilers/conftest -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: /tmp/petsc-pUSgZ5/config.compilers/conftest.o: In function `main': conftest.c:(.text+0x36): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_RTLD_LOCAL" to "1" Executing: cc -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.setCompilers -I/tmp/petsc-pUSgZ5/config.compilers -O3 /tmp/petsc-pUSgZ5/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: cc -o /tmp/petsc-pUSgZ5/config.compilers/conftest -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: /tmp/petsc-pUSgZ5/config.compilers/conftest.o: In function `main': conftest.c:(.text+0x39): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_RTLD_GLOBAL" to "1" ================================================================================ TEST checkDependencyGenerationFlag from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:1361) TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1361) Check if -MMD works for dependency generation, and add it if it does Trying C compiler flag -MMD -MP Defined make macro "C_DEPFLAGS" to "-MMD -MP" Pushing language C Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 -MMD -MP /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Popping language C Trying Cxx compiler flag -MMD -MP Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Pushing language Cxx Executing: CC -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 -MMD -MP /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Popping language Cxx Trying FC compiler flag -MMD -MP Rejected FC compiler flag -MMD -MP Trying FC compiler flag -MMD Rejected FC compiler flag -MMD because no dependency file (/tmp/petsc-pUSgZ5/config.setCompilers/conftest.d) was generated Trying FC compiler flag -xMMD Rejected FC compiler flag -xMMD Trying FC compiler flag -qmakedep=gcc Rejected FC compiler flag -qmakedep=gcc Trying FC compiler flag -MD Rejected FC compiler flag -MD because no dependency file (/tmp/petsc-pUSgZ5/config.setCompilers/conftest.d) was generated Pushing language FC Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 -MMD -MP /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Possible ERROR while running compiler: stderr: ifort: command line warning #10006: ignoring unknown option '-MP' Source: program main end Rejecting compiler flag -MMD -MP due to ifort: command line warning #10006: ignoring unknown option '-MP' Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 -MMD /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 -xMMD /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: ifort: command line error: Unrecognized keyword 'MMD' for option '-x' Source: program main end Rejecting compiler flag -xMMD due to nonzero status from link Rejecting compiler flag -xMMD due to ifort: command line error: Unrecognized keyword 'MMD' for option '-x' PETSc Error: No output file produced Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 -qmakedep=gcc /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Possible ERROR while running compiler: stderr: ifort: command line warning #10006: ignoring unknown option '-qmakedep=gcc' Source: program main end Rejecting compiler flag -qmakedep=gcc due to ifort: command line warning #10006: ignoring unknown option '-qmakedep=gcc' Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 -MD /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Successful compile: Source: program main end Popping language FC ================================================================================ TEST checkC99Flag from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:1407) TESTING: checkC99Flag from config.compilers(config/BuildSystem/config/compilers.py:1407) Check for -std=c99 or equivalent flag Accepted C99 compile flag: -std=c99 Pushing language C Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 512 stderr: /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c(11): error: expected an expression for (int i=0; i<2; i++){ ^ /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c(11): error: identifier "i" is undefined for (int i=0; i<2; i++){ ^ compilation aborted for /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c (code 2) Source: #include "confdefs.h" #include "conffix.h" #include int main() { float x[2],y; y = FLT_ROUNDS; // c++ comment int j = 2; for (int i=0; i<2; i++){ x[i] = i*j*y; } ; return 0; } Rejecting compiler flag due to nonzero status from link Rejecting compiler flag due to /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c(11): error: expected an expression for (int i=0; i<2; i++){ ^ /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c(11): error: identifier "i" is undefined for (int i=0; i<2; i++){ ^ compilation aborted for /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c (code 2) PETSc Error: No output file produced Executing: cc -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 -std=c99 /tmp/petsc-pUSgZ5/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { float x[2],y; y = FLT_ROUNDS; // c++ comment int j = 2; for (int i=0; i<2; i++){ x[i] = i*j*y; } ; return 0; } Popping language C Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default.) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default.) --[no-]custom-ld-script[=script] Controls whether or not CrayPE attempts to pass ld a custom linker script. If a script is provided, it will be used. Otherwise, a custom script will be used if beneficial. (On by default.) --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. cray_ld_library_path print a dynamically generated CRAY_LD_LIBRARY_PATH. libs Print library information. pcfiles Print the pcfiles that pkg-config will be called with. pkg_config_path Print PKG_CONFIG_PATH used. variables Print the variables definitions that pkg-config will be called with. -craype-verbose Print the command which is forwarded to compiler invocation. --craype-append-opt=[flag] Add 'flag' after all CrayPE generated flags. This can effectively be used to override flags set by CrayPE. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -[no]-gcc-rpath Controls whether or not '-Wl,-rpath=/opt/cray/pe/gcc-libs' is added to the link line when dynamically linking using gcc. This enables a user to run such an application without setting LD_LIBRARY_PATH or loading a gcc module. (On by default.) -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible. -noopenmp Disables OpenMP. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. -qopenmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -qno-openmp Disables OpenMP and links in non-OpenMP libraries when possible when using Intel. ================================================================================ TEST checkRestrict from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:137) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:137) Check for the C/CXX restrict keyword Executing: cc -V Pushing language Cxx Executing: CC -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set Cxx restrict keyword to __restrict Defined "CXX_RESTRICT" to "__restrict" Popping language Cxx ================================================================================ TEST checkCxxNamespace from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:373) TESTING: checkCxxNamespace from config.compilers(config/BuildSystem/config/compilers.py:373) Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE Pushing language Cxx Executing: CC -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -I/tmp/petsc-pUSgZ5/config.compilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" namespace petsc {int dummy;} int main() { ; return 0; } Executing: CC -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -I/tmp/petsc-pUSgZ5/config.compilers -O3 /tmp/petsc-pUSgZ5/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(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:346) TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:346) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Pushing language Cxx Executing: CC -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/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(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:122) TESTING: checkCxxStaticInline from config.compilers(config/BuildSystem/config/compilers.py:122) Check for C++ keyword: static inline Pushing language Cxx Executing: CC -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/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 checkCxx11 from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:388) TESTING: checkCxx11 from config.compilers(config/BuildSystem/config/compilers.py:388) Determine the option needed to support the C++11 dialect We auto-detect C++11 if the compiler supports it without options, otherwise we require with-cxx-dialect=C++11 to try adding flags to support it. Pushing language Cxx Executing: CC -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 512 stderr: In file included from /usr/include/c++/4.8/random(35), from /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc(4): /usr/include/c++/4.8/bits/c++0x_warning.h(32): error: #error directive: This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc(5): error: identifier "constexpr" is undefined template constexpr T Cubed( T x ) { return x*x*x; } ^ /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc(5): error: "T" is not a function or static data member template constexpr T Cubed( T x ) { return x*x*x; } ^ /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc(16): warning #12: parsing restarts here after previous syntax error /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc(16): error: expected a ";" compilation aborted for /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc (code 2) Source: #include "confdefs.h" #include "conffix.h" #include template constexpr T Cubed( T x ) { return x*x*x; } int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag due to nonzero status from link Rejecting compiler flag due to In file included from /usr/include/c++/4.8/random(35), from /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc(4): /usr/include/c++/4.8/bits/c++0x_warning.h(32): error: #error directive: This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc(5): error: identifier "constexpr" is undefined template constexpr T Cubed( T x ) { return x*x*x; } ^ /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc(5): error: "T" is not a function or static data member template constexpr T Cubed( T x ) { return x*x*x; } ^ /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc(16): warning #12: parsing restarts here after previous syntax error /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc(16): error: expected a ";" compilation aborted for /tmp/petsc-pUSgZ5/config.setCompilers/conftest.cc (code 2) PETSc Error: No output file produced Popping language Cxx ================================================================================ TEST checkFortranTypeSizes from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:594) TESTING: checkFortranTypeSizes from config.compilers(config/BuildSystem/config/compilers.py:594) Check whether real*8 is supported and suggest flags which will allow support Pushing language FC Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.F Successful compile: Source: program main real*8 variable end Popping language FC ================================================================================ TEST checkFortranNameMangling from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:653) TESTING: checkFortranNameMangling from config.compilers(config/BuildSystem/config/compilers.py:653) Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS, or HAVE_FORTRAN_STDCALL Testing Fortran mangling type underscore with code void d1chk_(void){return;} Pushing language C Executing: cc -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} Popping language C Pushing language FC Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -I/tmp/petsc-pUSgZ5/config.compilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: ftn -o /tmp/petsc-pUSgZ5/config.compilers/conftest -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.o /tmp/petsc-pUSgZ5/config.compilers/confc.o -ldl Popping language FC compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" ================================================================================ TEST checkFortranNameManglingDouble from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:690) TESTING: checkFortranNameManglingDouble from config.compilers(config/BuildSystem/config/compilers.py:690) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary Pushing language C Executing: cc -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.libraries -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} Popping language C Pushing language FC Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.setCompilers -I/tmp/petsc-pUSgZ5/config.compilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.F Successful compile: Source: program main call d1_chk() end Pushing language FC Popping language FC Executing: ftn -o /tmp/petsc-pUSgZ5/config.compilers/conftest -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.o /tmp/petsc-pUSgZ5/config.compilers/confc.o -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pUSgZ5/config.compilers/conftest.o: In function `MAIN__': conftest.F:(.text+0x39): undefined reference to `d1_chk_' Popping language FC ================================================================================ TEST checkFortranPreprocessor from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:700) TESTING: checkFortranPreprocessor from config.compilers(config/BuildSystem/config/compilers.py:700) Determine if Fortran handles preprocessing properly compilers: Fortran uses CPP preprocessor Pushing language FC Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Added FC compiler flag Popping language FC ================================================================================ TEST checkFortranDefineCompilerOption from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:724) TESTING: checkFortranDefineCompilerOption from config.compilers(config/BuildSystem/config/compilers.py:724) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Defined make macro "FC_DEFINE_FLAG" to "-D" compilers: Fortran uses -D for defining macro Pushing language FC Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.setCompilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 -DTesting /tmp/petsc-pUSgZ5/config.setCompilers/conftest.F Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Popping language FC ================================================================================ TEST checkFortranLinkingCxx from config.compilers(/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py:1095) TESTING: checkFortranLinkingCxx from config.compilers(config/BuildSystem/config/compilers.py:1095) Check that Fortran can be linked against C++ Pushing language Cxx Executing: CC -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} Popping language Cxx Pushing language Cxx Executing: CC -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} Popping language Cxx Pushing language FC Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: ftn -o /tmp/petsc-pUSgZ5/config.compilers/conftest -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.o /tmp/petsc-pUSgZ5/config.compilers/cxxobj.o /tmp/petsc-pUSgZ5/config.compilers/confc.o -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pUSgZ5/config.compilers/cxxobj.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' /tmp/petsc-pUSgZ5/config.compilers/confc.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' Popping language FC Pushing language Cxx Executing: CC -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} Popping language Cxx Pushing language FC Executing: ftn -c -o /tmp/petsc-pUSgZ5/config.compilers/conftest.o -I/tmp/petsc-pUSgZ5/config.compilers -I/tmp/petsc-pUSgZ5/config.setCompilers -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: ftn -o /tmp/petsc-pUSgZ5/config.compilers/conftest -O3 /tmp/petsc-pUSgZ5/config.compilers/conftest.o /tmp/petsc-pUSgZ5/config.compilers/cxxobj.o /tmp/petsc-pUSgZ5/config.compilers/confc.o -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-pUSgZ5/config.compilers/cxxobj.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' /tmp/petsc-pUSgZ5/config.compilers/confc.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' Popping language FC **** Configure header /tmp/petsc-pUSgZ5/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_FORTRAN_UNDERSCORE #define PETSC_HAVE_FORTRAN_UNDERSCORE 1 #endif #ifndef PETSC_HAVE_CXX_NAMESPACE #define PETSC_HAVE_CXX_NAMESPACE 1 #endif #ifndef PETSC_HAVE_RTLD_GLOBAL #define PETSC_HAVE_RTLD_GLOBAL 1 #endif #ifndef PETSC_C_RESTRICT #define PETSC_C_RESTRICT __restrict #endif #ifndef PETSC_CXX_RESTRICT #define PETSC_CXX_RESTRICT __restrict #endif #ifndef PETSC_CXX_STATIC_INLINE #define PETSC_CXX_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_LIBDL #define PETSC_HAVE_LIBDL 1 #endif #ifndef PETSC_ARCH #define PETSC_ARCH "linux-opt" #endif #ifndef PETSC_CLANGUAGE_C #define PETSC_CLANGUAGE_C 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_GDB_DEBUGGER #define PETSC_USE_GDB_DEBUGGER 1 #endif #ifndef PETSC_VERSION_DATE_GIT #define PETSC_VERSION_DATE_GIT "2017-09-25 18:01:20 -0500" #endif #ifndef PETSC_VERSION_BRANCH_GIT #define PETSC_VERSION_BRANCH_GIT "(detached from v3.7.7)" #endif #ifndef PETSC_VERSION_GIT #define PETSC_VERSION_GIT "v3.7.7" #endif #ifndef PETSC_USE_ERRORCHECKING #define PETSC_USE_ERRORCHECKING 1 #endif #endif **** C specific Configure header /tmp/petsc-pUSgZ5/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): ------------------------------------------------------------------------------- Fortran could not successfully link C++ objects ******************************************************************************* File "./config/configure.py", line 405, in petsc_configure framework.configure(out = sys.stdout) File "/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/framework.py", line 1091, in configure self.processChildren() File "/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/framework.py", line 1080, in processChildren self.serialEvaluation(self.childGraph) File "/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/framework.py", line 1061, in serialEvaluation child.configure() File "/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py", line 1465, in configure self.executeTest(self.checkFortranLinkingCxx) File "/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/base.py", line 126, in executeTest ret = test(*args,**kargs) File "/global/u2/a/apbhalla/softwares/PETSc-BitBucket/PETSc/config/BuildSystem/config/compilers.py", line 1127, in checkFortranLinkingCxx raise RuntimeError('Fortran could not successfully link C++ objects') ================================================================================ Finishing Configure Run at Thu Feb 1 07:48:00 2018 ================================================================================