From asma_i4 at hotmail.fr Sat Feb 1 12:04:43 2014 From: asma_i4 at hotmail.fr (asma haouech) Date: Sat, 1 Feb 2014 19:04:43 +0100 Subject: [petsc-users] Reducing the time needed to solve linear systems using matrix ordering Message-ID: Dear all, I am new in PETSC. I am trying to test the impact of matrix ordering on the time needed for solving linear systems. It is known that ordering matrix reduces the fill-in so solving time decreases also. I use direct package solver 'superLU' and I tested different orderings but I?ve always found very close execution time values. Here is the code: ierr= KSPCreate(PETSC_COMM_WORLD,&ksp);CHKERRQ(ierr); ierr= KSPSetOperators(ksp,A,A,DIFFERENT_NONZERO_PATTERN);CHKERRQ(ierr); ierr= KSPSetType(ksp,KSPPREONLY);CHKERRQ(ierr); ierr= KSPGetPC(ksp,&pc);CHKERRQ(ierr); ierr= PCSetType(pc,PCLU);CHKERRQ(ierr); ierr= PCFactorSetMatSolverPackage(pc,MATSOLVERSUPERLU);CHKERRQ(ierr); ierr= PCFactorSetUpMatSolverPackage(pc);CHKERRQ(ierr); ierr = MatGetOrdering(A,MATORDERINGRCM,&perm,&cperm);CHKERRQ(ierr); ierr = MatGetFactor(A,MATSOLVERSUPERLU,MAT_FACTOR_LU,&F);CHKERRQ(ierr); ierr = MatLUFactorSymbolic(F,A,perm,cperm,PETSC_NULL);CHKERRQ(ierr); ierr = MatLUFactorNumeric(F,A,PETSC_NULL);CHKERRQ(ierr); ierr = PCFactorGetMatrix(pc,&F);CHKERRQ(ierr); ierr= KSPSolve(ksp,b,x);CHKERRQ(ierr); I execute the program with this options : -mat_superlu_colperm NATURAL -mat_superlu_rowperm NOROWPERM. Please tell me what is the problem in my code. Kind Regards, Asma. -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Sat Feb 1 12:49:52 2014 From: knepley at gmail.com (Matthew Knepley) Date: Sat, 1 Feb 2014 12:49:52 -0600 Subject: [petsc-users] Reducing the time needed to solve linear systems using matrix ordering In-Reply-To: References: Message-ID: On Sat, Feb 1, 2014 at 12:04 PM, asma haouech wrote: > Dear all, > > For any solver question, you need to send the output of -ksp_view for all runs Matt > I am new in PETSC. I am trying to test the impact of matrix ordering on > the time needed for solving linear systems. It is known that ordering > matrix reduces the fill-in so solving time decreases also. I use direct > package solver 'superLU' and I tested different orderings but I've always > found very close execution time values. Here is the code: > > > > ierr= KSPCreate(PETSC_COMM_WORLD,&ksp);CHKERRQ(ierr); > > ierr= KSPSetOperators(ksp,A,A,DIFFERENT_NONZERO_PATTERN);CHKERRQ(ierr); > > ierr= KSPSetType(ksp,KSPPREONLY);CHKERRQ(ierr); > > ierr= KSPGetPC(ksp,&pc);CHKERRQ(ierr); > > ierr= PCSetType(pc,PCLU);CHKERRQ(ierr); > > ierr= PCFactorSetMatSolverPackage(pc,MATSOLVERSUPERLU);CHKERRQ(ierr); > > ierr= PCFactorSetUpMatSolverPackage(pc);CHKERRQ(ierr); > > ierr = MatGetOrdering(A,MATORDERINGRCM,&perm,&cperm);CHKERRQ(ierr); > > ierr = MatGetFactor(A,MATSOLVERSUPERLU,MAT_FACTOR_LU,&F);CHKERRQ(ierr); > > ierr = MatLUFactorSymbolic(F,A,perm,cperm,PETSC_NULL);CHKERRQ(ierr); > > ierr = MatLUFactorNumeric(F,A,PETSC_NULL);CHKERRQ(ierr); > > ierr = PCFactorGetMatrix(pc,&F);CHKERRQ(ierr); > > ierr= KSPSolve(ksp,b,x);CHKERRQ(ierr); > > > > I execute the program with this options : -mat_superlu_colperm NATURAL > -mat_superlu_rowperm NOROWPERM. > > Please tell me what is the problem in my code. > > > > Kind Regards, > > Asma. > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From daveliu at mit.edu Sat Feb 1 13:16:42 2014 From: daveliu at mit.edu (David Liu) Date: Sat, 1 Feb 2014 14:16:42 -0500 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: <87r47nbl55.fsf@jedbrown.org> References: <87r47nbl55.fsf@jedbrown.org> Message-ID: I see. Does that s^2 memory scaling mean that sparse direct solvers are not meant to be used beyond a certain point? I.e. if the supercomputer I'm using doesn't have enough memory per core to store even a single row of the factored matrix, then I'm out of luck? On Fri, Jan 31, 2014 at 9:51 PM, Jed Brown wrote: > David Liu writes: > > > Hi, I'm solving a 3d problem with mumps. When I increased the grid size > to > > 70x60x20 with 6 unknowns per point, I started noticing that the program > was > > crashing at runtime at the factoring stage, with the mumps error code: > > > > -17 The internal send buffer that was allocated dynamically by MUMPS on > the > > processor is too small. > > The user should increase the value of ICNTL(14) before calling MUMPS > again. > > > > However, when I increase the grid spacing in the z direction by about > 50%, > > this crash does not happen. > > > > Why would how much memory an LU factorization uses depend on an overall > > numerical factor (for part of the matrix at least) like this? > > I'm not sure exactly what you're asking, but the complexity of direct > solves depend on the minimal vertex separators in the sparse > matrix/graph. Yours will be s=60*20*6 (more if your stencil needs > second neighbors). The memory usage scales with s^2 and the > factorization time scales with s^3. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Sat Feb 1 13:17:47 2014 From: knepley at gmail.com (Matthew Knepley) Date: Sat, 1 Feb 2014 13:17:47 -0600 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: References: <87r47nbl55.fsf@jedbrown.org> Message-ID: On Sat, Feb 1, 2014 at 1:16 PM, David Liu wrote: > I see. Does that s^2 memory scaling mean that sparse direct solvers are > not meant to be used beyond a certain point? I.e. if the supercomputer I'm > using doesn't have enough memory per core to store even a single row of the > factored matrix, then I'm out of luck? > Yes exactly Matt > On Fri, Jan 31, 2014 at 9:51 PM, Jed Brown wrote: > >> David Liu writes: >> >> > Hi, I'm solving a 3d problem with mumps. When I increased the grid size >> to >> > 70x60x20 with 6 unknowns per point, I started noticing that the program >> was >> > crashing at runtime at the factoring stage, with the mumps error code: >> > >> > -17 The internal send buffer that was allocated dynamically by MUMPS on >> the >> > processor is too small. >> > The user should increase the value of ICNTL(14) before calling MUMPS >> again. >> > >> > However, when I increase the grid spacing in the z direction by about >> 50%, >> > this crash does not happen. >> > >> > Why would how much memory an LU factorization uses depend on an overall >> > numerical factor (for part of the matrix at least) like this? >> >> I'm not sure exactly what you're asking, but the complexity of direct >> solves depend on the minimal vertex separators in the sparse >> matrix/graph. Yours will be s=60*20*6 (more if your stencil needs >> second neighbors). The memory usage scales with s^2 and the >> factorization time scales with s^3. >> > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From klaus.zimmermann at physik.uni-freiburg.de Sat Feb 1 13:35:38 2014 From: klaus.zimmermann at physik.uni-freiburg.de (Klaus Zimmermann) Date: Sat, 01 Feb 2014 20:35:38 +0100 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: References: <87r47nbl55.fsf@jedbrown.org> Message-ID: <52ED4C8A.9020600@physik.uni-freiburg.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, Am 01.02.2014 20:17, schrieb Matthew Knepley: > On Sat, Feb 1, 2014 at 1:16 PM, David Liu > wrote: > > I see. Does that s^2 memory scaling mean that sparse direct > solvers are not meant to be used beyond a certain point? I.e. if > the supercomputer I'm using doesn't have enough memory per core to > store even a single row of the factored matrix, then I'm out of > luck? > > > Yes exactly Isn?t that a bit pessimistic? After all there is the out-of-core facility with mumps. In any case I believe the problem here is different: As you rightly noted there will be some fill-in in the factorization. It seems to be difficult to know how much beforehand. As I understand it, mumps takes an educated guess. If the amount of fill-in is large this just can be too small. If that happens you just should tell mumps to expect more fill-in by the mentioned icntl(14). From the manual: - --- ICNTL(14) is accessed by the host both during the analysis and the factorization phases. It corresponds to the percentage increase in the estimated working space. When significant extra fill-in is caused by numerical pivoting, increasing ICNTL(14) may help. Except in special cases, the default value is 20 (which corresponds to a 20 % increase). - --- There is an alternative: Using icntl(23) you can provide mumps with the maximum amount of memory in mb that it can use per processor. On supercomputers you usually have a good idea of the available memory. Subtract from that the footprint of your program right before the call to mumps and you should have an optimal value of memory for mumps to work with. If the memory then turns out to be insufficient, at least mumps will notice prior to the factorization and safe your precious cpu hours. I use this approach with an additional command line parameter to feed the total available memory to the program. Actually I thought about integrating this directly in petsc, but never got around to doing it. What do you think: Would this find its way into petsc? Or is it to mumps specific? Kind regards Klaus > > Matt > > > On Fri, Jan 31, 2014 at 9:51 PM, Jed Brown > wrote: > > David Liu > writes: > >> Hi, I'm solving a 3d problem with mumps. When I increased the > grid size to >> 70x60x20 with 6 unknowns per point, I started noticing that > the program was >> crashing at runtime at the factoring stage, with the mumps > error code: >> >> -17 The internal send buffer that was allocated dynamically by > MUMPS on the >> processor is too small. The user should increase the value of >> ICNTL(14) before calling > MUMPS again. >> >> However, when I increase the grid spacing in the z direction > by about 50%, >> this crash does not happen. >> >> Why would how much memory an LU factorization uses depend on > an overall >> numerical factor (for part of the matrix at least) like this? > > I'm not sure exactly what you're asking, but the complexity of > direct solves depend on the minimal vertex separators in the > sparse matrix/graph. Yours will be s=60*20*6 (more if your stencil > needs second neighbors). The memory usage scales with s^2 and the > factorization time scales with s^3. > > > > > > -- What most experimenters take for granted before they begin > their experiments is infinitely more interesting than any results > to which their experiments lead. -- Norbert Wiener -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS7UyKAAoJEHGtO1Agqpgxx0sIAIEVY81Sh6jyJC7ScSVuC+P7 2iaCKOmVwDb5yD6QaM88AGIdIiOHA5yFehU3IYBM2GhbWkvgiT3ylEgfjh5akp5R MNbn0FFmD4ycq83CBIg1TsiQj6V9fX+7Y6ROAABGdLlk0qNolN0apRKFfn/H7FnT YqExKSgoBp+ctt5/XsK2BdyHxiopTPjSx6J0xd+KjHhpbE97KxxURbm4vsPv+clj 7PrRpXbJnannMvHYQVfmVmmurw/yC47KeX8aqQTGWYrRZUfOnQ8K4Z3uzT5XzQ1l TW6lruaFPu+y1r8oJAA8+Fp1pf06Jjx85fDb9VelRwaIoNIS1B41KEmByHpsf3w= =nXDH -----END PGP SIGNATURE----- From knepley at gmail.com Sat Feb 1 13:55:45 2014 From: knepley at gmail.com (Matthew Knepley) Date: Sat, 1 Feb 2014 13:55:45 -0600 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: <52ED4C8A.9020600@physik.uni-freiburg.de> References: <87r47nbl55.fsf@jedbrown.org> <52ED4C8A.9020600@physik.uni-freiburg.de> Message-ID: On Sat, Feb 1, 2014 at 1:35 PM, Klaus Zimmermann < klaus.zimmermann at physik.uni-freiburg.de> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi everyone, > > Am 01.02.2014 20:17, schrieb Matthew Knepley: > > On Sat, Feb 1, 2014 at 1:16 PM, David Liu > > wrote: > > > > I see. Does that s^2 memory scaling mean that sparse direct > > solvers are not meant to be used beyond a certain point? I.e. if > > the supercomputer I'm using doesn't have enough memory per core to > > store even a single row of the factored matrix, then I'm out of > > luck? > > > > > > Yes exactly > Isn't that a bit pessimistic? After all there is the out-of-core > facility with mumps. > The question was "sparse direct solvers are not meant to be used beyond a certain point"? The answer is definitely yes. Matt > In any case I believe the problem here is different: > As you rightly noted there will be some fill-in in the factorization. > It seems to be difficult to know how much beforehand. As I understand > it, mumps takes an educated guess. If the amount of fill-in is large > this just can be too small. If that happens you just should tell mumps > to expect more fill-in by the mentioned icntl(14). From the manual: > - --- > ICNTL(14) is accessed by the host both during the analysis and the > factorization phases. It corresponds > to the percentage increase in the estimated working space. When > significant extra fill-in is caused > by numerical pivoting, increasing ICNTL(14) may help. Except in > special cases, the default value > is 20 (which corresponds to a 20 % increase). > - --- > > There is an alternative: Using icntl(23) you can provide mumps with > the maximum amount of memory in mb that it can use per processor. On > supercomputers you usually have a good idea of the available memory. > Subtract from that the footprint of your program right before the call > to mumps and you should have an optimal value of memory for mumps to > work with. > If the memory then turns out to be insufficient, at least mumps will > notice prior to the factorization and safe your precious cpu hours. > > I use this approach with an additional command line parameter to feed > the total available memory to the program. Actually I thought about > integrating this directly in petsc, but never got around to doing it. > What do you think: Would this find its way into petsc? Or is it to > mumps specific? > > Kind regards > Klaus > > > > > Matt > > > > > > On Fri, Jan 31, 2014 at 9:51 PM, Jed Brown > > wrote: > > > > David Liu > writes: > > > >> Hi, I'm solving a 3d problem with mumps. When I increased the > > grid size to > >> 70x60x20 with 6 unknowns per point, I started noticing that > > the program was > >> crashing at runtime at the factoring stage, with the mumps > > error code: > >> > >> -17 The internal send buffer that was allocated dynamically by > > MUMPS on the > >> processor is too small. The user should increase the value of > >> ICNTL(14) before calling > > MUMPS again. > >> > >> However, when I increase the grid spacing in the z direction > > by about 50%, > >> this crash does not happen. > >> > >> Why would how much memory an LU factorization uses depend on > > an overall > >> numerical factor (for part of the matrix at least) like this? > > > > I'm not sure exactly what you're asking, but the complexity of > > direct solves depend on the minimal vertex separators in the > > sparse matrix/graph. Yours will be s=60*20*6 (more if your stencil > > needs second neighbors). The memory usage scales with s^2 and the > > factorization time scales with s^3. > > > > > > > > > > > > -- What most experimenters take for granted before they begin > > their experiments is infinitely more interesting than any results > > to which their experiments lead. -- Norbert Wiener > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.14 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJS7UyKAAoJEHGtO1Agqpgxx0sIAIEVY81Sh6jyJC7ScSVuC+P7 > 2iaCKOmVwDb5yD6QaM88AGIdIiOHA5yFehU3IYBM2GhbWkvgiT3ylEgfjh5akp5R > MNbn0FFmD4ycq83CBIg1TsiQj6V9fX+7Y6ROAABGdLlk0qNolN0apRKFfn/H7FnT > YqExKSgoBp+ctt5/XsK2BdyHxiopTPjSx6J0xd+KjHhpbE97KxxURbm4vsPv+clj > 7PrRpXbJnannMvHYQVfmVmmurw/yC47KeX8aqQTGWYrRZUfOnQ8K4Z3uzT5XzQ1l > TW6lruaFPu+y1r8oJAA8+Fp1pf06Jjx85fDb9VelRwaIoNIS1B41KEmByHpsf3w= > =nXDH > -----END PGP SIGNATURE----- > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From danyang.su at gmail.com Sun Feb 2 03:43:51 2014 From: danyang.su at gmail.com (Danyang Su) Date: Sun, 02 Feb 2014 01:43:51 -0800 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <52EC0F39.80509@gmail.com> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> Message-ID: <52EE1357.1050907@gmail.com> To see if it is because of the compiler problems, I use gcc, gfortran and g++ as the compiler. The configuration is ./configure --with-cc='gcc' --with-fc='gfortran' --with-cxx='g++' --download-f-blas-lapack --with-threadcomm --with-openmp --with-mpi-include="/cygdrive/c/MSHPC/MSHPC2008R2/Inc" --with-mpi-lib="/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib" The error is ******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- --with-mpi-lib=['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] and --with-mpi-include=['/cygdrive/c/MSHPC/MSHPC2008R2/Inc'] did not work ******************************************************************************* On 31/01/2014 1:01 PM, Danyang Su wrote: > On 31/01/2014 12:05 PM, Satish Balay wrote: >> Try: >> --with-mpi-lib="/cygdrive/c/MSHPC/MicrosoftHPCPack2012/Lib/amd64/msmpifec.lib >> /cygdrive/c/MSHPC/MicrosoftHPCPack2012/Lib/amd64/msmpi.lib" > ******************************************************************************* > > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log > for details): > ------------------------------------------------------------------------------- > > External package threadcomm does not work with Microsoft compilers > ******************************************************************************* > >> >> Satish >> >> >> On Fri, 31 Jan 2014, Danyang Su wrote: >> >>> On 31/01/2014 9:23 AM, Danyang Su wrote: >>>> On 31/01/2014 8:41 AM, Satish Balay wrote: >>>>> Try: >>>>> >>>>> --with-mpi-include=/cygdrive/c/Program\ Files/Microsoft\ HPC\ >>>>> Pack\ 2008\ >>>>> R2/Inc >>>>> --with-mpi-lib=/cygdrive/c/Program\ Files/Microsoft\ HPC\ Pack\ 2008\ >>>>> R2/Lib/amd64/msmpi.lib >>>> ******************************************************************************* >>>> >>>> >>>> UNABLE to CONFIGURE with GIVEN OPTIONS (see >>>> configure.log for >>>> details): >>>> ------------------------------------------------------------------------------- >>>> >>>> >>>> --with-mpi-lib=['/cygdrive/c/Program', 'Files/Microsoft', 'HPC', >>>> 'Pack', >>>> '2008', 'R2/Lib/amd64/msmpi.lib'] and >>>> --with-mpi-include=['/cygdrive/c/Program Files/Microsoft HPC Pack 2008 >>>> R2/Inc'] did not work >>>> ******************************************************************************* >>>> >>>> >>>> It's this due to the blank space in the path? Maybe I can reinstall >>>> HPC >>>> package to another destination without blank space in the path. >>> After reinstall Microsoft HPC in C:\MSHPC\MicrosoftHPCPack2012, I >>> configure >>> PETSc installation with >>> >>> ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' >>> --with-cxx='win32fe cl' --download-f-blas-lapack --with-threadcomm >>> --with-openmp >>> --with-mpi-include="/cygdrive/c/MSHPC/MicrosoftHPCPack2012/Inc" >>> --with-mpi-lib="/cygdrive/c/MSHPC/MicrosoftHPCPack2012/Lib/amd64/msmpi.lib" >>> >>> >>> The error is as follows: >>> >>> ******************************************************************************* >>> >>> UNABLE to CONFIGURE with GIVEN OPTIONS (see >>> configure.log for >>> details): >>> ------------------------------------------------------------------------------- >>> >>> Fortran error! mpi_init() could not be located! >>> ******************************************************************************* >>> >>>> Thanks, >>>> >>>> Danyang >>>>> Satish >>>>> >>>>> >>>>> On Fri, 31 Jan 2014, Danyang Su wrote: >>>>> >>>>>> Hi Barry, >>>>>> >>>>>> The configure.log has been attached. I can configure with MPICH2 >>>>>> before. >>>>>> There >>>>>> are three MPI implementations (MPICH2, Intel MPI and MSMPI) in my >>>>>> computer, >>>>>> the intel mpi distribution comes along with the installation of >>>>>> Intel >>>>>> Parallel >>>>>> Studio. The MPICH2 and MSMPI is installed separately. Now I have >>>>>> uninstalled >>>>>> MPICH2 and there is only MSMPI (with sdk) and Intel MPI >>>>>> distribution. >>>>>> The system is WIN7 X64 Pro. >>>>>> >>>>>> Thanks, >>>>>> >>>>>> Danyang >>>>>> >>>>>> On 30/01/2014 7:40 PM, Barry Smith wrote: >>>>>>> We need configure.log >>>>>>> >>>>>>> On Jan 30, 2014, at 8:50 PM, Danyang Su >>>>>>> wrote: >>>>>>> >>>>>>>> Hi All, >>>>>>>> >>>>>>>> When configure petsc with msmpi >>>>>>>> >>>>>>>> ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' >>>>>>>> --with-cxx='win32fe cl' --download-f-blas-lapack --with-threadco >>>>>>>> mm --with-openmp --with-mpi-include="/cygdrive/c/Program >>>>>>>> Files/Microsoft >>>>>>>> HPC Pack 2008 R2/Inc" --with-mpi-lib="/cygdrive/c/Prog >>>>>>>> ram Files/Microsoft HPC Pack 2008 R2/Lib/amd64/msmpi.lib" >>>>>>>> >>>>>>>> I get the following error >>>>>>>> >>>>>>>> --with-mpi-lib=['/cygdrive/c/Program', 'Files/Microsoft', 'HPC', >>>>>>>> 'Pack', >>>>>>>> '2008', 'R2/Lib/amd64/msmpi.lib'] and >>>>>>>> --with-mpi-include=['/cygdrive/c/Program Files/Microsoft HPC Pack >>>>>>>> 2008 >>>>>>>> R2/Inc'] did not work >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> Danyang >>>>>> >>> >>> > -------------- next part -------------- Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC =============================================================================== ** Cygwin-python detected. Threads do not work correctly. *** ** Disabling thread usage for this run of ./configure ******* =============================================================================== ================================================================================ ================================================================================ Starting Configure Run at Sun Feb 2 00:57:20 2014 Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --download-f-blas-lapack --with-threadcomm --with-openmp --with-mpi-include="[/cygdrive/c/MSHPC/MSHPC2008R2/Inc]" --with-mpi-lib="[/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib]" --useThreads=0 Working directory: /cygdrive/c/cygwin/packages/petsc-dev Machine platform: ('CYGWIN_NT-6.1-WOW64', 'nwmop', '1.7.22(0.268/5/3)', '2013-07-22 17:06', 'i686', '') Python version: 2.7.3 (default, Dec 18 2012, 13:50:09) [GCC 4.5.3] ================================================================================ 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(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/framework.py:823) TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:823) ================================================================================ TEST configureDebuggers from PETSc.utilities.debuggers(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/debuggers.py:22) TESTING: configureDebuggers from PETSc.utilities.debuggers(config/PETSc/utilities/debuggers.py:22) Find a default debugger and determine its arguments Checking for program /usr/local/bin/gdb...not found Checking for program /usr/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/gdb...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/gdb...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/gdb...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/gdb...not found Checking for program /cygdrive/c/Windows/system32/gdb...not found Checking for program /cygdrive/c/Windows/gdb...not found Checking for program /cygdrive/c/Windows/System32/Wbem/gdb...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/gdb...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/gdb...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/gdb...not found Checking for program /cygdrive/c/MinGW/bin/gdb...found Defined make macro "GDB" to "/cygdrive/c/MinGW/bin/gdb" Checking for program /usr/local/bin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/dbx...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/dbx...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/dbx...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/dbx...not found Checking for program /cygdrive/c/Windows/system32/dbx...not found Checking for program /cygdrive/c/Windows/dbx...not found Checking for program /cygdrive/c/Windows/System32/Wbem/dbx...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/dbx...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/dbx...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/dbx...not found Checking for program /cygdrive/c/MinGW/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/dbx...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/dbx...not found Checking for program /home/dsu/dbx...not found Checking for program /usr/local/bin/xdb...not found Checking for program /usr/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/xdb...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/xdb...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/xdb...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/xdb...not found Checking for program /cygdrive/c/Windows/system32/xdb...not found Checking for program /cygdrive/c/Windows/xdb...not found Checking for program /cygdrive/c/Windows/System32/Wbem/xdb...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/xdb...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/xdb...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/xdb...not found Checking for program /cygdrive/c/MinGW/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/xdb...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/xdb...not found Checking for program /home/dsu/xdb...not found Checking for program /usr/local/bin/dsymutil...not found Checking for program /usr/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/dsymutil...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/dsymutil...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/dsymutil...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/dsymutil...not found Checking for program /cygdrive/c/Windows/system32/dsymutil...not found Checking for program /cygdrive/c/Windows/dsymutil...not found Checking for program /cygdrive/c/Windows/System32/Wbem/dsymutil...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/dsymutil...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/dsymutil...not found Checking for program /cygdrive/c/MinGW/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/dsymutil...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/dsymutil...not found Checking for program /home/dsu/dsymutil...not found Defined make macro "DSYMUTIL" to "true" Defined "USE_GDB_DEBUGGER" to "1" ================================================================================ TEST configureGit from config.sourceControl(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/sourceControl.py:24) TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /usr/local/bin/git...not found Checking for program /usr/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/git...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/git...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/git...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/git...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/git...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/git...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/git...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/git...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/git...not found Checking for program /cygdrive/c/Windows/system32/git...not found Checking for program /cygdrive/c/Windows/git...not found Checking for program /cygdrive/c/Windows/System32/Wbem/git...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/git...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/git...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/git...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/git...not found Checking for program /cygdrive/c/MinGW/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/git...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/git...not found Checking for program /home/dsu/git...not found ================================================================================ TEST configureMercurial from config.sourceControl(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/sourceControl.py:35) TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /usr/local/bin/hg...not found Checking for program /usr/bin/hg...found Defined make macro "HG" to "hg" Executing: hg version -q stdout: Mercurial Distributed SCM (version 2.5.2) ================================================================================ TEST configureCVS from config.sourceControl(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/sourceControl.py:46) TESTING: configureCVS from config.sourceControl(config/BuildSystem/config/sourceControl.py:46) Find the CVS executable Checking for program /usr/local/bin/cvs...not found Checking for program /usr/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/cvs...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/cvs...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/cvs...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/cvs...not found Checking for program /cygdrive/c/Windows/system32/cvs...not found Checking for program /cygdrive/c/Windows/cvs...not found Checking for program /cygdrive/c/Windows/System32/Wbem/cvs...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/cvs...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/cvs...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/cvs...not found Checking for program /cygdrive/c/MinGW/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/cvs...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/cvs...not found Checking for program /home/dsu/cvs...not found ================================================================================ TEST configureSubversion from config.sourceControl(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/sourceControl.py:55) TESTING: configureSubversion from config.sourceControl(config/BuildSystem/config/sourceControl.py:55) Find the Subversion executable Checking for program /usr/local/bin/svn...not found Checking for program /usr/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/svn...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/svn...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/svn...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/svn...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/svn...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/svn...not found Checking for program /cygdrive/c/Windows/system32/svn...not found Checking for program /cygdrive/c/Windows/svn...not found Checking for program /cygdrive/c/Windows/System32/Wbem/svn...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/svn...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/svn...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/svn...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/svn...not found Checking for program /cygdrive/c/MinGW/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/svn...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/svn...found Defined make macro "SVN" to "svn" Executing: svn --version -q stdout: 1.8.3 ================================================================================ TEST configureMkdir from config.programs(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/programs.py:22) TESTING: configureMkdir from config.programs(config/BuildSystem/config/programs.py:22) Make sure we can have mkdir automatically make intermediate directories Checking for program /usr/local/bin/mkdir...not found Checking for program /usr/bin/mkdir...found Executing: /usr/bin/mkdir -p .conftest/tmp Adding -p flag to /usr/bin/mkdir -p to automatically create directories Defined make macro "MKDIR" to "/usr/bin/mkdir -p" ================================================================================ TEST configureAutoreconf from config.programs(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/programs.py:44) TESTING: configureAutoreconf from config.programs(config/BuildSystem/config/programs.py:44) Check for autoreconf Checking for program /usr/local/bin/autoreconf...not found Checking for program /usr/bin/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/autoreconf...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/autoreconf...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/autoreconf...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/autoreconf...not found Checking for program /cygdrive/c/Windows/system32/autoreconf...not found Checking for program /cygdrive/c/Windows/autoreconf...not found Checking for program /cygdrive/c/Windows/System32/Wbem/autoreconf...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/autoreconf...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/autoreconf...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/autoreconf...not found Checking for program /cygdrive/c/MinGW/bin/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/autoreconf...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/autoreconf...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/autoreconf...not found Checking for program /home/dsu/autoreconf...not found ================================================================================ TEST configurePrograms from config.programs(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/programs.py:65) TESTING: configurePrograms from config.programs(config/BuildSystem/config/programs.py:65) Check for the programs needed to build and run PETSc Checking for program /usr/local/bin/sh...not found Checking for program /usr/bin/sh...found Defined make macro "SHELL" to "/usr/bin/sh" Checking for program /usr/local/bin/sed...not found Checking for program /usr/bin/sed...found Defined make macro "SED" to "/usr/bin/sed" All intermediate test results are stored in /tmp/petsc-54YYwh All intermediate test results are stored in /tmp/petsc-54YYwh/config.programs Executing: /usr/bin/sed -i s/sed/sd/g "/tmp/petsc-54YYwh/config.programs/sed1" Adding SEDINPLACE cmd: /usr/bin/sed -i Defined make macro "SEDINPLACE" to "/usr/bin/sed -i" Checking for program /usr/local/bin/mv...not found Checking for program /usr/bin/mv...found Defined make macro "MV" to "/usr/bin/mv" Checking for program /usr/local/bin/cp...not found Checking for program /usr/bin/cp...found Defined make macro "CP" to "/usr/bin/cp" Checking for program /usr/local/bin/grep...not found Checking for program /usr/bin/grep...found Defined make macro "GREP" to "/usr/bin/grep" Checking for program /usr/local/bin/rm...not found Checking for program /usr/bin/rm...found Defined make macro "RM" to "/usr/bin/rm -f" Checking for program /usr/local/bin/diff...not found Checking for program /usr/bin/diff...found Executing: "/usr/bin/diff" -w "/tmp/petsc-54YYwh/config.programs/diff1" "/tmp/petsc-54YYwh/config.programs/diff2" Defined make macro "DIFF" to "/usr/bin/diff -w" Checking for program /usr/ucb/ps...not found Checking for program /usr/usb/ps...not found Checking for program /home/dsu/ps...not found Checking for program /usr/local/bin/gzip...not found Checking for program /usr/bin/gzip...found Defined make macro "GZIP" to "/usr/bin/gzip" Defined "HAVE_GZIP" to "1" Defined make macro "PYTHON" to "/usr/bin/python" ================================================================================ TEST configureCLanguage from PETSc.utilities.languages(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/languages.py:27) TESTING: configureCLanguage from PETSc.utilities.languages(config/PETSc/utilities/languages.py:27) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" ================================================================================ TEST configureDirectories from PETSc.utilities.petscdir(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/petscdir.py:23) TESTING: configureDirectories from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:23) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 0 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 4 #define PETSC_VERSION_SUBMINOR 3 #define PETSC_VERSION_PATCH 0 #define PETSC_VERSION_DATE "Jan, 30, 2014" #define PETSC_VERSION_GIT "v3.4.3-2414-g135c7cd" #define PETSC_VERSION_DATE_GIT "2014-01-29 17:41:55 -0700" #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 "/cygdrive/c/cygwin/packages/petsc-dev" ================================================================================ TEST configureInstallationMethod from PETSc.utilities.petscclone(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/petscclone.py:15) TESTING: configureInstallationMethod from PETSc.utilities.petscclone(config/PETSc/utilities/petscclone.py:15) This is a tarball installation ================================================================================ TEST configureETags from PETSc.utilities.Etags(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/Etags.py:27) TESTING: configureETags from PETSc.utilities.Etags(config/PETSc/utilities/Etags.py:27) Determine if etags files exist and try to create otherwise Found etags file ================================================================================ TEST getDatafilespath from PETSc.utilities.dataFilesPath(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/dataFilesPath.py:29) TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(config/PETSc/utilities/dataFilesPath.py:29) Checks what DATAFILESPATH should be ================================================================================ TEST configureArchitecture from PETSc.utilities.arch(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/arch.py:25) TESTING: configureArchitecture from PETSc.utilities.arch(config/PETSc/utilities/arch.py:25) Checks PETSC_ARCH and sets if not set Defined "ARCH" to ""arch-mswin-c-debug"" ================================================================================ TEST setInstallDir from PETSc.utilities.installDir(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/installDir.py:27) TESTING: setInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:27) setup installDir to PETSC_DIR/PETSC_ARCH ================================================================================ TEST saveReconfigure from PETSc.utilities.installDir(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/installDir.py:53) TESTING: saveReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:53) ================================================================================ TEST cleanInstallDir from PETSc.utilities.installDir(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/installDir.py:46) TESTING: cleanInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:46) ================================================================================ TEST configureInstallDir from PETSc.utilities.installDir(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/installDir.py:31) TESTING: configureInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:31) Makes installDir subdirectories if it does not exist Changed persistence directory to /cygdrive/c/cygwin/packages/petsc-dev/arch-mswin-c-debug/conf ================================================================================ TEST restoreReconfigure from PETSc.utilities.installDir(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/installDir.py:66) TESTING: restoreReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:66) ================================================================================ TEST setExternalPackagesDir from PETSc.utilities.externalpackagesdir(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/externalpackagesdir.py:15) TESTING: setExternalPackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:15) ================================================================================ TEST cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/externalpackagesdir.py:22) TESTING: cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:22) ================================================================================ TEST printEnvVariables from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:1500) TESTING: printEnvVariables from config.setCompilers(config/BuildSystem/config/setCompilers.py:1500) **** printenv **** BIN_ROOT=C:\Program Files (x86)\Intel\Composer XE 2013\bin\ LIB=C:\Program Files (x86)\Intel\Composer XE 2013\compiler\lib;C:\Program Files (x86)\Intel\Composer XE 2013\compiler\lib\intel64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\x64;C:\Program Files (x86)\Intel\Composer XE 2013\mkl\lib\intel64;C:\Program Files (x86)\Intel\Composer XE 2013\compiler\lib\intel64; VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\ COMPUTERNAME=NWMOP SCRIPT_NAME=compilervars_arch.bat ADVISOR_XE_2013_DIR=C:\Program Files (x86)\Intel\Advisor XE 2013\.\ !C:=C:\Program Files (x86)\Intel\Composer XE 2013 WIN_TITLE_ARCH=Intel(R) 64 PRODUCT_NAME=Intel Composer XE 2013 CCP_INC=C:\MSHPC\MSHPC2008R2SDK\Include\ INFOPATH=/usr/local/info:/usr/share/info:/usr/info: SHELL=/bin/bash CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files USERDOMAIN=nwmop FrameworkVersion64=v4.0.30319 MANPATH=/usr/local/man:/usr/share/man:/usr/man: FrameworkDir=C:\Windows\Microsoft.NET\Framework64 CCP_LIB64=C:\MSHPC\MSHPC2008R2SDK\Lib\amd64\ ARCH_PATH_MPI=em64t KMP_AFFINITY=verbose,granularity=thread,compact COMSPEC=C:\Windows\system32\cmd.exe WIN_TITLE_VS=Visual Studio 2010 ARCH_PATH=intel64 TARGET_ARCH=intel64 MOZ_PLUGIN_PATH=C:\Program Files (x86)\PDFlite\ HOMEDRIVE=C: MKLROOT=C:\Program Files (x86)\Intel\Composer XE 2013\mkl FrameworkVersion=v4.0.30319 SYSTEMDRIVE=C: HOSTNAME=nwmop PETSC_ARCH=arch-mswin-c-debug PROCESSOR_LEVEL=6 OS=Windows_NT C_INCLUDE_PATH=C:\MinGW\include PRODUCT_NAME_FULL=Intel(R) Composer XE 2013 Update 5 (package 198) TARGET_VS=vs2010 INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\ IFORT_COMPILER14=C:\Program Files (x86)\Intel\Composer XE 2013 SP1\ CommandPromptType=Native USER=dsu IFORT_COMPILER13=C:\Program Files (x86)\Intel\Composer XE 2013\ SYSTEMROOT=C:\Windows PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ tmp=C:\Users\dsu\AppData\Local\Temp TEMP=/tmp SHLVL=1 VISUALSVN_SERVER=C:\Program Files (x86)\VisualSVN Server\ PETSC_DIR=/cygdrive/c/cygwin/packages/petsc-dev HOMEPATH=\Users\dsu WindowsSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\ ROOT=C:\Program Files (x86)\Intel\Composer XE 2013 LOGONSERVER=\\NWMOP CCP_JOBTEMPLATE=Default C_TARGET_ARCH=intel64 MSVS_VAR_SCRIPT="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\..\..\VC\vcvarsall.bat" PRINTER=Microsoft XPS Document Writer (redirected 1) INSPECTOR_2013_DIR=C:\Program Files (x86)\Intel\Inspector XE 2013\ SESSIONNAME=RDP-Tcp#0 INCLUDE=C:\Program Files (x86)\Intel\Composer XE 2013\compiler\include;C:\Program Files (x86)\Intel\Composer XE 2013\compiler\include\intel64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include;C:\Program Files (x86)\Intel\Composer XE 2013\mkl\include; CLIENTNAME=SDY-PC APPDATA=C:\Users\dsu\AppData\Roaming OMP_NUM_THREADS=6 VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ CCP_HOME=C:\MSHPC\MSHPC2008R2\ TMP=/tmp PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\Intel\Licenses COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files HOME=/home/dsu MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic LANG=en_US.UTF-8 LIBRARY_PATH=C:\MinGW\lib ProgramData=C:\ProgramData PROCESSOR_ARCHITECTURE=x86 ALLUSERSPROFILE=C:\ProgramData PATH_PHAST=C:\Program Files (x86)\USGS\phast-2.4.1-7430\\bin BUNDLE_NAME=Intel(R) Parallel Studio XE 2013 ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files USERNAME=dsu FrameworkDIR64=C:\Windows\Microsoft.NET\Framework64 PROMPT=$P$G PETSC_DIR2=/cygdrive/c/cygwin/packages/petsc-3.4.3 PETSC_ARCH3=arch-mswin-c-optimized INSPECTOR_XE_2013_DIR=C:\Program Files (x86)\Intel\Inspector XE 2013\ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC CommonProgramW6432=C:\Program Files\Common Files WINDIR=C:\Windows Framework35Version=v3.5 temp=C:\Users\dsu\AppData\Local\Temp Platform=X64 NUMBER_OF_PROCESSORS=12 CCP_LIB32=C:\MSHPC\MSHPC2008R2SDK\Lib\i386\ PROCESSOR_ARCHITEW6432=AMD64 WIN_TITLE=Intel Composer XE 2013 Intel(R) 64 Visual Studio 2010 TARGET_VS_ARCH=amd64 MSMPI_INC=C:\MSHPC\MSHPC2008R2\Inc\ PUBLIC=C:\Users\Public USERPROFILE=C:\Users\dsu _=./configure LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB\amd64; PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 45 Stepping 7, GenuineIntel PROGRAMFILES=C:\Program Files (x86) PROCESSOR_REVISION=2d07 PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64:/cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64:/cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319:/cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin:/cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl:/cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler:/cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32:/cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32:/cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32:/cygdrive/c/MSHPC/MSHPC2008R2/Bin:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/TEC100/BIN:/cygdrive/c/Program Files (x86)/CMake 2.8/bin:/cygdrive/c/Program Files/doxygen/bin:/cygdrive/c/Program Files (x86)/Graphviz 2.28/bin:/cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin:/cygdrive/c/MinGW/bin:/cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program Files (x86)/VisualSVN/bin:/cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt TERM=cygwin TZ=America/Vancouver CCP_SDK=C:\MSHPC\MSHPC2008R2SDK\ VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 10.0\ VTUNE_AMPLIFIER_XE_2013_DIR=C:\Program Files (x86)\Intel\VTune Amplifier XE 2013\ !::=::\ LOCALAPPDATA=C:\Users\dsu\AppData\Local MSMPI_LIB64=C:\MSHPC\MSHPC2008R2\Lib\amd64\ TEC100HOME=C:\Program Files\TEC100 FP_NO_HOST_CHECK=NO OLDPWD=/home/dsu PWD=/cygdrive/c/cygwin/packages/petsc-dev MSMPI_LIB32=C:\MSHPC\MSHPC2008R2\Lib\i386\ VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ ================================================================================ TEST resetEnvCompilers from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:1507) TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1507) ================================================================================ TEST checkMPICompilerOverride from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:1472) TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:1472) 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(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:1491) TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:1491) OpenMPI wrappers require LD_LIBRARY_PATH set ================================================================================ TEST checkVendor from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:400) TESTING: checkVendor from config.setCompilers(config/BuildSystem/config/setCompilers.py:400) Determine the compiler vendor Compiler vendor is "" ================================================================================ TEST checkInitialFlags from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:410) TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:410) 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(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:526) TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:526) Locate a functional C compiler Checking for program /usr/local/bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "CC" to "gcc" Pushing language C All intermediate test results are stored in /tmp/petsc-54YYwh/config.setCompilers Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe /tmp/petsc-54YYwh/config.setCompilers/conftest.o Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe /tmp/petsc-54YYwh/config.setCompilers/conftest.o Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Popping language C ================================================================================ TEST checkCPreprocessor from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:561) TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:561) Locate a functional C preprocessor Checking for program /usr/local/bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "CPP" to "gcc -E" Pushing language C Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.setCompilers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.setCompilers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.setCompilers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.setCompilers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.setCompilers/conftest.c" 2 # 1 "\\MinGW\\include/stdlib.h" 1 3 # 15 "\\MinGW\\include/stdlib.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/stdlib.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/stdlib.h" 2 3 # 71 "\\MinGW\\include/stdlib.h" 3 extern int _argc; extern char** _argv; # 96 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int __argc_dll; extern __attribute__ ((__dllimport__)) char** __argv_dll; # 115 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int __mb_cur_max_dll; # 137 "\\MinGW\\include/stdlib.h" 3 int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _errno(void); int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __doserrno(void); # 158 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char ** _environ_dll; # 186 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int _sys_nerr_dll; # 196 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char* _sys_errlist[]; # 243 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) unsigned int _osver_dll; extern __attribute__ ((__dllimport__)) unsigned int _winver_dll; extern __attribute__ ((__dllimport__)) unsigned int _winmajor_dll; extern __attribute__ ((__dllimport__)) unsigned int _winminor_dll; # 269 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char* _pgmptr_dll; # 295 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int _fmode_dll; double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atof (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atoi (const char*); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atol (const char*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtof (const wchar_t *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtoi (const wchar_t *); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtol (const wchar_t *); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __strtod (const char*, char**); extern double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtod (const char* __restrict__ __nptr, char** __restrict__ __endptr); float __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtof (const char * __restrict__, char ** __restrict__); long double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtold (const char * __restrict__, char ** __restrict__); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtol (const char*, char**, int); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoul (const char*, char**, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstol (const wchar_t*, wchar_t**, int); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstoul (const wchar_t*, wchar_t**, int); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstod (const wchar_t*, wchar_t**); float __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstof( const wchar_t * __restrict__, wchar_t ** __restrict__); long double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstold (const wchar_t * __restrict__, wchar_t ** __restrict__); # 345 "\\MinGW\\include/stdlib.h" 3 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstombs (char*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wctomb (char*, wchar_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mblen (const char*, size_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mbstowcs (wchar_t*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mbtowc (wchar_t*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rand (void); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) srand (unsigned int); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) calloc (size_t, size_t) __attribute__ ((__malloc__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) malloc (size_t) __attribute__ ((__malloc__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) realloc (void*, size_t); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) free (void*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) abort (void) __attribute__ ((__noreturn__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) exit (int) __attribute__ ((__noreturn__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atexit (void (*)(void)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) system (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getenv (const char*); void* __attribute__((__cdecl__)) bsearch (const void*, const void*, size_t, size_t, int (*)(const void*, const void*)); void __attribute__((__cdecl__)) qsort(void*, size_t, size_t, int (*)(const void*, const void*)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) abs (int) __attribute__ ((__const__)); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) labs (long) __attribute__ ((__const__)); # 385 "\\MinGW\\include/stdlib.h" 3 typedef struct { int quot, rem; } div_t; typedef struct { long quot, rem; } ldiv_t; div_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) div (int, int) __attribute__ ((__const__)); ldiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ldiv (long, long) __attribute__ ((__const__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _beep (unsigned int, unsigned int) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _seterrormode (int) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sleep (unsigned long) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _exit (int) __attribute__ ((__noreturn__)); typedef int (* _onexit_t)(void); _onexit_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _onexit( _onexit_t ); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _putenv (const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _searchenv (const char*, const char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ecvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fcvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _gcvt (double, int, char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _makepath (char*, const char*, const char*, const char*, const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _splitpath (const char*, char*, char*, char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fullpath (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _itoa (int, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ltoa (long, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ultoa(unsigned long, char*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _itow (int, wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ltow (long, wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ultow (unsigned long, wchar_t*, int); # 477 "\\MinGW\\include/stdlib.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) putenv (const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) searchenv (const char*, const char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) itoa (int, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ltoa (long, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ecvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fcvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gcvt (double, int, char*); # 497 "\\MinGW\\include/stdlib.h" 3 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _Exit(int) __attribute__ ((__noreturn__)); typedef struct { long long quot, rem; } lldiv_t; lldiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lldiv (long long, long long) __attribute__ ((__const__)); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) llabs(long long); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoll (const char* __restrict__, char** __restrict, int); unsigned long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoull (const char* __restrict__, char** __restrict__, int); # 3 "/tmp/petsc-54YYwh/config.setCompilers/conftest.c" 2 Popping language C ================================================================================ TEST checkCUDACompiler from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:595) TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:595) Locate a functional CUDA compiler Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/nvcc...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/nvcc...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/nvcc...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/nvcc...not found Checking for program /cygdrive/c/Windows/system32/nvcc...not found Checking for program /cygdrive/c/Windows/nvcc...not found Checking for program /cygdrive/c/Windows/System32/Wbem/nvcc...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/nvcc...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/nvcc...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/nvcc...not found Checking for program /cygdrive/c/MinGW/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/nvcc...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/nvcc...not found Checking for program /home/dsu/nvcc...not found Checking for program /cygdrive/c/cygwin/packages/petsc-dev/bin/win32fe/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/nvcc...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/nvcc...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/nvcc...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/nvcc...not found Checking for program /cygdrive/c/Windows/system32/nvcc...not found Checking for program /cygdrive/c/Windows/nvcc...not found Checking for program /cygdrive/c/Windows/System32/Wbem/nvcc...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/nvcc...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/nvcc...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/nvcc...not found Checking for program /cygdrive/c/MinGW/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/nvcc...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/nvcc...not found Checking for program /home/dsu/nvcc...not found Checking for program /cygdrive/c/cygwin/packages/petsc-dev/bin/win32fe/nvcc...not found ================================================================================ TEST checkCUDAPreprocessor from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:633) TESTING: checkCUDAPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:633) Locate a functional CUDA preprocessor ================================================================================ TEST checkCxxCompiler from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:736) TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:736) Locate a functional Cxx compiler Checking for program /usr/local/bin/g++...not found Checking for program /usr/bin/g++...found Defined make macro "CXX" to "g++" Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe /tmp/petsc-54YYwh/config.setCompilers/conftest.o Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe /tmp/petsc-54YYwh/config.setCompilers/conftest.o Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Popping language Cxx ================================================================================ TEST checkCxxPreprocessor from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:774) TESTING: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:774) Locate a functional Cxx preprocessor Checking for program /usr/local/bin/g++...not found Checking for program /usr/bin/g++...found Defined make macro "CXXCPP" to "g++ -E" Pushing language Cxx Executing: g++ -E -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.cc stdout: # 1 "/tmp/petsc-54YYwh/config.setCompilers/conftest.cc" # 1 "" # 1 "/tmp/petsc-54YYwh/config.setCompilers/conftest.cc" # 1 "/tmp/petsc-54YYwh/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.setCompilers/conftest.cc" 2 # 1 "/tmp/petsc-54YYwh/config.setCompilers/conffix.h" 1 extern "C" { } # 3 "/tmp/petsc-54YYwh/config.setCompilers/conftest.cc" 2 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/cstdlib" 1 3 # 41 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/cstdlib" 3 # 42 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/cstdlib" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/i686-pc-cygwin/bits/c++config.h" 1 3 # 171 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/i686-pc-cygwin/bits/c++config.h" 3 namespace std { typedef unsigned int size_t; typedef int ptrdiff_t; } # 417 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/i686-pc-cygwin/bits/c++config.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/i686-pc-cygwin/bits/os_defines.h" 1 3 # 418 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/i686-pc-cygwin/bits/c++config.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/i686-pc-cygwin/bits/cpu_defines.h" 1 3 # 421 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/i686-pc-cygwin/bits/c++config.h" 2 3 # 44 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/cstdlib" 2 3 # 66 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/cstdlib" 3 # 1 "/usr/include/stdlib.h" 1 3 4 # 10 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 11 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/_ansi.h" 1 3 4 # 15 "/usr/include/_ansi.h" 3 4 # 1 "/usr/include/newlib.h" 1 3 4 # 16 "/usr/include/_ansi.h" 2 3 4 # 1 "/usr/include/sys/config.h" 1 3 4 # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 5 "/usr/include/sys/config.h" 2 3 4 # 1 "/usr/include/sys/features.h" 1 3 4 # 25 "/usr/include/sys/features.h" 3 4 extern "C" { # 227 "/usr/include/sys/features.h" 3 4 } # 6 "/usr/include/sys/config.h" 2 3 4 # 226 "/usr/include/sys/config.h" 3 4 # 1 "/usr/include/cygwin/config.h" 1 3 4 # 18 "/usr/include/cygwin/config.h" 3 4 extern "C" { # 95 "/usr/include/cygwin/config.h" 3 4 } # 227 "/usr/include/sys/config.h" 2 3 4 # 17 "/usr/include/_ansi.h" 2 3 4 # 12 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 17 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/sys/reent.h" 1 3 4 # 9 "/usr/include/sys/reent.h" 3 4 extern "C" { # 1 "/usr/include/_ansi.h" 1 3 4 # 14 "/usr/include/sys/reent.h" 2 3 4 # 1 "/usr/include/sys/_types.h" 1 3 4 # 12 "/usr/include/sys/_types.h" 3 4 # 1 "/usr/include/machine/_types.h" 1 3 4 # 1 "/usr/include/machine/_default_types.h" 1 3 4 # 9 "/usr/include/machine/_default_types.h" 3 4 extern "C" { # 25 "/usr/include/machine/_default_types.h" 3 4 typedef signed char __int8_t ; typedef unsigned char __uint8_t ; # 35 "/usr/include/machine/_default_types.h" 3 4 typedef signed short __int16_t; typedef unsigned short __uint16_t; # 45 "/usr/include/machine/_default_types.h" 3 4 typedef __int16_t __int_least16_t; typedef __uint16_t __uint_least16_t; # 57 "/usr/include/machine/_default_types.h" 3 4 typedef signed int __int32_t; typedef unsigned int __uint32_t; # 75 "/usr/include/machine/_default_types.h" 3 4 typedef __int32_t __int_least32_t; typedef __uint32_t __uint_least32_t; # 98 "/usr/include/machine/_default_types.h" 3 4 typedef signed long long __int64_t; typedef unsigned long long __uint64_t; # 117 "/usr/include/machine/_default_types.h" 3 4 } # 8 "/usr/include/machine/_types.h" 2 3 4 # 13 "/usr/include/sys/_types.h" 2 3 4 # 1 "/usr/include/sys/lock.h" 1 3 4 # 14 "/usr/include/sys/lock.h" 3 4 typedef void *_LOCK_T; # 41 "/usr/include/sys/lock.h" 3 4 extern "C" { void __cygwin_lock_init(_LOCK_T *); void __cygwin_lock_init_recursive(_LOCK_T *); void __cygwin_lock_fini(_LOCK_T *); void __cygwin_lock_lock(_LOCK_T *); int __cygwin_lock_trylock(_LOCK_T *); void __cygwin_lock_unlock(_LOCK_T *); } # 14 "/usr/include/sys/_types.h" 2 3 4 typedef long _off_t; typedef short __dev_t; typedef unsigned short __uid_t; typedef unsigned short __gid_t; __extension__ typedef long long _off64_t; typedef long _fpos_t; typedef _off64_t _fpos64_t; # 60 "/usr/include/sys/_types.h" 3 4 typedef signed int _ssize_t; # 72 "/usr/include/sys/_types.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 354 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int wint_t; # 73 "/usr/include/sys/_types.h" 2 3 4 typedef struct { int __count; union { wint_t __wch; unsigned char __wchb[4]; } __value; } _mbstate_t; typedef _LOCK_T _flock_t; typedef void *_iconv_t; # 15 "/usr/include/sys/reent.h" 2 3 4 typedef unsigned long __ULong; # 37 "/usr/include/sys/reent.h" 3 4 struct _reent; struct _Bigint { struct _Bigint *_next; int _k, _maxwds, _sign, _wds; __ULong _x[1]; }; struct __tm { int __tm_sec; int __tm_min; int __tm_hour; int __tm_mday; int __tm_mon; int __tm_year; int __tm_wday; int __tm_yday; int __tm_isdst; }; struct _on_exit_args { void * _fnargs[32]; void * _dso_handle[32]; __ULong _fntypes; __ULong _is_cxa; }; # 90 "/usr/include/sys/reent.h" 3 4 struct _atexit { struct _atexit *_next; int _ind; void (*_fns[32])(void); struct _on_exit_args _on_exit_args; }; # 114 "/usr/include/sys/reent.h" 3 4 struct __sbuf { unsigned char *_base; int _size; }; # 178 "/usr/include/sys/reent.h" 3 4 struct __sFILE { unsigned char *_p; int _r; int _w; short _flags; short _file; struct __sbuf _bf; int _lbfsize; void * _cookie; _ssize_t (__attribute__((__cdecl__)) * _read) (struct _reent *, void *, char *, int) ; _ssize_t (__attribute__((__cdecl__)) * _write) (struct _reent *, void *, const char *, int) ; _fpos_t (__attribute__((__cdecl__)) * _seek) (struct _reent *, void *, _fpos_t, int); int (__attribute__((__cdecl__)) * _close) (struct _reent *, void *); struct __sbuf _ub; unsigned char *_up; int _ur; unsigned char _ubuf[3]; unsigned char _nbuf[1]; struct __sbuf _lb; int _blksize; _off_t _offset; struct _reent *_data; _flock_t _lock; _mbstate_t _mbstate; int _flags2; }; # 235 "/usr/include/sys/reent.h" 3 4 struct __sFILE64 { unsigned char *_p; int _r; int _w; short _flags; short _file; struct __sbuf _bf; int _lbfsize; struct _reent *_data; void * _cookie; _ssize_t (__attribute__((__cdecl__)) * _read) (struct _reent *, void *, char *, int) ; _ssize_t (__attribute__((__cdecl__)) * _write) (struct _reent *, void *, const char *, int) ; _fpos_t (__attribute__((__cdecl__)) * _seek) (struct _reent *, void *, _fpos_t, int); int (__attribute__((__cdecl__)) * _close) (struct _reent *, void *); struct __sbuf _ub; unsigned char *_up; int _ur; unsigned char _ubuf[3]; unsigned char _nbuf[1]; struct __sbuf _lb; int _blksize; int _flags2; _off64_t _offset; _fpos64_t (__attribute__((__cdecl__)) * _seek64) (struct _reent *, void *, _fpos64_t, int); _flock_t _lock; _mbstate_t _mbstate; }; typedef struct __sFILE64 __FILE; struct _glue { struct _glue *_next; int _niobs; __FILE *_iobs; }; # 314 "/usr/include/sys/reent.h" 3 4 struct _rand48 { unsigned short _seed[3]; unsigned short _mult[3]; unsigned short _add; }; # 566 "/usr/include/sys/reent.h" 3 4 struct _reent { int _errno; __FILE *_stdin, *_stdout, *_stderr; int _inc; char _emergency[25]; int _current_category; const char *_current_locale; int __sdidinit; void (__attribute__((__cdecl__)) * __cleanup) (struct _reent *); struct _Bigint *_result; int _result_k; struct _Bigint *_p5s; struct _Bigint **_freelist; int _cvtlen; char *_cvtbuf; union { struct { unsigned int _unused_rand; char * _strtok_last; char _asctime_buf[26]; struct __tm _localtime_buf; int _gamma_signgam; __extension__ unsigned long long _rand_next; struct _rand48 _r48; _mbstate_t _mblen_state; _mbstate_t _mbtowc_state; _mbstate_t _wctomb_state; char _l64a_buf[8]; char _signal_buf[24]; int _getdate_err; _mbstate_t _mbrlen_state; _mbstate_t _mbrtowc_state; _mbstate_t _mbsrtowcs_state; _mbstate_t _wcrtomb_state; _mbstate_t _wcsrtombs_state; int _h_errno; } _reent; struct { unsigned char * _nextf[30]; unsigned int _nmalloc[30]; } _unused; } _new; struct _atexit *_atexit; struct _atexit _atexit0; void (**(_sig_func))(int); struct _glue __sglue; __FILE __sf[3]; }; # 759 "/usr/include/sys/reent.h" 3 4 extern struct _reent *_impure_ptr ; extern struct _reent *const _global_impure_ptr ; void _reclaim_reent (struct _reent *); struct _reent * __attribute__((__cdecl__)) __getreent (void); # 785 "/usr/include/sys/reent.h" 3 4 } # 19 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/machine/stdlib.h" 1 3 4 # 14 "/usr/include/machine/stdlib.h" 3 4 extern "C" { char *mkdtemp (char *); } # 20 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/alloca.h" 1 3 4 # 22 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/cygwin/stdlib.h" 1 3 4 # 14 "/usr/include/cygwin/stdlib.h" 3 4 # 1 "/usr/include/cygwin/wait.h" 1 3 4 # 15 "/usr/include/cygwin/stdlib.h" 2 3 4 extern "C" { __uint32_t arc4random(void); void arc4random_addrandom(unsigned char *, int); void arc4random_buf(void *, size_t); void arc4random_stir(void); __uint32_t arc4random_uniform(__uint32_t); const char *getprogname (void); void setprogname (const char *); char *realpath (const char *, char *); char *canonicalize_file_name (const char *); int unsetenv (const char *); char *initstate (unsigned seed, char *state, size_t size); long random (void); char *setstate (const char *state); void srandom (unsigned); char *ptsname (int); int ptsname_r(int, char *, size_t); int getpt (void); int grantpt (int); int unlockpt (int); int posix_openpt (int); int posix_memalign (void **, size_t, size_t); extern void * memalign (size_t, size_t); extern void * valloc (size_t); # 84 "/usr/include/cygwin/stdlib.h" 3 4 } # 26 "/usr/include/stdlib.h" 2 3 4 extern "C" { typedef struct { int quot; int rem; } div_t; typedef struct { long quot; long rem; } ldiv_t; typedef struct { long long int quot; long long int rem; } lldiv_t; int __attribute__((__cdecl__)) __locale_mb_cur_max (void); void __attribute__((__cdecl__)) abort (void) __attribute__ ((noreturn)); int __attribute__((__cdecl__)) abs (int); int __attribute__((__cdecl__)) atexit (void (*__func)(void)); double __attribute__((__cdecl__)) atof (const char *__nptr); float __attribute__((__cdecl__)) atoff (const char *__nptr); int __attribute__((__cdecl__)) atoi (const char *__nptr); int __attribute__((__cdecl__)) _atoi_r (struct _reent *, const char *__nptr); long __attribute__((__cdecl__)) atol (const char *__nptr); long __attribute__((__cdecl__)) _atol_r (struct _reent *, const char *__nptr); void * __attribute__((__cdecl__)) bsearch (const void * __key, const void * __base, size_t __nmemb, size_t __size, int (__attribute__((__cdecl__)) * _compar) (const void *, const void *)) ; void * __attribute__((__cdecl__)) calloc (size_t __nmemb, size_t __size) __attribute__ ((nothrow)); div_t __attribute__((__cdecl__)) div (int __numer, int __denom); void __attribute__((__cdecl__)) exit (int __status) __attribute__ ((noreturn)); void __attribute__((__cdecl__)) free (void *) __attribute__ ((nothrow)); char * __attribute__((__cdecl__)) getenv (const char *__string); char * __attribute__((__cdecl__)) _getenv_r (struct _reent *, const char *__string); char * __attribute__((__cdecl__)) _findenv (const char *, int *); char * __attribute__((__cdecl__)) _findenv_r (struct _reent *, const char *, int *); extern char *suboptarg; int __attribute__((__cdecl__)) getsubopt (char **, char * const *, char **); long __attribute__((__cdecl__)) labs (long); ldiv_t __attribute__((__cdecl__)) ldiv (long __numer, long __denom); void * __attribute__((__cdecl__)) malloc (size_t __size) __attribute__ ((nothrow)); int __attribute__((__cdecl__)) mblen (const char *, size_t); int __attribute__((__cdecl__)) _mblen_r (struct _reent *, const char *, size_t, _mbstate_t *); int __attribute__((__cdecl__)) mbtowc (wchar_t *, const char *, size_t); int __attribute__((__cdecl__)) _mbtowc_r (struct _reent *, wchar_t *, const char *, size_t, _mbstate_t *); int __attribute__((__cdecl__)) wctomb (char *, wchar_t); int __attribute__((__cdecl__)) _wctomb_r (struct _reent *, char *, wchar_t, _mbstate_t *); size_t __attribute__((__cdecl__)) mbstowcs (wchar_t *, const char *, size_t); size_t __attribute__((__cdecl__)) _mbstowcs_r (struct _reent *, wchar_t *, const char *, size_t, _mbstate_t *); size_t __attribute__((__cdecl__)) wcstombs (char *, const wchar_t *, size_t); size_t __attribute__((__cdecl__)) _wcstombs_r (struct _reent *, char *, const wchar_t *, size_t, _mbstate_t *); char * __attribute__((__cdecl__)) mkdtemp (char *); int __attribute__((__cdecl__)) mkostemp (char *, int); int __attribute__((__cdecl__)) mkostemps (char *, int, int); int __attribute__((__cdecl__)) mkstemp (char *); int __attribute__((__cdecl__)) mkstemps (char *, int); char * __attribute__((__cdecl__)) mktemp (char *) __attribute__ ((__warning__ ("the use of `mktemp' is dangerous; use `mkstemp' instead"))); char * __attribute__((__cdecl__)) _mkdtemp_r (struct _reent *, char *); int __attribute__((__cdecl__)) _mkostemp_r (struct _reent *, char *, int); int __attribute__((__cdecl__)) _mkostemps_r (struct _reent *, char *, int, int); int __attribute__((__cdecl__)) _mkstemp_r (struct _reent *, char *); int __attribute__((__cdecl__)) _mkstemps_r (struct _reent *, char *, int); char * __attribute__((__cdecl__)) _mktemp_r (struct _reent *, char *) __attribute__ ((__warning__ ("the use of `mktemp' is dangerous; use `mkstemp' instead"))); void __attribute__((__cdecl__)) qsort (void * __base, size_t __nmemb, size_t __size, int(*_compar)(const void *, const void *)); int __attribute__((__cdecl__)) rand (void); void * __attribute__((__cdecl__)) realloc (void * __r, size_t __size) __attribute__ ((nothrow)); void * __attribute__((__cdecl__)) reallocf (void * __r, size_t __size); void __attribute__((__cdecl__)) srand (unsigned __seed); double __attribute__((__cdecl__)) strtod (const char *__n, char **__end_PTR); double __attribute__((__cdecl__)) _strtod_r (struct _reent *,const char *__n, char **__end_PTR); float __attribute__((__cdecl__)) strtof (const char *__n, char **__end_PTR); long __attribute__((__cdecl__)) strtol (const char *__n, char **__end_PTR, int __base); long __attribute__((__cdecl__)) _strtol_r (struct _reent *,const char *__n, char **__end_PTR, int __base); unsigned long __attribute__((__cdecl__)) strtoul (const char *__n, char **__end_PTR, int __base); unsigned long __attribute__((__cdecl__)) _strtoul_r (struct _reent *,const char *__n, char **__end_PTR, int __base); int __attribute__((__cdecl__)) system (const char *__string); long __attribute__((__cdecl__)) a64l (const char *__input); char * __attribute__((__cdecl__)) l64a (long __input); char * __attribute__((__cdecl__)) _l64a_r (struct _reent *,long __input); int __attribute__((__cdecl__)) on_exit (void (*__func)(int, void *),void * __arg); void __attribute__((__cdecl__)) _Exit (int __status) __attribute__ ((noreturn)); int __attribute__((__cdecl__)) putenv (char *__string); int __attribute__((__cdecl__)) _putenv_r (struct _reent *, char *__string); void * __attribute__((__cdecl__)) _reallocf_r (struct _reent *, void *, size_t); int __attribute__((__cdecl__)) setenv (const char *__string, const char *__value, int __overwrite); int __attribute__((__cdecl__)) _setenv_r (struct _reent *, const char *__string, const char *__value, int __overwrite); char * __attribute__((__cdecl__)) gcvt (double,int,char *); char * __attribute__((__cdecl__)) gcvtf (float,int,char *); char * __attribute__((__cdecl__)) fcvt (double,int,int *,int *); char * __attribute__((__cdecl__)) fcvtf (float,int,int *,int *); char * __attribute__((__cdecl__)) ecvt (double,int,int *,int *); char * __attribute__((__cdecl__)) ecvtbuf (double, int, int*, int*, char *); char * __attribute__((__cdecl__)) fcvtbuf (double, int, int*, int*, char *); char * __attribute__((__cdecl__)) ecvtf (float,int,int *,int *); char * __attribute__((__cdecl__)) dtoa (double, int, int, int *, int*, char**); int __attribute__((__cdecl__)) rand_r (unsigned *__seed); double __attribute__((__cdecl__)) drand48 (void); double __attribute__((__cdecl__)) _drand48_r (struct _reent *); double __attribute__((__cdecl__)) erand48 (unsigned short [3]); double __attribute__((__cdecl__)) _erand48_r (struct _reent *, unsigned short [3]); long __attribute__((__cdecl__)) jrand48 (unsigned short [3]); long __attribute__((__cdecl__)) _jrand48_r (struct _reent *, unsigned short [3]); void __attribute__((__cdecl__)) lcong48 (unsigned short [7]); void __attribute__((__cdecl__)) _lcong48_r (struct _reent *, unsigned short [7]); long __attribute__((__cdecl__)) lrand48 (void); long __attribute__((__cdecl__)) _lrand48_r (struct _reent *); long __attribute__((__cdecl__)) mrand48 (void); long __attribute__((__cdecl__)) _mrand48_r (struct _reent *); long __attribute__((__cdecl__)) nrand48 (unsigned short [3]); long __attribute__((__cdecl__)) _nrand48_r (struct _reent *, unsigned short [3]); unsigned short * __attribute__((__cdecl__)) seed48 (unsigned short [3]); unsigned short * __attribute__((__cdecl__)) _seed48_r (struct _reent *, unsigned short [3]); void __attribute__((__cdecl__)) srand48 (long); void __attribute__((__cdecl__)) _srand48_r (struct _reent *, long); long long __attribute__((__cdecl__)) atoll (const char *__nptr); long long __attribute__((__cdecl__)) _atoll_r (struct _reent *, const char *__nptr); long long __attribute__((__cdecl__)) llabs (long long); lldiv_t __attribute__((__cdecl__)) lldiv (long long __numer, long long __denom); long long __attribute__((__cdecl__)) strtoll (const char *__n, char **__end_PTR, int __base); long long __attribute__((__cdecl__)) _strtoll_r (struct _reent *, const char *__n, char **__end_PTR, int __base); unsigned long long __attribute__((__cdecl__)) strtoull (const char *__n, char **__end_PTR, int __base); unsigned long long __attribute__((__cdecl__)) _strtoull_r (struct _reent *, const char *__n, char **__end_PTR, int __base); # 213 "/usr/include/stdlib.h" 3 4 char * __attribute__((__cdecl__)) _dtoa_r (struct _reent *, double, int, int, int *, int*, char**); int __attribute__((__cdecl__)) _system_r (struct _reent *, const char *); void __attribute__((__cdecl__)) __eprintf (const char *, const char *, unsigned int, const char *); # 233 "/usr/include/stdlib.h" 3 4 } # 67 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/cstdlib" 2 3 # 98 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/c++/cstdlib" 3 namespace std { using ::div_t; using ::ldiv_t; using ::abort; using ::abs; using ::atexit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::calloc; using ::div; using ::exit; using ::free; using ::getenv; using ::labs; using ::ldiv; using ::malloc; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::qsort; using ::rand; using ::realloc; using ::srand; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; inline long abs(long __i) { return labs(__i); } inline ldiv_t div(long __i, long __j) { return ldiv(__i, __j); } } # 3 "/tmp/petsc-54YYwh/config.setCompilers/conftest.cc" 2 Popping language Cxx ================================================================================ TEST checkFortranCompiler from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:883) TESTING: checkFortranCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:883) Locate a functional Fortran compiler Checking for program /usr/local/bin/gfortran...not found Checking for program /usr/bin/gfortran...found Defined make macro "FC" to "gfortran" Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/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: gfortran -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe /tmp/petsc-54YYwh/config.setCompilers/conftest.o Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe /tmp/petsc-54YYwh/config.setCompilers/conftest.o Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Popping language FC ================================================================================ TEST checkFortranComments from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:902) TESTING: checkFortranComments from config.setCompilers(config/BuildSystem/config/setCompilers.py:902) Make sure fortran comment "!" works Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: ! comment program main end Fortran comments can use ! in column 1 Popping language FC ================================================================================ TEST checkPIC from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:965) TESTING: checkPIC from config.setCompilers(config/BuildSystem/config/setCompilers.py:965) Determine the PIC option for each compiler - There needs to be a test that checks that the functionality is actually working Pushing language C Executing: gcc --help stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase --help Display this information --target-help Display target specific command line options --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...] Display specific types of command line options (Use '-v --help' to display command line options of sub-processes) --version Display compiler version information -dumpspecs Display all of the built in spec strings -dumpversion Display the version of the compiler -dumpmachine Display the compiler's target processor -print-search-dirs Display the directories in the compiler's search path -print-libgcc-file-name Display the name of the compiler's companion library -print-file-name= Display the full path to library -print-prog-name= Display the full path to compiler component -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path -print-multi-directory Display the root directory for versions of libgcc -print-multi-lib Display the mapping between command line options and multiple library search directories -print-multi-os-directory Display the relative path to OS libraries -print-sysroot Display the target libraries directory -print-sysroot-headers-suffix Display the sysroot suffix used to find headers -Wa, Pass comma-separated on to the assembler -Wp, Pass comma-separated on to the preprocessor -Wl, Pass comma-separated on to the linker -Xassembler Pass on to the assembler -Xpreprocessor Pass on to the preprocessor -Xlinker Pass on to the linker -save-temps Do not delete intermediate files -save-temps= Do not delete intermediate files -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components -pipe Use pipes rather than intermediate files -time Time the execution of each subprocess -specs= Override built-in specs with the contents of -std= Assume that the input sources are for --sysroot= Use as the root directory for headers and libraries -B Add to the compiler's search paths -v Display the programs invoked by the compiler -### Like -v but options quoted and commands not executed -E Preprocess only; do not compile, assemble or link -S Compile only; do not assemble or link -c Compile and assemble, but do not link -o Place the output into -pie Create a position independent executable -shared Create a shared library -x Specify the language of the following input files Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by gcc. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . Trying C compiler flag -fPIC Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -fPIC /tmp/petsc-54YYwh/config.setCompilers/conftest.o Valid C linker flag -fPIC Adding C compiler flag -fPIC Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -fPIC /tmp/petsc-54YYwh/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.setCompilers/conftest.c:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default] Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -fPIC due to /tmp/petsc-54YYwh/config.setCompilers/conftest.c:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default] Rejected C compiler flag -fPIC Popping language C Pushing language Cxx Executing: g++ --help stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase --help Display this information --target-help Display target specific command line options --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...] Display specific types of command line options (Use '-v --help' to display command line options of sub-processes) --version Display compiler version information -dumpspecs Display all of the built in spec strings -dumpversion Display the version of the compiler -dumpmachine Display the compiler's target processor -print-search-dirs Display the directories in the compiler's search path -print-libgcc-file-name Display the name of the compiler's companion library -print-file-name= Display the full path to library -print-prog-name= Display the full path to compiler component -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path -print-multi-directory Display the root directory for versions of libgcc -print-multi-lib Display the mapping between command line options and multiple library search directories -print-multi-os-directory Display the relative path to OS libraries -print-sysroot Display the target libraries directory -print-sysroot-headers-suffix Display the sysroot suffix used to find headers -Wa, Pass comma-separated on to the assembler -Wp, Pass comma-separated on to the preprocessor -Wl, Pass comma-separated on to the linker -Xassembler Pass on to the assembler -Xpreprocessor Pass on to the preprocessor -Xlinker Pass on to the linker -save-temps Do not delete intermediate files -save-temps= Do not delete intermediate files -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components -pipe Use pipes rather than intermediate files -time Time the execution of each subprocess -specs= Override built-in specs with the contents of -std= Assume that the input sources are for --sysroot= Use as the root directory for headers and libraries -B Add to the compiler's search paths -v Display the programs invoked by the compiler -### Like -v but options quoted and commands not executed -E Preprocess only; do not compile, assemble or link -S Compile only; do not assemble or link -c Compile and assemble, but do not link -o Place the output into -pie Create a position independent executable -shared Create a shared library -x Specify the language of the following input files Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by g++. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . Trying Cxx compiler flag -fPIC Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -fPIC /tmp/petsc-54YYwh/config.setCompilers/conftest.o Valid Cxx linker flag -fPIC Adding Cxx compiler flag -fPIC Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -fPIC /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.setCompilers/conftest.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default] Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -fPIC due to /tmp/petsc-54YYwh/config.setCompilers/conftest.cc:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default] Rejected Cxx compiler flag -fPIC Popping language Cxx Pushing language FC Executing: gfortran --help stdout: Usage: gfortran [options] file... Options: -pass-exit-codes Exit with highest error code from a phase --help Display this information --target-help Display target specific command line options --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...] Display specific types of command line options (Use '-v --help' to display command line options of sub-processes) --version Display compiler version information -dumpspecs Display all of the built in spec strings -dumpversion Display the version of the compiler -dumpmachine Display the compiler's target processor -print-search-dirs Display the directories in the compiler's search path -print-libgcc-file-name Display the name of the compiler's companion library -print-file-name= Display the full path to library -print-prog-name= Display the full path to compiler component -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path -print-multi-directory Display the root directory for versions of libgcc -print-multi-lib Display the mapping between command line options and multiple library search directories -print-multi-os-directory Display the relative path to OS libraries -print-sysroot Display the target libraries directory -print-sysroot-headers-suffix Display the sysroot suffix used to find headers -Wa, Pass comma-separated on to the assembler -Wp, Pass comma-separated on to the preprocessor -Wl, Pass comma-separated on to the linker -Xassembler Pass on to the assembler -Xpreprocessor Pass on to the preprocessor -Xlinker Pass on to the linker -save-temps Do not delete intermediate files -save-temps= Do not delete intermediate files -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components -pipe Use pipes rather than intermediate files -time Time the execution of each subprocess -specs= Override built-in specs with the contents of -std= Assume that the input sources are for --sysroot= Use as the root directory for headers and libraries -B Add to the compiler's search paths -v Display the programs invoked by the compiler -### Like -v but options quoted and commands not executed -E Preprocess only; do not compile, assemble or link -S Compile only; do not assemble or link -c Compile and assemble, but do not link -o Place the output into -pie Create a position independent executable -shared Create a shared library -x Specify the language of the following input files Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by gfortran. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . Trying FC compiler flag -fPIC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -fPIC /tmp/petsc-54YYwh/config.setCompilers/conftest.o Valid FC linker flag -fPIC Adding FC compiler flag -fPIC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -fPIC /tmp/petsc-54YYwh/config.setCompilers/conftest.F Possible ERROR while running compiler: stderr: f951: warning: -fPIC ignored for target (all code is position independent) [enabled by default] Source: program main end Rejecting compiler flag -fPIC due to f951: warning: -fPIC ignored for target (all code is position independent) [enabled by default] Rejected FC compiler flag -fPIC Popping language FC ================================================================================ TEST checkLargeFileIO from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:998) TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:998) ================================================================================ TEST checkArchiver from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:1097) TESTING: checkArchiver from config.setCompilers(config/BuildSystem/config/setCompilers.py:1097) 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) 2.23.52.20130309 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils) 2.23.52.20130309 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } 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 /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-54YYwh/config.setCompilers/libconf1.a /tmp/petsc-54YYwh/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /tmp/petsc-54YYwh/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) 2.23.52.20130309 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils) 2.23.52.20130309 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } 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 /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-54YYwh/config.setCompilers/libconf1.a /tmp/petsc-54YYwh/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /tmp/petsc-54YYwh/config.setCompilers/libconf1.a Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); if (b); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe /tmp/petsc-54YYwh/config.setCompilers/conftest.o -L/tmp/petsc-54YYwh/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(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:1208) TESTING: checkSharedLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1208) Check that the linker can produce shared libraries Executing: uname -s stdout: CYGWIN_NT-6.1-WOW64 Checking shared linker gcc using flags ['-shared'] Checking for program /usr/local/bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "LD_SHARED" to "gcc" Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -shared /tmp/petsc-54YYwh/config.setCompilers/conftest.o Valid C linker flag -shared Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/libconftest.so -shared /tmp/petsc-54YYwh/config.setCompilers/conftest.o Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main() { int ret = foo(); if(ret);; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe /tmp/petsc-54YYwh/config.setCompilers/conftest.o -L/tmp/petsc-54YYwh/config.setCompilers -lconftest Possible ERROR while running linker: exit code 256 stderr: /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lconftest collect2: error: ld returned 1 exit status Deleting "LD_SHARED" Checking shared linker gcc using flags ['-dynamic'] Checking for program /usr/local/bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "LD_SHARED" to "gcc" Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -dynamic /tmp/petsc-54YYwh/config.setCompilers/conftest.o Valid C linker flag -dynamic Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/libconftest.so -dynamic /tmp/petsc-54YYwh/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../libcygwin.a(libcmain.o): In function `main': /usr/src/debug/cygwin-1.7.22-1/winsup/cygwin/lib/libcmain.c:39: undefined reference to `WinMain at 16' collect2: error: ld returned 1 exit status Deleting "LD_SHARED" Checking shared linker gcc using flags ['-qmkshrobj'] Checking for program /usr/local/bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "LD_SHARED" to "gcc" Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -qmkshrobj /tmp/petsc-54YYwh/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: gcc: error: unrecognized command line option ???-qmkshrobj??? Rejecting linker flag -qmkshrobj due to nonzero status from link Rejecting C linker flag -qmkshrobj due to gcc: error: unrecognized command line option ???-qmkshrobj??? Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/libconftest.so /tmp/petsc-54YYwh/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 256 stderr: /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../libcygwin.a(libcmain.o): In function `main': /usr/src/debug/cygwin-1.7.22-1/winsup/cygwin/lib/libcmain.c:39: undefined reference to `WinMain at 16' collect2: error: ld returned 1 exit status Deleting "LD_SHARED" Checking shared linker gcc using flags ['-shared'] Checking for program /usr/local/bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "LD_SHARED" to "gcc" Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -shared /tmp/petsc-54YYwh/config.setCompilers/conftest.o Valid C linker flag -shared Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/libconftest.dll -shared /tmp/petsc-54YYwh/config.setCompilers/conftest.o Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main() { int ret = foo(); if(ret);; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe /tmp/petsc-54YYwh/config.setCompilers/conftest.o -L/tmp/petsc-54YYwh/config.setCompilers -lconftest Using shared linker gcc with flags ['-shared'] and library extension dll Executing: uname -s stdout: CYGWIN_NT-6.1-WOW64 ================================================================================ TEST checkSharedLinkerPaths from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:1286) TESTING: checkSharedLinkerPaths from config.setCompilers(config/BuildSystem/config/setCompilers.py:1286) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Pushing language C Executing: uname -s stdout: CYGWIN_NT-6.1-WOW64 Executing: gcc -V Trying C linker flag -Wl,-rpath, Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wl,-rpath,/cygdrive/c/cygwin/packages/petsc-dev /tmp/petsc-54YYwh/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/cygdrive/c/cygwin/packages/petsc-dev Popping language C Pushing language Cxx Executing: uname -s stdout: CYGWIN_NT-6.1-WOW64 Executing: gcc -V Trying Cxx linker flag -Wl,-rpath, Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wl,-rpath,/cygdrive/c/cygwin/packages/petsc-dev /tmp/petsc-54YYwh/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/cygdrive/c/cygwin/packages/petsc-dev Popping language Cxx Pushing language FC Executing: uname -s stdout: CYGWIN_NT-6.1-WOW64 Executing: gcc -V Trying FC linker flag -Wl,-rpath, Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wl,-rpath,/cygdrive/c/cygwin/packages/petsc-dev /tmp/petsc-54YYwh/config.setCompilers/conftest.o Valid FC linker flag -Wl,-rpath,/cygdrive/c/cygwin/packages/petsc-dev Popping language FC ================================================================================ TEST checkLibC from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:1321) TESTING: checkLibC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1321) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {void *chunk = malloc(31); free(chunk); return 0;} Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/libconftest.dll -shared /tmp/petsc-54YYwh/config.setCompilers/conftest.o Shared linking does not require an explicit libc reference ================================================================================ TEST checkDynamicLinker from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:1370) TESTING: checkDynamicLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1370) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h All intermediate test results are stored in /tmp/petsc-54YYwh/config.headers Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 4 # 19 "/usr/include/dlfcn.h" 3 4 extern void *dlopen (const char *, int); extern void *dlsym (void *, const char *); extern int dlclose (void *); extern char *dlerror (void); extern void dlfork (int); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] Pushing language C All intermediate test results are stored in /tmp/petsc-54YYwh/config.libraries Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.libraries /tmp/petsc-54YYwh/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } int main() { _check_dlopen(); _check_dlsym(); _check_dlclose();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe /tmp/petsc-54YYwh/config.libraries/conftest.o -ldl Defined "HAVE_LIBDL" to "1" Popping language C Adding ['dl'] to LIBS Executing: uname -s stdout: CYGWIN_NT-6.1-WOW64 Checking dynamic linker gcc using flags ['-shared'] Checking for program /usr/local/bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "DYNAMICLINKER" to "gcc" Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -shared /tmp/petsc-54YYwh/config.setCompilers/conftest.o -ldl Valid C linker flag -shared Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/libconftest.so -shared /tmp/petsc-54YYwh/config.setCompilers/conftest.o -ldl Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers /tmp/petsc-54YYwh/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.setCompilers/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.setCompilers/conftest.c:11:3: warning: incompatible implicit declaration of built-in function ???printf??? [enabled by default] /tmp/petsc-54YYwh/config.setCompilers/conftest.c:15:3: warning: incompatible implicit declaration of built-in function ???printf??? [enabled by default] /tmp/petsc-54YYwh/config.setCompilers/conftest.c:19:3: warning: incompatible implicit declaration of built-in function ???printf??? [enabled by default] Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *handle = dlopen("/tmp/petsc-54YYwh/config.setCompilers/libconftest.so", 0); int (*foo)(void) = (int (*)(void)) dlsym(handle, "foo"); if (!foo) { printf("Could not load symbol\n"); return -1; } if ((*foo)()) { printf("Invalid return from foo()\n"); return -1; } if (dlclose(handle)) { printf("Could not close library\n"); return -1; } ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe /tmp/petsc-54YYwh/config.setCompilers/conftest.o -ldl Using dynamic linker gcc with flags ['-shared'] and library extension so ================================================================================ TEST output from config.setCompilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/setCompilers.py:1416) TESTING: output from config.setCompilers(config/BuildSystem/config/setCompilers.py:1416) Output module data as defines and substitutions Substituting "CC" with "gcc" Substituting "CFLAGS" with "" Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "gcc -E" Substituting "CPPFLAGS" with "" Substituting "CXX" with "g++" Substituting "CXX_CXXFLAGS" with "" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXCPP" with "g++ -E" Substituting "CXXCPPFLAGS" with "" Substituting "FC" with "gfortran" Substituting "FFLAGS" with "" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "-shared" Executing: uname -s stdout: CYGWIN_NT-6.1-WOW64 ================================================================================ TEST checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/sharedLibraries.py:37) TESTING: checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:37) ================================================================================ TEST configureSharedLibraries from PETSc.utilities.sharedLibraries(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/sharedLibraries.py:53) TESTING: configureSharedLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:53) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Defined make rule "shared_arch" with dependencies "" and code [] Defined make macro "BUILDSHAREDLIB" to "no" Defined "HAVE_SHARED_LIBRARIES" to "1" Shared libraries - disabled ================================================================================ TEST configureDynamicLibraries from PETSc.utilities.sharedLibraries(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/sharedLibraries.py:92) TESTING: configureDynamicLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:92) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ================================================================================ TEST configureSerializedFunctions from PETSc.utilities.sharedLibraries(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/sharedLibraries.py:98) TESTING: configureSerializedFunctions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:98) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ================================================================================ TEST configureCompilerFlags from config.compilerFlags(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilerFlags.py:65) TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:65) Get the default compiler flags Pushing language C Executing: gcc --version stdout: gcc (GCC) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: gcc gcc (GCC) 4.7.3 Trying C compiler flag -Wall Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -Wall /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wall Trying C compiler flag -Wwrite-strings Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wwrite-strings /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wwrite-strings Trying C compiler flag -Wno-strict-aliasing Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wno-strict-aliasing Trying C compiler flag -Wno-unknown-pragmas Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wno-unknown-pragmas Trying C compiler flag -g3 Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -g3 Trying C compiler flag -O0 Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -O0 Popping language C Pushing language Cxx Executing: g++ --version stdout: g++ (GCC) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: g++ g++ (GCC) 4.7.3 Trying Cxx compiler flag -Wall Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wall Trying Cxx compiler flag -Wwrite-strings Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wwrite-strings /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wwrite-strings Trying Cxx compiler flag -Wno-strict-aliasing Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wno-strict-aliasing Trying Cxx compiler flag -Wno-unknown-pragmas Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wno-unknown-pragmas Trying Cxx compiler flag -g Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -g Trying Cxx compiler flag -O0 Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -O0 Popping language Cxx Pushing language FC Executing: gfortran --version stdout: GNU Fortran (GCC) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING getCompilerVersion: gfortran GNU Fortran (GCC) 4.7.3 Executing: gfortran --version stdout: GNU Fortran (GCC) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING Executing: gfortran --version stdout: GNU Fortran (GCC) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING Trying FC compiler flag -Wall Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -Wall Trying FC compiler flag -Wno-unused-variable Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wno-unused-variable /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -Wno-unused-variable Trying FC compiler flag -Wno-unused-dummy-argument Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -Wno-unused-dummy-argument Trying FC compiler flag -g Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -g Trying FC compiler flag -O0 Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -O0 Popping language FC ================================================================================ TEST configureDebugging from PETSc.utilities.debugging(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/debugging.py:25) TESTING: configureDebugging from PETSc.utilities.debugging(config/PETSc/utilities/debugging.py:25) Defined "USE_ERRORCHECKING" to "1" ================================================================================ TEST checkRestrict from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:134) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:134) Check for the C/CXX restrict keyword Pushing language C All intermediate test results are stored in /tmp/petsc-54YYwh/config.compilers Executing: gcc -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.compilers/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.compilers/conftest.c:5:18: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???x??? /tmp/petsc-54YYwh/config.compilers/conftest.c:5:18: error: ???x??? undeclared (first use in this function) /tmp/petsc-54YYwh/config.compilers/conftest.c:5:18: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.compilers/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.compilers/conftest.c:5:23: warning: unused variable ???x??? [-Wunused-variable] 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(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:306) TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:306) Activate format string checking if using the GNU compilers ================================================================================ TEST checkCStaticInline from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:105) TESTING: checkCStaticInline from config.compilers(config/BuildSystem/config/compilers.py:105) Check for C keyword: static inline Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/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(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:317) TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:317) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: gcc -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LAZY); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LAZY" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_NOW); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_NOW" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LOCAL); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LOCAL" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_GLOBAL); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_GLOBAL" to "1" ================================================================================ TEST checkCLibraries from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:161) TESTING: checkCLibraries from config.compilers(config/BuildSystem/config/compilers.py:161) Determines the libraries needed to link with C Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -v -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.7.3/lto-wrapper.exe Target: i686-pc-cygwin Configured with: /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/gcc -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-ppl --with-system-zlib : (reconfigured) /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/gcc -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-ppl --with-system-zlib Thread model: posix gcc version 4.7.3 (GCC) COMPILER_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-54YYwh/config.compilers/conftest.exe' '-v' '-Wall' '-Wwrite-strings' '-Wno-strict-aliasing' '-Wno-unknown-pragmas' '-g3' '-O0' '-mtune=generic' '-march=i686' /usr/lib/gcc/i686-pc-cygwin/4.7.3/collect2.exe --wrap _Znwj --wrap _Znaj --wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwjRKSt9nothrow_t --wrap _ZnajRKSt9nothrow_t --wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t -Bdynamic --dll-search-prefix=cyg --large-address-aware --tsaware -o /tmp/petsc-54YYwh/config.compilers/conftest.exe /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../crt0.o /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtbegin.o -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../.. /tmp/petsc-54YYwh/config.compilers/conftest.o -ldl -lgcc_s -lgcc -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtend.o Popping language C compilers: Checking arg Using compilers: Unknown arg Using compilers: Checking arg built-in compilers: Unknown arg built-in compilers: Checking arg specs. compilers: Unknown arg specs. compilers: Checking arg COLLECT_GCC=gcc compilers: Unknown arg COLLECT_GCC=gcc compilers: Checking arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.7.3/lto-wrapper.exe compilers: Unknown arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.7.3/lto-wrapper.exe compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg i686-pc-cygwin compilers: Unknown arg i686-pc-cygwin compilers: Checking arg Configured compilers: Unknown arg Configured compilers: Checking arg with: compilers: Unknown arg with: compilers: Checking arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Unknown arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Checking arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Unknown arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --exec-prefix=/usr compilers: Unknown arg --exec-prefix=/usr compilers: Checking arg --bindir=/usr/bin compilers: Unknown arg --bindir=/usr/bin compilers: Checking arg --sbindir=/usr/sbin compilers: Unknown arg --sbindir=/usr/sbin compilers: Checking arg --libexecdir=/usr/lib compilers: Unknown arg --libexecdir=/usr/lib compilers: Checking arg --datadir=/usr/share compilers: Unknown arg --datadir=/usr/share compilers: Checking arg --localstatedir=/var compilers: Unknown arg --localstatedir=/var compilers: Checking arg --sysconfdir=/etc compilers: Unknown arg --sysconfdir=/etc compilers: Checking arg --datarootdir=/usr/share compilers: Unknown arg --datarootdir=/usr/share compilers: Checking arg --docdir=/usr/share/doc/gcc compilers: Unknown arg --docdir=/usr/share/doc/gcc compilers: Checking arg -C compilers: Unknown arg -C compilers: Checking arg --build=i686-pc-cygwin compilers: Unknown arg --build=i686-pc-cygwin compilers: Checking arg --host=i686-pc-cygwin compilers: Unknown arg --host=i686-pc-cygwin compilers: Checking arg --target=i686-pc-cygwin compilers: Unknown arg --target=i686-pc-cygwin compilers: Checking arg --without-libiconv-prefix compilers: Unknown arg --without-libiconv-prefix compilers: Checking arg --without-libintl-prefix compilers: Unknown arg --without-libintl-prefix compilers: Checking arg --enable-shared compilers: Unknown arg --enable-shared compilers: Checking arg --enable-shared-libgcc compilers: Unknown arg --enable-shared-libgcc compilers: Checking arg --enable-static compilers: Unknown arg --enable-static compilers: Checking arg --enable-version-specific-runtime-libs compilers: Unknown arg --enable-version-specific-runtime-libs compilers: Checking arg --enable-bootstrap compilers: Unknown arg --enable-bootstrap compilers: Checking arg --disable-__cxa_atexit compilers: Unknown arg --disable-__cxa_atexit compilers: Checking arg --with-dwarf2 compilers: Unknown arg --with-dwarf2 compilers: Checking arg --with-arch=i686 compilers: Unknown arg --with-arch=i686 compilers: Checking arg --with-tune=generic compilers: Unknown arg --with-tune=generic compilers: Checking arg --disable-sjlj-exceptions compilers: Unknown arg --disable-sjlj-exceptions compilers: Checking arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Unknown arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Checking arg --enable-graphite compilers: Unknown arg --enable-graphite compilers: Checking arg --enable-threads=posix compilers: Unknown arg --enable-threads=posix compilers: Checking arg --enable-libgomp compilers: Unknown arg --enable-libgomp compilers: Checking arg --disable-libitm compilers: Unknown arg --disable-libitm compilers: Checking arg --enable-libquadmath compilers: Unknown arg --enable-libquadmath compilers: Checking arg --enable-libquadmath-support compilers: Unknown arg --enable-libquadmath-support compilers: Checking arg --enable-libssp compilers: Unknown arg --enable-libssp compilers: Checking arg --enable-libada compilers: Unknown arg --enable-libada compilers: Checking arg --enable-libjava compilers: Unknown arg --enable-libjava compilers: Checking arg --enable-libgcj-sublibs compilers: Unknown arg --enable-libgcj-sublibs compilers: Checking arg --disable-java-awt compilers: Unknown arg --disable-java-awt compilers: Checking arg --disable-symvers compilers: Unknown arg --disable-symvers compilers: Checking arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Unknown arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Checking arg --with-gnu-ld compilers: Unknown arg --with-gnu-ld compilers: Checking arg --with-gnu-as compilers: Unknown arg --with-gnu-as compilers: Checking arg --with-cloog-include=/usr/include/cloog-ppl compilers: Unknown arg --with-cloog-include=/usr/include/cloog-ppl compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg : compilers: Unknown arg : compilers: Checking arg (reconfigured) compilers: Unknown arg (reconfigured) compilers: Checking arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Unknown arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Checking arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Unknown arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --exec-prefix=/usr compilers: Unknown arg --exec-prefix=/usr compilers: Checking arg --bindir=/usr/bin compilers: Unknown arg --bindir=/usr/bin compilers: Checking arg --sbindir=/usr/sbin compilers: Unknown arg --sbindir=/usr/sbin compilers: Checking arg --libexecdir=/usr/lib compilers: Unknown arg --libexecdir=/usr/lib compilers: Checking arg --datadir=/usr/share compilers: Unknown arg --datadir=/usr/share compilers: Checking arg --localstatedir=/var compilers: Unknown arg --localstatedir=/var compilers: Checking arg --sysconfdir=/etc compilers: Unknown arg --sysconfdir=/etc compilers: Checking arg --datarootdir=/usr/share compilers: Unknown arg --datarootdir=/usr/share compilers: Checking arg --docdir=/usr/share/doc/gcc compilers: Unknown arg --docdir=/usr/share/doc/gcc compilers: Checking arg -C compilers: Unknown arg -C compilers: Checking arg --build=i686-pc-cygwin compilers: Unknown arg --build=i686-pc-cygwin compilers: Checking arg --host=i686-pc-cygwin compilers: Unknown arg --host=i686-pc-cygwin compilers: Checking arg --target=i686-pc-cygwin compilers: Unknown arg --target=i686-pc-cygwin compilers: Checking arg --without-libiconv-prefix compilers: Unknown arg --without-libiconv-prefix compilers: Checking arg --without-libintl-prefix compilers: Unknown arg --without-libintl-prefix compilers: Checking arg --enable-shared compilers: Unknown arg --enable-shared compilers: Checking arg --enable-shared-libgcc compilers: Unknown arg --enable-shared-libgcc compilers: Checking arg --enable-static compilers: Unknown arg --enable-static compilers: Checking arg --enable-version-specific-runtime-libs compilers: Unknown arg --enable-version-specific-runtime-libs compilers: Checking arg --enable-bootstrap compilers: Unknown arg --enable-bootstrap compilers: Checking arg --disable-__cxa_atexit compilers: Unknown arg --disable-__cxa_atexit compilers: Checking arg --with-dwarf2 compilers: Unknown arg --with-dwarf2 compilers: Checking arg --with-arch=i686 compilers: Unknown arg --with-arch=i686 compilers: Checking arg --with-tune=generic compilers: Unknown arg --with-tune=generic compilers: Checking arg --disable-sjlj-exceptions compilers: Unknown arg --disable-sjlj-exceptions compilers: Checking arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Unknown arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Checking arg --enable-graphite compilers: Unknown arg --enable-graphite compilers: Checking arg --enable-threads=posix compilers: Unknown arg --enable-threads=posix compilers: Checking arg --enable-libgomp compilers: Unknown arg --enable-libgomp compilers: Checking arg --disable-libitm compilers: Unknown arg --disable-libitm compilers: Checking arg --enable-libquadmath compilers: Unknown arg --enable-libquadmath compilers: Checking arg --enable-libquadmath-support compilers: Unknown arg --enable-libquadmath-support compilers: Checking arg --enable-libssp compilers: Unknown arg --enable-libssp compilers: Checking arg --enable-libada compilers: Unknown arg --enable-libada compilers: Checking arg --enable-libjava compilers: Unknown arg --enable-libjava compilers: Checking arg --enable-libgcj-sublibs compilers: Unknown arg --enable-libgcj-sublibs compilers: Checking arg --disable-java-awt compilers: Unknown arg --disable-java-awt compilers: Checking arg --disable-symvers compilers: Unknown arg --disable-symvers compilers: Checking arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Unknown arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Checking arg --with-gnu-ld compilers: Unknown arg --with-gnu-ld compilers: Checking arg --with-gnu-as compilers: Unknown arg --with-gnu-as compilers: Checking arg --with-cloog-include=/usr/include/cloog-ppl compilers: Unknown arg --with-cloog-include=/usr/include/cloog-ppl compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg gcc compilers: Unknown arg gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 4.7.3 compilers: Unknown arg 4.7.3 compilers: Checking arg (GCC) compilers: Unknown arg (GCC) compilers: Checking arg COMPILER_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ compilers: Unknown arg COMPILER_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ compilers: Checking arg LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../:/lib/:/usr/lib/ compilers: Unknown arg LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../:/lib/:/usr/lib/ compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/collect2.exe compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/collect2.exe compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _Znwj compilers: Unknown arg _Znwj compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _Znaj compilers: Unknown arg _Znaj compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdlPv compilers: Unknown arg _ZdlPv compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdaPv compilers: Unknown arg _ZdaPv compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZnwjRKSt9nothrow_t compilers: Unknown arg _ZnwjRKSt9nothrow_t compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZnajRKSt9nothrow_t compilers: Unknown arg _ZnajRKSt9nothrow_t compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdlPvRKSt9nothrow_t compilers: Unknown arg _ZdlPvRKSt9nothrow_t compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdaPvRKSt9nothrow_t compilers: Unknown arg _ZdaPvRKSt9nothrow_t compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg --dll-search-prefix=cyg compilers: Unknown arg --dll-search-prefix=cyg compilers: Checking arg --large-address-aware compilers: Unknown arg --large-address-aware compilers: Checking arg --tsaware compilers: Unknown arg --tsaware compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-54YYwh/config.compilers/conftest.exe compilers: Unknown arg /tmp/petsc-54YYwh/config.compilers/conftest.exe compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../crt0.o compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../crt0.o compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtbegin.o compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtbegin.o compilers: Checking arg -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Found library directory: -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Checking arg -L/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../.. compilers: Checking arg /tmp/petsc-54YYwh/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-54YYwh/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Found library : -ldl compilers: Checking arg -lgcc_s compilers: Found library : -lgcc_s compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg -lcygwin compilers: Skipping system library: -lcygwin compilers: Checking arg -ladvapi32 compilers: Found library : -ladvapi32 compilers: Checking arg -lshell32 compilers: Found library : -lshell32 compilers: Checking arg -luser32 compilers: Found library : -luser32 compilers: Checking arg -lkernel32 compilers: Checking arg -lgcc_s compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtend.o compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtend.o compilers: Libraries needed to link C code with another linker: ['-Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-L/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-ldl', '-lgcc_s', '-ladvapi32', '-lshell32', '-luser32'] compilers: Check that C libraries can be used from Fortran Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Popping language FC ================================================================================ TEST checkDependencyGenerationFlag from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:1282) TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1282) Check if -MMD works for dependency generation, and add it if it does Pushing language C Trying C compiler flag -MMD -MP Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 -MMD -MP /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Defined make macro "C_DEPFLAGS" to "-MMD -MP" Popping language C Pushing language Cxx Trying Cxx compiler flag -MMD -MP Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -MMD -MP /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Popping language Cxx Pushing language FC Trying FC compiler flag -MMD -MP Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 -MMD -MP /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Defined make macro "FC_DEPFLAGS" to "-MMD -MP" Popping language FC ================================================================================ TEST checkRestrict from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:134) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:134) Check for the C/CXX restrict keyword Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.compilers/conftest.cc: In function ???int main()???: /tmp/petsc-54YYwh/config.compilers/conftest.cc:5:18: error: expected initializer before ???x??? Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } Executing: g++ -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.cc Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.compilers/conftest.cc: In function ???int main()???: /tmp/petsc-54YYwh/config.compilers/conftest.cc:5:23: warning: unused variable ???x??? [-Wunused-variable] 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(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:355) TESTING: checkCxxNamespace from config.compilers(config/BuildSystem/config/compilers.py:355) Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" namespace petsc {int dummy;} int main() { ; return 0; } Executing: g++ -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/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(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:330) TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:330) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/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(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:119) TESTING: checkCxxStaticInline from config.compilers(config/BuildSystem/config/compilers.py:119) Check for C++ keyword: static inline Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set Cxx StaticInline keyword to static inline Popping language Cxx Defined "CXX_STATIC_INLINE" to "static inline" ================================================================================ TEST checkCxxLibraries from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:370) TESTING: checkCxxLibraries from config.compilers(config/BuildSystem/config/compilers.py:370) Determines the libraries needed to link with C++ Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -v -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: stderr: Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.7.3/lto-wrapper.exe Target: i686-pc-cygwin Configured with: /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/gcc -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-ppl --with-system-zlib : (reconfigured) /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/gcc -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-ppl --with-system-zlib Thread model: posix gcc version 4.7.3 (GCC) COMPILER_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-54YYwh/config.compilers/conftest.exe' '-v' '-Wall' '-Wwrite-strings' '-Wno-strict-aliasing' '-Wno-unknown-pragmas' '-g' '-O0' '-L/usr/lib/gcc/i686-pc-cygwin/4.7.3' '-shared-libgcc' '-mtune=generic' '-march=i686' /usr/lib/gcc/i686-pc-cygwin/4.7.3/collect2.exe --wrap _Znwj --wrap _Znaj --wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwjRKSt9nothrow_t --wrap _ZnajRKSt9nothrow_t --wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t -Bdynamic --dll-search-prefix=cyg --large-address-aware --tsaware -o /tmp/petsc-54YYwh/config.compilers/conftest.exe /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../crt0.o /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtbegin.o -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../.. /tmp/petsc-54YYwh/config.compilers/conftest.o -rpath /usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl -lstdc++ -lgcc_s -lgcc -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtend.o Popping language Cxx compilers: Checking arg Using compilers: Unknown arg Using compilers: Checking arg built-in compilers: Unknown arg built-in compilers: Checking arg specs. compilers: Unknown arg specs. compilers: Checking arg COLLECT_GCC=g++ compilers: Unknown arg COLLECT_GCC=g++ compilers: Checking arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.7.3/lto-wrapper.exe compilers: Unknown arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.7.3/lto-wrapper.exe compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg i686-pc-cygwin compilers: Unknown arg i686-pc-cygwin compilers: Checking arg Configured compilers: Unknown arg Configured compilers: Checking arg with: compilers: Unknown arg with: compilers: Checking arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Unknown arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Checking arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Unknown arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --exec-prefix=/usr compilers: Unknown arg --exec-prefix=/usr compilers: Checking arg --bindir=/usr/bin compilers: Unknown arg --bindir=/usr/bin compilers: Checking arg --sbindir=/usr/sbin compilers: Unknown arg --sbindir=/usr/sbin compilers: Checking arg --libexecdir=/usr/lib compilers: Unknown arg --libexecdir=/usr/lib compilers: Checking arg --datadir=/usr/share compilers: Unknown arg --datadir=/usr/share compilers: Checking arg --localstatedir=/var compilers: Unknown arg --localstatedir=/var compilers: Checking arg --sysconfdir=/etc compilers: Unknown arg --sysconfdir=/etc compilers: Checking arg --datarootdir=/usr/share compilers: Unknown arg --datarootdir=/usr/share compilers: Checking arg --docdir=/usr/share/doc/gcc compilers: Unknown arg --docdir=/usr/share/doc/gcc compilers: Checking arg -C compilers: Unknown arg -C compilers: Checking arg --build=i686-pc-cygwin compilers: Unknown arg --build=i686-pc-cygwin compilers: Checking arg --host=i686-pc-cygwin compilers: Unknown arg --host=i686-pc-cygwin compilers: Checking arg --target=i686-pc-cygwin compilers: Unknown arg --target=i686-pc-cygwin compilers: Checking arg --without-libiconv-prefix compilers: Unknown arg --without-libiconv-prefix compilers: Checking arg --without-libintl-prefix compilers: Unknown arg --without-libintl-prefix compilers: Checking arg --enable-shared compilers: Unknown arg --enable-shared compilers: Checking arg --enable-shared-libgcc compilers: Unknown arg --enable-shared-libgcc compilers: Checking arg --enable-static compilers: Unknown arg --enable-static compilers: Checking arg --enable-version-specific-runtime-libs compilers: Unknown arg --enable-version-specific-runtime-libs compilers: Checking arg --enable-bootstrap compilers: Unknown arg --enable-bootstrap compilers: Checking arg --disable-__cxa_atexit compilers: Unknown arg --disable-__cxa_atexit compilers: Checking arg --with-dwarf2 compilers: Unknown arg --with-dwarf2 compilers: Checking arg --with-arch=i686 compilers: Unknown arg --with-arch=i686 compilers: Checking arg --with-tune=generic compilers: Unknown arg --with-tune=generic compilers: Checking arg --disable-sjlj-exceptions compilers: Unknown arg --disable-sjlj-exceptions compilers: Checking arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Unknown arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Checking arg --enable-graphite compilers: Unknown arg --enable-graphite compilers: Checking arg --enable-threads=posix compilers: Unknown arg --enable-threads=posix compilers: Checking arg --enable-libgomp compilers: Unknown arg --enable-libgomp compilers: Checking arg --disable-libitm compilers: Unknown arg --disable-libitm compilers: Checking arg --enable-libquadmath compilers: Unknown arg --enable-libquadmath compilers: Checking arg --enable-libquadmath-support compilers: Unknown arg --enable-libquadmath-support compilers: Checking arg --enable-libssp compilers: Unknown arg --enable-libssp compilers: Checking arg --enable-libada compilers: Unknown arg --enable-libada compilers: Checking arg --enable-libjava compilers: Unknown arg --enable-libjava compilers: Checking arg --enable-libgcj-sublibs compilers: Unknown arg --enable-libgcj-sublibs compilers: Checking arg --disable-java-awt compilers: Unknown arg --disable-java-awt compilers: Checking arg --disable-symvers compilers: Unknown arg --disable-symvers compilers: Checking arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Unknown arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Checking arg --with-gnu-ld compilers: Unknown arg --with-gnu-ld compilers: Checking arg --with-gnu-as compilers: Unknown arg --with-gnu-as compilers: Checking arg --with-cloog-include=/usr/include/cloog-ppl compilers: Unknown arg --with-cloog-include=/usr/include/cloog-ppl compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg : compilers: Unknown arg : compilers: Checking arg (reconfigured) compilers: Unknown arg (reconfigured) compilers: Checking arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Unknown arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Checking arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Unknown arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --exec-prefix=/usr compilers: Unknown arg --exec-prefix=/usr compilers: Checking arg --bindir=/usr/bin compilers: Unknown arg --bindir=/usr/bin compilers: Checking arg --sbindir=/usr/sbin compilers: Unknown arg --sbindir=/usr/sbin compilers: Checking arg --libexecdir=/usr/lib compilers: Unknown arg --libexecdir=/usr/lib compilers: Checking arg --datadir=/usr/share compilers: Unknown arg --datadir=/usr/share compilers: Checking arg --localstatedir=/var compilers: Unknown arg --localstatedir=/var compilers: Checking arg --sysconfdir=/etc compilers: Unknown arg --sysconfdir=/etc compilers: Checking arg --datarootdir=/usr/share compilers: Unknown arg --datarootdir=/usr/share compilers: Checking arg --docdir=/usr/share/doc/gcc compilers: Unknown arg --docdir=/usr/share/doc/gcc compilers: Checking arg -C compilers: Unknown arg -C compilers: Checking arg --build=i686-pc-cygwin compilers: Unknown arg --build=i686-pc-cygwin compilers: Checking arg --host=i686-pc-cygwin compilers: Unknown arg --host=i686-pc-cygwin compilers: Checking arg --target=i686-pc-cygwin compilers: Unknown arg --target=i686-pc-cygwin compilers: Checking arg --without-libiconv-prefix compilers: Unknown arg --without-libiconv-prefix compilers: Checking arg --without-libintl-prefix compilers: Unknown arg --without-libintl-prefix compilers: Checking arg --enable-shared compilers: Unknown arg --enable-shared compilers: Checking arg --enable-shared-libgcc compilers: Unknown arg --enable-shared-libgcc compilers: Checking arg --enable-static compilers: Unknown arg --enable-static compilers: Checking arg --enable-version-specific-runtime-libs compilers: Unknown arg --enable-version-specific-runtime-libs compilers: Checking arg --enable-bootstrap compilers: Unknown arg --enable-bootstrap compilers: Checking arg --disable-__cxa_atexit compilers: Unknown arg --disable-__cxa_atexit compilers: Checking arg --with-dwarf2 compilers: Unknown arg --with-dwarf2 compilers: Checking arg --with-arch=i686 compilers: Unknown arg --with-arch=i686 compilers: Checking arg --with-tune=generic compilers: Unknown arg --with-tune=generic compilers: Checking arg --disable-sjlj-exceptions compilers: Unknown arg --disable-sjlj-exceptions compilers: Checking arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Unknown arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Checking arg --enable-graphite compilers: Unknown arg --enable-graphite compilers: Checking arg --enable-threads=posix compilers: Unknown arg --enable-threads=posix compilers: Checking arg --enable-libgomp compilers: Unknown arg --enable-libgomp compilers: Checking arg --disable-libitm compilers: Unknown arg --disable-libitm compilers: Checking arg --enable-libquadmath compilers: Unknown arg --enable-libquadmath compilers: Checking arg --enable-libquadmath-support compilers: Unknown arg --enable-libquadmath-support compilers: Checking arg --enable-libssp compilers: Unknown arg --enable-libssp compilers: Checking arg --enable-libada compilers: Unknown arg --enable-libada compilers: Checking arg --enable-libjava compilers: Unknown arg --enable-libjava compilers: Checking arg --enable-libgcj-sublibs compilers: Unknown arg --enable-libgcj-sublibs compilers: Checking arg --disable-java-awt compilers: Unknown arg --disable-java-awt compilers: Checking arg --disable-symvers compilers: Unknown arg --disable-symvers compilers: Checking arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Unknown arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Checking arg --with-gnu-ld compilers: Unknown arg --with-gnu-ld compilers: Checking arg --with-gnu-as compilers: Unknown arg --with-gnu-as compilers: Checking arg --with-cloog-include=/usr/include/cloog-ppl compilers: Unknown arg --with-cloog-include=/usr/include/cloog-ppl compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg gcc compilers: Unknown arg gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 4.7.3 compilers: Unknown arg 4.7.3 compilers: Checking arg (GCC) compilers: Unknown arg (GCC) compilers: Checking arg COMPILER_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ compilers: Unknown arg COMPILER_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ compilers: Checking arg LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../:/lib/:/usr/lib/ compilers: Unknown arg LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../:/lib/:/usr/lib/ compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/collect2.exe compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/collect2.exe compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _Znwj compilers: Unknown arg _Znwj compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _Znaj compilers: Unknown arg _Znaj compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdlPv compilers: Unknown arg _ZdlPv compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdaPv compilers: Unknown arg _ZdaPv compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZnwjRKSt9nothrow_t compilers: Unknown arg _ZnwjRKSt9nothrow_t compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZnajRKSt9nothrow_t compilers: Unknown arg _ZnajRKSt9nothrow_t compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdlPvRKSt9nothrow_t compilers: Unknown arg _ZdlPvRKSt9nothrow_t compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdaPvRKSt9nothrow_t compilers: Unknown arg _ZdaPvRKSt9nothrow_t compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg --dll-search-prefix=cyg compilers: Unknown arg --dll-search-prefix=cyg compilers: Checking arg --large-address-aware compilers: Unknown arg --large-address-aware compilers: Checking arg --tsaware compilers: Unknown arg --tsaware compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-54YYwh/config.compilers/conftest.exe compilers: Unknown arg /tmp/petsc-54YYwh/config.compilers/conftest.exe compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../crt0.o compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../crt0.o compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtbegin.o compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtbegin.o compilers: Checking arg -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Found library directory: -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Checking arg -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Checking arg -L/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../.. compilers: Checking arg /tmp/petsc-54YYwh/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-54YYwh/config.compilers/conftest.o compilers: Checking arg -rpath compilers: Found -rpath library: /usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Checking arg -ldl compilers: Found library: -ldl Library already in C list so skipping in C++ compilers: Checking arg -lgcc_s compilers: Found library: -lgcc_s Library already in C list so skipping in C++ compilers: Checking arg -ladvapi32 compilers: Found library: -ladvapi32 Library already in C list so skipping in C++ compilers: Checking arg -lshell32 compilers: Found library: -lshell32 Library already in C list so skipping in C++ compilers: Checking arg -luser32 compilers: Found library: -luser32 Library already in C list so skipping in C++ compilers: Checking arg -ldl compilers: Checking arg -lstdc++ compilers: Found library: -lstdc++ compilers: Checking arg -lgcc_s compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg -lcygwin compilers: Skipping system library: -lcygwin compilers: Checking arg -ladvapi32 compilers: Checking arg -lshell32 compilers: Checking arg -luser32 compilers: Checking arg -lkernel32 compilers: Checking arg -lgcc_s compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtend.o compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtend.o compilers: Libraries needed to link Cxx code with another linker: ['-Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-L/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-lstdc++'] compilers: Check that Cxx libraries can be used from C Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lstdc++ -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lstdc++ -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Popping language C compilers: Check that Cxx libraries can be used from Fortran Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lstdc++ -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lstdc++ -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Popping language FC ================================================================================ TEST checkFortranTypeSizes from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:528) TESTING: checkFortranTypeSizes from config.compilers(config/BuildSystem/config/compilers.py:528) Check whether real*8 is supported and suggest flags which will allow support Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Successful compile: Source: program main real*8 variable end Popping language FC ================================================================================ TEST checkFortranNameMangling from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:587) TESTING: checkFortranNameMangling from config.compilers(config/BuildSystem/config/compilers.py:587) 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: gcc -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} Popping language C Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o /tmp/petsc-54YYwh/config.compilers/confc.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Popping language FC compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" ================================================================================ TEST checkFortranNameManglingDouble from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:624) TESTING: checkFortranNameManglingDouble from config.compilers(config/BuildSystem/config/compilers.py:624) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/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: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Successful compile: Source: program main call d1_chk() end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o /tmp/petsc-54YYwh/config.compilers/confc.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.compilers/conftest.o: In function `MAIN__': /tmp/petsc-54YYwh/config.compilers/conftest.F:2: undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status Popping language FC ================================================================================ TEST checkFortranPreprocessor from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:634) TESTING: checkFortranPreprocessor from config.compilers(config/BuildSystem/config/compilers.py:634) Determine if Fortran handles preprocessing properly Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Added FC compiler flag Popping language FC compilers: Fortran uses CPP preprocessor ================================================================================ TEST checkFortranDefineCompilerOption from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:655) TESTING: checkFortranDefineCompilerOption from config.compilers(config/BuildSystem/config/compilers.py:655) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 -DTesting /tmp/petsc-54YYwh/config.setCompilers/conftest.F Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Popping language FC compilers: Fortran uses -D for defining macro ================================================================================ TEST checkFortranLibraries from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:671) TESTING: checkFortranLibraries from config.compilers(config/BuildSystem/config/compilers.py:671) Substitutes for FLIBS the libraries needed to link with Fortran This macro is intended to be used in those situations when it is necessary to mix, e.g. C++ and Fortran 77, source code into a single program or shared library. For example, if object files from a C++ and Fortran 77 compiler must be linked together, then the C++ compiler/linker must be used for linking (since special C++-ish things need to happen at link time like calling global constructors, instantiating templates, enabling exception support, etc.). However, the Fortran 77 intrinsic and run-time libraries must be linked in as well, but the C++ compiler/linker does not know how to add these Fortran 77 libraries. This code was translated from the autoconf macro which was packaged in its current form by Matthew D. Langston . However, nearly all of this macro came from the OCTAVE_FLIBS macro in octave-2.0.13/aclocal.m4, and full credit should go to John W. Eaton for writing this extremely useful macro. Pushing language FC Executing: gfortran -V Executing: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -v -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: stderr: Driving: gfortran -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -v -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl -l gfortran -shared-libgcc -specs=/usr/lib/gcc/i686-pc-cygwin/4.7.3/libgfortran.spec Using built-in specs. Reading specs from /usr/lib/gcc/i686-pc-cygwin/4.7.3/libgfortran.spec rename spec lib to liborig COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.7.3/lto-wrapper.exe Target: i686-pc-cygwin Configured with: /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/gcc -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-ppl --with-system-zlib : (reconfigured) /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/gcc -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-ppl --with-system-zlib Thread model: posix gcc version 4.7.3 (GCC) COMPILER_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-54YYwh/config.compilers/conftest.exe' '-v' '-Wall' '-Wno-unused-variable' '-Wno-unused-dummy-argument' '-g' '-O0' '-L/usr/lib/gcc/i686-pc-cygwin/4.7.3' '-shared-libgcc' '-mtune=generic' '-march=i686' /usr/lib/gcc/i686-pc-cygwin/4.7.3/collect2.exe --wrap _Znwj --wrap _Znaj --wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwjRKSt9nothrow_t --wrap _ZnajRKSt9nothrow_t --wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t -Bdynamic --dll-search-prefix=cyg --large-address-aware --tsaware -o /tmp/petsc-54YYwh/config.compilers/conftest.exe /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../crt0.o /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtbegin.o -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../.. /tmp/petsc-54YYwh/config.compilers/conftest.o -rpath /usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl -lgfortran -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtend.o Popping language FC compilers: Checking arg Driving: compilers: Unknown arg Driving: compilers: Checking arg gfortran compilers: Unknown arg gfortran compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-54YYwh/config.compilers/conftest.exe compilers: Unknown arg /tmp/petsc-54YYwh/config.compilers/conftest.exe compilers: Checking arg -v compilers: Unknown arg -v compilers: Checking arg -Wall compilers: Unknown arg -Wall compilers: Checking arg -Wno-unused-variable compilers: Unknown arg -Wno-unused-variable compilers: Checking arg -Wno-unused-dummy-argument compilers: Unknown arg -Wno-unused-dummy-argument compilers: Checking arg -g compilers: Unknown arg -g compilers: Checking arg -O0 compilers: Unknown arg -O0 compilers: Checking arg /tmp/petsc-54YYwh/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-54YYwh/config.compilers/conftest.o compilers: Checking arg -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Unknown arg -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Checking arg -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Found library directory: -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Checking arg -ldl compilers: Found library: -ldl Library already in C list so skipping in Fortran compilers: Checking arg -lgcc_s compilers: Found library: -lgcc_s Library already in C list so skipping in Fortran compilers: Checking arg -ladvapi32 compilers: Found library: -ladvapi32 Library already in C list so skipping in Fortran compilers: Checking arg -lshell32 compilers: Found library: -lshell32 Library already in C list so skipping in Fortran compilers: Checking arg -luser32 compilers: Found library: -luser32 Library already in C list so skipping in Fortran compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -l compilers: Found canonical library: -lgfortran compilers: Checking arg -shared-libgcc compilers: Unknown arg -shared-libgcc compilers: Checking arg -specs=/usr/lib/gcc/i686-pc-cygwin/4.7.3/libgfortran.spec compilers: Unknown arg -specs=/usr/lib/gcc/i686-pc-cygwin/4.7.3/libgfortran.spec compilers: Checking arg Using compilers: Unknown arg Using compilers: Checking arg built-in compilers: Unknown arg built-in compilers: Checking arg specs. compilers: Unknown arg specs. compilers: Checking arg Reading compilers: Unknown arg Reading compilers: Checking arg specs compilers: Unknown arg specs compilers: Checking arg from compilers: Unknown arg from compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/libgfortran.spec compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/libgfortran.spec compilers: Checking arg rename compilers: Unknown arg rename compilers: Checking arg spec compilers: Unknown arg spec compilers: Checking arg lib compilers: Unknown arg lib compilers: Checking arg to compilers: Unknown arg to compilers: Checking arg liborig compilers: Unknown arg liborig compilers: Checking arg COLLECT_GCC=gfortran compilers: Unknown arg COLLECT_GCC=gfortran compilers: Checking arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.7.3/lto-wrapper.exe compilers: Unknown arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.7.3/lto-wrapper.exe compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg i686-pc-cygwin compilers: Unknown arg i686-pc-cygwin compilers: Checking arg Configured compilers: Unknown arg Configured compilers: Checking arg with: compilers: Unknown arg with: compilers: Checking arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Unknown arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Checking arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Unknown arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --exec-prefix=/usr compilers: Unknown arg --exec-prefix=/usr compilers: Checking arg --bindir=/usr/bin compilers: Unknown arg --bindir=/usr/bin compilers: Checking arg --sbindir=/usr/sbin compilers: Unknown arg --sbindir=/usr/sbin compilers: Checking arg --libexecdir=/usr/lib compilers: Unknown arg --libexecdir=/usr/lib compilers: Checking arg --datadir=/usr/share compilers: Unknown arg --datadir=/usr/share compilers: Checking arg --localstatedir=/var compilers: Unknown arg --localstatedir=/var compilers: Checking arg --sysconfdir=/etc compilers: Unknown arg --sysconfdir=/etc compilers: Checking arg --datarootdir=/usr/share compilers: Unknown arg --datarootdir=/usr/share compilers: Checking arg --docdir=/usr/share/doc/gcc compilers: Unknown arg --docdir=/usr/share/doc/gcc compilers: Checking arg -C compilers: Unknown arg -C compilers: Checking arg --build=i686-pc-cygwin compilers: Unknown arg --build=i686-pc-cygwin compilers: Checking arg --host=i686-pc-cygwin compilers: Unknown arg --host=i686-pc-cygwin compilers: Checking arg --target=i686-pc-cygwin compilers: Unknown arg --target=i686-pc-cygwin compilers: Checking arg --without-libiconv-prefix compilers: Unknown arg --without-libiconv-prefix compilers: Checking arg --without-libintl-prefix compilers: Unknown arg --without-libintl-prefix compilers: Checking arg --enable-shared compilers: Unknown arg --enable-shared compilers: Checking arg --enable-shared-libgcc compilers: Unknown arg --enable-shared-libgcc compilers: Checking arg --enable-static compilers: Unknown arg --enable-static compilers: Checking arg --enable-version-specific-runtime-libs compilers: Unknown arg --enable-version-specific-runtime-libs compilers: Checking arg --enable-bootstrap compilers: Unknown arg --enable-bootstrap compilers: Checking arg --disable-__cxa_atexit compilers: Unknown arg --disable-__cxa_atexit compilers: Checking arg --with-dwarf2 compilers: Unknown arg --with-dwarf2 compilers: Checking arg --with-arch=i686 compilers: Unknown arg --with-arch=i686 compilers: Checking arg --with-tune=generic compilers: Unknown arg --with-tune=generic compilers: Checking arg --disable-sjlj-exceptions compilers: Unknown arg --disable-sjlj-exceptions compilers: Checking arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Unknown arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Checking arg --enable-graphite compilers: Unknown arg --enable-graphite compilers: Checking arg --enable-threads=posix compilers: Unknown arg --enable-threads=posix compilers: Checking arg --enable-libgomp compilers: Unknown arg --enable-libgomp compilers: Checking arg --disable-libitm compilers: Unknown arg --disable-libitm compilers: Checking arg --enable-libquadmath compilers: Unknown arg --enable-libquadmath compilers: Checking arg --enable-libquadmath-support compilers: Unknown arg --enable-libquadmath-support compilers: Checking arg --enable-libssp compilers: Unknown arg --enable-libssp compilers: Checking arg --enable-libada compilers: Unknown arg --enable-libada compilers: Checking arg --enable-libjava compilers: Unknown arg --enable-libjava compilers: Checking arg --enable-libgcj-sublibs compilers: Unknown arg --enable-libgcj-sublibs compilers: Checking arg --disable-java-awt compilers: Unknown arg --disable-java-awt compilers: Checking arg --disable-symvers compilers: Unknown arg --disable-symvers compilers: Checking arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Unknown arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Checking arg --with-gnu-ld compilers: Unknown arg --with-gnu-ld compilers: Checking arg --with-gnu-as compilers: Unknown arg --with-gnu-as compilers: Checking arg --with-cloog-include=/usr/include/cloog-ppl compilers: Unknown arg --with-cloog-include=/usr/include/cloog-ppl compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg : compilers: Unknown arg : compilers: Checking arg (reconfigured) compilers: Unknown arg (reconfigured) compilers: Checking arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Unknown arg /cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3/configure compilers: Checking arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Unknown arg --srcdir=/cygdrive/i/szsz/git/cygwin-ports-gcc/gcc-4.7.3-1/src/gcc-4.7.3 compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --exec-prefix=/usr compilers: Unknown arg --exec-prefix=/usr compilers: Checking arg --bindir=/usr/bin compilers: Unknown arg --bindir=/usr/bin compilers: Checking arg --sbindir=/usr/sbin compilers: Unknown arg --sbindir=/usr/sbin compilers: Checking arg --libexecdir=/usr/lib compilers: Unknown arg --libexecdir=/usr/lib compilers: Checking arg --datadir=/usr/share compilers: Unknown arg --datadir=/usr/share compilers: Checking arg --localstatedir=/var compilers: Unknown arg --localstatedir=/var compilers: Checking arg --sysconfdir=/etc compilers: Unknown arg --sysconfdir=/etc compilers: Checking arg --datarootdir=/usr/share compilers: Unknown arg --datarootdir=/usr/share compilers: Checking arg --docdir=/usr/share/doc/gcc compilers: Unknown arg --docdir=/usr/share/doc/gcc compilers: Checking arg -C compilers: Unknown arg -C compilers: Checking arg --build=i686-pc-cygwin compilers: Unknown arg --build=i686-pc-cygwin compilers: Checking arg --host=i686-pc-cygwin compilers: Unknown arg --host=i686-pc-cygwin compilers: Checking arg --target=i686-pc-cygwin compilers: Unknown arg --target=i686-pc-cygwin compilers: Checking arg --without-libiconv-prefix compilers: Unknown arg --without-libiconv-prefix compilers: Checking arg --without-libintl-prefix compilers: Unknown arg --without-libintl-prefix compilers: Checking arg --enable-shared compilers: Unknown arg --enable-shared compilers: Checking arg --enable-shared-libgcc compilers: Unknown arg --enable-shared-libgcc compilers: Checking arg --enable-static compilers: Unknown arg --enable-static compilers: Checking arg --enable-version-specific-runtime-libs compilers: Unknown arg --enable-version-specific-runtime-libs compilers: Checking arg --enable-bootstrap compilers: Unknown arg --enable-bootstrap compilers: Checking arg --disable-__cxa_atexit compilers: Unknown arg --disable-__cxa_atexit compilers: Checking arg --with-dwarf2 compilers: Unknown arg --with-dwarf2 compilers: Checking arg --with-arch=i686 compilers: Unknown arg --with-arch=i686 compilers: Checking arg --with-tune=generic compilers: Unknown arg --with-tune=generic compilers: Checking arg --disable-sjlj-exceptions compilers: Unknown arg --disable-sjlj-exceptions compilers: Checking arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Unknown arg --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ compilers: Checking arg --enable-graphite compilers: Unknown arg --enable-graphite compilers: Checking arg --enable-threads=posix compilers: Unknown arg --enable-threads=posix compilers: Checking arg --enable-libgomp compilers: Unknown arg --enable-libgomp compilers: Checking arg --disable-libitm compilers: Unknown arg --disable-libitm compilers: Checking arg --enable-libquadmath compilers: Unknown arg --enable-libquadmath compilers: Checking arg --enable-libquadmath-support compilers: Unknown arg --enable-libquadmath-support compilers: Checking arg --enable-libssp compilers: Unknown arg --enable-libssp compilers: Checking arg --enable-libada compilers: Unknown arg --enable-libada compilers: Checking arg --enable-libjava compilers: Unknown arg --enable-libjava compilers: Checking arg --enable-libgcj-sublibs compilers: Unknown arg --enable-libgcj-sublibs compilers: Checking arg --disable-java-awt compilers: Unknown arg --disable-java-awt compilers: Checking arg --disable-symvers compilers: Unknown arg --disable-symvers compilers: Checking arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Unknown arg --with-ecj-jar=/usr/share/java/ecj.jar compilers: Checking arg --with-gnu-ld compilers: Unknown arg --with-gnu-ld compilers: Checking arg --with-gnu-as compilers: Unknown arg --with-gnu-as compilers: Checking arg --with-cloog-include=/usr/include/cloog-ppl compilers: Unknown arg --with-cloog-include=/usr/include/cloog-ppl compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg gcc compilers: Unknown arg gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 4.7.3 compilers: Unknown arg 4.7.3 compilers: Checking arg (GCC) compilers: Unknown arg (GCC) compilers: Checking arg COMPILER_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ compilers: Skipping arg COMPILER_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ compilers: Checking arg LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../:/lib/:/usr/lib/ compilers: Skipping arg LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.3/:/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../:/lib/:/usr/lib/ compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/collect2.exe compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/collect2.exe compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _Znwj compilers: Unknown arg _Znwj compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _Znaj compilers: Unknown arg _Znaj compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdlPv compilers: Unknown arg _ZdlPv compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdaPv compilers: Unknown arg _ZdaPv compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZnwjRKSt9nothrow_t compilers: Unknown arg _ZnwjRKSt9nothrow_t compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZnajRKSt9nothrow_t compilers: Unknown arg _ZnajRKSt9nothrow_t compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdlPvRKSt9nothrow_t compilers: Unknown arg _ZdlPvRKSt9nothrow_t compilers: Checking arg --wrap compilers: Unknown arg --wrap compilers: Checking arg _ZdaPvRKSt9nothrow_t compilers: Unknown arg _ZdaPvRKSt9nothrow_t compilers: Checking arg -Bdynamic compilers: Unknown arg -Bdynamic compilers: Checking arg --dll-search-prefix=cyg compilers: Unknown arg --dll-search-prefix=cyg compilers: Checking arg --large-address-aware compilers: Unknown arg --large-address-aware compilers: Checking arg --tsaware compilers: Unknown arg --tsaware compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-54YYwh/config.compilers/conftest.exe compilers: Unknown arg /tmp/petsc-54YYwh/config.compilers/conftest.exe compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../crt0.o compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../crt0.o compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtbegin.o compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtbegin.o compilers: Checking arg -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Already in lflags so skipping: -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Checking arg -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Already in lflags so skipping: -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Checking arg -L/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../.. compilers: Checking arg /tmp/petsc-54YYwh/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-54YYwh/config.compilers/conftest.o compilers: Checking arg -rpath compilers: Found -rpath library: /usr/lib/gcc/i686-pc-cygwin/4.7.3 compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -ladvapi32 compilers: Already in lflags: -ladvapi32 compilers: Checking arg -lshell32 compilers: Already in lflags: -lshell32 compilers: Checking arg -luser32 compilers: Already in lflags: -luser32 compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -lgfortran compilers: Found library: -lgfortran compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefor skipping: -lgcc compilers: Checking arg -lquadmath compilers: Found library: -lquadmath compilers: Checking arg -lm compilers: Found library: -lm compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefor skipping: -lgcc compilers: Checking arg -lcygwin compilers: Found system library therefor skipping: -lcygwin compilers: Checking arg -ladvapi32 compilers: Already in lflags: -ladvapi32 compilers: Checking arg -lshell32 compilers: Already in lflags: -lshell32 compilers: Checking arg -luser32 compilers: Already in lflags: -luser32 compilers: Checking arg -lkernel32 compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefor skipping: -lgcc compilers: Checking arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtend.o compilers: Unknown arg /usr/lib/gcc/i686-pc-cygwin/4.7.3/crtend.o compilers: Libraries needed to link Fortran code with the C linker: ['-Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-L/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-lgfortran', '-Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-lgfortran', '-lquadmath', '-lm'] compilers: Libraries needed to link Fortran main with the C linker: [] compilers: Check that Fortran libraries can be used from C Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -lquadmath -lm -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: gcc -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -lquadmath -lm -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Popping language C compilers: Check that Fortran libraries can be used from C++ Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -lquadmath -lm -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: g++ -c -o /tmp/petsc-54YYwh/config.setCompilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-54YYwh/config.setCompilers/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.setCompilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -lquadmath -lm -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Executing: /tmp/petsc-54YYwh/config.setCompilers/conftest.exe Popping language Cxx compilers: Fortran libraries can be used from C++ ================================================================================ TEST checkFortranLinkingCxx from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:1016) TESTING: checkFortranLinkingCxx from config.compilers(config/BuildSystem/config/compilers.py:1016) Check that Fortran can be linked against C++ Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/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: g++ -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/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: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o /tmp/petsc-54YYwh/config.compilers/cxxobj.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 /tmp/petsc-54YYwh/config.compilers/confc.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Popping language FC compilers: Fortran can link C++ functions ================================================================================ TEST checkFortran90 from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:1051) TESTING: checkFortran90 from config.compilers(config/BuildSystem/config/compilers.py:1051) Determine whether the Fortran compiler handles F90 Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8) INTEGER (KIND=int) :: ierr ierr = 1 end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "USING_F90" to "1" Fortran compiler supports F90 Popping language FC ================================================================================ TEST checkFortran2003 from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:1064) TESTING: checkFortran2003 from config.compilers(config/BuildSystem/config/compilers.py:1064) Determine whether the Fortran compiler handles F2003 Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Successful compile: Source: program main use,intrinsic :: iso_c_binding Type(C_Ptr),Dimension(:),Pointer :: CArray character(kind=c_char),pointer :: nullc => null() character(kind=c_char,len=5),dimension(:),pointer::list1 allocate(list1(5)) CArray = (/(c_loc(list1(i)),i=1,5),c_loc(nullc)/) end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "USING_F2003" to "1" Fortran compiler supports F2003 Popping language FC ================================================================================ TEST checkFortran90Array from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:1084) TESTING: checkFortran90Array from config.compilers(config/BuildSystem/config/compilers.py:1084) Check for F90 array interfaces Executing: uname -s stdout: CYGWIN_NT-6.1-WOW64 Cygwin detected: ignoring HAVE_F90_2PTR_ARG test ================================================================================ TEST checkFortranModuleInclude from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:1171) TESTING: checkFortranModuleInclude from config.compilers(config/BuildSystem/config/compilers.py:1171) Figures out what flag is used to specify the include path for Fortran modules Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.compilers/confdir -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Successful compile: Source: program main use configtest write(*,*) testint end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.compilers/conftest.exe -I/tmp/petsc-54YYwh/config.compilers/confdir -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.o /tmp/petsc-54YYwh/config.compilers/configtest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl compilers: Fortran module include flag -I found Popping language FC ================================================================================ TEST checkFortranModuleOutput from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:1237) TESTING: checkFortranModuleOutput from config.compilers(config/BuildSystem/config/compilers.py:1237) Figures out what flag is used to specify the include path for Fortran modules Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -module /tmp/petsc-54YYwh/config.compilers/confdir -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: gfortran: error: unrecognized command line option ???-module??? Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module compile failed Executing: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -module:/tmp/petsc-54YYwh/config.compilers/confdir -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: gfortran: error: unrecognized command line option ???-module:/tmp/petsc-54YYwh/config.compilers/confdir??? Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module: compile failed Executing: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -fmod=/tmp/petsc-54YYwh/config.compilers/confdir -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: gfortran: error: unrecognized command line option ???-fmod=/tmp/petsc-54YYwh/config.compilers/confdir??? Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -fmod= compile failed Executing: gfortran -c -o /tmp/petsc-54YYwh/config.compilers/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -J/tmp/petsc-54YYwh/config.compilers/confdir -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.compilers/conftest.F Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -J found Popping language FC ================================================================================ TEST setupFrameworkCompilers from config.compilers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/compilers.py:1367) TESTING: setupFrameworkCompilers from config.compilers(config/BuildSystem/config/compilers.py:1367) ================================================================================ TEST configureFortranCPP from PETSc.utilities.fortranCPP(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/fortranCPP.py:27) TESTING: configureFortranCPP from PETSc.utilities.fortranCPP(config/PETSc/utilities/fortranCPP.py:27) Handle case where Fortran cannot preprocess properly Defined make rule ".f.o .f90.o .f95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} -o $@ $<'] Defined make rule ".f.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o'] Defined make rule ".F.o .F90.o .F95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} ${FCPPFLAGS} -o $@ $<'] Defined make rule ".F.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} ${FCPPFLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o'] ================================================================================ TEST checkStdC from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:105) TESTING: checkStdC from config.headers(config/BuildSystem/config/headers.py:105) Executing: gcc -c -o /tmp/petsc-54YYwh/config.headers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { ; return 0; } Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/string.h" 1 3 # 15 "\\MinGW\\include/string.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/string.h" 2 3 # 24 "\\MinGW\\include/string.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 25 "\\MinGW\\include/string.h" 2 3 # 36 "\\MinGW\\include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memchr (const void*, int, size_t) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcmp (const void*, const void*, size_t) __attribute__ ((__pure__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcpy (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memmove (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memset (void*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcat (char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strchr (const char*, int) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmp (const char*, const char*) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcpy (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strerror (int); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlen (const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncat (char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncmp (const char*, const char*, size_t) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncpy (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strpbrk (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrchr (const char*, int) __attribute__ ((__pure__)); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strstr (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtok (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strxfrm (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strerror (const char *); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricmp (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnicmp (const char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _swab (const char*, char*, size_t); # 90 "\\MinGW\\include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricmp (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcasecmp (const char*, const char *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnicmp (const char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncasecmp (const char *, const char *, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) swab (const char*, char*, size_t); # 126 "\\MinGW\\include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscat (wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcschr (const wchar_t*, wchar_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscpy (wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscspn (const wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslen (const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncat (wchar_t*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncmp(const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncpy(wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcspbrk(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrchr(const wchar_t*, wchar_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsspn(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsstr(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstok(wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsxfrm(wchar_t*, const wchar_t*, size_t); # 152 "\\MinGW\\include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsupr (wchar_t*); # 173 "\\MinGW\\include/string.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsupr (wchar_t*); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/stdlib.h" 1 3 # 15 "\\MinGW\\include/stdlib.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/stdlib.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/stdlib.h" 2 3 # 71 "\\MinGW\\include/stdlib.h" 3 extern int _argc; extern char** _argv; # 96 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int __argc_dll; extern __attribute__ ((__dllimport__)) char** __argv_dll; # 115 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int __mb_cur_max_dll; # 137 "\\MinGW\\include/stdlib.h" 3 int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _errno(void); int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __doserrno(void); # 158 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char ** _environ_dll; # 186 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int _sys_nerr_dll; # 196 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char* _sys_errlist[]; # 243 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) unsigned int _osver_dll; extern __attribute__ ((__dllimport__)) unsigned int _winver_dll; extern __attribute__ ((__dllimport__)) unsigned int _winmajor_dll; extern __attribute__ ((__dllimport__)) unsigned int _winminor_dll; # 269 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char* _pgmptr_dll; # 295 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int _fmode_dll; double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atof (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atoi (const char*); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atol (const char*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtof (const wchar_t *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtoi (const wchar_t *); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtol (const wchar_t *); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __strtod (const char*, char**); extern double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtod (const char* __restrict__ __nptr, char** __restrict__ __endptr); float __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtof (const char * __restrict__, char ** __restrict__); long double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtold (const char * __restrict__, char ** __restrict__); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtol (const char*, char**, int); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoul (const char*, char**, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstol (const wchar_t*, wchar_t**, int); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstoul (const wchar_t*, wchar_t**, int); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstod (const wchar_t*, wchar_t**); float __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstof( const wchar_t * __restrict__, wchar_t ** __restrict__); long double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstold (const wchar_t * __restrict__, wchar_t ** __restrict__); # 345 "\\MinGW\\include/stdlib.h" 3 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstombs (char*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wctomb (char*, wchar_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mblen (const char*, size_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mbstowcs (wchar_t*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mbtowc (wchar_t*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rand (void); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) srand (unsigned int); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) calloc (size_t, size_t) __attribute__ ((__malloc__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) malloc (size_t) __attribute__ ((__malloc__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) realloc (void*, size_t); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) free (void*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) abort (void) __attribute__ ((__noreturn__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) exit (int) __attribute__ ((__noreturn__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atexit (void (*)(void)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) system (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getenv (const char*); void* __attribute__((__cdecl__)) bsearch (const void*, const void*, size_t, size_t, int (*)(const void*, const void*)); void __attribute__((__cdecl__)) qsort(void*, size_t, size_t, int (*)(const void*, const void*)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) abs (int) __attribute__ ((__const__)); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) labs (long) __attribute__ ((__const__)); # 385 "\\MinGW\\include/stdlib.h" 3 typedef struct { int quot, rem; } div_t; typedef struct { long quot, rem; } ldiv_t; div_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) div (int, int) __attribute__ ((__const__)); ldiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ldiv (long, long) __attribute__ ((__const__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _beep (unsigned int, unsigned int) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _seterrormode (int) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sleep (unsigned long) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _exit (int) __attribute__ ((__noreturn__)); typedef int (* _onexit_t)(void); _onexit_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _onexit( _onexit_t ); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _putenv (const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _searchenv (const char*, const char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ecvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fcvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _gcvt (double, int, char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _makepath (char*, const char*, const char*, const char*, const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _splitpath (const char*, char*, char*, char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fullpath (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _itoa (int, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ltoa (long, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ultoa(unsigned long, char*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _itow (int, wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ltow (long, wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ultow (unsigned long, wchar_t*, int); # 477 "\\MinGW\\include/stdlib.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) putenv (const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) searchenv (const char*, const char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) itoa (int, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ltoa (long, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ecvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fcvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gcvt (double, int, char*); # 497 "\\MinGW\\include/stdlib.h" 3 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _Exit(int) __attribute__ ((__noreturn__)); typedef struct { long long quot, rem; } lldiv_t; lldiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lldiv (long long, long long) __attribute__ ((__const__)); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) llabs(long long); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoll (const char* __restrict__, char** __restrict, int); unsigned long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoull (const char* __restrict__, char** __restrict__, int); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Executing: gcc -c -o /tmp/petsc-54YYwh/config.headers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main() { int i; for(i = 0; i < 256; i++) if (XOR(islower(i), ISLOWER(i)) || toupper(i) != TOUPPER(i)) exit(2); exit(0); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.headers/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.headers/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.headers/conftest.exe Executing: /tmp/petsc-54YYwh/config.headers/conftest.exe Defined "STDC_HEADERS" to "1" ================================================================================ TEST checkStat from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:138) TESTING: checkStat from config.headers(config/BuildSystem/config/headers.py:138) Checks whether stat file-mode macros are broken, and defines STAT_MACROS_BROKEN if they are Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/sys/types.h" 1 3 # 15 "\\MinGW\\include/sys/types.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/sys/types.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 5 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/sys/stat.h" 1 3 # 21 "\\MinGW\\include/sys/stat.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 22 "\\MinGW\\include/sys/stat.h" 2 3 # 86 "\\MinGW\\include/sys/stat.h" 3 struct _stat { _dev_t st_dev; _ino_t st_ino; _mode_t st_mode; short st_nlink; short st_uid; short st_gid; _dev_t st_rdev; _off_t st_size; time_t st_atime; time_t st_mtime; time_t st_ctime; }; struct stat { dev_t st_dev; ino_t st_ino; mode_t st_mode; short st_nlink; short st_uid; short st_gid; dev_t st_rdev; off_t st_size; time_t st_atime; time_t st_mtime; time_t st_ctime; }; # 202 "\\MinGW\\include/sys/stat.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fstat (int, struct _stat*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chmod (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stat (const char*, struct _stat*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fstat (int, struct stat*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chmod (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stat (const char*, struct stat*); # 6 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 ================================================================================ TEST checkSysWait from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:173) TESTING: checkSysWait from config.headers(config/BuildSystem/config/headers.py:173) Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found Executing: gcc -c -o /tmp/petsc-54YYwh/config.headers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.headers/conftest.c Possible ERROR while running compiler: exit code 256 stderr: In file included from /usr/include/sys/wait.h:16:0, from /tmp/petsc-54YYwh/config.headers/conftest.c:5: /usr/include/sys/resource.h:76:29: error: unknown type name ???id_t??? /usr/include/sys/resource.h:77:29: error: unknown type name ???id_t??? Source: #include "confdefs.h" #include "conffix.h" #include #include #ifndef WEXITSTATUS #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main() { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } ================================================================================ TEST checkTime from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:195) TESTING: checkTime from config.headers(config/BuildSystem/config/headers.py:195) Checks if you can safely include both and , and if so defines TIME_WITH_SYS_TIME Checking for header: time.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/time.h" 1 3 # 15 "\\MinGW\\include/time.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/time.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/time.h" 2 3 # 40 "\\MinGW\\include/time.h" 3 typedef long __time32_t; typedef long long __time64_t; # 61 "\\MinGW\\include/time.h" 3 typedef __time32_t time_t; # 71 "\\MinGW\\include/time.h" 3 typedef long clock_t; # 80 "\\MinGW\\include/time.h" 3 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; }; clock_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) clock (void); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) time (time_t*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) difftime (time_t, time_t); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktime (struct tm*); # 117 "\\MinGW\\include/time.h" 3 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) asctime (const struct tm*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ctime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gmtime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) localtime (const time_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strftime (char*, size_t, const char*, const struct tm*); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tzset (void); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tzset (void); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdate(char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strtime(char*); # 208 "\\MinGW\\include/time.h" 3 extern __attribute__ ((__dllimport__)) int _daylight_dll; extern __attribute__ ((__dllimport__)) long _timezone_dll; extern __attribute__ ((__dllimport__)) char* _tzname[2]; # 240 "\\MinGW\\include/time.h" 3 extern __attribute__ ((__dllimport__)) char *tzname[2]; # 269 "\\MinGW\\include/time.h" 3 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsftime (wchar_t*, size_t, const wchar_t*, const struct tm*); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_TIME_H" to "1" Checking for header: sys/time.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/sys/time.h" 1 3 # 1 "\\MinGW\\include/time.h" 1 3 # 15 "\\MinGW\\include/time.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/time.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/time.h" 2 3 # 40 "\\MinGW\\include/time.h" 3 typedef long __time32_t; typedef long long __time64_t; # 61 "\\MinGW\\include/time.h" 3 typedef __time32_t time_t; # 71 "\\MinGW\\include/time.h" 3 typedef long clock_t; # 80 "\\MinGW\\include/time.h" 3 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; }; clock_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) clock (void); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) time (time_t*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) difftime (time_t, time_t); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktime (struct tm*); # 117 "\\MinGW\\include/time.h" 3 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) asctime (const struct tm*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ctime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gmtime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) localtime (const time_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strftime (char*, size_t, const char*, const struct tm*); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tzset (void); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tzset (void); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdate(char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strtime(char*); # 208 "\\MinGW\\include/time.h" 3 extern __attribute__ ((__dllimport__)) int _daylight_dll; extern __attribute__ ((__dllimport__)) long _timezone_dll; extern __attribute__ ((__dllimport__)) char* _tzname[2]; # 240 "\\MinGW\\include/time.h" 3 extern __attribute__ ((__dllimport__)) char *tzname[2]; # 269 "\\MinGW\\include/time.h" 3 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsftime (wchar_t*, size_t, const wchar_t*, const struct tm*); # 4 "\\MinGW\\include/sys/time.h" 2 3 struct timeval { long tv_sec; long tv_usec; }; # 26 "\\MinGW\\include/sys/time.h" 3 struct timezone { int tz_minuteswest; int tz_dsttime; }; # 39 "\\MinGW\\include/sys/time.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gettimeofday(struct timeval *__restrict__, void *__restrict__ ); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SYS_TIME_H" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/config.headers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { struct tm *tp = 0; if (tp); ; return 0; } Defined "TIME_WITH_SYS_TIME" to "1" ================================================================================ TEST checkMath from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:203) TESTING: checkMath from config.headers(config/BuildSystem/config/headers.py:203) Checks for the math headers and defines Checking for header: math.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/math.h" 1 3 # 16 "\\MinGW\\include/math.h" 3 # 17 "\\MinGW\\include/math.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 21 "\\MinGW\\include/math.h" 2 3 # 134 "\\MinGW\\include/math.h" 3 struct _exception { int type; char *name; double arg1; double arg2; double retval; }; double __attribute__((__cdecl__)) sin (double); double __attribute__((__cdecl__)) cos (double); double __attribute__((__cdecl__)) tan (double); double __attribute__((__cdecl__)) sinh (double); double __attribute__((__cdecl__)) cosh (double); double __attribute__((__cdecl__)) tanh (double); double __attribute__((__cdecl__)) asin (double); double __attribute__((__cdecl__)) acos (double); double __attribute__((__cdecl__)) atan (double); double __attribute__((__cdecl__)) atan2 (double, double); double __attribute__((__cdecl__)) exp (double); double __attribute__((__cdecl__)) log (double); double __attribute__((__cdecl__)) log10 (double); double __attribute__((__cdecl__)) pow (double, double); double __attribute__((__cdecl__)) sqrt (double); double __attribute__((__cdecl__)) ceil (double); double __attribute__((__cdecl__)) floor (double); double __attribute__((__cdecl__)) fabs (double); double __attribute__((__cdecl__)) ldexp (double, int); double __attribute__((__cdecl__)) frexp (double, int*); double __attribute__((__cdecl__)) modf (double, double*); double __attribute__((__cdecl__)) fmod (double, double); # 210 "\\MinGW\\include/math.h" 3 struct _complex { double x; double y; }; double __attribute__((__cdecl__)) _cabs (struct _complex); double __attribute__((__cdecl__)) _hypot (double, double); double __attribute__((__cdecl__)) _j0 (double); double __attribute__((__cdecl__)) _j1 (double); double __attribute__((__cdecl__)) _jn (int, double); double __attribute__((__cdecl__)) _y0 (double); double __attribute__((__cdecl__)) _y1 (double); double __attribute__((__cdecl__)) _yn (int, double); int __attribute__((__cdecl__)) _matherr (struct _exception *); # 234 "\\MinGW\\include/math.h" 3 double __attribute__((__cdecl__)) _chgsign (double); double __attribute__((__cdecl__)) _copysign (double, double); double __attribute__((__cdecl__)) _logb (double); double __attribute__((__cdecl__)) _nextafter (double, double); double __attribute__((__cdecl__)) _scalb (double, long); int __attribute__((__cdecl__)) _finite (double); int __attribute__((__cdecl__)) _fpclass (double); int __attribute__((__cdecl__)) _isnan (double); # 254 "\\MinGW\\include/math.h" 3 double __attribute__((__cdecl__)) j0 (double); double __attribute__((__cdecl__)) j1 (double); double __attribute__((__cdecl__)) jn (int, double); double __attribute__((__cdecl__)) y0 (double); double __attribute__((__cdecl__)) y1 (double); double __attribute__((__cdecl__)) yn (int, double); double __attribute__((__cdecl__)) chgsign (double); # 270 "\\MinGW\\include/math.h" 3 int __attribute__((__cdecl__)) finite (double); int __attribute__((__cdecl__)) fpclass (double); # 324 "\\MinGW\\include/math.h" 3 typedef long double float_t; typedef long double double_t; # 354 "\\MinGW\\include/math.h" 3 extern int __attribute__((__cdecl__)) __fpclassifyf (float); extern int __attribute__((__cdecl__)) __fpclassify (double); extern int __attribute__((__cdecl__)) __fpclassifyl (long double); # 379 "\\MinGW\\include/math.h" 3 extern int __attribute__((__cdecl__)) __isnan (double); extern int __attribute__((__cdecl__)) __isnanf (float); extern int __attribute__((__cdecl__)) __isnanl (long double); # 419 "\\MinGW\\include/math.h" 3 extern int __attribute__((__cdecl__)) __signbit (double); extern int __attribute__((__cdecl__)) __signbitf (float); extern int __attribute__((__cdecl__)) __signbitl (long double); # 447 "\\MinGW\\include/math.h" 3 extern float __attribute__((__cdecl__)) sinf (float); extern long double __attribute__((__cdecl__)) sinl (long double); extern float __attribute__((__cdecl__)) cosf (float); extern long double __attribute__((__cdecl__)) cosl (long double); extern float __attribute__((__cdecl__)) tanf (float); extern long double __attribute__((__cdecl__)) tanl (long double); extern float __attribute__((__cdecl__)) asinf (float); extern long double __attribute__((__cdecl__)) asinl (long double); extern float __attribute__((__cdecl__)) acosf (float); extern long double __attribute__((__cdecl__)) acosl (long double); extern float __attribute__((__cdecl__)) atanf (float); extern long double __attribute__((__cdecl__)) atanl (long double); extern float __attribute__((__cdecl__)) atan2f (float, float); extern long double __attribute__((__cdecl__)) atan2l (long double, long double); extern float __attribute__((__cdecl__)) sinhf (float); extern long double __attribute__((__cdecl__)) sinhl (long double); extern float __attribute__((__cdecl__)) coshf (float); extern long double __attribute__((__cdecl__)) coshl (long double); extern float __attribute__((__cdecl__)) tanhf (float); extern long double __attribute__((__cdecl__)) tanhl (long double); extern double __attribute__((__cdecl__)) acosh (double); extern float __attribute__((__cdecl__)) acoshf (float); extern long double __attribute__((__cdecl__)) acoshl (long double); extern double __attribute__((__cdecl__)) asinh (double); extern float __attribute__((__cdecl__)) asinhf (float); extern long double __attribute__((__cdecl__)) asinhl (long double); extern double __attribute__((__cdecl__)) atanh (double); extern float __attribute__((__cdecl__)) atanhf (float); extern long double __attribute__((__cdecl__)) atanhl (long double); extern float __attribute__((__cdecl__)) expf (float); extern long double __attribute__((__cdecl__)) expl (long double); extern double __attribute__((__cdecl__)) exp2(double); extern float __attribute__((__cdecl__)) exp2f(float); extern long double __attribute__((__cdecl__)) exp2l(long double); extern double __attribute__((__cdecl__)) expm1(double); extern float __attribute__((__cdecl__)) expm1f(float); extern long double __attribute__((__cdecl__)) expm1l(long double); extern float __attribute__((__cdecl__)) frexpf (float, int*); extern long double __attribute__((__cdecl__)) frexpl (long double, int*); extern int __attribute__((__cdecl__)) ilogb (double); extern int __attribute__((__cdecl__)) ilogbf (float); extern int __attribute__((__cdecl__)) ilogbl (long double); extern float __attribute__((__cdecl__)) ldexpf (float, int); extern long double __attribute__((__cdecl__)) ldexpl (long double, int); extern float __attribute__((__cdecl__)) logf (float); extern long double __attribute__((__cdecl__)) logl (long double); extern float __attribute__((__cdecl__)) log10f (float); extern long double __attribute__((__cdecl__)) log10l (long double); extern double __attribute__((__cdecl__)) log1p(double); extern float __attribute__((__cdecl__)) log1pf(float); extern long double __attribute__((__cdecl__)) log1pl(long double); extern double __attribute__((__cdecl__)) log2 (double); extern float __attribute__((__cdecl__)) log2f (float); extern long double __attribute__((__cdecl__)) log2l (long double); extern double __attribute__((__cdecl__)) logb (double); extern float __attribute__((__cdecl__)) logbf (float); extern long double __attribute__((__cdecl__)) logbl (long double); # 603 "\\MinGW\\include/math.h" 3 extern float __attribute__((__cdecl__)) modff (float, float*); extern long double __attribute__((__cdecl__)) modfl (long double, long double*); extern double __attribute__((__cdecl__)) scalbn (double, int); extern float __attribute__((__cdecl__)) scalbnf (float, int); extern long double __attribute__((__cdecl__)) scalbnl (long double, int); extern double __attribute__((__cdecl__)) scalbln (double, long); extern float __attribute__((__cdecl__)) scalblnf (float, long); extern long double __attribute__((__cdecl__)) scalblnl (long double, long); extern double __attribute__((__cdecl__)) cbrt (double); extern float __attribute__((__cdecl__)) cbrtf (float); extern long double __attribute__((__cdecl__)) cbrtl (long double); extern float __attribute__((__cdecl__)) fabsf (float x); extern long double __attribute__((__cdecl__)) fabsl (long double x); extern double __attribute__((__cdecl__)) hypot (double, double); extern float __attribute__((__cdecl__)) hypotf (float, float); extern long double __attribute__((__cdecl__)) hypotl (long double, long double); extern float __attribute__((__cdecl__)) powf (float, float); extern long double __attribute__((__cdecl__)) powl (long double, long double); extern float __attribute__((__cdecl__)) sqrtf (float); extern long double __attribute__((__cdecl__)) sqrtl (long double); extern double __attribute__((__cdecl__)) erf (double); extern float __attribute__((__cdecl__)) erff (float); extern long double __attribute__((__cdecl__)) erfl (long double); extern double __attribute__((__cdecl__)) erfc (double); extern float __attribute__((__cdecl__)) erfcf (float); extern long double __attribute__((__cdecl__)) erfcl (long double); extern double __attribute__((__cdecl__)) lgamma (double); extern float __attribute__((__cdecl__)) lgammaf (float); extern long double __attribute__((__cdecl__)) lgammal (long double); extern double __attribute__((__cdecl__)) tgamma (double); extern float __attribute__((__cdecl__)) tgammaf (float); extern long double __attribute__((__cdecl__)) tgammal (long double); extern float __attribute__((__cdecl__)) ceilf (float); extern long double __attribute__((__cdecl__)) ceill (long double); extern float __attribute__((__cdecl__)) floorf (float); extern long double __attribute__((__cdecl__)) floorl (long double); extern double __attribute__((__cdecl__)) nearbyint ( double); extern float __attribute__((__cdecl__)) nearbyintf (float); extern long double __attribute__((__cdecl__)) nearbyintl (long double); extern double __attribute__((__cdecl__)) rint (double); extern float __attribute__((__cdecl__)) rintf (float); extern long double __attribute__((__cdecl__)) rintl (long double); extern long __attribute__((__cdecl__)) lrint (double); extern long __attribute__((__cdecl__)) lrintf (float); extern long __attribute__((__cdecl__)) lrintl (long double); extern long long __attribute__((__cdecl__)) llrint (double); extern long long __attribute__((__cdecl__)) llrintf (float); extern long long __attribute__((__cdecl__)) llrintl (long double); # 771 "\\MinGW\\include/math.h" 3 extern double __attribute__((__cdecl__)) round (double); extern float __attribute__((__cdecl__)) roundf (float); extern long double __attribute__((__cdecl__)) roundl (long double); extern long __attribute__((__cdecl__)) lround (double); extern long __attribute__((__cdecl__)) lroundf (float); extern long __attribute__((__cdecl__)) lroundl (long double); extern long long __attribute__((__cdecl__)) llround (double); extern long long __attribute__((__cdecl__)) llroundf (float); extern long long __attribute__((__cdecl__)) llroundl (long double); extern double __attribute__((__cdecl__)) trunc (double); extern float __attribute__((__cdecl__)) truncf (float); extern long double __attribute__((__cdecl__)) truncl (long double); extern float __attribute__((__cdecl__)) fmodf (float, float); extern long double __attribute__((__cdecl__)) fmodl (long double, long double); extern double __attribute__((__cdecl__)) remainder (double, double); extern float __attribute__((__cdecl__)) remainderf (float, float); extern long double __attribute__((__cdecl__)) remainderl (long double, long double); extern double __attribute__((__cdecl__)) remquo(double, double, int *); extern float __attribute__((__cdecl__)) remquof(float, float, int *); extern long double __attribute__((__cdecl__)) remquol(long double, long double, int *); extern double __attribute__((__cdecl__)) copysign (double, double); extern float __attribute__((__cdecl__)) copysignf (float, float); extern long double __attribute__((__cdecl__)) copysignl (long double, long double); extern double __attribute__((__cdecl__)) nan(const char *tagp); extern float __attribute__((__cdecl__)) nanf(const char *tagp); extern long double __attribute__((__cdecl__)) nanl(const char *tagp); # 821 "\\MinGW\\include/math.h" 3 extern double __attribute__((__cdecl__)) nextafter (double, double); extern float __attribute__((__cdecl__)) nextafterf (float, float); extern long double __attribute__((__cdecl__)) nextafterl (long double, long double); extern double __attribute__((__cdecl__)) nexttoward (double, long double); extern float __attribute__((__cdecl__)) nexttowardf (float, long double); extern long double __attribute__((__cdecl__)) nexttowardl (long double, long double); extern double __attribute__((__cdecl__)) fdim (double x, double y); extern float __attribute__((__cdecl__)) fdimf (float x, float y); extern long double __attribute__((__cdecl__)) fdiml (long double x, long double y); extern double __attribute__((__cdecl__)) fmax (double, double); extern float __attribute__((__cdecl__)) fmaxf (float, float); extern long double __attribute__((__cdecl__)) fmaxl (long double, long double); extern double __attribute__((__cdecl__)) fmin (double, double); extern float __attribute__((__cdecl__)) fminf (float, float); extern long double __attribute__((__cdecl__)) fminl (long double, long double); extern double __attribute__((__cdecl__)) fma (double, double, double); extern float __attribute__((__cdecl__)) fmaf (float, float, float); extern long double __attribute__((__cdecl__)) fmal (long double, long double, long double); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_MATH_H" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/config.headers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double pi = M_PI; if (pi); ; return 0; } Found math #defines, like M_PI ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/socket.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/sys/socket.h" 1 3 4 # 15 "/usr/include/sys/socket.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 14 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 43 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/features.h" 1 3 4 # 44 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 45 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "\\MinGW\\include/stdint.h" 1 3 4 # 24 "\\MinGW\\include/stdint.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 354 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int wint_t; # 25 "\\MinGW\\include/stdint.h" 2 3 4 typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; typedef int int32_t; typedef unsigned uint32_t; typedef long long int64_t; typedef unsigned long long uint64_t; typedef signed char int_least8_t; typedef unsigned char uint_least8_t; typedef short int_least16_t; typedef unsigned short uint_least16_t; typedef int int_least32_t; typedef unsigned uint_least32_t; typedef long long int_least64_t; typedef unsigned long long uint_least64_t; typedef signed char int_fast8_t; typedef unsigned char uint_fast8_t; typedef short int_fast16_t; typedef unsigned short uint_fast16_t; typedef int int_fast32_t; typedef unsigned int uint_fast32_t; typedef long long int_fast64_t; typedef unsigned long long uint_fast64_t; # 66 "\\MinGW\\include/stdint.h" 3 4 typedef int intptr_t; # 75 "\\MinGW\\include/stdint.h" 3 4 typedef unsigned int uintptr_t; typedef long long intmax_t; typedef unsigned long long uintmax_t; # 46 "/usr/include/sys/cdefs.h" 2 3 4 # 15 "/usr/include/features.h" 2 3 4 # 16 "/usr/include/sys/socket.h" 2 3 4 # 1 "/usr/include/cygwin/socket.h" 1 3 4 # 24 "/usr/include/cygwin/socket.h" 3 4 typedef int socklen_t; typedef uint16_t sa_family_t; struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 43 "/usr/include/cygwin/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; char _ss_pad1[((sizeof (int64_t)) - sizeof (sa_family_t))]; int64_t __ss_align; char _ss_pad2[(128 - (sizeof (sa_family_t) + ((sizeof (int64_t)) - sizeof (sa_family_t)) + (sizeof (int64_t))))]; }; # 1 "/usr/include/asm/socket.h" 1 3 4 # 14 "/usr/include/asm/socket.h" 3 4 # 1 "/usr/include/cygwin/if.h" 1 3 4 # 18 "/usr/include/cygwin/if.h" 3 4 # 1 "\\MinGW\\include/sys/types.h" 1 3 4 # 15 "\\MinGW\\include/sys/types.h" 3 4 # 1 "\\MinGW\\include/_mingw.h" 1 3 4 # 32 "\\MinGW\\include/_mingw.h" 3 4 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/sys/types.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 22 "\\MinGW\\include/sys/types.h" 2 3 4 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 4 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 4 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 19 "/usr/include/cygwin/if.h" 2 3 4 # 1 "/usr/include/cygwin/socket.h" 1 3 4 # 20 "/usr/include/cygwin/if.h" 2 3 4 # 34 "/usr/include/cygwin/if.h" 3 4 struct if_nameindex { unsigned if_index; char *if_name; }; struct ifreq_frndlyname { int ifrf_len; char ifrf_friendlyname[260]; }; # 59 "/usr/include/cygwin/if.h" 3 4 struct ifreq { union { char ifrn_name[44]; } ifr_ifrn; union { struct sockaddr ifru_addr; struct sockaddr ifru_broadaddr; struct sockaddr ifru_dstaddr; struct sockaddr ifru_netmask; struct sockaddr ifru_hwaddr; int ifru_flags; int ifru_metric; int ifru_mtu; int ifru_ifindex; void *ifru_data; char __ifru_pad[28]; } ifr_ifru; }; # 101 "/usr/include/cygwin/if.h" 3 4 struct ifconf { int ifc_len; union { caddr_t ifcu_buf; struct ifreq *ifcu_req; } ifc_ifcu; }; extern unsigned if_nametoindex (const char *); extern char *if_indextoname (unsigned, char *); extern struct if_nameindex *if_nameindex (void); extern void if_freenameindex (struct if_nameindex *); # 15 "/usr/include/asm/socket.h" 2 3 4 # 52 "/usr/include/cygwin/socket.h" 2 3 4 # 1 "/usr/include/cygwin/sockios.h" 1 3 4 # 53 "/usr/include/cygwin/socket.h" 2 3 4 # 1 "/usr/include/sys/uio.h" 1 3 4 # 15 "/usr/include/sys/uio.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 16 "/usr/include/sys/uio.h" 2 3 4 struct iovec { void *iov_base; size_t iov_len; }; extern ssize_t readv (int filedes, const struct iovec *vector, int count); extern ssize_t writev (int filedes, const struct iovec *vector, int count); # 54 "/usr/include/cygwin/socket.h" 2 3 4 struct ucred { pid_t pid; uid_t uid; gid_t gid; }; struct linger { unsigned short l_onoff; unsigned short l_linger; }; struct msghdr { void * msg_name; socklen_t msg_namelen; struct iovec * msg_iov; int msg_iovlen; void * msg_control; socklen_t msg_controllen; int msg_flags; }; struct cmsghdr { socklen_t cmsg_len; int cmsg_level; int cmsg_type; }; # 17 "/usr/include/sys/socket.h" 2 3 4 # 1 "\\MinGW\\include/sys/time.h" 1 3 4 # 1 "\\MinGW\\include/time.h" 1 3 4 # 21 "\\MinGW\\include/time.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 22 "\\MinGW\\include/time.h" 2 3 4 # 71 "\\MinGW\\include/time.h" 3 4 typedef long clock_t; # 80 "\\MinGW\\include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; }; clock_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) clock (void); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) time (time_t*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) difftime (time_t, time_t); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktime (struct tm*); # 117 "\\MinGW\\include/time.h" 3 4 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) asctime (const struct tm*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ctime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gmtime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) localtime (const time_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strftime (char*, size_t, const char*, const struct tm*); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tzset (void); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tzset (void); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdate(char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strtime(char*); # 208 "\\MinGW\\include/time.h" 3 4 extern __attribute__ ((__dllimport__)) int _daylight_dll; extern __attribute__ ((__dllimport__)) long _timezone_dll; extern __attribute__ ((__dllimport__)) char* _tzname[2]; # 240 "\\MinGW\\include/time.h" 3 4 extern __attribute__ ((__dllimport__)) char *tzname[2]; # 269 "\\MinGW\\include/time.h" 3 4 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsftime (wchar_t*, size_t, const wchar_t*, const struct tm*); # 4 "\\MinGW\\include/sys/time.h" 2 3 4 struct timeval { long tv_sec; long tv_usec; }; # 26 "\\MinGW\\include/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; # 39 "\\MinGW\\include/sys/time.h" 3 4 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gettimeofday(struct timeval *__restrict__, void *__restrict__ ); # 18 "/usr/include/sys/socket.h" 2 3 4 int accept (int, struct sockaddr *__peer, socklen_t *); int accept4 (int, struct sockaddr *__peer, socklen_t *, int flags); int bind (int, const struct sockaddr *__my_addr, socklen_t __addrlen); int connect (int, const struct sockaddr *, socklen_t); int getpeername (int, struct sockaddr *__peer, socklen_t *); int getsockname (int, struct sockaddr *__addr, socklen_t *); int listen (int, int __n); ssize_t recv (int, void *__buff, size_t __len, int __flags); ssize_t recvfrom (int, void *__buff, size_t __len, int __flags, struct sockaddr *__from, socklen_t *__fromlen); ssize_t recvmsg(int s, struct msghdr *msg, int flags); ssize_t send (int, const void *__buff, size_t __len, int __flags); ssize_t sendmsg(int s, const struct msghdr *msg, int flags); ssize_t sendto (int, const void *, size_t __len, int __flags, const struct sockaddr *__to, socklen_t __tolen); int setsockopt (int __s, int __level, int __optname, const void *optval, socklen_t __optlen); int getsockopt (int __s, int __level, int __optname, void *__optval, socklen_t *__optlen); int shutdown (int, int); int socket (int __family, int __type, int __protocol); int socketpair (int __domain, int __type, int __protocol, int *__socket_vec); struct servent *getservbyname (const char *__name, const char *__proto); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SYS_SOCKET_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/types.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/sys/types.h" 1 3 # 15 "\\MinGW\\include/sys/types.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/sys/types.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SYS_TYPES_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/malloc.h" 1 3 # 18 "\\MinGW\\include/malloc.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 19 "\\MinGW\\include/malloc.h" 2 3 # 1 "\\MinGW\\include/stdlib.h" 1 3 # 21 "\\MinGW\\include/stdlib.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/stdlib.h" 2 3 # 71 "\\MinGW\\include/stdlib.h" 3 extern int _argc; extern char** _argv; # 96 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int __argc_dll; extern __attribute__ ((__dllimport__)) char** __argv_dll; # 115 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int __mb_cur_max_dll; # 137 "\\MinGW\\include/stdlib.h" 3 int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _errno(void); int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __doserrno(void); # 158 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char ** _environ_dll; # 186 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int _sys_nerr_dll; # 196 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char* _sys_errlist[]; # 243 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) unsigned int _osver_dll; extern __attribute__ ((__dllimport__)) unsigned int _winver_dll; extern __attribute__ ((__dllimport__)) unsigned int _winmajor_dll; extern __attribute__ ((__dllimport__)) unsigned int _winminor_dll; # 269 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char* _pgmptr_dll; # 295 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int _fmode_dll; double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atof (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atoi (const char*); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atol (const char*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtof (const wchar_t *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtoi (const wchar_t *); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtol (const wchar_t *); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __strtod (const char*, char**); extern double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtod (const char* __restrict__ __nptr, char** __restrict__ __endptr); float __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtof (const char * __restrict__, char ** __restrict__); long double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtold (const char * __restrict__, char ** __restrict__); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtol (const char*, char**, int); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoul (const char*, char**, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstol (const wchar_t*, wchar_t**, int); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstoul (const wchar_t*, wchar_t**, int); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstod (const wchar_t*, wchar_t**); float __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstof( const wchar_t * __restrict__, wchar_t ** __restrict__); long double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstold (const wchar_t * __restrict__, wchar_t ** __restrict__); # 345 "\\MinGW\\include/stdlib.h" 3 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstombs (char*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wctomb (char*, wchar_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mblen (const char*, size_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mbstowcs (wchar_t*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mbtowc (wchar_t*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rand (void); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) srand (unsigned int); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) calloc (size_t, size_t) __attribute__ ((__malloc__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) malloc (size_t) __attribute__ ((__malloc__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) realloc (void*, size_t); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) free (void*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) abort (void) __attribute__ ((__noreturn__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) exit (int) __attribute__ ((__noreturn__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atexit (void (*)(void)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) system (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getenv (const char*); void* __attribute__((__cdecl__)) bsearch (const void*, const void*, size_t, size_t, int (*)(const void*, const void*)); void __attribute__((__cdecl__)) qsort(void*, size_t, size_t, int (*)(const void*, const void*)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) abs (int) __attribute__ ((__const__)); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) labs (long) __attribute__ ((__const__)); # 385 "\\MinGW\\include/stdlib.h" 3 typedef struct { int quot, rem; } div_t; typedef struct { long quot, rem; } ldiv_t; div_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) div (int, int) __attribute__ ((__const__)); ldiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ldiv (long, long) __attribute__ ((__const__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _beep (unsigned int, unsigned int) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _seterrormode (int) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sleep (unsigned long) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _exit (int) __attribute__ ((__noreturn__)); typedef int (* _onexit_t)(void); _onexit_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _onexit( _onexit_t ); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _putenv (const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _searchenv (const char*, const char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ecvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fcvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _gcvt (double, int, char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _makepath (char*, const char*, const char*, const char*, const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _splitpath (const char*, char*, char*, char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fullpath (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _itoa (int, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ltoa (long, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ultoa(unsigned long, char*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _itow (int, wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ltow (long, wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ultow (unsigned long, wchar_t*, int); # 477 "\\MinGW\\include/stdlib.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) putenv (const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) searchenv (const char*, const char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) itoa (int, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ltoa (long, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ecvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fcvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gcvt (double, int, char*); # 497 "\\MinGW\\include/stdlib.h" 3 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _Exit(int) __attribute__ ((__noreturn__)); typedef struct { long long quot, rem; } lldiv_t; lldiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lldiv (long long, long long) __attribute__ ((__const__)); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) llabs(long long); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoll (const char* __restrict__, char** __restrict, int); unsigned long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoull (const char* __restrict__, char** __restrict__, int); # 21 "\\MinGW\\include/malloc.h" 2 3 typedef struct _heapinfo { int* _pentry; size_t _size; int _useflag; } _HEAPINFO; # 56 "\\MinGW\\include/malloc.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _heapwalk (_HEAPINFO*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) heapwalk (_HEAPINFO*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _heapchk (void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _heapmin (void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _heapset (unsigned int); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _msize (void*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _get_sbh_threshold (void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _set_sbh_threshold (size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _expand (void*, size_t); # 90 "\\MinGW\\include/malloc.h" 3 void * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_aligned_offset_malloc (size_t, size_t, size_t); void * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t); void * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_aligned_malloc (size_t, size_t); void * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_aligned_realloc (void*, size_t, size_t); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __mingw_aligned_free (void*); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_MALLOC_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/time.h" 1 3 # 15 "\\MinGW\\include/time.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/time.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/time.h" 2 3 # 40 "\\MinGW\\include/time.h" 3 typedef long __time32_t; typedef long long __time64_t; # 61 "\\MinGW\\include/time.h" 3 typedef __time32_t time_t; # 71 "\\MinGW\\include/time.h" 3 typedef long clock_t; # 80 "\\MinGW\\include/time.h" 3 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; }; clock_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) clock (void); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) time (time_t*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) difftime (time_t, time_t); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktime (struct tm*); # 117 "\\MinGW\\include/time.h" 3 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) asctime (const struct tm*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ctime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gmtime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) localtime (const time_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strftime (char*, size_t, const char*, const struct tm*); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tzset (void); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tzset (void); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdate(char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strtime(char*); # 208 "\\MinGW\\include/time.h" 3 extern __attribute__ ((__dllimport__)) int _daylight_dll; extern __attribute__ ((__dllimport__)) long _timezone_dll; extern __attribute__ ((__dllimport__)) char* _tzname[2]; # 240 "\\MinGW\\include/time.h" 3 extern __attribute__ ((__dllimport__)) char *tzname[2]; # 269 "\\MinGW\\include/time.h" 3 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsftime (wchar_t*, size_t, const wchar_t*, const struct tm*); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_TIME_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Direct.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/Direct.h" 1 3 # 15 "\\MinGW\\include/Direct.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/Direct.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 20 "\\MinGW\\include/Direct.h" 2 3 # 1 "\\MinGW\\include/io.h" 1 3 # 20 "\\MinGW\\include/io.h" 3 # 1 "\\MinGW\\include/sys/types.h" 1 3 # 21 "\\MinGW\\include/sys/types.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 21 "\\MinGW\\include/io.h" 2 3 # 41 "\\MinGW\\include/io.h" 3 typedef int intptr_t; typedef unsigned long _fsize_t; # 63 "\\MinGW\\include/io.h" 3 struct _finddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; char name[(260)]; }; struct _finddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; char name[(260)]; }; # 125 "\\MinGW\\include/io.h" 3 struct _wfinddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; wchar_t name[(260)]; }; struct _wfinddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; wchar_t name[(260)]; }; # 241 "\\MinGW\\include/io.h" 3 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirst (const char*, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnext (intptr_t, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findclose (intptr_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chmod (const char*, int); # 300 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chmod (const char*, int); # 335 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chsize (int, long); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _commit(int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup2 (int, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelength (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _get_osfhandle (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _isatty (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _eof (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _locking (int, int, long); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open_osfhandle (intptr_t, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _pipe (int *, unsigned int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) remove (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rename (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _write (int, const void*, unsigned int); # 441 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chsize (int, long ); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup2 (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) eof (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) filelength (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) isatty (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) write (int, const void*, unsigned int); # 23 "\\MinGW\\include/Direct.h" 2 3 # 32 "\\MinGW\\include/Direct.h" 3 struct _diskfree_t { unsigned total_clusters; unsigned avail_clusters; unsigned sectors_per_cluster; unsigned bytes_per_sector; }; int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdrive (void); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdrives(void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdrive (int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdcwd (int, char*, int); unsigned __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdiskfree (unsigned, struct _diskfree_t *); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_DIRECT_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/Ws2tcpip.h" 1 3 # 12 "\\MinGW\\include/Ws2tcpip.h" 3 # 13 "\\MinGW\\include/Ws2tcpip.h" 3 # 1 "\\MinGW\\include/winsock2.h" 1 3 # 17 "\\MinGW\\include/winsock2.h" 3 # 18 "\\MinGW\\include/winsock2.h" 3 # 1 "\\MinGW\\include/windows.h" 1 3 # 16 "\\MinGW\\include/windows.h" 3 # 17 "\\MinGW\\include/windows.h" 3 # 47 "\\MinGW\\include/windows.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stdarg.h" 1 3 4 # 40 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 102 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stdarg.h" 3 4 typedef __gnuc_va_list va_list; # 48 "\\MinGW\\include/windows.h" 2 3 # 1 "\\MinGW\\include/windef.h" 1 3 # 5 "\\MinGW\\include/windef.h" 3 # 229 "\\MinGW\\include/windef.h" 3 typedef unsigned long DWORD; typedef int WINBOOL,*PWINBOOL,*LPWINBOOL; typedef WINBOOL BOOL; typedef unsigned char BYTE; typedef BOOL *PBOOL,*LPBOOL; typedef unsigned short WORD; typedef float FLOAT; typedef FLOAT *PFLOAT; typedef BYTE *PBYTE,*LPBYTE; typedef int *PINT,*LPINT; typedef WORD *PWORD,*LPWORD; typedef long *LPLONG; typedef DWORD *PDWORD,*LPDWORD; typedef const void *PCVOID,*LPCVOID; typedef int INT; typedef unsigned int UINT,*PUINT,*LPUINT; # 1 "\\MinGW\\include/winnt.h" 1 3 # 5 "\\MinGW\\include/winnt.h" 3 # 34 "\\MinGW\\include/winnt.h" 3 # 1 "\\MinGW\\include/winerror.h" 1 3 # 5 "\\MinGW\\include/winerror.h" 3 # 35 "\\MinGW\\include/winnt.h" 2 3 # 1 "\\MinGW\\include/string.h" 1 3 # 15 "\\MinGW\\include/string.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/string.h" 2 3 # 24 "\\MinGW\\include/string.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 25 "\\MinGW\\include/string.h" 2 3 # 36 "\\MinGW\\include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memchr (const void*, int, size_t) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcmp (const void*, const void*, size_t) __attribute__ ((__pure__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcpy (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memmove (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memset (void*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcat (char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strchr (const char*, int) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmp (const char*, const char*) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcpy (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strerror (int); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlen (const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncat (char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncmp (const char*, const char*, size_t) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncpy (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strpbrk (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrchr (const char*, int) __attribute__ ((__pure__)); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strstr (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtok (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strxfrm (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strerror (const char *); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricmp (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnicmp (const char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _swab (const char*, char*, size_t); # 90 "\\MinGW\\include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricmp (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcasecmp (const char*, const char *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnicmp (const char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncasecmp (const char *, const char *, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) swab (const char*, char*, size_t); # 126 "\\MinGW\\include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscat (wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcschr (const wchar_t*, wchar_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscpy (wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscspn (const wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslen (const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncat (wchar_t*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncmp(const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncpy(wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcspbrk(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrchr(const wchar_t*, wchar_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsspn(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsstr(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstok(wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsxfrm(wchar_t*, const wchar_t*, size_t); # 152 "\\MinGW\\include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsupr (wchar_t*); # 173 "\\MinGW\\include/string.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsupr (wchar_t*); # 38 "\\MinGW\\include/winnt.h" 2 3 # 77 "\\MinGW\\include/winnt.h" 3 typedef char CHAR; typedef short SHORT; typedef long LONG; typedef char CCHAR, *PCCHAR; typedef unsigned char UCHAR,*PUCHAR; typedef unsigned short USHORT,*PUSHORT; typedef unsigned long ULONG,*PULONG; typedef char *PSZ; typedef void *PVOID,*LPVOID; typedef void* PVOID64; # 105 "\\MinGW\\include/winnt.h" 3 typedef wchar_t WCHAR; typedef WCHAR *PWCHAR,*LPWCH,*PWCH,*NWPSTR,*LPWSTR,*PWSTR; typedef const WCHAR *LPCWCH,*PCWCH,*LPCWSTR,*PCWSTR; typedef CHAR *PCHAR,*LPCH,*PCH,*NPSTR,*LPSTR,*PSTR; typedef const CHAR *LPCCH,*PCSTR,*LPCSTR; # 120 "\\MinGW\\include/winnt.h" 3 typedef CHAR TCHAR; typedef CHAR _TCHAR; typedef TCHAR TBYTE,*PTCH,*PTBYTE; typedef TCHAR *LPTCH,*PTSTR,*LPTSTR,*LP,*PTCHAR; typedef const TCHAR *LPCTSTR; # 145 "\\MinGW\\include/winnt.h" 3 typedef SHORT *PSHORT; typedef LONG *PLONG; typedef void *HANDLE; typedef HANDLE *PHANDLE,*LPHANDLE; typedef DWORD LCID; typedef PDWORD PLCID; typedef WORD LANGID; # 167 "\\MinGW\\include/winnt.h" 3 typedef long long LONGLONG; typedef unsigned long long DWORDLONG; typedef LONGLONG *PLONGLONG; typedef DWORDLONG *PDWORDLONG; typedef DWORDLONG ULONGLONG,*PULONGLONG; typedef LONGLONG USN; # 185 "\\MinGW\\include/winnt.h" 3 typedef BYTE BOOLEAN,*PBOOLEAN; typedef BYTE FCHAR; typedef WORD FSHORT; typedef DWORD FLONG; # 1 "\\MinGW\\include/basetsd.h" 1 3 # 5 "\\MinGW\\include/basetsd.h" 3 # 50 "\\MinGW\\include/basetsd.h" 3 typedef signed char INT8; typedef signed short INT16; typedef int LONG32, *PLONG32; typedef int INT32, *PINT32; typedef unsigned char UINT8; typedef unsigned short UINT16; typedef unsigned int ULONG32, *PULONG32; typedef unsigned int DWORD32, *PDWORD32; typedef unsigned int UINT32, *PUINT32; # 101 "\\MinGW\\include/basetsd.h" 3 typedef int INT_PTR, *PINT_PTR; typedef unsigned int UINT_PTR, *PUINT_PTR; typedef long LONG_PTR, *PLONG_PTR; typedef unsigned long ULONG_PTR, *PULONG_PTR; typedef unsigned short UHALF_PTR, *PUHALF_PTR; typedef short HALF_PTR, *PHALF_PTR; typedef unsigned long HANDLE_PTR; typedef ULONG_PTR SIZE_T, *PSIZE_T; typedef LONG_PTR SSIZE_T, *PSSIZE_T; typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR; typedef long long LONG64, *PLONG64; typedef long long INT64, *PINT64; typedef unsigned long long ULONG64, *PULONG64; typedef unsigned long long DWORD64, *PDWORD64; typedef unsigned long long UINT64, *PUINT64; # 193 "\\MinGW\\include/winnt.h" 2 3 # 1773 "\\MinGW\\include/winnt.h" 3 typedef DWORD ACCESS_MASK, *PACCESS_MASK; typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID, *REFGUID, *LPGUID; typedef struct _GENERIC_MAPPING { ACCESS_MASK GenericRead; ACCESS_MASK GenericWrite; ACCESS_MASK GenericExecute; ACCESS_MASK GenericAll; } GENERIC_MAPPING, *PGENERIC_MAPPING; typedef struct _ACE_HEADER { BYTE AceType; BYTE AceFlags; WORD AceSize; } ACE_HEADER, *PACE_HEADER; typedef struct _ACCESS_ALLOWED_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } ACCESS_ALLOWED_ACE, *PACCESS_ALLOWED_ACE; typedef struct _ACCESS_DENIED_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } ACCESS_DENIED_ACE, *PACCESS_DENIED_ACE; typedef struct _SYSTEM_AUDIT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } SYSTEM_AUDIT_ACE; typedef SYSTEM_AUDIT_ACE *PSYSTEM_AUDIT_ACE; typedef struct _SYSTEM_ALARM_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } SYSTEM_ALARM_ACE,*PSYSTEM_ALARM_ACE; typedef struct _ACCESS_ALLOWED_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } ACCESS_ALLOWED_OBJECT_ACE,*PACCESS_ALLOWED_OBJECT_ACE; typedef struct _ACCESS_DENIED_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } ACCESS_DENIED_OBJECT_ACE,*PACCESS_DENIED_OBJECT_ACE; typedef struct _SYSTEM_AUDIT_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } SYSTEM_AUDIT_OBJECT_ACE,*PSYSTEM_AUDIT_OBJECT_ACE; typedef struct _SYSTEM_ALARM_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } SYSTEM_ALARM_OBJECT_ACE,*PSYSTEM_ALARM_OBJECT_ACE; typedef struct _ACL { BYTE AclRevision; BYTE Sbz1; WORD AclSize; WORD AceCount; WORD Sbz2; } ACL,*PACL; typedef struct _ACL_REVISION_INFORMATION { DWORD AclRevision; } ACL_REVISION_INFORMATION; typedef struct _ACL_SIZE_INFORMATION { DWORD AceCount; DWORD AclBytesInUse; DWORD AclBytesFree; } ACL_SIZE_INFORMATION; # 1882 "\\MinGW\\include/winnt.h" 3 typedef struct _FLOATING_SAVE_AREA { DWORD ControlWord; DWORD StatusWord; DWORD TagWord; DWORD ErrorOffset; DWORD ErrorSelector; DWORD DataOffset; DWORD DataSelector; BYTE RegisterArea[80]; DWORD Cr0NpxState; } FLOATING_SAVE_AREA; typedef struct _CONTEXT { DWORD ContextFlags; DWORD Dr0; DWORD Dr1; DWORD Dr2; DWORD Dr3; DWORD Dr6; DWORD Dr7; FLOATING_SAVE_AREA FloatSave; DWORD SegGs; DWORD SegFs; DWORD SegEs; DWORD SegDs; DWORD Edi; DWORD Esi; DWORD Ebx; DWORD Edx; DWORD Ecx; DWORD Eax; DWORD Ebp; DWORD Eip; DWORD SegCs; DWORD EFlags; DWORD Esp; DWORD SegSs; BYTE ExtendedRegisters[512]; } CONTEXT; # 2401 "\\MinGW\\include/winnt.h" 3 typedef CONTEXT *PCONTEXT,*LPCONTEXT; typedef struct _EXCEPTION_RECORD { DWORD ExceptionCode; DWORD ExceptionFlags; struct _EXCEPTION_RECORD *ExceptionRecord; PVOID ExceptionAddress; DWORD NumberParameters; DWORD ExceptionInformation[15]; } EXCEPTION_RECORD,*PEXCEPTION_RECORD,*LPEXCEPTION_RECORD; typedef struct _EXCEPTION_POINTERS { PEXCEPTION_RECORD ExceptionRecord; PCONTEXT ContextRecord; } EXCEPTION_POINTERS,*PEXCEPTION_POINTERS,*LPEXCEPTION_POINTERS; typedef union _LARGE_INTEGER { struct { DWORD LowPart; LONG HighPart; } u; __extension__ struct { DWORD LowPart; LONG HighPart; }; LONGLONG QuadPart; } LARGE_INTEGER, *PLARGE_INTEGER; typedef union _ULARGE_INTEGER { struct { DWORD LowPart; DWORD HighPart; } u; __extension__ struct { DWORD LowPart; DWORD HighPart; }; ULONGLONG QuadPart; } ULARGE_INTEGER, *PULARGE_INTEGER; typedef struct _LUID { DWORD LowPart; LONG HighPart; } LUID, *PLUID; #pragma pack(push,4) typedef struct _LUID_AND_ATTRIBUTES { LUID Luid; DWORD Attributes; } LUID_AND_ATTRIBUTES, *PLUID_AND_ATTRIBUTES; #pragma pack(pop) typedef LUID_AND_ATTRIBUTES LUID_AND_ATTRIBUTES_ARRAY[1]; typedef LUID_AND_ATTRIBUTES_ARRAY *PLUID_AND_ATTRIBUTES_ARRAY; typedef struct _PRIVILEGE_SET { DWORD PrivilegeCount; DWORD Control; LUID_AND_ATTRIBUTES Privilege[1]; } PRIVILEGE_SET,*PPRIVILEGE_SET; typedef struct _SECURITY_ATTRIBUTES { DWORD nLength; LPVOID lpSecurityDescriptor; BOOL bInheritHandle; } SECURITY_ATTRIBUTES,*PSECURITY_ATTRIBUTES,*LPSECURITY_ATTRIBUTES; typedef enum _SECURITY_IMPERSONATION_LEVEL { SecurityAnonymous, SecurityIdentification, SecurityImpersonation, SecurityDelegation } SECURITY_IMPERSONATION_LEVEL,*PSECURITY_IMPERSONATION_LEVEL; typedef BOOLEAN SECURITY_CONTEXT_TRACKING_MODE,*PSECURITY_CONTEXT_TRACKING_MODE; typedef struct _SECURITY_QUALITY_OF_SERVICE { DWORD Length; SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode; BOOLEAN EffectiveOnly; } SECURITY_QUALITY_OF_SERVICE,*PSECURITY_QUALITY_OF_SERVICE; typedef PVOID PACCESS_TOKEN; typedef struct _SE_IMPERSONATION_STATE { PACCESS_TOKEN Token; BOOLEAN CopyOnOpen; BOOLEAN EffectiveOnly; SECURITY_IMPERSONATION_LEVEL Level; } SE_IMPERSONATION_STATE,*PSE_IMPERSONATION_STATE; typedef struct _SID_IDENTIFIER_AUTHORITY { BYTE Value[6]; } SID_IDENTIFIER_AUTHORITY,*PSID_IDENTIFIER_AUTHORITY,*LPSID_IDENTIFIER_AUTHORITY; typedef PVOID PSID; typedef struct _SID { BYTE Revision; BYTE SubAuthorityCount; SID_IDENTIFIER_AUTHORITY IdentifierAuthority; DWORD SubAuthority[1]; } SID, *PISID; typedef struct _SID_AND_ATTRIBUTES { PSID Sid; DWORD Attributes; } SID_AND_ATTRIBUTES, *PSID_AND_ATTRIBUTES; typedef SID_AND_ATTRIBUTES SID_AND_ATTRIBUTES_ARRAY[1]; typedef SID_AND_ATTRIBUTES_ARRAY *PSID_AND_ATTRIBUTES_ARRAY; # 2506 "\\MinGW\\include/winnt.h" 3 typedef struct _TOKEN_SOURCE { CHAR SourceName[8]; LUID SourceIdentifier; } TOKEN_SOURCE,*PTOKEN_SOURCE; typedef struct _TOKEN_CONTROL { LUID TokenId; LUID AuthenticationId; LUID ModifiedId; TOKEN_SOURCE TokenSource; } TOKEN_CONTROL,*PTOKEN_CONTROL; typedef struct _TOKEN_DEFAULT_DACL { PACL DefaultDacl; } TOKEN_DEFAULT_DACL,*PTOKEN_DEFAULT_DACL; typedef struct _TOKEN_GROUPS { DWORD GroupCount; SID_AND_ATTRIBUTES Groups[1]; } TOKEN_GROUPS,*PTOKEN_GROUPS,*LPTOKEN_GROUPS; typedef struct _TOKEN_OWNER { PSID Owner; } TOKEN_OWNER,*PTOKEN_OWNER; typedef struct _TOKEN_PRIMARY_GROUP { PSID PrimaryGroup; } TOKEN_PRIMARY_GROUP,*PTOKEN_PRIMARY_GROUP; typedef struct _TOKEN_PRIVILEGES { DWORD PrivilegeCount; LUID_AND_ATTRIBUTES Privileges[1]; } TOKEN_PRIVILEGES,*PTOKEN_PRIVILEGES,*LPTOKEN_PRIVILEGES; typedef enum tagTOKEN_TYPE { TokenPrimary = 1, TokenImpersonation } TOKEN_TYPE,*PTOKEN_TYPE; typedef struct _TOKEN_STATISTICS { LUID TokenId; LUID AuthenticationId; LARGE_INTEGER ExpirationTime; TOKEN_TYPE TokenType; SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; DWORD DynamicCharged; DWORD DynamicAvailable; DWORD GroupCount; DWORD PrivilegeCount; LUID ModifiedId; } TOKEN_STATISTICS, *PTOKEN_STATISTICS; typedef struct _TOKEN_USER { SID_AND_ATTRIBUTES User; } TOKEN_USER, *PTOKEN_USER; # 2576 "\\MinGW\\include/winnt.h" 3 typedef DWORD SECURITY_INFORMATION,*PSECURITY_INFORMATION; typedef WORD SECURITY_DESCRIPTOR_CONTROL,*PSECURITY_DESCRIPTOR_CONTROL; typedef struct _SECURITY_DESCRIPTOR { BYTE Revision; BYTE Sbz1; SECURITY_DESCRIPTOR_CONTROL Control; PSID Owner; PSID Group; PACL Sacl; PACL Dacl; } SECURITY_DESCRIPTOR, *PSECURITY_DESCRIPTOR, *PISECURITY_DESCRIPTOR; typedef enum _TOKEN_INFORMATION_CLASS { TokenUser=1, TokenGroups, TokenPrivileges, TokenOwner, TokenPrimaryGroup, TokenDefaultDacl, TokenSource, TokenType, TokenImpersonationLevel, TokenStatistics, TokenRestrictedSids, TokenSessionId, TokenGroupsAndPrivileges, TokenSessionReference, TokenSandBoxInert, TokenAuditPolicy, TokenOrigin, # 2618 "\\MinGW\\include/winnt.h" 3 MaxTokenInfoClass } TOKEN_INFORMATION_CLASS; typedef enum _SID_NAME_USE { SidTypeUser=1, SidTypeGroup, SidTypeDomain, SidTypeAlias, SidTypeWellKnownGroup, SidTypeDeletedAccount, SidTypeInvalid, SidTypeUnknown, SidTypeComputer } SID_NAME_USE,*PSID_NAME_USE; typedef struct _QUOTA_LIMITS { SIZE_T PagedPoolLimit; SIZE_T NonPagedPoolLimit; SIZE_T MinimumWorkingSetSize; SIZE_T MaximumWorkingSetSize; SIZE_T PagefileLimit; LARGE_INTEGER TimeLimit; } QUOTA_LIMITS,*PQUOTA_LIMITS; typedef struct _IO_COUNTERS { ULONGLONG ReadOperationCount; ULONGLONG WriteOperationCount; ULONGLONG OtherOperationCount; ULONGLONG ReadTransferCount; ULONGLONG WriteTransferCount; ULONGLONG OtherTransferCount; } IO_COUNTERS, *PIO_COUNTERS; typedef struct _FILE_NOTIFY_INFORMATION { DWORD NextEntryOffset; DWORD Action; DWORD FileNameLength; WCHAR FileName[1]; } FILE_NOTIFY_INFORMATION,*PFILE_NOTIFY_INFORMATION; typedef struct _TAPE_ERASE { DWORD Type; BOOLEAN Immediate; } TAPE_ERASE,*PTAPE_ERASE; typedef struct _TAPE_GET_DRIVE_PARAMETERS { BOOLEAN ECC; BOOLEAN Compression; BOOLEAN DataPadding; BOOLEAN ReportSetmarks; DWORD DefaultBlockSize; DWORD MaximumBlockSize; DWORD MinimumBlockSize; DWORD MaximumPartitionCount; DWORD FeaturesLow; DWORD FeaturesHigh; DWORD EOTWarningZoneSize; } TAPE_GET_DRIVE_PARAMETERS,*PTAPE_GET_DRIVE_PARAMETERS; typedef struct _TAPE_GET_MEDIA_PARAMETERS { LARGE_INTEGER Capacity; LARGE_INTEGER Remaining; DWORD BlockSize; DWORD PartitionCount; BOOLEAN WriteProtected; } TAPE_GET_MEDIA_PARAMETERS,*PTAPE_GET_MEDIA_PARAMETERS; typedef struct _TAPE_GET_POSITION { ULONG Type; ULONG Partition; ULONG OffsetLow; ULONG OffsetHigh; } TAPE_GET_POSITION,*PTAPE_GET_POSITION; typedef struct _TAPE_PREPARE { DWORD Operation; BOOLEAN Immediate; } TAPE_PREPARE,*PTAPE_PREPARE; typedef struct _TAPE_SET_DRIVE_PARAMETERS { BOOLEAN ECC; BOOLEAN Compression; BOOLEAN DataPadding; BOOLEAN ReportSetmarks; ULONG EOTWarningZoneSize; } TAPE_SET_DRIVE_PARAMETERS,*PTAPE_SET_DRIVE_PARAMETERS; typedef struct _TAPE_SET_MEDIA_PARAMETERS { ULONG BlockSize; } TAPE_SET_MEDIA_PARAMETERS,*PTAPE_SET_MEDIA_PARAMETERS; typedef struct _TAPE_SET_POSITION { DWORD Method; DWORD Partition; LARGE_INTEGER Offset; BOOLEAN Immediate; } TAPE_SET_POSITION,*PTAPE_SET_POSITION; typedef struct _TAPE_WRITE_MARKS { DWORD Type; DWORD Count; BOOLEAN Immediate; } TAPE_WRITE_MARKS,*PTAPE_WRITE_MARKS; typedef struct _TAPE_CREATE_PARTITION { DWORD Method; DWORD Count; DWORD Size; } TAPE_CREATE_PARTITION,*PTAPE_CREATE_PARTITION; typedef struct _MEMORY_BASIC_INFORMATION { PVOID BaseAddress; PVOID AllocationBase; DWORD AllocationProtect; DWORD RegionSize; DWORD State; DWORD Protect; DWORD Type; } MEMORY_BASIC_INFORMATION,*PMEMORY_BASIC_INFORMATION; typedef struct _MESSAGE_RESOURCE_ENTRY { WORD Length; WORD Flags; BYTE Text[1]; } MESSAGE_RESOURCE_ENTRY,*PMESSAGE_RESOURCE_ENTRY; typedef struct _MESSAGE_RESOURCE_BLOCK { DWORD LowId; DWORD HighId; DWORD OffsetToEntries; } MESSAGE_RESOURCE_BLOCK,*PMESSAGE_RESOURCE_BLOCK; typedef struct _MESSAGE_RESOURCE_DATA { DWORD NumberOfBlocks; MESSAGE_RESOURCE_BLOCK Blocks[1]; } MESSAGE_RESOURCE_DATA,*PMESSAGE_RESOURCE_DATA; typedef struct _LIST_ENTRY { struct _LIST_ENTRY *Flink; struct _LIST_ENTRY *Blink; } LIST_ENTRY,*PLIST_ENTRY; typedef struct _SINGLE_LIST_ENTRY { struct _SINGLE_LIST_ENTRY *Next; } SINGLE_LIST_ENTRY,*PSINGLE_LIST_ENTRY; typedef union _SLIST_HEADER { ULONGLONG Alignment; __extension__ struct { SINGLE_LIST_ENTRY Next; WORD Depth; WORD Sequence; } ; } SLIST_HEADER,*PSLIST_HEADER; typedef struct _RTL_CRITICAL_SECTION_DEBUG { WORD Type; WORD CreatorBackTraceIndex; struct _RTL_CRITICAL_SECTION *CriticalSection; LIST_ENTRY ProcessLocksList; DWORD EntryCount; DWORD ContentionCount; DWORD Spare[2]; } RTL_CRITICAL_SECTION_DEBUG,*PRTL_CRITICAL_SECTION_DEBUG; typedef struct _RTL_CRITICAL_SECTION { PRTL_CRITICAL_SECTION_DEBUG DebugInfo; LONG LockCount; LONG RecursionCount; HANDLE OwningThread; HANDLE LockSemaphore; DWORD Reserved; } RTL_CRITICAL_SECTION,*PRTL_CRITICAL_SECTION; typedef struct _EVENTLOGRECORD { DWORD Length; DWORD Reserved; DWORD RecordNumber; DWORD TimeGenerated; DWORD TimeWritten; DWORD EventID; WORD EventType; WORD NumStrings; WORD EventCategory; WORD ReservedFlags; DWORD ClosingRecordNumber; DWORD StringOffset; DWORD UserSidLength; DWORD UserSidOffset; DWORD DataLength; DWORD DataOffset; } EVENTLOGRECORD,*PEVENTLOGRECORD; typedef struct _OSVERSIONINFOA { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; CHAR szCSDVersion[128]; } OSVERSIONINFOA,*POSVERSIONINFOA,*LPOSVERSIONINFOA; typedef struct _OSVERSIONINFOW { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; WCHAR szCSDVersion[128]; } OSVERSIONINFOW,*POSVERSIONINFOW,*LPOSVERSIONINFOW; typedef struct _OSVERSIONINFOEXA { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; CHAR szCSDVersion[128]; WORD wServicePackMajor; WORD wServicePackMinor; WORD wSuiteMask; BYTE wProductType; BYTE wReserved; } OSVERSIONINFOEXA, *POSVERSIONINFOEXA, *LPOSVERSIONINFOEXA; typedef struct _OSVERSIONINFOEXW { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; WCHAR szCSDVersion[128]; WORD wServicePackMajor; WORD wServicePackMinor; WORD wSuiteMask; BYTE wProductType; BYTE wReserved; } OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW; #pragma pack(push,2) typedef struct _IMAGE_VXD_HEADER { WORD e32_magic; BYTE e32_border; BYTE e32_worder; DWORD e32_level; WORD e32_cpu; WORD e32_os; DWORD e32_ver; DWORD e32_mflags; DWORD e32_mpages; DWORD e32_startobj; DWORD e32_eip; DWORD e32_stackobj; DWORD e32_esp; DWORD e32_pagesize; DWORD e32_lastpagesize; DWORD e32_fixupsize; DWORD e32_fixupsum; DWORD e32_ldrsize; DWORD e32_ldrsum; DWORD e32_objtab; DWORD e32_objcnt; DWORD e32_objmap; DWORD e32_itermap; DWORD e32_rsrctab; DWORD e32_rsrccnt; DWORD e32_restab; DWORD e32_enttab; DWORD e32_dirtab; DWORD e32_dircnt; DWORD e32_fpagetab; DWORD e32_frectab; DWORD e32_impmod; DWORD e32_impmodcnt; DWORD e32_impproc; DWORD e32_pagesum; DWORD e32_datapage; DWORD e32_preload; DWORD e32_nrestab; DWORD e32_cbnrestab; DWORD e32_nressum; DWORD e32_autodata; DWORD e32_debuginfo; DWORD e32_debuglen; DWORD e32_instpreload; DWORD e32_instdemand; DWORD e32_heapsize; BYTE e32_res3[12]; DWORD e32_winresoff; DWORD e32_winreslen; WORD e32_devid; WORD e32_ddkver; } IMAGE_VXD_HEADER,*PIMAGE_VXD_HEADER; #pragma pack(pop) #pragma pack(push,4) typedef struct _IMAGE_FILE_HEADER { WORD Machine; WORD NumberOfSections; DWORD TimeDateStamp; DWORD PointerToSymbolTable; DWORD NumberOfSymbols; WORD SizeOfOptionalHeader; WORD Characteristics; } IMAGE_FILE_HEADER, *PIMAGE_FILE_HEADER; typedef struct _IMAGE_DATA_DIRECTORY { DWORD VirtualAddress; DWORD Size; } IMAGE_DATA_DIRECTORY,*PIMAGE_DATA_DIRECTORY; typedef struct _IMAGE_OPTIONAL_HEADER { WORD Magic; BYTE MajorLinkerVersion; BYTE MinorLinkerVersion; DWORD SizeOfCode; DWORD SizeOfInitializedData; DWORD SizeOfUninitializedData; DWORD AddressOfEntryPoint; DWORD BaseOfCode; DWORD BaseOfData; DWORD ImageBase; DWORD SectionAlignment; DWORD FileAlignment; WORD MajorOperatingSystemVersion; WORD MinorOperatingSystemVersion; WORD MajorImageVersion; WORD MinorImageVersion; WORD MajorSubsystemVersion; WORD MinorSubsystemVersion; DWORD Win32VersionValue; DWORD SizeOfImage; DWORD SizeOfHeaders; DWORD CheckSum; WORD Subsystem; WORD DllCharacteristics; DWORD SizeOfStackReserve; DWORD SizeOfStackCommit; DWORD SizeOfHeapReserve; DWORD SizeOfHeapCommit; DWORD LoaderFlags; DWORD NumberOfRvaAndSizes; IMAGE_DATA_DIRECTORY DataDirectory[16]; } IMAGE_OPTIONAL_HEADER32,*PIMAGE_OPTIONAL_HEADER32; typedef struct _IMAGE_OPTIONAL_HEADER64 { WORD Magic; BYTE MajorLinkerVersion; BYTE MinorLinkerVersion; DWORD SizeOfCode; DWORD SizeOfInitializedData; DWORD SizeOfUninitializedData; DWORD AddressOfEntryPoint; DWORD BaseOfCode; ULONGLONG ImageBase; DWORD SectionAlignment; DWORD FileAlignment; WORD MajorOperatingSystemVersion; WORD MinorOperatingSystemVersion; WORD MajorImageVersion; WORD MinorImageVersion; WORD MajorSubsystemVersion; WORD MinorSubsystemVersion; DWORD Win32VersionValue; DWORD SizeOfImage; DWORD SizeOfHeaders; DWORD CheckSum; WORD Subsystem; WORD DllCharacteristics; ULONGLONG SizeOfStackReserve; ULONGLONG SizeOfStackCommit; ULONGLONG SizeOfHeapReserve; ULONGLONG SizeOfHeapCommit; DWORD LoaderFlags; DWORD NumberOfRvaAndSizes; IMAGE_DATA_DIRECTORY DataDirectory[16]; } IMAGE_OPTIONAL_HEADER64,*PIMAGE_OPTIONAL_HEADER64; typedef IMAGE_OPTIONAL_HEADER32 IMAGE_OPTIONAL_HEADER; typedef PIMAGE_OPTIONAL_HEADER32 PIMAGE_OPTIONAL_HEADER; typedef struct _IMAGE_ROM_OPTIONAL_HEADER { WORD Magic; BYTE MajorLinkerVersion; BYTE MinorLinkerVersion; DWORD SizeOfCode; DWORD SizeOfInitializedData; DWORD SizeOfUninitializedData; DWORD AddressOfEntryPoint; DWORD BaseOfCode; DWORD BaseOfData; DWORD BaseOfBss; DWORD GprMask; DWORD CprMask[4]; DWORD GpValue; } IMAGE_ROM_OPTIONAL_HEADER,*PIMAGE_ROM_OPTIONAL_HEADER; #pragma pack(pop) #pragma pack(push,2) typedef struct _IMAGE_DOS_HEADER { WORD e_magic; WORD e_cblp; WORD e_cp; WORD e_crlc; WORD e_cparhdr; WORD e_minalloc; WORD e_maxalloc; WORD e_ss; WORD e_sp; WORD e_csum; WORD e_ip; WORD e_cs; WORD e_lfarlc; WORD e_ovno; WORD e_res[4]; WORD e_oemid; WORD e_oeminfo; WORD e_res2[10]; LONG e_lfanew; } IMAGE_DOS_HEADER,*PIMAGE_DOS_HEADER; typedef struct _IMAGE_OS2_HEADER { WORD ne_magic; CHAR ne_ver; CHAR ne_rev; WORD ne_enttab; WORD ne_cbenttab; LONG ne_crc; WORD ne_flags; WORD ne_autodata; WORD ne_heap; WORD ne_stack; LONG ne_csip; LONG ne_sssp; WORD ne_cseg; WORD ne_cmod; WORD ne_cbnrestab; WORD ne_segtab; WORD ne_rsrctab; WORD ne_restab; WORD ne_modtab; WORD ne_imptab; LONG ne_nrestab; WORD ne_cmovent; WORD ne_align; WORD ne_cres; BYTE ne_exetyp; BYTE ne_flagsothers; WORD ne_pretthunks; WORD ne_psegrefbytes; WORD ne_swaparea; WORD ne_expver; } IMAGE_OS2_HEADER,*PIMAGE_OS2_HEADER; #pragma pack(pop) #pragma pack(push,4) typedef struct _IMAGE_NT_HEADERS { DWORD Signature; IMAGE_FILE_HEADER FileHeader; IMAGE_OPTIONAL_HEADER32 OptionalHeader; } IMAGE_NT_HEADERS32,*PIMAGE_NT_HEADERS32; typedef struct _IMAGE_NT_HEADERS64 { DWORD Signature; IMAGE_FILE_HEADER FileHeader; IMAGE_OPTIONAL_HEADER64 OptionalHeader; } IMAGE_NT_HEADERS64,*PIMAGE_NT_HEADERS64; typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS; typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS; typedef struct _IMAGE_ROM_HEADERS { IMAGE_FILE_HEADER FileHeader; IMAGE_ROM_OPTIONAL_HEADER OptionalHeader; } IMAGE_ROM_HEADERS,*PIMAGE_ROM_HEADERS; typedef struct _IMAGE_SECTION_HEADER { BYTE Name[8]; union { DWORD PhysicalAddress; DWORD VirtualSize; } Misc; DWORD VirtualAddress; DWORD SizeOfRawData; DWORD PointerToRawData; DWORD PointerToRelocations; DWORD PointerToLinenumbers; WORD NumberOfRelocations; WORD NumberOfLinenumbers; DWORD Characteristics; } IMAGE_SECTION_HEADER,*PIMAGE_SECTION_HEADER; #pragma pack(pop) #pragma pack(push,2) typedef struct _IMAGE_SYMBOL { union { BYTE ShortName[8]; struct { DWORD Short; DWORD Long; } Name; PBYTE LongName[2]; } N; DWORD Value; SHORT SectionNumber; WORD Type; BYTE StorageClass; BYTE NumberOfAuxSymbols; } IMAGE_SYMBOL,*PIMAGE_SYMBOL; typedef union _IMAGE_AUX_SYMBOL { struct { DWORD TagIndex; Defined "HAVE_WS2TCPIP_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: endian.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/endian.h" 1 3 4 # 14 "/usr/include/endian.h" 3 4 # 1 "/usr/include/sys/config.h" 1 3 4 # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 5 "/usr/include/sys/config.h" 2 3 4 # 1 "/usr/include/sys/features.h" 1 3 4 # 6 "/usr/include/sys/config.h" 2 3 4 # 226 "/usr/include/sys/config.h" 3 4 # 1 "/usr/include/cygwin/config.h" 1 3 4 # 227 "/usr/include/sys/config.h" 2 3 4 # 15 "/usr/include/endian.h" 2 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 16 "/usr/include/endian.h" 2 3 4 # 32 "/usr/include/endian.h" 3 4 # 1 "/usr/include/byteswap.h" 1 3 4 # 18 "/usr/include/byteswap.h" 3 4 static __inline unsigned short bswap_16 (unsigned short __x) { return (__x >> 8) | (__x << 8); } static __inline unsigned int bswap_32 (unsigned int __x) { return (bswap_16 (__x & 0xffff) << 16) | (bswap_16 (__x >> 16)); } static __inline unsigned long long bswap_64 (unsigned long long __x) { return (((unsigned long long) bswap_32 (__x & 0xffffffffull)) << 32) | (bswap_32 (__x >> 32)); } # 33 "/usr/include/endian.h" 2 3 4 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_ENDIAN_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/ieeefp.h" 1 3 4 # 1 "/usr/include/_ansi.h" 1 3 4 # 15 "/usr/include/_ansi.h" 3 4 # 1 "/usr/include/newlib.h" 1 3 4 # 16 "/usr/include/_ansi.h" 2 3 4 # 1 "/usr/include/sys/config.h" 1 3 4 # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 5 "/usr/include/sys/config.h" 2 3 4 # 1 "/usr/include/sys/features.h" 1 3 4 # 6 "/usr/include/sys/config.h" 2 3 4 # 226 "/usr/include/sys/config.h" 3 4 # 1 "/usr/include/cygwin/config.h" 1 3 4 # 227 "/usr/include/sys/config.h" 2 3 4 # 17 "/usr/include/_ansi.h" 2 3 4 # 5 "/usr/include/ieeefp.h" 2 3 4 # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 7 "/usr/include/ieeefp.h" 2 3 4 # 53 "/usr/include/ieeefp.h" 3 4 typedef union { double value; struct { unsigned int fraction1:32; unsigned int fraction0:20; unsigned int exponent :11; unsigned int sign : 1; } number; struct { unsigned int function1:32; unsigned int function0:19; unsigned int quiet:1; unsigned int exponent: 11; unsigned int sign : 1; } nan; struct { unsigned long lsw; unsigned long msw; } parts; long aslong[2]; } __ieee_double_shape_type; # 125 "/usr/include/ieeefp.h" 3 4 typedef union { float value; struct { unsigned int fraction0: 7; unsigned int fraction1: 16; unsigned int exponent: 8; unsigned int sign : 1; } number; struct { unsigned int function1:16; unsigned int function0:6; unsigned int quiet:1; unsigned int exponent:8; unsigned int sign:1; } nan; long p1; } __ieee_float_shape_type; # 155 "/usr/include/ieeefp.h" 3 4 typedef int fp_rnd; fp_rnd __attribute__((__cdecl__)) fpgetround (void); fp_rnd __attribute__((__cdecl__)) fpsetround (fp_rnd); typedef int fp_except; fp_except __attribute__((__cdecl__)) fpgetmask (void); fp_except __attribute__((__cdecl__)) fpsetmask (fp_except); fp_except __attribute__((__cdecl__)) fpgetsticky (void); fp_except __attribute__((__cdecl__)) fpsetsticky (fp_except); typedef int fp_rdi; fp_rdi __attribute__((__cdecl__)) fpgetroundtoi (void); fp_rdi __attribute__((__cdecl__)) fpsetroundtoi (fp_rdi); int __attribute__((__cdecl__)) isnan (double); int __attribute__((__cdecl__)) isinf (double); int __attribute__((__cdecl__)) finite (double); int __attribute__((__cdecl__)) isnanf (float); int __attribute__((__cdecl__)) isinff (float); int __attribute__((__cdecl__)) finitef (float); # 254 "/usr/include/ieeefp.h" 3 4 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_IEEEFP_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/strings.h" 1 3 # 11 "\\MinGW\\include/strings.h" 3 # 1 "\\MinGW\\include/string.h" 1 3 # 15 "\\MinGW\\include/string.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/string.h" 2 3 # 24 "\\MinGW\\include/string.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 25 "\\MinGW\\include/string.h" 2 3 # 36 "\\MinGW\\include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memchr (const void*, int, size_t) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcmp (const void*, const void*, size_t) __attribute__ ((__pure__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcpy (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memmove (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memset (void*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcat (char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strchr (const char*, int) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmp (const char*, const char*) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcpy (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strerror (int); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlen (const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncat (char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncmp (const char*, const char*, size_t) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncpy (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strpbrk (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrchr (const char*, int) __attribute__ ((__pure__)); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strstr (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtok (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strxfrm (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strerror (const char *); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricmp (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnicmp (const char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _swab (const char*, char*, size_t); # 90 "\\MinGW\\include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricmp (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcasecmp (const char*, const char *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnicmp (const char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncasecmp (const char *, const char *, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) swab (const char*, char*, size_t); # 126 "\\MinGW\\include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscat (wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcschr (const wchar_t*, wchar_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscpy (wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscspn (const wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslen (const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncat (wchar_t*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncmp(const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncpy(wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcspbrk(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrchr(const wchar_t*, wchar_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsspn(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsstr(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstok(wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsxfrm(wchar_t*, const wchar_t*, size_t); # 152 "\\MinGW\\include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsupr (wchar_t*); # 173 "\\MinGW\\include/string.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsupr (wchar_t*); # 12 "\\MinGW\\include/strings.h" 2 3 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_STRINGS_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sched.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/sched.h" 1 3 # 115 "\\MinGW\\include/sched.h" 3 # 1 "\\MinGW\\include/errno.h" 1 3 # 15 "\\MinGW\\include/errno.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/errno.h" 2 3 # 91 "\\MinGW\\include/errno.h" 3 int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _errno(void); # 116 "\\MinGW\\include/sched.h" 2 3 # 129 "\\MinGW\\include/sched.h" 3 typedef int pid_t; enum { SCHED_OTHER = 0, SCHED_FIFO, SCHED_RR, SCHED_MIN = SCHED_OTHER, SCHED_MAX = SCHED_RR }; struct sched_param { int sched_priority; }; __attribute__((dllimport)) int __attribute__((__cdecl__)) sched_yield (void); __attribute__((dllimport)) int __attribute__((__cdecl__)) sched_get_priority_min (int policy); __attribute__((dllimport)) int __attribute__((__cdecl__)) sched_get_priority_max (int policy); __attribute__((dllimport)) int __attribute__((__cdecl__)) sched_setscheduler (pid_t pid, int policy); __attribute__((dllimport)) int __attribute__((__cdecl__)) sched_getscheduler (pid_t pid); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SCHED_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: cxxabi.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2stderr: /tmp/petsc-54YYwh/config.headers/conftest.c:3:20: fatal error: cxxabi.h: No such file or directory compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/systeminfo.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2stderr: /tmp/petsc-54YYwh/config.headers/conftest.c:3:28: fatal error: sys/systeminfo.h: No such file or directory compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/dos.h" 1 3 # 15 "\\MinGW\\include/dos.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/dos.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 20 "\\MinGW\\include/dos.h" 2 3 # 1 "\\MinGW\\include/io.h" 1 3 # 20 "\\MinGW\\include/io.h" 3 # 1 "\\MinGW\\include/sys/types.h" 1 3 # 21 "\\MinGW\\include/sys/types.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 21 "\\MinGW\\include/io.h" 2 3 # 41 "\\MinGW\\include/io.h" 3 typedef int intptr_t; typedef unsigned long _fsize_t; # 63 "\\MinGW\\include/io.h" 3 struct _finddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; char name[(260)]; }; struct _finddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; char name[(260)]; }; # 125 "\\MinGW\\include/io.h" 3 struct _wfinddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; wchar_t name[(260)]; }; struct _wfinddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; wchar_t name[(260)]; }; # 241 "\\MinGW\\include/io.h" 3 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirst (const char*, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnext (intptr_t, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findclose (intptr_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chmod (const char*, int); # 300 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chmod (const char*, int); # 335 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chsize (int, long); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _commit(int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup2 (int, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelength (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _get_osfhandle (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _isatty (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _eof (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _locking (int, int, long); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open_osfhandle (intptr_t, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _pipe (int *, unsigned int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) remove (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rename (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _write (int, const void*, unsigned int); # 441 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chsize (int, long ); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup2 (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) eof (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) filelength (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) isatty (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) write (int, const void*, unsigned int); # 24 "\\MinGW\\include/dos.h" 2 3 # 49 "\\MinGW\\include/dos.h" 3 extern __attribute__ ((__dllimport__)) unsigned int _basemajor_dll; extern __attribute__ ((__dllimport__)) unsigned int _baseminor_dll; extern __attribute__ ((__dllimport__)) unsigned int _baseversion_dll; extern __attribute__ ((__dllimport__)) unsigned int _osmajor_dll; extern __attribute__ ((__dllimport__)) unsigned int _osminor_dll; extern __attribute__ ((__dllimport__)) unsigned int _osmode_dll; # 68 "\\MinGW\\include/dos.h" 3 struct _diskfree_t { unsigned total_clusters; unsigned avail_clusters; unsigned sectors_per_cluster; unsigned bytes_per_sector; }; unsigned __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getdiskfree (unsigned, struct _diskfree_t *); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_DOS_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/WindowsX.h" 1 3 # 5 "\\MinGW\\include/WindowsX.h" 3 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_WINDOWSX_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/sysinfo.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/sys/sysinfo.h" 1 3 4 # 16 "/usr/include/sys/sysinfo.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 43 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/features.h" 1 3 4 # 44 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 45 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "\\MinGW\\include/stdint.h" 1 3 4 # 24 "\\MinGW\\include/stdint.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 354 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int wint_t; # 25 "\\MinGW\\include/stdint.h" 2 3 4 typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; typedef int int32_t; typedef unsigned uint32_t; typedef long long int64_t; typedef unsigned long long uint64_t; typedef signed char int_least8_t; typedef unsigned char uint_least8_t; typedef short int_least16_t; typedef unsigned short uint_least16_t; typedef int int_least32_t; typedef unsigned uint_least32_t; typedef long long int_least64_t; typedef unsigned long long uint_least64_t; typedef signed char int_fast8_t; typedef unsigned char uint_fast8_t; typedef short int_fast16_t; typedef unsigned short uint_fast16_t; typedef int int_fast32_t; typedef unsigned int uint_fast32_t; typedef long long int_fast64_t; typedef unsigned long long uint_fast64_t; # 66 "\\MinGW\\include/stdint.h" 3 4 typedef int intptr_t; # 75 "\\MinGW\\include/stdint.h" 3 4 typedef unsigned int uintptr_t; typedef long long intmax_t; typedef unsigned long long uintmax_t; # 46 "/usr/include/sys/cdefs.h" 2 3 4 # 17 "/usr/include/sys/sysinfo.h" 2 3 4 struct sysinfo { long uptime; unsigned long loads[3]; unsigned long totalram; unsigned long freeram; unsigned long sharedram; unsigned long bufferram; unsigned long totalswap; unsigned long freeswap; unsigned short procs; unsigned long totalhigh; unsigned long freehigh; unsigned int mem_unit; char __f[10]; }; extern int sysinfo (struct sysinfo *); extern int get_nprocs_conf (void); extern int get_nprocs (void); extern long get_phys_pages (void); extern long get_avphys_pages (void); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SYS_SYSINFO_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/wait.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/sys/wait.h" 1 3 4 # 15 "/usr/include/sys/wait.h" 3 4 # 1 "\\MinGW\\include/sys/types.h" 1 3 4 # 15 "\\MinGW\\include/sys/types.h" 3 4 # 1 "\\MinGW\\include/_mingw.h" 1 3 4 # 32 "\\MinGW\\include/_mingw.h" 3 4 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/sys/types.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 4 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 4 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 4 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 16 "/usr/include/sys/wait.h" 2 3 4 # 1 "/usr/include/sys/resource.h" 1 3 4 # 14 "/usr/include/sys/resource.h" 3 4 # 1 "\\MinGW\\include/sys/time.h" 1 3 4 # 1 "\\MinGW\\include/time.h" 1 3 4 # 21 "\\MinGW\\include/time.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 22 "\\MinGW\\include/time.h" 2 3 4 # 71 "\\MinGW\\include/time.h" 3 4 typedef long clock_t; # 80 "\\MinGW\\include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; }; clock_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) clock (void); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) time (time_t*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) difftime (time_t, time_t); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktime (struct tm*); # 117 "\\MinGW\\include/time.h" 3 4 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) asctime (const struct tm*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ctime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gmtime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) localtime (const time_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strftime (char*, size_t, const char*, const struct tm*); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tzset (void); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tzset (void); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdate(char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strtime(char*); # 208 "\\MinGW\\include/time.h" 3 4 extern __attribute__ ((__dllimport__)) int _daylight_dll; extern __attribute__ ((__dllimport__)) long _timezone_dll; extern __attribute__ ((__dllimport__)) char* _tzname[2]; # 240 "\\MinGW\\include/time.h" 3 4 extern __attribute__ ((__dllimport__)) char *tzname[2]; # 269 "\\MinGW\\include/time.h" 3 4 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsftime (wchar_t*, size_t, const wchar_t*, const struct tm*); # 4 "\\MinGW\\include/sys/time.h" 2 3 4 struct timeval { long tv_sec; long tv_usec; }; # 26 "\\MinGW\\include/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; # 39 "\\MinGW\\include/sys/time.h" 3 4 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gettimeofday(struct timeval *__restrict__, void *__restrict__ ); # 15 "/usr/include/sys/resource.h" 2 3 4 # 41 "/usr/include/sys/resource.h" 3 4 typedef unsigned long rlim_t; struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; struct rusage { struct timeval ru_utime; struct timeval ru_stime; long ru_maxrss; long ru_ixrss; long ru_idrss; long ru_isrss; long ru_minflt; long ru_majflt; long ru_nswap; long ru_inblock; long ru_oublock; long ru_msgsnd; long ru_msgrcv; long ru_nsignals; long ru_nvcsw; long ru_nivcsw; }; int getrlimit (int __resource, struct rlimit *__rlp); int setrlimit (int __resource, const struct rlimit *__rlp); int getrusage (int __who, struct rusage *__rusage); int getpriority (int which, id_t who); int setpriority (int which, id_t who, int value); # 17 "/usr/include/sys/wait.h" 2 3 4 # 1 "/usr/include/cygwin/wait.h" 1 3 4 # 18 "/usr/include/sys/wait.h" 2 3 4 # 35 "/usr/include/sys/wait.h" 3 4 typedef union { int *__int_ptr; union wait *__union_wait_ptr; } __wait_status_ptr_t __attribute__ ((__transparent_union__)); pid_t wait (__wait_status_ptr_t __status); pid_t waitpid (pid_t __pid, __wait_status_ptr_t __status, int __options); pid_t wait3 (__wait_status_ptr_t __status, int __options, struct rusage *__rusage); pid_t wait4 (pid_t __pid, __wait_status_ptr_t __status, int __options, struct rusage *__rusage); union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SYS_WAIT_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdlib.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/stdlib.h" 1 3 # 15 "\\MinGW\\include/stdlib.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/stdlib.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/stdlib.h" 2 3 # 71 "\\MinGW\\include/stdlib.h" 3 extern int _argc; extern char** _argv; # 96 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int __argc_dll; extern __attribute__ ((__dllimport__)) char** __argv_dll; # 115 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int __mb_cur_max_dll; # 137 "\\MinGW\\include/stdlib.h" 3 int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _errno(void); int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __doserrno(void); # 158 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char ** _environ_dll; # 186 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int _sys_nerr_dll; # 196 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char* _sys_errlist[]; # 243 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) unsigned int _osver_dll; extern __attribute__ ((__dllimport__)) unsigned int _winver_dll; extern __attribute__ ((__dllimport__)) unsigned int _winmajor_dll; extern __attribute__ ((__dllimport__)) unsigned int _winminor_dll; # 269 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) char* _pgmptr_dll; # 295 "\\MinGW\\include/stdlib.h" 3 extern __attribute__ ((__dllimport__)) int _fmode_dll; double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atof (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atoi (const char*); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atol (const char*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtof (const wchar_t *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtoi (const wchar_t *); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wtol (const wchar_t *); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __strtod (const char*, char**); extern double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtod (const char* __restrict__ __nptr, char** __restrict__ __endptr); float __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtof (const char * __restrict__, char ** __restrict__); long double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtold (const char * __restrict__, char ** __restrict__); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtol (const char*, char**, int); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoul (const char*, char**, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstol (const wchar_t*, wchar_t**, int); unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstoul (const wchar_t*, wchar_t**, int); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstod (const wchar_t*, wchar_t**); float __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstof( const wchar_t * __restrict__, wchar_t ** __restrict__); long double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstold (const wchar_t * __restrict__, wchar_t ** __restrict__); # 345 "\\MinGW\\include/stdlib.h" 3 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstombs (char*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wctomb (char*, wchar_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mblen (const char*, size_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mbstowcs (wchar_t*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mbtowc (wchar_t*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rand (void); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) srand (unsigned int); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) calloc (size_t, size_t) __attribute__ ((__malloc__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) malloc (size_t) __attribute__ ((__malloc__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) realloc (void*, size_t); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) free (void*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) abort (void) __attribute__ ((__noreturn__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) exit (int) __attribute__ ((__noreturn__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) atexit (void (*)(void)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) system (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getenv (const char*); void* __attribute__((__cdecl__)) bsearch (const void*, const void*, size_t, size_t, int (*)(const void*, const void*)); void __attribute__((__cdecl__)) qsort(void*, size_t, size_t, int (*)(const void*, const void*)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) abs (int) __attribute__ ((__const__)); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) labs (long) __attribute__ ((__const__)); # 385 "\\MinGW\\include/stdlib.h" 3 typedef struct { int quot, rem; } div_t; typedef struct { long quot, rem; } ldiv_t; div_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) div (int, int) __attribute__ ((__const__)); ldiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ldiv (long, long) __attribute__ ((__const__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _beep (unsigned int, unsigned int) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _seterrormode (int) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sleep (unsigned long) __attribute__ ((__deprecated__)); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _exit (int) __attribute__ ((__noreturn__)); typedef int (* _onexit_t)(void); _onexit_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _onexit( _onexit_t ); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _putenv (const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _searchenv (const char*, const char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ecvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fcvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _gcvt (double, int, char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _makepath (char*, const char*, const char*, const char*, const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _splitpath (const char*, char*, char*, char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fullpath (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _itoa (int, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ltoa (long, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ultoa(unsigned long, char*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _itow (int, wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ltow (long, wchar_t*, int); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _ultow (unsigned long, wchar_t*, int); # 477 "\\MinGW\\include/stdlib.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) putenv (const char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) searchenv (const char*, const char*, char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) itoa (int, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ltoa (long, char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ecvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fcvt (double, int, int*, int*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gcvt (double, int, char*); # 497 "\\MinGW\\include/stdlib.h" 3 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _Exit(int) __attribute__ ((__noreturn__)); typedef struct { long long quot, rem; } lldiv_t; lldiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lldiv (long long, long long) __attribute__ ((__const__)); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) llabs(long long); long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoll (const char* __restrict__, char** __restrict, int); unsigned long long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoull (const char* __restrict__, char** __restrict__, int); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_STDLIB_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pthread.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/pthread.h" 1 3 # 218 "\\MinGW\\include/pthread.h" 3 # 1 "\\MinGW\\include/time.h" 1 3 # 15 "\\MinGW\\include/time.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/time.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/time.h" 2 3 # 40 "\\MinGW\\include/time.h" 3 typedef long __time32_t; typedef long long __time64_t; # 61 "\\MinGW\\include/time.h" 3 typedef __time32_t time_t; # 71 "\\MinGW\\include/time.h" 3 typedef long clock_t; # 80 "\\MinGW\\include/time.h" 3 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; }; clock_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) clock (void); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) time (time_t*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) difftime (time_t, time_t); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktime (struct tm*); # 117 "\\MinGW\\include/time.h" 3 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) asctime (const struct tm*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ctime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gmtime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) localtime (const time_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strftime (char*, size_t, const char*, const struct tm*); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tzset (void); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tzset (void); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdate(char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strtime(char*); # 208 "\\MinGW\\include/time.h" 3 extern __attribute__ ((__dllimport__)) int _daylight_dll; extern __attribute__ ((__dllimport__)) long _timezone_dll; extern __attribute__ ((__dllimport__)) char* _tzname[2]; # 240 "\\MinGW\\include/time.h" 3 extern __attribute__ ((__dllimport__)) char *tzname[2]; # 269 "\\MinGW\\include/time.h" 3 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsftime (wchar_t*, size_t, const wchar_t*, const struct tm*); # 219 "\\MinGW\\include/pthread.h" 2 3 # 227 "\\MinGW\\include/pthread.h" 3 # 1 "\\MinGW\\include/setjmp.h" 1 3 # 33 "\\MinGW\\include/setjmp.h" 3 typedef int jmp_buf[16]; int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setjmp (jmp_buf); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) longjmp (jmp_buf, int) __attribute__ ((__noreturn__)); # 228 "\\MinGW\\include/pthread.h" 2 3 # 1 "\\MinGW\\include/limits.h" 1 3 # 229 "\\MinGW\\include/pthread.h" 2 3 enum { PTW32_FALSE = 0, PTW32_TRUE = (! PTW32_FALSE) }; # 264 "\\MinGW\\include/pthread.h" 3 # 1 "\\MinGW\\include/errno.h" 1 3 # 91 "\\MinGW\\include/errno.h" 3 int* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _errno(void); # 265 "\\MinGW\\include/pthread.h" 2 3 # 299 "\\MinGW\\include/pthread.h" 3 # 1 "\\MinGW\\include/sched.h" 1 3 # 129 "\\MinGW\\include/sched.h" 3 typedef int pid_t; enum { SCHED_OTHER = 0, SCHED_FIFO, SCHED_RR, SCHED_MIN = SCHED_OTHER, SCHED_MAX = SCHED_RR }; struct sched_param { int sched_priority; }; __attribute__((dllimport)) int __attribute__((__cdecl__)) sched_yield (void); __attribute__((dllimport)) int __attribute__((__cdecl__)) sched_get_priority_min (int policy); __attribute__((dllimport)) int __attribute__((__cdecl__)) sched_get_priority_max (int policy); __attribute__((dllimport)) int __attribute__((__cdecl__)) sched_setscheduler (pid_t pid, int policy); __attribute__((dllimport)) int __attribute__((__cdecl__)) sched_getscheduler (pid_t pid); # 300 "\\MinGW\\include/pthread.h" 2 3 # 320 "\\MinGW\\include/pthread.h" 3 struct timespec { time_t tv_sec; long tv_nsec; }; # 580 "\\MinGW\\include/pthread.h" 3 typedef struct { void * p; unsigned int x; } ptw32_handle_t; typedef ptw32_handle_t pthread_t; typedef struct pthread_attr_t_ * pthread_attr_t; typedef struct pthread_once_t_ pthread_once_t; typedef struct pthread_key_t_ * pthread_key_t; typedef struct pthread_mutex_t_ * pthread_mutex_t; typedef struct pthread_mutexattr_t_ * pthread_mutexattr_t; typedef struct pthread_cond_t_ * pthread_cond_t; typedef struct pthread_condattr_t_ * pthread_condattr_t; typedef struct pthread_rwlock_t_ * pthread_rwlock_t; typedef struct pthread_rwlockattr_t_ * pthread_rwlockattr_t; typedef struct pthread_spinlock_t_ * pthread_spinlock_t; typedef struct pthread_barrier_t_ * pthread_barrier_t; typedef struct pthread_barrierattr_t_ * pthread_barrierattr_t; # 608 "\\MinGW\\include/pthread.h" 3 enum { PTHREAD_CREATE_JOINABLE = 0, PTHREAD_CREATE_DETACHED = 1, PTHREAD_INHERIT_SCHED = 0, PTHREAD_EXPLICIT_SCHED = 1, PTHREAD_SCOPE_PROCESS = 0, PTHREAD_SCOPE_SYSTEM = 1, PTHREAD_CANCEL_ENABLE = 0, PTHREAD_CANCEL_DISABLE = 1, PTHREAD_CANCEL_ASYNCHRONOUS = 0, PTHREAD_CANCEL_DEFERRED = 1, PTHREAD_PROCESS_PRIVATE = 0, PTHREAD_PROCESS_SHARED = 1, PTHREAD_MUTEX_STALLED = 0, PTHREAD_MUTEX_ROBUST = 1, PTHREAD_BARRIER_SERIAL_THREAD = -1 }; # 677 "\\MinGW\\include/pthread.h" 3 struct pthread_once_t_ { int done; void * lock; int reserved1; int reserved2; }; # 713 "\\MinGW\\include/pthread.h" 3 enum { PTHREAD_MUTEX_FAST_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_TIMED_NP = PTHREAD_MUTEX_FAST_NP, PTHREAD_MUTEX_ADAPTIVE_NP = PTHREAD_MUTEX_FAST_NP, PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_FAST_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL }; typedef struct ptw32_cleanup_t ptw32_cleanup_t; typedef void (* __attribute__((__cdecl__)) ptw32_cleanup_callback_t)(void *); struct ptw32_cleanup_t { ptw32_cleanup_callback_t routine; void *arg; struct ptw32_cleanup_t *prev; }; # 891 "\\MinGW\\include/pthread.h" 3 __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_init (pthread_attr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_destroy (pthread_attr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_getdetachstate (const pthread_attr_t * attr, int *detachstate); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_getstackaddr (const pthread_attr_t * attr, void **stackaddr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_getstacksize (const pthread_attr_t * attr, size_t * stacksize); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_setdetachstate (pthread_attr_t * attr, int detachstate); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_setstackaddr (pthread_attr_t * attr, void *stackaddr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_setstacksize (pthread_attr_t * attr, size_t stacksize); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_getschedparam (const pthread_attr_t *attr, struct sched_param *param); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_setschedparam (pthread_attr_t *attr, const struct sched_param *param); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_setschedpolicy (pthread_attr_t *, int); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_getschedpolicy (const pthread_attr_t *, int *); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_setinheritsched(pthread_attr_t * attr, int inheritsched); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_getinheritsched(const pthread_attr_t * attr, int * inheritsched); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_setscope (pthread_attr_t *, int); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_attr_getscope (const pthread_attr_t *, int *); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_create (pthread_t * tid, const pthread_attr_t * attr, void *(*start) (void *), void *arg); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_detach (pthread_t tid); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_equal (pthread_t t1, pthread_t t2); __attribute__((dllimport)) void __attribute__((__cdecl__)) pthread_exit (void *value_ptr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_join (pthread_t thread, void **value_ptr); __attribute__((dllimport)) pthread_t __attribute__((__cdecl__)) pthread_self (void); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_cancel (pthread_t thread); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_setcancelstate (int state, int *oldstate); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_setcanceltype (int type, int *oldtype); __attribute__((dllimport)) void __attribute__((__cdecl__)) pthread_testcancel (void); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_once (pthread_once_t * once_control, void (*init_routine) (void)); __attribute__((dllimport)) ptw32_cleanup_t * __attribute__((__cdecl__)) ptw32_pop_cleanup (int execute); __attribute__((dllimport)) void __attribute__((__cdecl__)) ptw32_push_cleanup (ptw32_cleanup_t * cleanup, void (*routine) (void *), void *arg); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_key_create (pthread_key_t * key, void (*destructor) (void *)); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_key_delete (pthread_key_t key); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_setspecific (pthread_key_t key, const void *value); __attribute__((dllimport)) void * __attribute__((__cdecl__)) pthread_getspecific (pthread_key_t key); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutexattr_init (pthread_mutexattr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutexattr_destroy (pthread_mutexattr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutexattr_getpshared (const pthread_mutexattr_t * attr, int *pshared); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutexattr_setpshared (pthread_mutexattr_t * attr, int pshared); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutexattr_settype (pthread_mutexattr_t * attr, int kind); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutexattr_gettype (const pthread_mutexattr_t * attr, int *kind); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutexattr_setrobust( pthread_mutexattr_t *attr, int robust); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutexattr_getrobust( const pthread_mutexattr_t * attr, int * robust); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_barrierattr_init (pthread_barrierattr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_barrierattr_destroy (pthread_barrierattr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_barrierattr_getpshared (const pthread_barrierattr_t * attr, int *pshared); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_barrierattr_setpshared (pthread_barrierattr_t * attr, int pshared); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutex_init (pthread_mutex_t * mutex, const pthread_mutexattr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutex_destroy (pthread_mutex_t * mutex); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutex_lock (pthread_mutex_t * mutex); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutex_timedlock(pthread_mutex_t * mutex, const struct timespec *abstime); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutex_trylock (pthread_mutex_t * mutex); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutex_unlock (pthread_mutex_t * mutex); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutex_consistent (pthread_mutex_t * mutex); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_spin_init (pthread_spinlock_t * lock, int pshared); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_spin_destroy (pthread_spinlock_t * lock); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_spin_lock (pthread_spinlock_t * lock); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_spin_trylock (pthread_spinlock_t * lock); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_spin_unlock (pthread_spinlock_t * lock); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_barrier_init (pthread_barrier_t * barrier, const pthread_barrierattr_t * attr, unsigned int count); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_barrier_destroy (pthread_barrier_t * barrier); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_barrier_wait (pthread_barrier_t * barrier); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_condattr_init (pthread_condattr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_condattr_destroy (pthread_condattr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_condattr_getpshared (const pthread_condattr_t * attr, int *pshared); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_condattr_setpshared (pthread_condattr_t * attr, int pshared); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_cond_init (pthread_cond_t * cond, const pthread_condattr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_cond_destroy (pthread_cond_t * cond); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_cond_wait (pthread_cond_t * cond, pthread_mutex_t * mutex); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_cond_timedwait (pthread_cond_t * cond, pthread_mutex_t * mutex, const struct timespec *abstime); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_cond_signal (pthread_cond_t * cond); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_cond_broadcast (pthread_cond_t * cond); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_setschedparam (pthread_t thread, int policy, const struct sched_param *param); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_getschedparam (pthread_t thread, int *policy, struct sched_param *param); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_setconcurrency (int); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_getconcurrency (void); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlock_init(pthread_rwlock_t *lock, const pthread_rwlockattr_t *attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlock_destroy(pthread_rwlock_t *lock); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlock_tryrdlock(pthread_rwlock_t *); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlock_trywrlock(pthread_rwlock_t *); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlock_rdlock(pthread_rwlock_t *lock); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlock_timedrdlock(pthread_rwlock_t *lock, const struct timespec *abstime); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlock_wrlock(pthread_rwlock_t *lock); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlock_timedwrlock(pthread_rwlock_t *lock, const struct timespec *abstime); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlock_unlock(pthread_rwlock_t *lock); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlockattr_init (pthread_rwlockattr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlockattr_destroy (pthread_rwlockattr_t * attr); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * attr, int *pshared); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_rwlockattr_setpshared (pthread_rwlockattr_t * attr, int pshared); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_kill(pthread_t thread, int sig); # 1169 "\\MinGW\\include/pthread.h" 3 __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutexattr_setkind_np(pthread_mutexattr_t * attr, int kind); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_mutexattr_getkind_np(pthread_mutexattr_t * attr, int *kind); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_delay_np (struct timespec * interval); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_num_processors_np(void); __attribute__((dllimport)) unsigned long long __attribute__((__cdecl__)) pthread_getunique_np(pthread_t thread); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_win32_process_attach_np(void); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_win32_process_detach_np(void); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_win32_thread_attach_np(void); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_win32_thread_detach_np(void); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthread_win32_test_features_np(int); enum ptw32_features { PTW32_SYSTEM_INTERLOCKED_COMPARE_EXCHANGE = 0x0001, PTW32_ALERTABLE_ASYNC_CANCEL = 0x0002 }; # 1207 "\\MinGW\\include/pthread.h" 3 __attribute__((dllimport)) void * __attribute__((__cdecl__)) pthread_timechange_handler_np(void *); # 1216 "\\MinGW\\include/pthread.h" 3 __attribute__((dllimport)) void * __attribute__((__cdecl__)) pthread_getw32threadhandle_np(pthread_t thread); __attribute__((dllimport)) unsigned long __attribute__((__cdecl__)) pthread_getw32threadid_np (pthread_t thread); # 1238 "\\MinGW\\include/pthread.h" 3 __attribute__((dllimport)) int __attribute__((__cdecl__)) pthreadCancelableWait (void * waitHandle); __attribute__((dllimport)) int __attribute__((__cdecl__)) pthreadCancelableTimedWait (void * waitHandle, unsigned long timeout); # 1285 "\\MinGW\\include/pthread.h" 3 __attribute__((dllimport)) unsigned long __attribute__((__cdecl__)) ptw32_get_exception_services_code(void); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_PTHREAD_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/setjmp.h" 1 3 # 16 "\\MinGW\\include/setjmp.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 17 "\\MinGW\\include/setjmp.h" 2 3 # 33 "\\MinGW\\include/setjmp.h" 3 typedef int jmp_buf[16]; int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setjmp (jmp_buf); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) longjmp (jmp_buf, int) __attribute__ ((__noreturn__)); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SETJMP_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/utsname.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/sys/utsname.h" 1 3 4 # 18 "/usr/include/sys/utsname.h" 3 4 struct utsname { char sysname[20]; char nodename[20]; char release[20]; char version[20]; char machine[20]; }; int uname (struct utsname *); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SYS_UTSNAME_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: machine/endian.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/machine/endian.h" 1 3 4 # 1 "/usr/include/sys/config.h" 1 3 4 # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 5 "/usr/include/sys/config.h" 2 3 4 # 1 "/usr/include/sys/features.h" 1 3 4 # 6 "/usr/include/sys/config.h" 2 3 4 # 226 "/usr/include/sys/config.h" 3 4 # 1 "/usr/include/cygwin/config.h" 1 3 4 # 227 "/usr/include/sys/config.h" 2 3 4 # 4 "/usr/include/machine/endian.h" 2 3 4 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_MACHINE_ENDIAN_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: limits.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/limits.h" 1 3 # 21 "\\MinGW\\include/limits.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 22 "\\MinGW\\include/limits.h" 2 3 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_LIMITS_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/fcntl.h" 1 3 # 15 "\\MinGW\\include/fcntl.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/fcntl.h" 2 3 # 1 "\\MinGW\\include/io.h" 1 3 # 20 "\\MinGW\\include/io.h" 3 # 1 "\\MinGW\\include/sys/types.h" 1 3 # 21 "\\MinGW\\include/sys/types.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 21 "\\MinGW\\include/io.h" 2 3 # 41 "\\MinGW\\include/io.h" 3 typedef int intptr_t; typedef unsigned long _fsize_t; # 63 "\\MinGW\\include/io.h" 3 struct _finddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; char name[(260)]; }; struct _finddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; char name[(260)]; }; # 125 "\\MinGW\\include/io.h" 3 struct _wfinddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; wchar_t name[(260)]; }; struct _wfinddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; wchar_t name[(260)]; }; # 241 "\\MinGW\\include/io.h" 3 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirst (const char*, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnext (intptr_t, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findclose (intptr_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chmod (const char*, int); # 300 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chmod (const char*, int); # 335 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chsize (int, long); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _commit(int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup2 (int, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelength (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _get_osfhandle (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _isatty (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _eof (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _locking (int, int, long); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open_osfhandle (intptr_t, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _pipe (int *, unsigned int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) remove (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rename (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _write (int, const void*, unsigned int); # 441 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chsize (int, long ); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup2 (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) eof (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) filelength (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) isatty (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) write (int, const void*, unsigned int); # 21 "\\MinGW\\include/fcntl.h" 2 3 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_FCNTL_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: string.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/string.h" 1 3 # 15 "\\MinGW\\include/string.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/string.h" 2 3 # 24 "\\MinGW\\include/string.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 25 "\\MinGW\\include/string.h" 2 3 # 36 "\\MinGW\\include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memchr (const void*, int, size_t) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcmp (const void*, const void*, size_t) __attribute__ ((__pure__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcpy (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memmove (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memset (void*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcat (char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strchr (const char*, int) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmp (const char*, const char*) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcpy (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strerror (int); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlen (const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncat (char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncmp (const char*, const char*, size_t) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncpy (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strpbrk (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrchr (const char*, int) __attribute__ ((__pure__)); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strstr (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtok (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strxfrm (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strerror (const char *); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricmp (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnicmp (const char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _swab (const char*, char*, size_t); # 90 "\\MinGW\\include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricmp (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcasecmp (const char*, const char *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnicmp (const char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncasecmp (const char *, const char *, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) swab (const char*, char*, size_t); # 126 "\\MinGW\\include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscat (wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcschr (const wchar_t*, wchar_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscpy (wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscspn (const wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslen (const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncat (wchar_t*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncmp(const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncpy(wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcspbrk(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrchr(const wchar_t*, wchar_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsspn(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsstr(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstok(wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsxfrm(wchar_t*, const wchar_t*, size_t); # 152 "\\MinGW\\include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsupr (wchar_t*); # 173 "\\MinGW\\include/string.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsupr (wchar_t*); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_STRING_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/times.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/sys/times.h" 1 3 4 # 1 "/usr/include/_ansi.h" 1 3 4 # 15 "/usr/include/_ansi.h" 3 4 # 1 "/usr/include/newlib.h" 1 3 4 # 16 "/usr/include/_ansi.h" 2 3 4 # 1 "/usr/include/sys/config.h" 1 3 4 # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 5 "/usr/include/sys/config.h" 2 3 4 # 1 "/usr/include/sys/features.h" 1 3 4 # 6 "/usr/include/sys/config.h" 2 3 4 # 226 "/usr/include/sys/config.h" 3 4 # 1 "/usr/include/cygwin/config.h" 1 3 4 # 227 "/usr/include/sys/config.h" 2 3 4 # 17 "/usr/include/_ansi.h" 2 3 4 # 8 "/usr/include/sys/times.h" 2 3 4 # 1 "/usr/include/machine/types.h" 1 3 4 # 19 "/usr/include/machine/types.h" 3 4 typedef long int __off_t; typedef int __pid_t; __extension__ typedef long long int __loff_t; # 9 "/usr/include/sys/times.h" 2 3 4 typedef unsigned long clock_t; struct tms { clock_t tms_utime; clock_t tms_stime; clock_t tms_cutime; clock_t tms_cstime; }; clock_t __attribute__((__cdecl__)) times (struct tms *); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SYS_TIMES_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/io.h" 1 3 # 14 "\\MinGW\\include/io.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 15 "\\MinGW\\include/io.h" 2 3 # 1 "\\MinGW\\include/sys/types.h" 1 3 # 21 "\\MinGW\\include/sys/types.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 21 "\\MinGW\\include/io.h" 2 3 # 41 "\\MinGW\\include/io.h" 3 typedef int intptr_t; typedef unsigned long _fsize_t; # 63 "\\MinGW\\include/io.h" 3 struct _finddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; char name[(260)]; }; struct _finddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; char name[(260)]; }; # 125 "\\MinGW\\include/io.h" 3 struct _wfinddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; wchar_t name[(260)]; }; struct _wfinddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; wchar_t name[(260)]; }; # 241 "\\MinGW\\include/io.h" 3 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirst (const char*, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnext (intptr_t, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findclose (intptr_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chmod (const char*, int); # 300 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chmod (const char*, int); # 335 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chsize (int, long); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _commit(int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup2 (int, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelength (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _get_osfhandle (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _isatty (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _eof (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _locking (int, int, long); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open_osfhandle (intptr_t, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _pipe (int *, unsigned int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) remove (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rename (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _write (int, const void*, unsigned int); # 441 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chsize (int, long ); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup2 (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) eof (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) filelength (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) isatty (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) write (int, const void*, unsigned int); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_IO_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/stdint.h" 1 3 # 24 "\\MinGW\\include/stdint.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 354 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int wint_t; # 25 "\\MinGW\\include/stdint.h" 2 3 typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; typedef int int32_t; typedef unsigned uint32_t; typedef long long int64_t; typedef unsigned long long uint64_t; typedef signed char int_least8_t; typedef unsigned char uint_least8_t; typedef short int_least16_t; typedef unsigned short uint_least16_t; typedef int int_least32_t; typedef unsigned uint_least32_t; typedef long long int_least64_t; typedef unsigned long long uint_least64_t; typedef signed char int_fast8_t; typedef unsigned char uint_fast8_t; typedef short int_fast16_t; typedef unsigned short uint_fast16_t; typedef int int_fast32_t; typedef unsigned int uint_fast32_t; typedef long long int_fast64_t; typedef unsigned long long uint_fast64_t; # 66 "\\MinGW\\include/stdint.h" 3 typedef int intptr_t; # 75 "\\MinGW\\include/stdint.h" 3 typedef unsigned int uintptr_t; typedef long long intmax_t; typedef unsigned long long uintmax_t; # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_STDINT_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/pwd.h" 1 3 4 # 42 "/usr/include/pwd.h" 3 4 # 1 "\\MinGW\\include/sys/types.h" 1 3 4 # 15 "\\MinGW\\include/sys/types.h" 3 4 # 1 "\\MinGW\\include/_mingw.h" 1 3 4 # 32 "\\MinGW\\include/_mingw.h" 3 4 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/sys/types.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 4 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 4 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 4 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 43 "/usr/include/pwd.h" 2 3 4 struct passwd { char *pw_name; char *pw_passwd; uid_t pw_uid; gid_t pw_gid; char *pw_comment; char *pw_gecos; char *pw_dir; char *pw_shell; }; struct passwd *getpwuid (uid_t); struct passwd *getpwnam (const char *); int getpwnam_r (const char *, struct passwd *, char *, size_t , struct passwd **); int getpwuid_r (uid_t, struct passwd *, char *, size_t, struct passwd **); struct passwd *getpwent (void); void setpwent (void); void endpwent (void); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_PWD_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/float.h" 1 3 # 38 "\\MinGW\\include/float.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/float.h" 1 3 4 # 39 "\\MinGW\\include/float.h" 2 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 43 "\\MinGW\\include/float.h" 2 3 # 119 "\\MinGW\\include/float.h" 3 unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _controlfp (unsigned int unNew, unsigned int unMask); unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _control87 (unsigned int unNew, unsigned int unMask); unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _clearfp (void); unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _statusfp (void); # 138 "\\MinGW\\include/float.h" 3 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fpreset (void); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fpreset (void); int * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __fpecode(void); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chgsign (double); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _copysign (double, double); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _logb (double); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _nextafter (double, double); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _scalb (double, long); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _finite (double); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fpclass (double); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _isnan (double); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_FLOAT_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/param.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/sys/param.h" 1 3 # 12 "\\MinGW\\include/sys/param.h" 3 # 1 "\\MinGW\\include/sys/types.h" 1 3 # 15 "\\MinGW\\include/sys/types.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/sys/types.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 13 "\\MinGW\\include/sys/param.h" 2 3 # 1 "\\MinGW\\include/limits.h" 1 3 # 14 "\\MinGW\\include/sys/param.h" 2 3 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SYS_PARAM_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/netdb.h" 1 3 4 # 66 "/usr/include/netdb.h" 3 4 # 1 "\\MinGW\\include/inttypes.h" 1 3 4 # 1 "\\MinGW\\include/_mingw.h" 1 3 4 # 32 "\\MinGW\\include/_mingw.h" 3 4 # 33 "\\MinGW\\include/_mingw.h" 3 # 7 "\\MinGW\\include/inttypes.h" 2 3 4 # 1 "\\MinGW\\include/stdint.h" 1 3 4 # 24 "\\MinGW\\include/stdint.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 354 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int wint_t; # 25 "\\MinGW\\include/stdint.h" 2 3 4 typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; typedef int int32_t; typedef unsigned uint32_t; typedef long long int64_t; typedef unsigned long long uint64_t; typedef signed char int_least8_t; typedef unsigned char uint_least8_t; typedef short int_least16_t; typedef unsigned short uint_least16_t; typedef int int_least32_t; typedef unsigned uint_least32_t; typedef long long int_least64_t; typedef unsigned long long uint_least64_t; typedef signed char int_fast8_t; typedef unsigned char uint_fast8_t; typedef short int_fast16_t; typedef unsigned short uint_fast16_t; typedef int int_fast32_t; typedef unsigned int uint_fast32_t; typedef long long int_fast64_t; typedef unsigned long long uint_fast64_t; # 66 "\\MinGW\\include/stdint.h" 3 4 typedef int intptr_t; # 75 "\\MinGW\\include/stdint.h" 3 4 typedef unsigned int uintptr_t; typedef long long intmax_t; typedef unsigned long long uintmax_t; # 8 "\\MinGW\\include/inttypes.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 10 "\\MinGW\\include/inttypes.h" 2 3 4 typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t; # 258 "\\MinGW\\include/inttypes.h" 3 4 intmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) imaxabs (intmax_t j); imaxdiv_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) imaxdiv (intmax_t numer, intmax_t denom); intmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoimax (const char* __restrict__ nptr, char** __restrict__ endptr, int base); uintmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtoumax (const char* __restrict__ nptr, char** __restrict__ endptr, int base); intmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstoimax (const wchar_t* __restrict__ nptr, wchar_t** __restrict__ endptr, int base); uintmax_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstoumax (const wchar_t* __restrict__ nptr, wchar_t** __restrict__ endptr, int base); # 67 "/usr/include/netdb.h" 2 3 4 # 1 "/usr/include/sys/socket.h" 1 3 4 # 15 "/usr/include/sys/socket.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 14 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 43 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/features.h" 1 3 4 # 44 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 45 "/usr/include/sys/cdefs.h" 2 3 4 # 15 "/usr/include/features.h" 2 3 4 # 16 "/usr/include/sys/socket.h" 2 3 4 # 1 "/usr/include/cygwin/socket.h" 1 3 4 # 24 "/usr/include/cygwin/socket.h" 3 4 typedef int socklen_t; typedef uint16_t sa_family_t; struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 43 "/usr/include/cygwin/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; char _ss_pad1[((sizeof (int64_t)) - sizeof (sa_family_t))]; int64_t __ss_align; char _ss_pad2[(128 - (sizeof (sa_family_t) + ((sizeof (int64_t)) - sizeof (sa_family_t)) + (sizeof (int64_t))))]; }; # 1 "/usr/include/asm/socket.h" 1 3 4 # 14 "/usr/include/asm/socket.h" 3 4 # 1 "/usr/include/cygwin/if.h" 1 3 4 # 18 "/usr/include/cygwin/if.h" 3 4 # 1 "\\MinGW\\include/sys/types.h" 1 3 4 # 21 "\\MinGW\\include/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 22 "\\MinGW\\include/sys/types.h" 2 3 4 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 4 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 4 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 19 "/usr/include/cygwin/if.h" 2 3 4 # 1 "/usr/include/cygwin/socket.h" 1 3 4 # 20 "/usr/include/cygwin/if.h" 2 3 4 # 34 "/usr/include/cygwin/if.h" 3 4 struct if_nameindex { unsigned if_index; char *if_name; }; struct ifreq_frndlyname { int ifrf_len; char ifrf_friendlyname[260]; }; # 59 "/usr/include/cygwin/if.h" 3 4 struct ifreq { union { char ifrn_name[44]; } ifr_ifrn; union { struct sockaddr ifru_addr; struct sockaddr ifru_broadaddr; struct sockaddr ifru_dstaddr; struct sockaddr ifru_netmask; struct sockaddr ifru_hwaddr; int ifru_flags; int ifru_metric; int ifru_mtu; int ifru_ifindex; void *ifru_data; char __ifru_pad[28]; } ifr_ifru; }; # 101 "/usr/include/cygwin/if.h" 3 4 struct ifconf { int ifc_len; union { caddr_t ifcu_buf; struct ifreq *ifcu_req; } ifc_ifcu; }; extern unsigned if_nametoindex (const char *); extern char *if_indextoname (unsigned, char *); extern struct if_nameindex *if_nameindex (void); extern void if_freenameindex (struct if_nameindex *); # 15 "/usr/include/asm/socket.h" 2 3 4 # 52 "/usr/include/cygwin/socket.h" 2 3 4 # 1 "/usr/include/cygwin/sockios.h" 1 3 4 # 53 "/usr/include/cygwin/socket.h" 2 3 4 # 1 "/usr/include/sys/uio.h" 1 3 4 # 15 "/usr/include/sys/uio.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 16 "/usr/include/sys/uio.h" 2 3 4 struct iovec { void *iov_base; size_t iov_len; }; extern ssize_t readv (int filedes, const struct iovec *vector, int count); extern ssize_t writev (int filedes, const struct iovec *vector, int count); # 54 "/usr/include/cygwin/socket.h" 2 3 4 struct ucred { pid_t pid; uid_t uid; gid_t gid; }; struct linger { unsigned short l_onoff; unsigned short l_linger; }; struct msghdr { void * msg_name; socklen_t msg_namelen; struct iovec * msg_iov; int msg_iovlen; void * msg_control; socklen_t msg_controllen; int msg_flags; }; struct cmsghdr { socklen_t cmsg_len; int cmsg_level; int cmsg_type; }; # 17 "/usr/include/sys/socket.h" 2 3 4 # 1 "\\MinGW\\include/sys/time.h" 1 3 4 # 1 "\\MinGW\\include/time.h" 1 3 4 # 21 "\\MinGW\\include/time.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 22 "\\MinGW\\include/time.h" 2 3 4 # 71 "\\MinGW\\include/time.h" 3 4 typedef long clock_t; # 80 "\\MinGW\\include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; }; clock_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) clock (void); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) time (time_t*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) difftime (time_t, time_t); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktime (struct tm*); # 117 "\\MinGW\\include/time.h" 3 4 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) asctime (const struct tm*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ctime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gmtime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) localtime (const time_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strftime (char*, size_t, const char*, const struct tm*); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tzset (void); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tzset (void); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdate(char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strtime(char*); # 208 "\\MinGW\\include/time.h" 3 4 extern __attribute__ ((__dllimport__)) int _daylight_dll; extern __attribute__ ((__dllimport__)) long _timezone_dll; extern __attribute__ ((__dllimport__)) char* _tzname[2]; # 240 "\\MinGW\\include/time.h" 3 4 extern __attribute__ ((__dllimport__)) char *tzname[2]; # 269 "\\MinGW\\include/time.h" 3 4 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsftime (wchar_t*, size_t, const wchar_t*, const struct tm*); # 4 "\\MinGW\\include/sys/time.h" 2 3 4 struct timeval { long tv_sec; long tv_usec; }; # 26 "\\MinGW\\include/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; # 39 "\\MinGW\\include/sys/time.h" 3 4 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gettimeofday(struct timeval *__restrict__, void *__restrict__ ); # 18 "/usr/include/sys/socket.h" 2 3 4 int accept (int, struct sockaddr *__peer, socklen_t *); int accept4 (int, struct sockaddr *__peer, socklen_t *, int flags); int bind (int, const struct sockaddr *__my_addr, socklen_t __addrlen); int connect (int, const struct sockaddr *, socklen_t); int getpeername (int, struct sockaddr *__peer, socklen_t *); int getsockname (int, struct sockaddr *__addr, socklen_t *); int listen (int, int __n); ssize_t recv (int, void *__buff, size_t __len, int __flags); ssize_t recvfrom (int, void *__buff, size_t __len, int __flags, struct sockaddr *__from, socklen_t *__fromlen); ssize_t recvmsg(int s, struct msghdr *msg, int flags); ssize_t send (int, const void *__buff, size_t __len, int __flags); ssize_t sendmsg(int s, const struct msghdr *msg, int flags); ssize_t sendto (int, const void *, size_t __len, int __flags, const struct sockaddr *__to, socklen_t __tolen); int setsockopt (int __s, int __level, int __optname, const void *optval, socklen_t __optlen); int getsockopt (int __s, int __level, int __optname, void *__optval, socklen_t *__optlen); int shutdown (int, int); int socket (int __family, int __type, int __protocol); int socketpair (int __domain, int __type, int __protocol, int *__socket_vec); struct servent *getservbyname (const char *__name, const char *__proto); # 68 "/usr/include/netdb.h" 2 3 4 # 1 "/usr/include/netinet/in.h" 1 3 4 # 14 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/include/cygwin/in.h" 1 3 4 # 23 "/usr/include/cygwin/in.h" 3 4 typedef uint16_t in_port_t; typedef uint32_t in_addr_t; enum { IPPROTO_IP = 0, IPPROTO_HOPOPTS = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_IPV6 = 41, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_RAW = 255, IPPROTO_MAX }; # 76 "/usr/include/cygwin/in.h" 3 4 enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; struct in_addr { in_addr_t s_addr; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_sourceaddr; struct in_addr imr_interface; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct in_pktinfo { struct in_addr ipi_addr; uint32_t ipi_ifindex; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char __pad[16 - sizeof(short int) - sizeof(unsigned short int) - sizeof(struct in_addr)]; }; # 256 "/usr/include/cygwin/in.h" 3 4 # 1 "/usr/include/asm/byteorder.h" 1 3 4 # 14 "/usr/include/asm/byteorder.h" 3 4 # 1 "/usr/include/_ansi.h" 1 3 4 # 15 "/usr/include/_ansi.h" 3 4 # 1 "/usr/include/newlib.h" 1 3 4 # 16 "/usr/include/_ansi.h" 2 3 4 # 1 "/usr/include/sys/config.h" 1 3 4 # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 5 "/usr/include/sys/config.h" 2 3 4 # 226 "/usr/include/sys/config.h" 3 4 # 1 "/usr/include/cygwin/config.h" 1 3 4 # 227 "/usr/include/sys/config.h" 2 3 4 # 17 "/usr/include/_ansi.h" 2 3 4 # 15 "/usr/include/asm/byteorder.h" 2 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 17 "/usr/include/asm/byteorder.h" 2 3 4 # 26 "/usr/include/asm/byteorder.h" 3 4 extern uint32_t ntohl(uint32_t); extern uint16_t ntohs(uint16_t); extern uint32_t htonl(uint32_t); extern uint16_t htons(uint16_t); extern __inline__ __attribute__ ((__always_inline__)) uint32_t __ntohl(uint32_t); extern __inline__ __attribute__ ((__always_inline__)) uint16_t __ntohs(uint16_t); extern __inline__ __attribute__ ((__always_inline__)) uint32_t __ntohl(uint32_t x) { __asm__("bswap %0" : "=r" (x) : "0" (x)); return x; } extern __inline__ __attribute__ ((__always_inline__)) uint16_t __ntohs(uint16_t x) { __asm__("xchgb %b0,%h0" : "=Q" (x) : "0" (x)); return x; } # 257 "/usr/include/cygwin/in.h" 2 3 4 # 267 "/usr/include/cygwin/in.h" 3 4 # 1 "/usr/include/cygwin/in6.h" 1 3 4 # 75 "/usr/include/cygwin/in6.h" 3 4 struct in6_addr { union { uint8_t __s6_addr[16]; uint16_t __s6_addr16[8]; uint32_t __s6_addr32[4]; } __u6; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; uint32_t ipv6mr_interface; }; struct in6_pktinfo { struct in6_addr ipi6_addr; uint32_t ipi6_ifindex; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 268 "/usr/include/cygwin/in.h" 2 3 4 # 15 "/usr/include/netinet/in.h" 2 3 4 extern int bindresvport (int, struct sockaddr_in *); extern int bindresvport_sa (int, struct sockaddr *); # 70 "/usr/include/netdb.h" 2 3 4 # 79 "/usr/include/netdb.h" 3 4 struct hostent { const char *h_name; char **h_aliases; short h_addrtype; short h_length; char **h_addr_list; }; struct netent { char *n_name; char **n_aliases; short n_addrtype; uint32_t n_net; }; struct servent { char *s_name; char **s_aliases; short s_port; char *s_proto; }; struct protoent { char *p_name; char **p_aliases; short p_proto; }; struct rpcent { char *r_name; char **r_aliases; int r_number; }; struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; socklen_t ai_addrlen; char *ai_canonname; struct sockaddr *ai_addr; struct addrinfo *ai_next; }; # 141 "/usr/include/netdb.h" 3 4 extern __attribute__((dllimport)) int h_errno; # 189 "/usr/include/netdb.h" 3 4 void endhostent (void); void endnetent (void); void endprotoent (void); void endservent (void); void endrpcent (void); struct hostent *gethostbyaddr (const char *, int, int); struct hostent *gethostbyname (const char *); struct hostent *gethostbyname2 (const char *, int); struct hostent *gethostent (void); struct netent *getnetbyaddr (long, int); struct netent *getnetbyname (const char *); struct netent *getnetent (void); struct protoent *getprotobyname (const char *); struct protoent *getprotobynumber (int); struct protoent *getprotoent (void); struct servent *getservbyname (const char *, const char *); struct servent *getservbyport (int, const char *); struct servent *getservent (void); struct rpcent *getrpcent (void); struct rpcent *getrpcbyname (const char *); struct rpcent *getrpcbynumber (int); const char *hstrerror (int); void herror (const char *); void sethostent (int); void setnetent (int); void setprotoent (int); void setservent (int); void setrpcent (int); void freeaddrinfo (struct addrinfo *); const char *gai_strerror (int); int getaddrinfo (const char *, const char *, const struct addrinfo *, struct addrinfo **); int getnameinfo (const struct sockaddr *, socklen_t, char *, socklen_t, char *, socklen_t, int); int rcmd (char **, uint16_t, const char *, const char *, const char *, int *); int rcmd_af (char **, uint16_t, const char *, const char *, const char *, int *, int); int rexec (char **, uint16_t rport, char *, char *, char *, int *); int rresvport (int *); int rresvport_af (int *, int); int iruserok (unsigned long, int, const char *, const char *); int iruserok_sa (const void *, int, int, const char *, const char *); int ruserok (const char *, int, const char *, const char *); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_NETDB_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: search.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/search.h" 1 3 # 27 "\\MinGW\\include/search.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 28 "\\MinGW\\include/search.h" 2 3 # 36 "\\MinGW\\include/search.h" 3 typedef unsigned int size_t; void* __attribute__((__cdecl__)) bsearch (const void*, const void*, size_t, size_t, int (*)(const void*, const void*)); void __attribute__((__cdecl__)) qsort (void*, size_t, size_t, int (*)(const void*, const void*)); void* __attribute__((__cdecl__)) _lfind (const void*, const void*, unsigned int*, unsigned int, int (*)(const void*, const void*)); void* __attribute__((__cdecl__)) _lsearch (const void*, void*, unsigned int*, unsigned int, int (*)(const void*, const void*)); # 58 "\\MinGW\\include/search.h" 3 typedef struct entry { char *key; void *data; } ENTRY; typedef enum { FIND, ENTER } ACTION; typedef enum { preorder, postorder, endorder, leaf } VISIT; # 82 "\\MinGW\\include/search.h" 3 void * __attribute__((__cdecl__)) tdelete (const void * __restrict__, void ** __restrict__, int (*)(const void *, const void *)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__nonnull__ (3))); void * __attribute__((__cdecl__)) tfind (const void *, void * const *, int (*)(const void *, const void *)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__nonnull__ (3))); void * __attribute__((__cdecl__)) tsearch (const void *, void **, int (*)(const void *, const void *)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__nonnull__ (3))); void __attribute__((__cdecl__)) twalk (const void *, void (*)(const void *, VISIT, int)); void* __attribute__((__cdecl__)) lfind (const void*, const void*, unsigned int*, unsigned int, int (*)(const void*, const void*)); void* __attribute__((__cdecl__)) lsearch (const void*, void*, unsigned int*, unsigned int, int (*)(const void*, const void*)); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SEARCH_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: mathimf.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2stderr: /tmp/petsc-54YYwh/config.headers/conftest.c:3:21: fatal error: mathimf.h: No such file or directory compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/procfs.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/sys/procfs.h" 1 3 4 # 16 "/usr/include/sys/procfs.h" 3 4 # 1 "/usr/include/cygwin/core_dump.h" 1 3 4 # 16 "/usr/include/cygwin/core_dump.h" 3 4 # 1 "\\MinGW\\include/windows.h" 1 3 4 # 16 "\\MinGW\\include/windows.h" 3 4 # 17 "\\MinGW\\include/windows.h" 3 # 47 "\\MinGW\\include/windows.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stdarg.h" 1 3 4 # 40 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 102 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stdarg.h" 3 4 typedef __gnuc_va_list va_list; # 48 "\\MinGW\\include/windows.h" 2 3 # 1 "\\MinGW\\include/windef.h" 1 3 # 5 "\\MinGW\\include/windef.h" 3 # 229 "\\MinGW\\include/windef.h" 3 typedef unsigned long DWORD; typedef int WINBOOL,*PWINBOOL,*LPWINBOOL; typedef WINBOOL BOOL; typedef unsigned char BYTE; typedef BOOL *PBOOL,*LPBOOL; typedef unsigned short WORD; typedef float FLOAT; typedef FLOAT *PFLOAT; typedef BYTE *PBYTE,*LPBYTE; typedef int *PINT,*LPINT; typedef WORD *PWORD,*LPWORD; typedef long *LPLONG; typedef DWORD *PDWORD,*LPDWORD; typedef const void *PCVOID,*LPCVOID; typedef int INT; typedef unsigned int UINT,*PUINT,*LPUINT; # 1 "\\MinGW\\include/winnt.h" 1 3 # 5 "\\MinGW\\include/winnt.h" 3 # 34 "\\MinGW\\include/winnt.h" 3 # 1 "\\MinGW\\include/winerror.h" 1 3 # 5 "\\MinGW\\include/winerror.h" 3 # 35 "\\MinGW\\include/winnt.h" 2 3 # 1 "\\MinGW\\include/string.h" 1 3 # 15 "\\MinGW\\include/string.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/string.h" 2 3 # 24 "\\MinGW\\include/string.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 25 "\\MinGW\\include/string.h" 2 3 # 36 "\\MinGW\\include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memchr (const void*, int, size_t) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcmp (const void*, const void*, size_t) __attribute__ ((__pure__)); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memcpy (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memmove (void*, const void*, size_t); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memset (void*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcat (char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strchr (const char*, int) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmp (const char*, const char*) __attribute__ ((__pure__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcpy (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strerror (int); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlen (const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncat (char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncmp (const char*, const char*, size_t) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncpy (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strpbrk (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrchr (const char*, int) __attribute__ ((__pure__)); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strspn (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strstr (const char*, const char*) __attribute__ ((__pure__)); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtok (char*, const char*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strxfrm (char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strerror (const char *); void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricmp (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnicmp (const char*, const char*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _swab (const char*, char*, size_t); # 90 "\\MinGW\\include/string.h" 3 void* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memccpy (void*, const void*, int, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) memicmp (const void*, const void*, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strdup (const char*) __attribute__ ((__malloc__)); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcmpi (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricmp (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strcasecmp (const char*, const char *); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) stricoll (const char*, const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strlwr (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnicmp (const char*, const char*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strncasecmp (const char *, const char *, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strnset (char*, int, size_t); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strrev (char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strset (char*, int); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strupr (char*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) swab (const char*, char*, size_t); # 126 "\\MinGW\\include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscat (wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcschr (const wchar_t*, wchar_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscpy (wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscspn (const wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslen (const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncat (wchar_t*, const wchar_t*, size_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncmp(const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsncpy(wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcspbrk(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrchr(const wchar_t*, wchar_t); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsspn(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsstr(const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcstok(wchar_t*, const wchar_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsxfrm(wchar_t*, const wchar_t*, size_t); # 152 "\\MinGW\\include/string.h" 3 wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _wcsupr (wchar_t*); # 173 "\\MinGW\\include/string.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsdup (const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicmp (const wchar_t*, const wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsicoll (const wchar_t*, const wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcslwr (wchar_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnicmp (const wchar_t*, const wchar_t*, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsnset (wchar_t*, wchar_t, size_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsrev (wchar_t*); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsset (wchar_t*, wchar_t); wchar_t* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsupr (wchar_t*); # 38 "\\MinGW\\include/winnt.h" 2 3 # 77 "\\MinGW\\include/winnt.h" 3 typedef char CHAR; typedef short SHORT; typedef long LONG; typedef char CCHAR, *PCCHAR; typedef unsigned char UCHAR,*PUCHAR; typedef unsigned short USHORT,*PUSHORT; typedef unsigned long ULONG,*PULONG; typedef char *PSZ; typedef void *PVOID,*LPVOID; typedef void* PVOID64; # 105 "\\MinGW\\include/winnt.h" 3 typedef wchar_t WCHAR; typedef WCHAR *PWCHAR,*LPWCH,*PWCH,*NWPSTR,*LPWSTR,*PWSTR; typedef const WCHAR *LPCWCH,*PCWCH,*LPCWSTR,*PCWSTR; typedef CHAR *PCHAR,*LPCH,*PCH,*NPSTR,*LPSTR,*PSTR; typedef const CHAR *LPCCH,*PCSTR,*LPCSTR; # 120 "\\MinGW\\include/winnt.h" 3 typedef CHAR TCHAR; typedef CHAR _TCHAR; typedef TCHAR TBYTE,*PTCH,*PTBYTE; typedef TCHAR *LPTCH,*PTSTR,*LPTSTR,*LP,*PTCHAR; typedef const TCHAR *LPCTSTR; # 145 "\\MinGW\\include/winnt.h" 3 typedef SHORT *PSHORT; typedef LONG *PLONG; typedef void *HANDLE; typedef HANDLE *PHANDLE,*LPHANDLE; typedef DWORD LCID; typedef PDWORD PLCID; typedef WORD LANGID; # 167 "\\MinGW\\include/winnt.h" 3 typedef long long LONGLONG; typedef unsigned long long DWORDLONG; typedef LONGLONG *PLONGLONG; typedef DWORDLONG *PDWORDLONG; typedef DWORDLONG ULONGLONG,*PULONGLONG; typedef LONGLONG USN; # 185 "\\MinGW\\include/winnt.h" 3 typedef BYTE BOOLEAN,*PBOOLEAN; typedef BYTE FCHAR; typedef WORD FSHORT; typedef DWORD FLONG; # 1 "\\MinGW\\include/basetsd.h" 1 3 # 5 "\\MinGW\\include/basetsd.h" 3 # 50 "\\MinGW\\include/basetsd.h" 3 typedef signed char INT8; typedef signed short INT16; typedef int LONG32, *PLONG32; typedef int INT32, *PINT32; typedef unsigned char UINT8; typedef unsigned short UINT16; typedef unsigned int ULONG32, *PULONG32; typedef unsigned int DWORD32, *PDWORD32; typedef unsigned int UINT32, *PUINT32; # 101 "\\MinGW\\include/basetsd.h" 3 typedef int INT_PTR, *PINT_PTR; typedef unsigned int UINT_PTR, *PUINT_PTR; typedef long LONG_PTR, *PLONG_PTR; typedef unsigned long ULONG_PTR, *PULONG_PTR; typedef unsigned short UHALF_PTR, *PUHALF_PTR; typedef short HALF_PTR, *PHALF_PTR; typedef unsigned long HANDLE_PTR; typedef ULONG_PTR SIZE_T, *PSIZE_T; typedef LONG_PTR SSIZE_T, *PSSIZE_T; typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR; typedef long long LONG64, *PLONG64; typedef long long INT64, *PINT64; typedef unsigned long long ULONG64, *PULONG64; typedef unsigned long long DWORD64, *PDWORD64; typedef unsigned long long UINT64, *PUINT64; # 193 "\\MinGW\\include/winnt.h" 2 3 # 1773 "\\MinGW\\include/winnt.h" 3 typedef DWORD ACCESS_MASK, *PACCESS_MASK; typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID, *REFGUID, *LPGUID; typedef struct _GENERIC_MAPPING { ACCESS_MASK GenericRead; ACCESS_MASK GenericWrite; ACCESS_MASK GenericExecute; ACCESS_MASK GenericAll; } GENERIC_MAPPING, *PGENERIC_MAPPING; typedef struct _ACE_HEADER { BYTE AceType; BYTE AceFlags; WORD AceSize; } ACE_HEADER, *PACE_HEADER; typedef struct _ACCESS_ALLOWED_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } ACCESS_ALLOWED_ACE, *PACCESS_ALLOWED_ACE; typedef struct _ACCESS_DENIED_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } ACCESS_DENIED_ACE, *PACCESS_DENIED_ACE; typedef struct _SYSTEM_AUDIT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } SYSTEM_AUDIT_ACE; typedef SYSTEM_AUDIT_ACE *PSYSTEM_AUDIT_ACE; typedef struct _SYSTEM_ALARM_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD SidStart; } SYSTEM_ALARM_ACE,*PSYSTEM_ALARM_ACE; typedef struct _ACCESS_ALLOWED_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } ACCESS_ALLOWED_OBJECT_ACE,*PACCESS_ALLOWED_OBJECT_ACE; typedef struct _ACCESS_DENIED_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } ACCESS_DENIED_OBJECT_ACE,*PACCESS_DENIED_OBJECT_ACE; typedef struct _SYSTEM_AUDIT_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } SYSTEM_AUDIT_OBJECT_ACE,*PSYSTEM_AUDIT_OBJECT_ACE; typedef struct _SYSTEM_ALARM_OBJECT_ACE { ACE_HEADER Header; ACCESS_MASK Mask; DWORD Flags; GUID ObjectType; GUID InheritedObjectType; DWORD SidStart; } SYSTEM_ALARM_OBJECT_ACE,*PSYSTEM_ALARM_OBJECT_ACE; typedef struct _ACL { BYTE AclRevision; BYTE Sbz1; WORD AclSize; WORD AceCount; WORD Sbz2; } ACL,*PACL; typedef struct _ACL_REVISION_INFORMATION { DWORD AclRevision; } ACL_REVISION_INFORMATION; typedef struct _ACL_SIZE_INFORMATION { DWORD AceCount; DWORD AclBytesInUse; DWORD AclBytesFree; } ACL_SIZE_INFORMATION; # 1882 "\\MinGW\\include/winnt.h" 3 typedef struct _FLOATING_SAVE_AREA { DWORD ControlWord; DWORD StatusWord; DWORD TagWord; DWORD ErrorOffset; DWORD ErrorSelector; DWORD DataOffset; DWORD DataSelector; BYTE RegisterArea[80]; DWORD Cr0NpxState; } FLOATING_SAVE_AREA; typedef struct _CONTEXT { DWORD ContextFlags; DWORD Dr0; DWORD Dr1; DWORD Dr2; DWORD Dr3; DWORD Dr6; DWORD Dr7; FLOATING_SAVE_AREA FloatSave; DWORD SegGs; DWORD SegFs; DWORD SegEs; DWORD SegDs; DWORD Edi; DWORD Esi; DWORD Ebx; DWORD Edx; DWORD Ecx; DWORD Eax; DWORD Ebp; DWORD Eip; DWORD SegCs; DWORD EFlags; DWORD Esp; DWORD SegSs; BYTE ExtendedRegisters[512]; } CONTEXT; # 2401 "\\MinGW\\include/winnt.h" 3 typedef CONTEXT *PCONTEXT,*LPCONTEXT; typedef struct _EXCEPTION_RECORD { DWORD ExceptionCode; DWORD ExceptionFlags; struct _EXCEPTION_RECORD *ExceptionRecord; PVOID ExceptionAddress; DWORD NumberParameters; DWORD ExceptionInformation[15]; } EXCEPTION_RECORD,*PEXCEPTION_RECORD,*LPEXCEPTION_RECORD; typedef struct _EXCEPTION_POINTERS { PEXCEPTION_RECORD ExceptionRecord; PCONTEXT ContextRecord; } EXCEPTION_POINTERS,*PEXCEPTION_POINTERS,*LPEXCEPTION_POINTERS; typedef union _LARGE_INTEGER { struct { DWORD LowPart; LONG HighPart; } u; __extension__ struct { DWORD LowPart; LONG HighPart; }; LONGLONG QuadPart; } LARGE_INTEGER, *PLARGE_INTEGER; typedef union _ULARGE_INTEGER { struct { DWORD LowPart; DWORD HighPart; } u; __extension__ struct { DWORD LowPart; DWORD HighPart; }; ULONGLONG QuadPart; } ULARGE_INTEGER, *PULARGE_INTEGER; typedef struct _LUID { DWORD LowPart; LONG HighPart; } LUID, *PLUID; #pragma pack(push,4) typedef struct _LUID_AND_ATTRIBUTES { LUID Luid; DWORD Attributes; } LUID_AND_ATTRIBUTES, *PLUID_AND_ATTRIBUTES; #pragma pack(pop) typedef LUID_AND_ATTRIBUTES LUID_AND_ATTRIBUTES_ARRAY[1]; typedef LUID_AND_ATTRIBUTES_ARRAY *PLUID_AND_ATTRIBUTES_ARRAY; typedef struct _PRIVILEGE_SET { DWORD PrivilegeCount; DWORD Control; LUID_AND_ATTRIBUTES Privilege[1]; } PRIVILEGE_SET,*PPRIVILEGE_SET; typedef struct _SECURITY_ATTRIBUTES { DWORD nLength; LPVOID lpSecurityDescriptor; BOOL bInheritHandle; } SECURITY_ATTRIBUTES,*PSECURITY_ATTRIBUTES,*LPSECURITY_ATTRIBUTES; typedef enum _SECURITY_IMPERSONATION_LEVEL { SecurityAnonymous, SecurityIdentification, SecurityImpersonation, SecurityDelegation } SECURITY_IMPERSONATION_LEVEL,*PSECURITY_IMPERSONATION_LEVEL; typedef BOOLEAN SECURITY_CONTEXT_TRACKING_MODE,*PSECURITY_CONTEXT_TRACKING_MODE; typedef struct _SECURITY_QUALITY_OF_SERVICE { DWORD Length; SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode; BOOLEAN EffectiveOnly; } SECURITY_QUALITY_OF_SERVICE,*PSECURITY_QUALITY_OF_SERVICE; typedef PVOID PACCESS_TOKEN; typedef struct _SE_IMPERSONATION_STATE { PACCESS_TOKEN Token; BOOLEAN CopyOnOpen; BOOLEAN EffectiveOnly; SECURITY_IMPERSONATION_LEVEL Level; } SE_IMPERSONATION_STATE,*PSE_IMPERSONATION_STATE; typedef struct _SID_IDENTIFIER_AUTHORITY { BYTE Value[6]; } SID_IDENTIFIER_AUTHORITY,*PSID_IDENTIFIER_AUTHORITY,*LPSID_IDENTIFIER_AUTHORITY; typedef PVOID PSID; typedef struct _SID { BYTE Revision; BYTE SubAuthorityCount; SID_IDENTIFIER_AUTHORITY IdentifierAuthority; DWORD SubAuthority[1]; } SID, *PISID; typedef struct _SID_AND_ATTRIBUTES { PSID Sid; DWORD Attributes; } SID_AND_ATTRIBUTES, *PSID_AND_ATTRIBUTES; typedef SID_AND_ATTRIBUTES SID_AND_ATTRIBUTES_ARRAY[1]; typedef SID_AND_ATTRIBUTES_ARRAY *PSID_AND_ATTRIBUTES_ARRAY; # 2506 "\\MinGW\\include/winnt.h" 3 typedef struct _TOKEN_SOURCE { CHAR SourceName[8]; LUID SourceIdentifier; } TOKEN_SOURCE,*PTOKEN_SOURCE; typedef struct _TOKEN_CONTROL { LUID TokenId; LUID AuthenticationId; LUID ModifiedId; TOKEN_SOURCE TokenSource; } TOKEN_CONTROL,*PTOKEN_CONTROL; typedef struct _TOKEN_DEFAULT_DACL { PACL DefaultDacl; } TOKEN_DEFAULT_DACL,*PTOKEN_DEFAULT_DACL; typedef struct _TOKEN_GROUPS { DWORD GroupCount; SID_AND_ATTRIBUTES Groups[1]; } TOKEN_GROUPS,*PTOKEN_GROUPS,*LPTOKEN_GROUPS; typedef struct _TOKEN_OWNER { PSID Owner; } TOKEN_OWNER,*PTOKEN_OWNER; typedef struct _TOKEN_PRIMARY_GROUP { PSID PrimaryGroup; } TOKEN_PRIMARY_GROUP,*PTOKEN_PRIMARY_GROUP; typedef struct _TOKEN_PRIVILEGES { DWORD PrivilegeCount; LUID_AND_ATTRIBUTES Privileges[1]; } TOKEN_PRIVILEGES,*PTOKEN_PRIVILEGES,*LPTOKEN_PRIVILEGES; typedef enum tagTOKEN_TYPE { TokenPrimary = 1, TokenImpersonation } TOKEN_TYPE,*PTOKEN_TYPE; typedef struct _TOKEN_STATISTICS { LUID TokenId; LUID AuthenticationId; LARGE_INTEGER ExpirationTime; TOKEN_TYPE TokenType; SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; DWORD DynamicCharged; DWORD DynamicAvailable; DWORD GroupCount; DWORD PrivilegeCount; LUID ModifiedId; } TOKEN_STATISTICS, *PTOKEN_STATISTICS; typedef struct _TOKEN_USER { SID_AND_ATTRIBUTES User; } TOKEN_USER, *PTOKEN_USER; # 2576 "\\MinGW\\include/winnt.h" 3 typedef DWORD SECURITY_INFORMATION,*PSECURITY_INFORMATION; typedef WORD SECURITY_DESCRIPTOR_CONTROL,*PSECURITY_DESCRIPTOR_CONTROL; typedef struct _SECURITY_DESCRIPTOR { BYTE Revision; BYTE Sbz1; SECURITY_DESCRIPTOR_CONTROL Control; PSID Owner; PSID Group; PACL Sacl; PACL Dacl; } SECURITY_DESCRIPTOR, *PSECURITY_DESCRIPTOR, *PISECURITY_DESCRIPTOR; typedef enum _TOKEN_INFORMATION_CLASS { TokenUser=1, TokenGroups, TokenPrivileges, TokenOwner, TokenPrimaryGroup, TokenDefaultDacl, TokenSource, TokenType, TokenImpersonationLevel, TokenStatistics, TokenRestrictedSids, TokenSessionId, TokenGroupsAndPrivileges, TokenSessionReference, TokenSandBoxInert, TokenAuditPolicy, TokenOrigin, # 2618 "\\MinGW\\include/winnt.h" 3 MaxTokenInfoClass } TOKEN_INFORMATION_CLASS; typedef enum _SID_NAME_USE { SidTypeUser=1, SidTypeGroup, SidTypeDomain, SidTypeAlias, SidTypeWellKnownGroup, SidTypeDeletedAccount, SidTypeInvalid, SidTypeUnknown, SidTypeComputer } SID_NAME_USE,*PSID_NAME_USE; typedef struct _QUOTA_LIMITS { SIZE_T PagedPoolLimit; SIZE_T NonPagedPoolLimit; SIZE_T MinimumWorkingSetSize; SIZE_T MaximumWorkingSetSize; SIZE_T PagefileLimit; LARGE_INTEGER TimeLimit; } QUOTA_LIMITS,*PQUOTA_LIMITS; typedef struct _IO_COUNTERS { ULONGLONG ReadOperationCount; ULONGLONG WriteOperationCount; ULONGLONG OtherOperationCount; ULONGLONG ReadTransferCount; ULONGLONG WriteTransferCount; ULONGLONG OtherTransferCount; } IO_COUNTERS, *PIO_COUNTERS; typedef struct _FILE_NOTIFY_INFORMATION { DWORD NextEntryOffset; DWORD Action; DWORD FileNameLength; WCHAR FileName[1]; } FILE_NOTIFY_INFORMATION,*PFILE_NOTIFY_INFORMATION; typedef struct _TAPE_ERASE { DWORD Type; BOOLEAN Immediate; } TAPE_ERASE,*PTAPE_ERASE; typedef struct _TAPE_GET_DRIVE_PARAMETERS { BOOLEAN ECC; BOOLEAN Compression; BOOLEAN DataPadding; BOOLEAN ReportSetmarks; DWORD DefaultBlockSize; DWORD MaximumBlockSize; DWORD MinimumBlockSize; DWORD MaximumPartitionCount; DWORD FeaturesLow; DWORD FeaturesHigh; DWORD EOTWarningZoneSize; } TAPE_GET_DRIVE_PARAMETERS,*PTAPE_GET_DRIVE_PARAMETERS; typedef struct _TAPE_GET_MEDIA_PARAMETERS { LARGE_INTEGER Capacity; LARGE_INTEGER Remaining; DWORD BlockSize; DWORD PartitionCount; BOOLEAN WriteProtected; } TAPE_GET_MEDIA_PARAMETERS,*PTAPE_GET_MEDIA_PARAMETERS; typedef struct _TAPE_GET_POSITION { ULONG Type; ULONG Partition; ULONG OffsetLow; ULONG OffsetHigh; } TAPE_GET_POSITION,*PTAPE_GET_POSITION; typedef struct _TAPE_PREPARE { DWORD Operation; BOOLEAN Immediate; } TAPE_PREPARE,*PTAPE_PREPARE; typedef struct _TAPE_SET_DRIVE_PARAMETERS { BOOLEAN ECC; BOOLEAN Compression; BOOLEAN DataPadding; BOOLEAN ReportSetmarks; ULONG EOTWarningZoneSize; } TAPE_SET_DRIVE_PARAMETERS,*PTAPE_SET_DRIVE_PARAMETERS; typedef struct _TAPE_SET_MEDIA_PARAMETERS { ULONG BlockSize; } TAPE_SET_MEDIA_PARAMETERS,*PTAPE_SET_MEDIA_PARAMETERS; typedef struct _TAPE_SET_POSITION { DWORD Method; DWORD Partition; LARGE_INTEGER Offset; BOOLEAN Immediate; } TAPE_SET_POSITION,*PTAPE_SET_POSITION; typedef struct _TAPE_WRITE_MARKS { DWORD Type; DWORD Count; BOOLEAN Immediate; } TAPE_WRITE_MARKS,*PTAPE_WRITE_MARKS; typedef struct _TAPE_CREATE_PARTITION { DWORD Method; DWORD Count; DWORD Size; } TAPE_CREATE_PARTITION,*PTAPE_CREATE_PARTITION; typedef struct _MEMORY_BASIC_INFORMATION { PVOID BaseAddress; PVOID AllocationBase; DWORD AllocationProtect; DWORD RegionSize; DWORD State; DWORD Protect; DWORD Type; } MEMORY_BASIC_INFORMATION,*PMEMORY_BASIC_INFORMATION; typedef struct _MESSAGE_RESOURCE_ENTRY { WORD Length; WORD Flags; BYTE Text[1]; } MESSAGE_RESOURCE_ENTRY,*PMESSAGE_RESOURCE_ENTRY; typedef struct _MESSAGE_RESOURCE_BLOCK { DWORD LowId; DWORD HighId; DWORD OffsetToEntries; } MESSAGE_RESOURCE_BLOCK,*PMESSAGE_RESOURCE_BLOCK; typedef struct _MESSAGE_RESOURCE_DATA { DWORD NumberOfBlocks; MESSAGE_RESOURCE_BLOCK Blocks[1]; } MESSAGE_RESOURCE_DATA,*PMESSAGE_RESOURCE_DATA; typedef struct _LIST_ENTRY { struct _LIST_ENTRY *Flink; struct _LIST_ENTRY *Blink; } LIST_ENTRY,*PLIST_ENTRY; typedef struct _SINGLE_LIST_ENTRY { struct _SINGLE_LIST_ENTRY *Next; } SINGLE_LIST_ENTRY,*PSINGLE_LIST_ENTRY; typedef union _SLIST_HEADER { ULONGLONG Alignment; __extension__ struct { SINGLE_LIST_ENTRY Next; WORD Depth; WORD Sequence; } ; } SLIST_HEADER,*PSLIST_HEADER; typedef struct _RTL_CRITICAL_SECTION_DEBUG { WORD Type; WORD CreatorBackTraceIndex; struct _RTL_CRITICAL_SECTION *CriticalSection; LIST_ENTRY ProcessLocksList; DWORD EntryCount; DWORD ContentionCount; DWORD Spare[2]; } RTL_CRITICAL_SECTION_DEBUG,*PRTL_CRITICAL_SECTION_DEBUG; typedef struct _RTL_CRITICAL_SECTION { PRTL_CRITICAL_SECTION_DEBUG DebugInfo; LONG LockCount; LONG RecursionCount; HANDLE OwningThread; HANDLE LockSemaphore; DWORD Reserved; } RTL_CRITICAL_SECTION,*PRTL_CRITICAL_SECTION; typedef struct _EVENTLOGRECORD { DWORD Length; DWORD Reserved; DWORD RecordNumber; DWORD TimeGenerated; DWORD TimeWritten; DWORD EventID; WORD EventType; WORD NumStrings; WORD EventCategory; WORD ReservedFlags; DWORD ClosingRecordNumber; DWORD StringOffset; DWORD UserSidLength; DWORD UserSidOffset; DWORD DataLength; DWORD DataOffset; } EVENTLOGRECORD,*PEVENTLOGRECORD; typedef struct _OSVERSIONINFOA { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; CHAR szCSDVersion[128]; } OSVERSIONINFOA,*POSVERSIONINFOA,*LPOSVERSIONINFOA; typedef struct _OSVERSIONINFOW { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; WCHAR szCSDVersion[128]; } OSVERSIONINFOW,*POSVERSIONINFOW,*LPOSVERSIONINFOW; typedef struct _OSVERSIONINFOEXA { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; CHAR szCSDVersion[128]; WORD wServicePackMajor; WORD wServicePackMinor; WORD wSuiteMask; BYTE wProductType; BYTE wReserved; } OSVERSIONINFOEXA, *POSVERSIONINFOEXA, *LPOSVERSIONINFOEXA; typedef struct _OSVERSIONINFOEXW { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; WCHAR szCSDVersion[128]; WORD wServicePackMajor; WORD wServicePackMinor; WORD wSuiteMask; BYTE wProductType; BYTE wReserved; } OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW; #pragma pack(push,2) typedef struct _IMAGE_VXD_HEADER { WORD e32_magic; BYTE e32_border; BYTE e32_worder; DWORD e32_level; WORD e32_cpu; WORD e32_os; DWORD e32_ver; DWORD e32_mflags; DWORD e32_mpages; DWORD e32_startobj; DWORD e32_eip; DWORD e32_stackobj; DWORD e32_esp; DWORD e32_pagesize; DWORD e32_lastpagesize; DWORD e32_fixupsize; DWORD e32_fixupsum; DWORD e32_ldrsize; DWORD e32_ldrsum; DWORD e32_objtab; DWORD e32_objcnt; DWORD e32_objmap; DWORD e32_itermap; DWORD e32_rsrctab; DWORD e32_rsrccnt; DWORD e32_restab; DWORD e32_enttab; DWORD e32_dirtab; DWORD e32_dircnt; DWORD e32_fpagetab; DWORD e32_frectab; DWORD e32_impmod; DWORD e32_impmodcnt; DWORD e32_impproc; DWORD e32_pagesum; DWORD e32_datapage; DWORD e32_preload; DWORD e32_nrestab; DWORD e32_cbnrestab; DWORD e32_nressum; DWORD e32_autodata; DWORD e32_debuginfo; DWORD e32_debuglen; DWORD e32_instpreload; DWORD e32_instdemand; DWORD e32_heapsize; BYTE e32_res3[12]; DWORD e32_winresoff; DWORD e32_winreslen; WORD e32_devid; WORD e32_ddkver; } IMAGE_VXD_HEADER,*PIMAGE_VXD_HEADER; #pragma pack(pop) #pragma pack(push,4) typedef struct _IMAGE_FILE_HEADER { WORD Machine; WORD NumberOfSections; DWORD TimeDateStamp; DWORD PointerToSymbolTable; DWORD NumberOfSymbols; WORD SizeOfOptionalHeader; WORD Characteristics; } IMAGE_FILE_HEADER, *PIMAGE_FILE_HEADER; typedef struct _IMAGE_DATA_DIRECTORY { DWORD VirtualAddress; DWORD Size; } IMAGE_DATA_DIRECTORY,*PIMAGE_DATA_DIRECTORY; typedef struct _IMAGE_OPTIONAL_HEADER { WORD Magic; BYTE MajorLinkerVersion; BYTE MinorLinkerVersion; DWORD SizeOfCode; DWORD SizeOfInitializedData; DWORD SizeOfUninitializedData; DWORD AddressOfEntryPoint; DWORD BaseOfCode; DWORD BaseOfData; DWORD ImageBase; DWORD SectionAlignment; DWORD FileAlignment; WORD MajorOperatingSystemVersion; WORD MinorOperatingSystemVersion; WORD MajorImageVersion; WORD MinorImageVersion; WORD MajorSubsystemVersion; WORD MinorSubsystemVersion; DWORD Win32VersionValue; DWORD SizeOfImage; DWORD SizeOfHeaders; DWORD CheckSum; WORD Subsystem; WORD DllCharacteristics; DWORD SizeOfStackReserve; DWORD SizeOfStackCommit; DWORD SizeOfHeapReserve; DWORD SizeOfHeapCommit; DWORD LoaderFlags; DWORD NumberOfRvaAndSizes; IMAGE_DATA_DIRECTORY DataDirectory[16]; } IMAGE_OPTIONAL_HEADER32,*PIMAGE_OPTIONAL_HEADER32; typedef struct _IMAGE_OPTIONAL_HEADER64 { WORD Magic; BYTE MajorLinkerVersion; BYTE MinorLinkerVersion; DWORD SizeOfCode; DWORD SizeOfInitializedData; DWORD SizeOfUninitializedData; DWORD AddressOfEntryPoint; DWORD BaseOfCode; ULONGLONG ImageBase; DWORD SectionAlignment; DWORD FileAlignment; WORD MajorOperatingSystemVersion; WORD MinorOperatingSystemVersion; WORD MajorImageVersion; WORD MinorImageVersion; WORD MajorSubsystemVersion; WORD MinorSubsystemVersion; DWORD Win32VersionValue; DWORD SizeOfImage; DWORD SizeOfHeaders; DWORD CheckSum; WORD Subsystem; WORD DllCharacteristics; ULONGLONG SizeOfStackReserve; ULONGLONG SizeOfStackCommit; ULONGLONG SizeOfHeapReserve; ULONGLONG SizeOfHeapCommit; DWORD LoaderFlags; DWORD NumberOfRvaAndSizes; IMAGE_DATA_DIRECTORY DataDirectory[16]; } IMAGE_OPTIONAL_HEADER64,*PIMAGE_OPTIONAL_HEADER64; typedef IMAGE_OPTIONAL_HEADER32 IMAGE_OPTIONAL_HEADER; typedef PIMAGE_OPTIONAL_HEADER32 PIMAGE_OPTIONAL_HEADER; typedef struct _IMAGE_ROM_OPTIONAL_HEADER { WORD Magic; BYTE MajorLinkerVersion; BYTE MinorLinkerVersion; DWORD SizeOfCode; DWORD SizeOfInitializedData; DWORD SizeOfUninitializedData; DWORD AddressOfEntryPoint; DWORD BaseOfCode; DWORD BaseOfData; DWORD BaseOfBss; DWORD GprMask; DWORD CprMask[4]; DWORD GpValue; } IMAGE_ROM_OPTIONAL_HEADER,*PIMAGE_ROM_OPTIONAL_HEADER; #pragma pack(pop) #pragma pack(push,2) typedef struct _IMAGE_DOS_HEADER { WORD e_magic; WORD e_cblp; WORD e_cp; WORD e_crlc; WORD e_cparhdr; WORD e_minalloc; WORD e_maxalloc; WORD e_ss; WORD e_sp; WORD e_csum; WORD e_ip; WORD e_cs; WORD e_lfarlc; WORD e_ovno; WORD e_res[4]; WORD e_oemid; WORD e_oeminfo; WORD e_res2[10]; LONG e_lfanew; } IMAGE_DOS_HEADER,*PIMAGE_DOS_HEADER; typedef struct _IMAGE_OS2_HEADER { WORD ne_magic; CHAR ne_ver; CHAR ne_rev; WORD ne_enttab; WORD ne_cbenttab; LONG ne_crc; WORD ne_flags; WORD ne_autodata; WORD ne_heap; WORD ne_stack; LONG ne_csip; LONG ne_sssp; WORD ne_cseg; WORD ne_cmod; WORD ne_cbnrestab; WORD ne_segtab; WORD ne_rsrctab; WORD ne_restab; WORD ne_modtab; WORD ne_imptab; LONG ne_nrestab; WORD ne_cmovent; WORD ne_align; WORD ne_cres; BYTE ne_exetyp; BYTE ne_flagsothers; WORD ne_pretthunks; WORD ne_psegrefbytes; WORD ne_swaparea; WORD ne_expver; } IMAGE_OS2_HEADER,*PIMAGE_OS2_HEADER; #pragma pack(pop) #pragma pack(push,4) typedef struct _IMAGE_NT_HEADERS { DWORD Signature; IMAGE_FILE_HEADER FileHeader; IMAGE_OPTIONAL_HEADER32 OptionalHeader; } IMAGE_NT_HEADERS32,*PIMAGE_NT_HEADERS32; typedef struct _IMAGE_NT_HEADERS64 { DWORD Signature; IMAGE_FILE_HEADER FileHeader; IMAGE_OPTIONAL_HEADER64 OptionalHeader; } IMAGE_NT_HEADERS64,*PIMAGE_NT_HEADERS64; typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS; typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS; typedef struct _IMAGE_ROM_HEADERS { IMAGE_FILE_HEADER FileHeader; IMAGE_ROM_OPTIONAL_HEADER OptionalHeader; } IMAGE_ROM_HEADERS,*PIMAGE_ROM_HEADERS; typedef struct _IMAGE_SECTION_HEADER { BYTE Name[8]; union { DWORD PhysicalAddress; DWORD VirtualSize; } Misc; DWORD VirtualAddress; DWORD SizeOfRawData; DWORD PointerToRawData; DWORD PointerToRelocations; DWORD PointerToLinenumbers; WORD NumberOfRelocations; WORD NumberOfLinenumbers; DWORD Characteristics; } IMAGE_SECTION_HEADER,*PIMAGE_SECTION_HEADER; #pragma pack(pop) #pragma pack(push,2) typedef struct _IMAGE_SYMBOL { union { BYTE ShortName[8]; struct { DWORD Short; DWORD Long; } Name; PBYTE LongName[2]; } N; DWORD Value; SHORT SectionNumber; WORD Type; BYTE StorageClass; BYTE NumberOfAuxSymbols; } IMAGE_SYMBOL,*PIMAGE_SYMBOL; typedef union _IMAGE_AUX_SYMBOL { struct { DWORD TagIndex; union { struct { WORD Linenumber; WORD Size; Defined "HAVE_SYS_PROCFS_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/resource.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/sys/resource.h" 1 3 4 # 14 "/usr/include/sys/resource.h" 3 4 # 1 "\\MinGW\\include/sys/time.h" 1 3 4 # 1 "\\MinGW\\include/time.h" 1 3 4 # 15 "\\MinGW\\include/time.h" 3 4 # 1 "\\MinGW\\include/_mingw.h" 1 3 4 # 32 "\\MinGW\\include/_mingw.h" 3 4 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/time.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/time.h" 2 3 4 # 40 "\\MinGW\\include/time.h" 3 4 typedef long __time32_t; typedef long long __time64_t; # 61 "\\MinGW\\include/time.h" 3 4 typedef __time32_t time_t; # 71 "\\MinGW\\include/time.h" 3 4 typedef long clock_t; # 80 "\\MinGW\\include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; }; clock_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) clock (void); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) time (time_t*); double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) difftime (time_t, time_t); time_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktime (struct tm*); # 117 "\\MinGW\\include/time.h" 3 4 char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) asctime (const struct tm*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) ctime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gmtime (const time_t*); struct tm* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) localtime (const time_t*); size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strftime (char*, size_t, const char*, const struct tm*); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tzset (void); extern void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tzset (void); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strdate(char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _strtime(char*); # 208 "\\MinGW\\include/time.h" 3 4 extern __attribute__ ((__dllimport__)) int _daylight_dll; extern __attribute__ ((__dllimport__)) long _timezone_dll; extern __attribute__ ((__dllimport__)) char* _tzname[2]; # 240 "\\MinGW\\include/time.h" 3 4 extern __attribute__ ((__dllimport__)) char *tzname[2]; # 269 "\\MinGW\\include/time.h" 3 4 size_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) wcsftime (wchar_t*, size_t, const wchar_t*, const struct tm*); # 4 "\\MinGW\\include/sys/time.h" 2 3 4 struct timeval { long tv_sec; long tv_usec; }; # 26 "\\MinGW\\include/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; # 39 "\\MinGW\\include/sys/time.h" 3 4 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) gettimeofday(struct timeval *__restrict__, void *__restrict__ ); # 15 "/usr/include/sys/resource.h" 2 3 4 # 41 "/usr/include/sys/resource.h" 3 4 typedef unsigned long rlim_t; struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; struct rusage { struct timeval ru_utime; struct timeval ru_stime; long ru_maxrss; long ru_ixrss; long ru_idrss; long ru_isrss; long ru_minflt; long ru_majflt; long ru_nswap; long ru_inblock; long ru_oublock; long ru_msgsnd; long ru_msgrcv; long ru_nsignals; long ru_nvcsw; long ru_nivcsw; }; int getrlimit (int __resource, struct rlimit *__rlp); int setrlimit (int __resource, const struct rlimit *__rlp); int getrusage (int __who, struct rusage *__rusage); int getpriority (int which, id_t who); int setpriority (int which, id_t who, int value); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SYS_RESOURCE_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "\\MinGW\\include/unistd.h" 1 3 # 12 "\\MinGW\\include/unistd.h" 3 # 1 "\\MinGW\\include/io.h" 1 3 # 14 "\\MinGW\\include/io.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 15 "\\MinGW\\include/io.h" 2 3 # 1 "\\MinGW\\include/sys/types.h" 1 3 # 21 "\\MinGW\\include/sys/types.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 21 "\\MinGW\\include/io.h" 2 3 # 41 "\\MinGW\\include/io.h" 3 typedef int intptr_t; typedef unsigned long _fsize_t; # 63 "\\MinGW\\include/io.h" 3 struct _finddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; char name[(260)]; }; struct _finddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; char name[(260)]; }; # 125 "\\MinGW\\include/io.h" 3 struct _wfinddata_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; _fsize_t size; wchar_t name[(260)]; }; struct _wfinddatai64_t { unsigned attrib; time_t time_create; time_t time_access; time_t time_write; long long size; wchar_t name[(260)]; }; # 241 "\\MinGW\\include/io.h" 3 intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findfirst (const char*, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findnext (intptr_t, struct _finddata_t*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _findclose (intptr_t); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chmod (const char*, int); # 300 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getcwd (char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mkdir (const char*); char* __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) mktemp (char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rmdir (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chmod (const char*, int); # 335 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _chsize (int, long); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _commit(int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _dup2 (int, int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _filelength (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _get_osfhandle (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _isatty (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _eof (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _locking (int, int, long); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _open_osfhandle (intptr_t, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _pipe (int *, unsigned int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) remove (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) rename (const char*, const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _write (int, const void*, unsigned int); # 441 "\\MinGW\\include/io.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) access (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) chsize (int, long ); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) close (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) creat (const char*, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) dup2 (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) eof (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) filelength (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) isatty (int); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) lseek (int, long, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) open (const char*, int, ...); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) read (int, void*, unsigned int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) setmode (int, int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) sopen (const char*, int, int, ...); long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) tell (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) umask (int); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) unlink (const char*); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) write (int, const void*, unsigned int); # 13 "\\MinGW\\include/unistd.h" 2 3 # 1 "\\MinGW\\include/process.h" 1 3 # 18 "\\MinGW\\include/process.h" 3 # 1 "\\MinGW\\include/stdint.h" 1 3 # 24 "\\MinGW\\include/stdint.h" 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 354 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int wint_t; # 25 "\\MinGW\\include/stdint.h" 2 3 typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; typedef int int32_t; typedef unsigned uint32_t; typedef long long int64_t; typedef unsigned long long uint64_t; typedef signed char int_least8_t; typedef unsigned char uint_least8_t; typedef short int_least16_t; typedef unsigned short uint_least16_t; typedef int int_least32_t; typedef unsigned uint_least32_t; typedef long long int_least64_t; typedef unsigned long long uint_least64_t; typedef signed char int_fast8_t; typedef unsigned char uint_fast8_t; typedef short int_fast16_t; typedef unsigned short uint_fast16_t; typedef int int_fast32_t; typedef unsigned int uint_fast32_t; typedef long long int_fast64_t; typedef unsigned long long uint_fast64_t; # 75 "\\MinGW\\include/stdint.h" 3 typedef unsigned int uintptr_t; typedef long long intmax_t; typedef unsigned long long uintmax_t; # 19 "\\MinGW\\include/process.h" 2 3 # 57 "\\MinGW\\include/process.h" 3 void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _cexit(void); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _c_exit(void); int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _cwait (int*, _pid_t, int); _pid_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _getpid(void); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execl (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execle (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execlp (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execlpe (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execv (const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execve (const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execvp (const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _execvpe (const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnl (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnle (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnlp (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnlpe (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnv (int, const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnve (int, const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnvp (int, const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _spawnvpe (int, const char*, const char* const*, const char* const*); # 94 "\\MinGW\\include/process.h" 3 unsigned long __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _beginthread (void (*)(void *), unsigned, void*); void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _endthread (void); # 111 "\\MinGW\\include/process.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) cwait (int*, pid_t, int); pid_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) getpid (void); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execl (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execle (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execlp (const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execlpe (const char*, const char*,...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execv (const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execve (const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execvp (const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) execvpe (const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnl (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnle (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnlp (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnlpe (int, const char*, const char*, ...); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnv (int, const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnve (int, const char*, const char* const*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnvp (int, const char*, const char* const*); intptr_t __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) spawnvpe (int, const char*, const char* const*, const char* const*); # 14 "\\MinGW\\include/unistd.h" 2 3 # 1 "\\MinGW\\include/getopt.h" 1 3 # 39 "\\MinGW\\include/getopt.h" 3 extern int optind; extern int optopt; extern int opterr; extern char *optarg; extern int getopt( int, char * const [], const char * ); # 15 "\\MinGW\\include/unistd.h" 2 3 # 36 "\\MinGW\\include/unistd.h" 3 int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) usleep(useconds_t useconds); int ftruncate(int, off_t); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_UNISTD_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netinet/in.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/netinet/in.h" 1 3 4 # 14 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/include/cygwin/in.h" 1 3 4 # 21 "/usr/include/cygwin/in.h" 3 4 # 1 "/usr/include/cygwin/socket.h" 1 3 4 # 19 "/usr/include/cygwin/socket.h" 3 4 # 1 "\\MinGW\\include/stdint.h" 1 3 4 # 24 "\\MinGW\\include/stdint.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 354 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int wint_t; # 25 "\\MinGW\\include/stdint.h" 2 3 4 typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; typedef int int32_t; typedef unsigned uint32_t; typedef long long int64_t; typedef unsigned long long uint64_t; typedef signed char int_least8_t; typedef unsigned char uint_least8_t; typedef short int_least16_t; typedef unsigned short uint_least16_t; typedef int int_least32_t; typedef unsigned uint_least32_t; typedef long long int_least64_t; typedef unsigned long long uint_least64_t; typedef signed char int_fast8_t; typedef unsigned char uint_fast8_t; typedef short int_fast16_t; typedef unsigned short uint_fast16_t; typedef int int_fast32_t; typedef unsigned int uint_fast32_t; typedef long long int_fast64_t; typedef unsigned long long uint_fast64_t; # 66 "\\MinGW\\include/stdint.h" 3 4 typedef int intptr_t; # 75 "\\MinGW\\include/stdint.h" 3 4 typedef unsigned int uintptr_t; typedef long long intmax_t; typedef unsigned long long uintmax_t; # 20 "/usr/include/cygwin/socket.h" 2 3 4 typedef int socklen_t; typedef uint16_t sa_family_t; struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 43 "/usr/include/cygwin/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; char _ss_pad1[((sizeof (int64_t)) - sizeof (sa_family_t))]; int64_t __ss_align; char _ss_pad2[(128 - (sizeof (sa_family_t) + ((sizeof (int64_t)) - sizeof (sa_family_t)) + (sizeof (int64_t))))]; }; # 1 "/usr/include/asm/socket.h" 1 3 4 # 14 "/usr/include/asm/socket.h" 3 4 # 1 "/usr/include/cygwin/if.h" 1 3 4 # 18 "/usr/include/cygwin/if.h" 3 4 # 1 "\\MinGW\\include/sys/types.h" 1 3 4 # 15 "\\MinGW\\include/sys/types.h" 3 4 # 1 "\\MinGW\\include/_mingw.h" 1 3 4 # 32 "\\MinGW\\include/_mingw.h" 3 4 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/sys/types.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 4 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 4 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 4 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 19 "/usr/include/cygwin/if.h" 2 3 4 # 1 "/usr/include/cygwin/socket.h" 1 3 4 # 20 "/usr/include/cygwin/if.h" 2 3 4 # 34 "/usr/include/cygwin/if.h" 3 4 struct if_nameindex { unsigned if_index; char *if_name; }; struct ifreq_frndlyname { int ifrf_len; char ifrf_friendlyname[260]; }; # 59 "/usr/include/cygwin/if.h" 3 4 struct ifreq { union { char ifrn_name[44]; } ifr_ifrn; union { struct sockaddr ifru_addr; struct sockaddr ifru_broadaddr; struct sockaddr ifru_dstaddr; struct sockaddr ifru_netmask; struct sockaddr ifru_hwaddr; int ifru_flags; int ifru_metric; int ifru_mtu; int ifru_ifindex; void *ifru_data; char __ifru_pad[28]; } ifr_ifru; }; # 101 "/usr/include/cygwin/if.h" 3 4 struct ifconf { int ifc_len; union { caddr_t ifcu_buf; struct ifreq *ifcu_req; } ifc_ifcu; }; extern unsigned if_nametoindex (const char *); extern char *if_indextoname (unsigned, char *); extern struct if_nameindex *if_nameindex (void); extern void if_freenameindex (struct if_nameindex *); # 15 "/usr/include/asm/socket.h" 2 3 4 # 52 "/usr/include/cygwin/socket.h" 2 3 4 # 1 "/usr/include/cygwin/sockios.h" 1 3 4 # 53 "/usr/include/cygwin/socket.h" 2 3 4 # 1 "/usr/include/sys/uio.h" 1 3 4 # 15 "/usr/include/sys/uio.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 16 "/usr/include/sys/uio.h" 2 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 43 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/features.h" 1 3 4 # 44 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 45 "/usr/include/sys/cdefs.h" 2 3 4 # 20 "/usr/include/sys/uio.h" 2 3 4 struct iovec { void *iov_base; size_t iov_len; }; extern ssize_t readv (int filedes, const struct iovec *vector, int count); extern ssize_t writev (int filedes, const struct iovec *vector, int count); # 54 "/usr/include/cygwin/socket.h" 2 3 4 struct ucred { pid_t pid; uid_t uid; gid_t gid; }; struct linger { unsigned short l_onoff; unsigned short l_linger; }; struct msghdr { void * msg_name; socklen_t msg_namelen; struct iovec * msg_iov; int msg_iovlen; void * msg_control; socklen_t msg_controllen; int msg_flags; }; struct cmsghdr { socklen_t cmsg_len; int cmsg_level; int cmsg_type; }; # 22 "/usr/include/cygwin/in.h" 2 3 4 typedef uint16_t in_port_t; typedef uint32_t in_addr_t; enum { IPPROTO_IP = 0, IPPROTO_HOPOPTS = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_IPV6 = 41, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_RAW = 255, IPPROTO_MAX }; # 76 "/usr/include/cygwin/in.h" 3 4 enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; struct in_addr { in_addr_t s_addr; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_sourceaddr; struct in_addr imr_interface; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct in_pktinfo { struct in_addr ipi_addr; uint32_t ipi_ifindex; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char __pad[16 - sizeof(short int) - sizeof(unsigned short int) - sizeof(struct in_addr)]; }; # 256 "/usr/include/cygwin/in.h" 3 4 # 1 "/usr/include/asm/byteorder.h" 1 3 4 # 14 "/usr/include/asm/byteorder.h" 3 4 # 1 "/usr/include/_ansi.h" 1 3 4 # 15 "/usr/include/_ansi.h" 3 4 # 1 "/usr/include/newlib.h" 1 3 4 # 16 "/usr/include/_ansi.h" 2 3 4 # 1 "/usr/include/sys/config.h" 1 3 4 # 1 "/usr/include/machine/ieeefp.h" 1 3 4 # 5 "/usr/include/sys/config.h" 2 3 4 # 226 "/usr/include/sys/config.h" 3 4 # 1 "/usr/include/cygwin/config.h" 1 3 4 # 227 "/usr/include/sys/config.h" 2 3 4 # 17 "/usr/include/_ansi.h" 2 3 4 # 15 "/usr/include/asm/byteorder.h" 2 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 17 "/usr/include/asm/byteorder.h" 2 3 4 # 26 "/usr/include/asm/byteorder.h" 3 4 extern uint32_t ntohl(uint32_t); extern uint16_t ntohs(uint16_t); extern uint32_t htonl(uint32_t); extern uint16_t htons(uint16_t); extern __inline__ __attribute__ ((__always_inline__)) uint32_t __ntohl(uint32_t); extern __inline__ __attribute__ ((__always_inline__)) uint16_t __ntohs(uint16_t); extern __inline__ __attribute__ ((__always_inline__)) uint32_t __ntohl(uint32_t x) { __asm__("bswap %0" : "=r" (x) : "0" (x)); return x; } extern __inline__ __attribute__ ((__always_inline__)) uint16_t __ntohs(uint16_t x) { __asm__("xchgb %b0,%h0" : "=Q" (x) : "0" (x)); return x; } # 257 "/usr/include/cygwin/in.h" 2 3 4 # 267 "/usr/include/cygwin/in.h" 3 4 # 1 "/usr/include/cygwin/in6.h" 1 3 4 # 75 "/usr/include/cygwin/in6.h" 3 4 struct in6_addr { union { uint8_t __s6_addr[16]; uint16_t __s6_addr16[8]; uint32_t __s6_addr32[4]; } __u6; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; uint32_t ipv6mr_interface; }; struct in6_pktinfo { struct in6_addr ipi6_addr; uint32_t ipi6_ifindex; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 268 "/usr/include/cygwin/in.h" 2 3 4 # 15 "/usr/include/netinet/in.h" 2 3 4 extern int bindresvport (int, struct sockaddr_in *); extern int bindresvport_sa (int, struct sockaddr *); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_NETINET_IN_H" to "1" ================================================================================ TEST checkRecursiveMacros from config.headers(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/headers.py:218) TESTING: checkRecursiveMacros from config.headers(config/BuildSystem/config/headers.py:218) Checks that the preprocessor allows recursive macros, and if not defines HAVE_BROKEN_RECURSIVE_MACRO Executing: gcc -c -o /tmp/petsc-54YYwh/config.headers/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void a(int i, int j) {} #define a(b) a(b,__LINE__) int main() { a(0); ; return 0; } ================================================================================ TEST configureCacheDetails from PETSc.utilities.cacheDetails(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/cacheDetails.py:78) TESTING: configureCacheDetails from PETSc.utilities.cacheDetails(config/PETSc/utilities/cacheDetails.py:78) Try to determine the size and associativity of the cache. Pushing language C All intermediate test results are stored in /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.c: In function ???getconf_LEVEL1_DCACHE_SIZE???: /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.c:4:1: warning: implicit declaration of function ???sysconf??? [-Wimplicit-function-declaration] /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.c:4:56: error: ???_SC_LEVEL1_DCACHE_SIZE??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.c:4:56: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include long getconf_LEVEL1_DCACHE_SIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_SIZE); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include long getconf_LEVEL1_DCACHE_SIZE() { long val=-1; FILE *f = popen("getconf LEVEL1_DCACHE_SIZE","r"); fscanf(f,"%ld",&val); pclose(f); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { ; return 0; } Popping language C Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_SIZE() { long val=-1; FILE *f = popen("getconf LEVEL1_DCACHE_SIZE","r"); fscanf(f,"%ld",&val); pclose(f); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_SIZE()); fclose(output);; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.exe Executing: /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.exe Popping language C Defined "LEVEL1_DCACHE_SIZE" to "32768" Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val=-1; FILE *f = popen("getconf LEVEL1_DCACHE_LINESIZE","r"); fscanf(f,"%ld",&val); pclose(f); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_LINESIZE()); fclose(output);; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.exe Executing: /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.exe Popping language C Defined "LEVEL1_DCACHE_LINESIZE" to "32" Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_ASSOC() { long val=-1; FILE *f = popen("getconf LEVEL1_DCACHE_ASSOC","r"); fscanf(f,"%ld",&val); pclose(f); return (0 <= val && val <= 2147483647) ? val : 2; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_ASSOC()); fclose(output);; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.exe Executing: /tmp/petsc-54YYwh/PETSc.utilities.cacheDetails/conftest.exe Popping language C Defined "LEVEL1_DCACHE_ASSOC" to "2" ================================================================================ TEST checkMemcmp from config.functions(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/functions.py:109) TESTING: checkMemcmp from config.functions(config/BuildSystem/config/functions.py:109) Check for 8-bit clean memcmp All intermediate test results are stored in /tmp/petsc-54YYwh/config.functions Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void exit(int); int main() { char c0 = 0x40; char c1 = (char) 0x80; char c2 = (char) 0x81; exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.functions/conftest.exe Executing: /tmp/petsc-54YYwh/config.functions/conftest.exe ================================================================================ TEST checkSysinfo from config.functions(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/functions.py:133) TESTING: checkSysinfo from config.functions(config/BuildSystem/config/functions.py:133) Check whether sysinfo takes three arguments, and if it does define HAVE_SYSINFO_3ARG Checking for functions [sysinfo] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysinfo(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sysinfo) || defined (__stub___sysinfo) sysinfo_will_always_fail_with_ENOSYS(); #else sysinfo(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "HAVE_SYSINFO" to "1" Checking for header: linux/kernel.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2stderr: /tmp/petsc-54YYwh/config.headers/conftest.c:3:26: fatal error: linux/kernel.h: No such file or directory compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Checking for header: sys/sysinfo.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/sys/sysinfo.h" 1 3 4 # 16 "/usr/include/sys/sysinfo.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 43 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/features.h" 1 3 4 # 44 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 45 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "\\MinGW\\include/stdint.h" 1 3 4 # 24 "\\MinGW\\include/stdint.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 354 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int wint_t; # 25 "\\MinGW\\include/stdint.h" 2 3 4 typedef signed char int8_t; typedef unsigned char uint8_t; typedef short int16_t; typedef unsigned short uint16_t; typedef int int32_t; typedef unsigned uint32_t; typedef long long int64_t; typedef unsigned long long uint64_t; typedef signed char int_least8_t; typedef unsigned char uint_least8_t; typedef short int_least16_t; typedef unsigned short uint_least16_t; typedef int int_least32_t; typedef unsigned uint_least32_t; typedef long long int_least64_t; typedef unsigned long long uint_least64_t; typedef signed char int_fast8_t; typedef unsigned char uint_fast8_t; typedef short int_fast16_t; typedef unsigned short uint_fast16_t; typedef int int_fast32_t; typedef unsigned int uint_fast32_t; typedef long long int_fast64_t; typedef unsigned long long uint_fast64_t; # 66 "\\MinGW\\include/stdint.h" 3 4 typedef int intptr_t; # 75 "\\MinGW\\include/stdint.h" 3 4 typedef unsigned int uintptr_t; typedef long long intmax_t; typedef unsigned long long uintmax_t; # 46 "/usr/include/sys/cdefs.h" 2 3 4 # 17 "/usr/include/sys/sysinfo.h" 2 3 4 struct sysinfo { long uptime; unsigned long loads[3]; unsigned long totalram; unsigned long freeram; unsigned long sharedram; unsigned long bufferram; unsigned long totalswap; unsigned long freeswap; unsigned short procs; unsigned long totalhigh; unsigned long freehigh; unsigned int mem_unit; char __f[10]; }; extern int sysinfo (struct sysinfo *); extern int get_nprocs_conf (void); extern int get_nprocs (void); extern long get_phys_pages (void); extern long get_avphys_pages (void); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_SYS_SYSINFO_H" to "1" Checking for header: sys/systeminfo.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2stderr: /tmp/petsc-54YYwh/config.headers/conftest.c:3:28: fatal error: sys/systeminfo.h: No such file or directory compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.c:13:4: error: #error "Cannot check sysinfo without special headers" /tmp/petsc-54YYwh/config.functions/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.functions/conftest.c:17:1: warning: implicit declaration of function ???sysinfo??? [-Wimplicit-function-declaration] Source: #include "confdefs.h" #include "conffix.h" #ifdef HAVE_LINUX_KERNEL_H # include # include # ifdef HAVE_SYS_SYSINFO_H # include # endif #elif defined(HAVE_SYS_SYSTEMINFO_H) # include #else # error "Cannot check sysinfo without special headers" #endif int main() { char buf[10]; long count=10; sysinfo(1, buf, count); ; return 0; } Compile failed inside link ================================================================================ TEST checkVPrintf from config.functions(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/functions.py:156) TESTING: checkVPrintf from config.functions(config/BuildSystem/config/functions.py:156) Checks whether vprintf requires a char * last argument, and if it does defines HAVE_VPRINTF_CHAR Checking for functions [vprintf] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.functions/conftest.c:13:6: warning: conflicting types for built-in function ???vprintf??? [enabled by default] Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vprintf) || defined (__stub___vprintf) vprintf_will_always_fail_with_ENOSYS(); #else vprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "HAVE_VPRINTF" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.functions/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.functions/conftest.c:8:8: warning: ???Argp??? is used uninitialized in this function [-Wuninitialized] Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vprintf( "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl ================================================================================ TEST checkVFPrintf from config.functions(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/functions.py:163) TESTING: checkVFPrintf from config.functions(config/BuildSystem/config/functions.py:163) Checks whether vfprintf requires a char * last argument, and if it does defines HAVE_VFPRINTF_CHAR Checking for functions [vfprintf] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.functions/conftest.c:13:6: warning: conflicting types for built-in function ???vfprintf??? [enabled by default] Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vfprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vfprintf) || defined (__stub___vfprintf) vfprintf_will_always_fail_with_ENOSYS(); #else vfprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "HAVE_VFPRINTF" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.functions/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.functions/conftest.c:8:9: warning: ???Argp??? is used uninitialized in this function [-Wuninitialized] Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vfprintf(stdout, "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:8: undefined reference to `_imp___iob' collect2: error: ld returned 1 exit status Defined "HAVE_VFPRINTF_CHAR" to "1" ================================================================================ TEST checkVSNPrintf from config.functions(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/functions.py:170) TESTING: checkVSNPrintf from config.functions(config/BuildSystem/config/functions.py:170) Checks whether vsnprintf requires a char * last argument, and if it does defines HAVE_VSNPRINTF_CHAR Checking for functions [_vsnprintf] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _vsnprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__vsnprintf) || defined (__stub____vsnprintf) _vsnprintf_will_always_fail_with_ENOSYS(); #else _vsnprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "HAVE__VSNPRINTF" to "1" Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.functions/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.cc: In function ???int main()???: /tmp/petsc-54YYwh/config.functions/conftest.cc:8:30: error: ???_vsnprintf??? was not declared in this scope Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp;char str[6]; _vsnprintf(str,5, "%d", Argp ); ; return 0; } Compile failed inside link Deleting "HAVE__VSNPRINTF" Popping language Cxx Checking for functions [vsnprintf] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.functions/conftest.c:13:6: warning: conflicting types for built-in function ???vsnprintf??? [enabled by default] Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vsnprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf) vsnprintf_will_always_fail_with_ENOSYS(); #else vsnprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "HAVE_VSNPRINTF" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.functions/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.functions/conftest.c:8:10: warning: ???Argp??? is used uninitialized in this function [-Wuninitialized] Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp;char str[6]; vsnprintf(str,5, "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl ================================================================================ TEST checkNanosleep from config.functions(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/functions.py:214) TESTING: checkNanosleep from config.functions(config/BuildSystem/config/functions.py:214) Check for functional nanosleep() - as time.h behaves differently for different compiler flags - like -std=c89 Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.functions/conftest.c:6:17: error: storage size of ???tp??? isn???t known /tmp/petsc-54YYwh/config.functions/conftest.c:9:2: warning: implicit declaration of function ???nanosleep??? [-Wimplicit-function-declaration] /tmp/petsc-54YYwh/config.functions/conftest.c:6:17: warning: unused variable ???tp??? [-Wunused-variable] Source: #include "confdefs.h" #include "conffix.h" #include int main() { struct timespec tp; tp.tv_sec = 0; tp.tv_nsec = (long)(1e9); nanosleep(&tp,0); ; return 0; } Compile failed inside link ================================================================================ TEST checkSignalHandlerType from config.functions(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/functions.py:190) TESTING: checkSignalHandlerType from config.functions(config/BuildSystem/config/functions.py:190) Checks the type of C++ signals handlers, and defines SIGNAL_CAST to the correct value Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.functions/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include static void myhandler(int sig) {} int main() { signal(SIGFPE,myhandler); ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "SIGNAL_CAST" to " " Popping language Cxx ================================================================================ TEST checkFreeReturnType from config.functions(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/functions.py:200) TESTING: checkFreeReturnType from config.functions(config/BuildSystem/config/functions.py:200) Checks whether free returns void or int, and defines HAVE_FREE_RETURN_INT Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.functions/conftest.c:6:25: error: void value not ignored as it ought to be /tmp/petsc-54YYwh/config.functions/conftest.c:6:5: warning: variable ???ierr??? set but not used [-Wunused-but-set-variable] Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ierr; void *p; ierr = free(p); return 0; ; return 0; } Compile failed inside link ================================================================================ TEST checkVariableArgumentLists from config.functions(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/functions.py:206) TESTING: checkVariableArgumentLists from config.functions(config/BuildSystem/config/functions.py:206) Checks whether the variable argument list functionality is working Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.functions/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.functions/conftest.c:7:3: warning: ???l2??? is used uninitialized in this function [-Wuninitialized] Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; va_copy(l1, l2); return 0; ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "HAVE_VA_COPY" to "1" ================================================================================ TEST checkClassify from config.functions(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/functions.py:88) TESTING: checkClassify from config.functions(config/BuildSystem/config/functions.py:88) Recursive decompose to rapidly classify functions as found or missing To confirm that a function is missing, we require a compile/link failure with only that function in a compilation unit. In contrast, we can confirm that many functions are present by compiling them all together in a large compilation unit. We optimistically compile everything together, then trim all functions that were named in the error message and bisect the result. The trimming is only an optimization to increase the likelihood of a big-batch compile succeeding; we do not rely on the compiler naming missing functions. Checking for functions [rand getdomainname _sleep snprintf realpath dlsym bzero _getcwd getwd uname _lseek sleep _access lseek usleep _intel_fast_memset dlclose gethostname clock get_nprocs access _snprintf dlerror mkstemp fork getpagesize sbreak memalign sigset getcwd gethostbyname gettimeofday readlink PXFGETARG sigaction strcasecmp dlopen drand48 socket memmove signal popen getrusage times _intel_fast_memcpy time sysctlbyname stricmp] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.functions/conftest.c:16:6: warning: conflicting types for built-in function ???snprintf??? [enabled by default] /tmp/petsc-54YYwh/config.functions/conftest.c:19:6: warning: conflicting types for built-in function ???bzero??? [enabled by default] /tmp/petsc-54YYwh/config.functions/conftest.c:37:6: warning: conflicting types for built-in function ???fork??? [enabled by default] /tmp/petsc-54YYwh/config.functions/conftest.c:48:6: warning: conflicting types for built-in function ???strcasecmp??? [enabled by default] /tmp/petsc-54YYwh/config.functions/conftest.c:52:6: warning: conflicting types for built-in function ???memmove??? [enabled by default] Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand(); char getdomainname(); char _sleep(); char snprintf(); char realpath(); char dlsym(); char bzero(); char _getcwd(); char getwd(); char uname(); char _lseek(); char sleep(); char _access(); char lseek(); char usleep(); char _intel_fast_memset(); char dlclose(); char gethostname(); char clock(); char get_nprocs(); char access(); char _snprintf(); char dlerror(); char mkstemp(); char fork(); char getpagesize(); char sbreak(); char memalign(); char sigset(); char getcwd(); char gethostbyname(); char gettimeofday(); char readlink(); char PXFGETARG(); char sigaction(); char strcasecmp(); char dlopen(); char drand48(); char socket(); char memmove(); char signal(); char popen(); char getrusage(); char times(); char _intel_fast_memcpy(); char time(); char sysctlbyname(); char stricmp(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub__intel_fast_memset) || defined (__stub____intel_fast_memset) _intel_fast_memset_will_always_fail_with_ENOSYS(); #else _intel_fast_memset(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_get_nprocs) || defined (__stub___get_nprocs) get_nprocs_will_always_fail_with_ENOSYS(); #else get_nprocs(); #endif #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_mkstemp) || defined (__stub___mkstemp) mkstemp_will_always_fail_with_ENOSYS(); #else mkstemp(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_sigset) || defined (__stub___sigset) sigset_will_always_fail_with_ENOSYS(); #else sigset(); #endif #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) gettimeofday_will_always_fail_with_ENOSYS(); #else gettimeofday(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif #if defined (__stub_sigaction) || defined (__stub___sigaction) sigaction_will_always_fail_with_ENOSYS(); #else sigaction(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_memmove) || defined (__stub___memmove) memmove_will_always_fail_with_ENOSYS(); #else memmove(); #endif #if defined (__stub_signal) || defined (__stub___signal) signal_will_always_fail_with_ENOSYS(); #else signal(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_times) || defined (__stub___times) times_will_always_fail_with_ENOSYS(); #else times(); #endif #if defined (__stub__intel_fast_memcpy) || defined (__stub____intel_fast_memcpy) _intel_fast_memcpy_will_always_fail_with_ENOSYS(); #else _intel_fast_memcpy(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_sysctlbyname) || defined (__stub___sysctlbyname) sysctlbyname_will_always_fail_with_ENOSYS(); #else sysctlbyname(); #endif #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:161: undefined reference to `_intel_fast_memset' /tmp/petsc-54YYwh/config.functions/conftest.c:227: undefined reference to `sbreak' /tmp/petsc-54YYwh/config.functions/conftest.c:269: undefined reference to `PXFGETARG' /tmp/petsc-54YYwh/config.functions/conftest.c:335: undefined reference to `_intel_fast_memcpy' /tmp/petsc-54YYwh/config.functions/conftest.c:347: undefined reference to `sysctlbyname' /tmp/petsc-54YYwh/config.functions/conftest.c:353: undefined reference to `stricmp' collect2: error: ld returned 1 exit status Checking for functions [rand getdomainname _sleep snprintf realpath dlsym bzero _getcwd getwd uname _lseek sleep _access lseek usleep dlclose gethostname clock get_nprocs access _snprintf] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.functions/conftest.c:16:6: warning: conflicting types for built-in function ???snprintf??? [enabled by default] /tmp/petsc-54YYwh/config.functions/conftest.c:19:6: warning: conflicting types for built-in function ???bzero??? [enabled by default] Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand(); char getdomainname(); char _sleep(); char snprintf(); char realpath(); char dlsym(); char bzero(); char _getcwd(); char getwd(); char uname(); char _lseek(); char sleep(); char _access(); char lseek(); char usleep(); char dlclose(); char gethostname(); char clock(); char get_nprocs(); char access(); char _snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_get_nprocs) || defined (__stub___get_nprocs) get_nprocs_will_always_fail_with_ENOSYS(); #else get_nprocs(); #endif #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "HAVE_RAND" to "1" Defined "HAVE_GETDOMAINNAME" to "1" Defined "HAVE__SLEEP" to "1" Defined "HAVE_SNPRINTF" to "1" Defined "HAVE_REALPATH" to "1" Defined "HAVE_DLSYM" to "1" Defined "HAVE_BZERO" to "1" Defined "HAVE__GETCWD" to "1" Defined "HAVE_GETWD" to "1" Defined "HAVE_UNAME" to "1" Defined "HAVE__LSEEK" to "1" Defined "HAVE_SLEEP" to "1" Defined "HAVE__ACCESS" to "1" Defined "HAVE_LSEEK" to "1" Defined "HAVE_USLEEP" to "1" Defined "HAVE_DLCLOSE" to "1" Defined "HAVE_GETHOSTNAME" to "1" Defined "HAVE_CLOCK" to "1" Defined "HAVE_GET_NPROCS" to "1" Defined "HAVE_ACCESS" to "1" Defined "HAVE__SNPRINTF" to "1" Checking for functions [dlerror mkstemp fork getpagesize memalign sigset getcwd gethostbyname gettimeofday readlink sigaction strcasecmp dlopen drand48 socket memmove signal popen getrusage times time] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.functions/conftest.c:15:6: warning: conflicting types for built-in function ???fork??? [enabled by default] /tmp/petsc-54YYwh/config.functions/conftest.c:24:6: warning: conflicting types for built-in function ???strcasecmp??? [enabled by default] /tmp/petsc-54YYwh/config.functions/conftest.c:28:6: warning: conflicting types for built-in function ???memmove??? [enabled by default] Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlerror(); char mkstemp(); char fork(); char getpagesize(); char memalign(); char sigset(); char getcwd(); char gethostbyname(); char gettimeofday(); char readlink(); char sigaction(); char strcasecmp(); char dlopen(); char drand48(); char socket(); char memmove(); char signal(); char popen(); char getrusage(); char times(); char time(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_mkstemp) || defined (__stub___mkstemp) mkstemp_will_always_fail_with_ENOSYS(); #else mkstemp(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_sigset) || defined (__stub___sigset) sigset_will_always_fail_with_ENOSYS(); #else sigset(); #endif #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) gettimeofday_will_always_fail_with_ENOSYS(); #else gettimeofday(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_sigaction) || defined (__stub___sigaction) sigaction_will_always_fail_with_ENOSYS(); #else sigaction(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_memmove) || defined (__stub___memmove) memmove_will_always_fail_with_ENOSYS(); #else memmove(); #endif #if defined (__stub_signal) || defined (__stub___signal) signal_will_always_fail_with_ENOSYS(); #else signal(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_times) || defined (__stub___times) times_will_always_fail_with_ENOSYS(); #else times(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "HAVE_DLERROR" to "1" Defined "HAVE_MKSTEMP" to "1" Defined "HAVE_FORK" to "1" Defined "HAVE_GETPAGESIZE" to "1" Defined "HAVE_MEMALIGN" to "1" Defined "HAVE_SIGSET" to "1" Defined "HAVE_GETCWD" to "1" Defined "HAVE_GETHOSTBYNAME" to "1" Defined "HAVE_GETTIMEOFDAY" to "1" Defined "HAVE_READLINK" to "1" Defined "HAVE_SIGACTION" to "1" Defined "HAVE_STRCASECMP" to "1" Defined "HAVE_DLOPEN" to "1" Defined "HAVE_DRAND48" to "1" Defined "HAVE_SOCKET" to "1" Defined "HAVE_MEMMOVE" to "1" Defined "HAVE_SIGNAL" to "1" Defined "HAVE_POPEN" to "1" Defined "HAVE_GETRUSAGE" to "1" Defined "HAVE_TIMES" to "1" Defined "HAVE_TIME" to "1" Checking for functions [_intel_fast_memset] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _intel_fast_memset(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__intel_fast_memset) || defined (__stub____intel_fast_memset) _intel_fast_memset_will_always_fail_with_ENOSYS(); #else _intel_fast_memset(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:24: undefined reference to `_intel_fast_memset' collect2: error: ld returned 1 exit status Checking for functions [sbreak] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sbreak(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:24: undefined reference to `sbreak' collect2: error: ld returned 1 exit status Checking for functions [PXFGETARG] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:24: undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Checking for functions [_intel_fast_memcpy] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _intel_fast_memcpy(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__intel_fast_memcpy) || defined (__stub____intel_fast_memcpy) _intel_fast_memcpy_will_always_fail_with_ENOSYS(); #else _intel_fast_memcpy(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:24: undefined reference to `_intel_fast_memcpy' collect2: error: ld returned 1 exit status Checking for functions [sysctlbyname] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysctlbyname(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sysctlbyname) || defined (__stub___sysctlbyname) sysctlbyname_will_always_fail_with_ENOSYS(); #else sysctlbyname(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:24: undefined reference to `sysctlbyname' collect2: error: ld returned 1 exit status Checking for functions [stricmp] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char stricmp(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:24: undefined reference to `stricmp' collect2: error: ld returned 1 exit status ================================================================================ TEST configureMemorySize from PETSc.utilities.getResidentSetSize(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/getResidentSetSize.py:31) TESTING: configureMemorySize from PETSc.utilities.getResidentSetSize(config/PETSc/utilities/getResidentSetSize.py:31) Try to determine how to measure the memory usage Defined "USE_PROC_FOR_SIZE" to "1" Using /proc for PetscMemoryGetCurrentUsage() ================================================================================ TEST configureFPTrap from PETSc.utilities.FPTrap(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/FPTrap.py:27) TESTING: configureFPTrap from PETSc.utilities.FPTrap(config/PETSc/utilities/FPTrap.py:27) Checking the handling of floating point traps Checking for header: sigfpe.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2stderr: /tmp/petsc-54YYwh/config.headers/conftest.c:3:20: fatal error: sigfpe.h: No such file or directory compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Checking for header: fpxcp.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2stderr: /tmp/petsc-54YYwh/config.headers/conftest.c:3:19: fatal error: fpxcp.h: No such file or directory compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Checking for header: floatingpoint.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2stderr: /tmp/petsc-54YYwh/config.headers/conftest.c:3:27: fatal error: floatingpoint.h: No such file or directory compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST configureFeatureTestMacros from PETSc.utilities.featureTestMacros(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/featureTestMacros.py:13) TESTING: configureFeatureTestMacros from PETSc.utilities.featureTestMacros(config/PETSc/utilities/featureTestMacros.py:13) Checks if certain feature test macros are support All intermediate test results are stored in /tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros/conftest.c:4:20: fatal error: sysctl.h: No such file or directory compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #include int main() { ; return 0; } Defined "_BSD_SOURCE" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros/conftest.c:7:1: error: unknown type name ???cpu_set_t??? /tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros/conftest.c:8:1: warning: implicit declaration of function ???CPU_ZERO??? [-Wimplicit-function-declaration] Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { cpu_set_t mset; CPU_ZERO(&mset);; return 0; } ================================================================================ TEST check_siginfo_t from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:46) TESTING: check_siginfo_t from config.types(config/BuildSystem/config/types.py:46) Checks if siginfo_t exists in signal.h. This check is for windows, and C89 check. Checking for type: siginfo_t All intermediate test results are stored in /tmp/petsc-54YYwh/config.types Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.types/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.types/conftest.c:13:1: error: unknown type name ???siginfo_t??? /tmp/petsc-54YYwh/config.types/conftest.c:13:11: warning: unused variable ???a??? [-Wunused-variable] Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { siginfo_t a;; return 0; } siginfo_t found ================================================================================ TEST check__int64 from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:52) TESTING: check__int64 from config.types(config/BuildSystem/config/types.py:52) Checks if __int64 exists. This is primarily for windows. Checking for type: __int64 Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.types/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.types/conftest.c:13:9: warning: unused variable ???a??? [-Wunused-variable] Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { __int64 a;; return 0; } __int64 found Defined "HAVE___INT64" to "1" ================================================================================ TEST checkSizeTypes from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:58) TESTING: checkSizeTypes from config.types(config/BuildSystem/config/types.py:58) Checks for types associated with sizes, such as size_t. Checking for type: size_t Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.types/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.types/conftest.c:13:8: warning: unused variable ???a??? [-Wunused-variable] Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { size_t a;; return 0; } size_t found ================================================================================ TEST checkFileTypes from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:68) TESTING: checkFileTypes from config.types(config/BuildSystem/config/types.py:68) Checks for types associated with files, such as mode_t, off_t, etc. Checking for type: mode_t Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.types/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.types/conftest.c:13:8: warning: unused variable ???a??? [-Wunused-variable] Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { mode_t a;; return 0; } mode_t found Checking for type: off_t Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.types/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.types/conftest.c:13:7: warning: unused variable ???a??? [-Wunused-variable] Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { off_t a;; return 0; } off_t found ================================================================================ TEST checkIntegerTypes from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:63) TESTING: checkIntegerTypes from config.types(config/BuildSystem/config/types.py:63) Checks for types associated with integers, such as int32_t. Checking for type: int32_t Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.types/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.types/conftest.c:13:1: error: unknown type name ???int32_t??? /tmp/petsc-54YYwh/config.types/conftest.c:13:9: warning: unused variable ???a??? [-Wunused-variable] Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { int32_t a;; return 0; } Typedefed "int" to "int32_t" ================================================================================ TEST checkPID from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:74) TESTING: checkPID from config.types(config/BuildSystem/config/types.py:74) Checks for pid_t, and defines it if necessary Checking for type: pid_t Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.types/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.types/conftest.c:13:7: warning: unused variable ???a??? [-Wunused-variable] Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { pid_t a;; return 0; } pid_t found ================================================================================ TEST checkUID from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:78) TESTING: checkUID from config.types(config/BuildSystem/config/types.py:78) Checks for uid_t and gid_t, and defines them if necessary Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.types/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.types/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.types/conftest.c" # 1 "/tmp/petsc-54YYwh/config.types/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.types/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.types/conffix.h" 1 typedef int int32_t; # 3 "/tmp/petsc-54YYwh/config.types/conftest.c" 2 # 1 "\\MinGW\\include/sys/types.h" 1 3 # 15 "\\MinGW\\include/sys/types.h" 3 # 1 "\\MinGW\\include/_mingw.h" 1 3 # 32 "\\MinGW\\include/_mingw.h" 3 # 33 "\\MinGW\\include/_mingw.h" 3 # 16 "\\MinGW\\include/sys/types.h" 2 3 # 1 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 1 3 4 # 150 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef int ptrdiff_t; # 213 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef unsigned int size_t; # 325 "/usr/lib/gcc/i686-pc-cygwin/4.7.3/include/stddef.h" 3 4 typedef short unsigned int wchar_t; # 22 "\\MinGW\\include/sys/types.h" 2 3 typedef long __time32_t; typedef long long __time64_t; # 45 "\\MinGW\\include/sys/types.h" 3 typedef __time32_t time_t; typedef long _off_t; typedef _off_t off_t; # 65 "\\MinGW\\include/sys/types.h" 3 typedef short _dev_t; typedef _dev_t dev_t; typedef short _ino_t; typedef _ino_t ino_t; typedef int _pid_t; typedef _pid_t pid_t; typedef unsigned short _mode_t; typedef _mode_t mode_t; typedef int _sigset_t; typedef _sigset_t sigset_t; typedef int _ssize_t; typedef _ssize_t ssize_t; typedef long long fpos64_t; typedef long long off64_t; typedef unsigned int useconds_t; # 3 "/tmp/petsc-54YYwh/config.types/conftest.c" 2 Defined "uid_t" to "int" Defined "gid_t" to "int" ================================================================================ TEST checkSignal from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:85) TESTING: checkSignal from config.types(config/BuildSystem/config/types.py:85) Checks the return type of signal() and defines RETSIGTYPE to that type name Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifdef signal #undef signal #endif #ifdef __cplusplus extern "C" void (*signal (int, void(*)(int)))(int); #else void (*signal())(); #endif int main() { ; return 0; } Defined "RETSIGTYPE" to "void" ================================================================================ TEST checkC99Complex from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:106) TESTING: checkC99Complex from config.types(config/BuildSystem/config/types.py:106) Check for complex numbers in in C99 std Note that since PETSc source code uses _Complex we test specifically for that, not complex Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.types/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.types/conftest.c:6:17: warning: variable ???x??? set but not used [-Wunused-but-set-variable] Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.types/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.types/conftest.c:6:17: warning: variable ???x??? set but not used [-Wunused-but-set-variable] Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "HAVE_C99_COMPLEX" to "1" ================================================================================ TEST checkCxxComplex from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:117) TESTING: checkCxxComplex from config.types(config/BuildSystem/config/types.py:117) Check for complex numbers in namespace std Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::complex x; ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "HAVE_CXX_COMPLEX" to "1" Popping language Cxx ================================================================================ TEST checkFortranKind from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:138) TESTING: checkFortranKind from config.types(config/BuildSystem/config/types.py:138) Checks whether selected_int_kind etc work USE_FORTRANKIND Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.compilers -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.types/conftest.F Successful compile: Source: program main integer(kind=selected_int_kind(10)) i real(kind=selected_real_kind(10)) d end Defined "USE_FORTRANKIND" to "1" Popping language FC ================================================================================ TEST checkFortranDReal from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:150) TESTING: checkFortranDReal from config.types(config/BuildSystem/config/types.py:150) Checks whether dreal is provided in Fortran, and if not defines MISSING_DREAL Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.types -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.types/conftest.F Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.types/conftest.F:3.16: d = dreal(3.0) 1 Error: Type of argument 'a' in call to 'dreal' at (1) should be COMPLEX(8), not REAL(4) Source: program main double precision d d = dreal(3.0) end Compile failed inside link Defined "MISSING_DREAL" to "1" Popping language FC ================================================================================ TEST checkConst from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:158) TESTING: checkConst from config.types(config/BuildSystem/config/types.py:158) Checks for working const, and if not found defines it to empty string Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.types/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.types/conftest.c:30:12: warning: ???t??? is used uninitialized in this function [-Wuninitialized] /tmp/petsc-54YYwh/config.types/conftest.c:46:25: warning: ???b??? is used uninitialized in this function [-Wuninitialized] Source: #include "confdefs.h" #include "conffix.h" int main() { /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; /* This section avoids unused variable warnings */ if (zero.x); if (x[0]); { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (*s); } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; /* Get rid of unused variable warning */ if (foo); } ; return 0; } ================================================================================ TEST checkEndian from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:214) TESTING: checkEndian from config.types(config/BuildSystem/config/types.py:214) If the machine is big endian, defines WORDS_BIGENDIAN Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.types/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.types/conftest.c:11:3: error: unknown type name ???bogus??? /tmp/petsc-54YYwh/config.types/conftest.c:11:16: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before ???macros??? Source: #include "confdefs.h" #include "conffix.h" #include #ifdef HAVE_SYS_PARAM_H #include #endif int main() { #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN bogus endian macros #endif ; return 0; } Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { /* Are we little or big endian? From Harbison&Steele. */ union { long l; char c[sizeof(long)]; } u; u.l = 1; exit(u.c[sizeof(long) - 1] == 1); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Popping language C ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: char Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(char)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Popping language C Defined "SIZEOF_CHAR" to "1" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: void * Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(void *)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Popping language C Defined "SIZEOF_VOID_P" to "4" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: short Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(short)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Popping language C Defined "SIZEOF_SHORT" to "2" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: int Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(int)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Popping language C Defined "SIZEOF_INT" to "4" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(long)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Popping language C Defined "SIZEOF_LONG" to "4" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long long Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(long long)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Popping language C Defined "SIZEOF_LONG_LONG" to "8" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: float Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(float)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Popping language C Defined "SIZEOF_FLOAT" to "4" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: double Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(double)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Popping language C Defined "SIZEOF_DOUBLE" to "8" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: size_t Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(size_t)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Popping language C Defined "SIZEOF_SIZE_T" to "4" ================================================================================ TEST checkBitsPerByte from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:318) TESTING: checkBitsPerByte from config.types(config/BuildSystem/config/types.py:318) Determine the nubmer of bits per byte and define BITS_PER_BYTE Executing: gcc -c -o /tmp/petsc-54YYwh/config.types/conftest.o -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if STDC_HEADERS #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); char val[2]; int i = 0; if (!f) exit(1); val[0]='\1'; val[1]='\0'; while(val[0]) {val[0] <<= 1; i++;} fprintf(f, "%d\n", i); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.types/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.types/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Executing: /tmp/petsc-54YYwh/config.types/conftest.exe Defined "BITS_PER_BYTE" to "8" ================================================================================ TEST checkVisibility from config.types(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/types.py:364) TESTING: checkVisibility from config.types(config/BuildSystem/config/types.py:364) ================================================================================ TEST configureMemAlign from PETSc.utilities.memAlign(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/memAlign.py:30) TESTING: configureMemAlign from PETSc.utilities.memAlign(config/PETSc/utilities/memAlign.py:30) Choose alignment Defined "MEMALIGN" to "16" Memory alignment is 16 ================================================================================ TEST configureCHUD from PETSc.utilities.CHUD(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/CHUD.py:25) TESTING: configureCHUD from PETSc.utilities.CHUD(config/PETSc/utilities/CHUD.py:25) Determines if the Apple CHUD hardware monitoring utilities are available Executing: uname -s stdout: CYGWIN_NT-6.1-WOW64 ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -lsocket -lnsl -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lsocket /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -lfpe -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -lsocket -lnsl -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lsocket /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -lfpe -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST checkMath from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:250) TESTING: checkMath from config.libraries(config/BuildSystem/config/libraries.py:250) Check for sin() in libm, the math library Checking for functions [sin floor log10 pow] in library [''] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_sin???: /tmp/petsc-54YYwh/config.libraries/conftest.c:5:41: warning: variable ???y??? set but not used [-Wunused-but-set-variable] /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_floor???: /tmp/petsc-54YYwh/config.libraries/conftest.c:8:43: warning: variable ???y??? set but not used [-Wunused-but-set-variable] /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_log10???: /tmp/petsc-54YYwh/config.libraries/conftest.c:11:43: warning: variable ???y??? set but not used [-Wunused-but-set-variable] /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_pow???: /tmp/petsc-54YYwh/config.libraries/conftest.c:14:41: warning: variable ???y??? set but not used [-Wunused-but-set-variable] Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double sin(double); static void _check_sin() { double x = 0,y; y = sin(x); ; } double floor(double); static void _check_floor() { double x = 0,y; y = floor(x); ; } double log10(double); static void _check_log10() { double x = 0,y; y = log10(x); ; } double pow(double, double); static void _check_pow() { double x = 0,y ; y = pow(x, x); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Popping language C Math functions are linked in by default ================================================================================ TEST checkMathErf from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:266) TESTING: checkMathErf from config.libraries(config/BuildSystem/config/libraries.py:266) Check for erf() in libm, the math library Checking for functions [erf] in library [] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_erf???: /tmp/petsc-54YYwh/config.libraries/conftest.c:5:41: warning: variable ???y??? set but not used [-Wunused-but-set-variable] Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double erf(double); static void _check_erf() { double x = 0,y; y = erf(x); ; } int main() { _check_erf();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Popping language C erf() found Defined "HAVE_ERF" to "1" ================================================================================ TEST checkMathTgamma from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:275) TESTING: checkMathTgamma from config.libraries(config/BuildSystem/config/libraries.py:275) Check for tgama() in libm, the math library Checking for functions [tgamma] in library [] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_tgamma???: /tmp/petsc-54YYwh/config.libraries/conftest.c:5:44: warning: variable ???y??? set but not used [-Wunused-but-set-variable] Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double tgamma(double); static void _check_tgamma() { double x = 0,y; y = tgamma(x); ; } int main() { _check_tgamma();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Popping language C tgamma() found Defined "HAVE_TGAMMA" to "1" ================================================================================ TEST checkMathFenv from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:284) TESTING: checkMathFenv from config.libraries(config/BuildSystem/config/libraries.py:284) Checks if can be used with FE_DFL_ENV Checking for functions [fesetenv] in library [] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; } int main() { _check_fesetenv();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Popping language C Defined "HAVE_FENV_H" to "1" ================================================================================ TEST checkCompression from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:292) TESTING: checkCompression from config.libraries(config/BuildSystem/config/libraries.py:292) Check for libz, the compression library Checking for functions [compress uncompress] in library [''] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_compress???: /tmp/petsc-54YYwh/config.libraries/conftest.c:5:119: warning: variable ???ret??? set but not used [-Wunused-but-set-variable] /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_uncompress???: /tmp/petsc-54YYwh/config.libraries/conftest.c:8:121: warning: variable ???ret??? set but not used [-Wunused-but-set-variable] Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_compress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; } int uncompress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_uncompress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = uncompress(dest, &destLen, source, sourceLen); ; } int main() { _check_compress(); _check_uncompress();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.libraries/conftest.o: In function `check_compress': /tmp/petsc-54YYwh/config.libraries/conftest.c:5: undefined reference to `compress' /tmp/petsc-54YYwh/config.libraries/conftest.o: In function `check_uncompress': /tmp/petsc-54YYwh/config.libraries/conftest.c:8: undefined reference to `uncompress' collect2: error: ld returned 1 exit status Popping language C Checking for functions [compress uncompress] in library ['z'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_compress???: /tmp/petsc-54YYwh/config.libraries/conftest.c:5:119: warning: variable ???ret??? set but not used [-Wunused-but-set-variable] /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_uncompress???: /tmp/petsc-54YYwh/config.libraries/conftest.c:8:121: warning: variable ???ret??? set but not used [-Wunused-but-set-variable] Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_compress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; } int uncompress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_uncompress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = uncompress(dest, &destLen, source, sourceLen); ; } int main() { _check_compress(); _check_uncompress();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -lz -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status Popping language C Checking for functions [compress uncompress] in library ['zlib.lib'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_compress???: /tmp/petsc-54YYwh/config.libraries/conftest.c:5:119: warning: variable ???ret??? set but not used [-Wunused-but-set-variable] /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_uncompress???: /tmp/petsc-54YYwh/config.libraries/conftest.c:8:121: warning: variable ???ret??? set but not used [-Wunused-but-set-variable] Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_compress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; } int uncompress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_uncompress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = uncompress(dest, &destLen, source, sourceLen); ; } int main() { _check_compress(); _check_uncompress();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o zlib.lib -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: gcc: error: zlib.lib: No such file or directory Popping language C Warning: No compression library found ================================================================================ TEST checkRealtime from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:313) TESTING: checkRealtime from config.libraries(config/BuildSystem/config/libraries.py:313) Check for presence of clock_gettime() in realtime library (POSIX Realtime extensions) Checking for functions [clock_gettime] in library [''] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_clock_gettime???: /tmp/petsc-54YYwh/config.libraries/conftest.c:5:54: error: storage size of ???tp??? isn???t known /tmp/petsc-54YYwh/config.libraries/conftest.c:5:45: warning: implicit declaration of function ???clock_gettime??? [-Wimplicit-function-declaration] /tmp/petsc-54YYwh/config.libraries/conftest.c:5:72: error: ???CLOCK_REALTIME??? undeclared (first use in this function) /tmp/petsc-54YYwh/config.libraries/conftest.c:5:72: note: each undeclared identifier is reported only once for each function it appears in /tmp/petsc-54YYwh/config.libraries/conftest.c:5:54: warning: unused variable ???tp??? [-Wunused-variable] Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } int main() { _check_clock_gettime();; return 0; } Compile failed inside link Popping language C Checking for functions [clock_gettime] in library ['rt'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.libraries/conftest.c: In function ???_check_clock_gettime???: /tmp/petsc-54YYwh/config.libraries/conftest.c:5:54: error: storage size of ???tp??? isn???t known /tmp/petsc-54YYwh/config.libraries/conftest.c:5:45: warning: implicit declaration of function ???clock_gettime??? [-Wimplicit-function-declaration] /tmp/petsc-54YYwh/config.libraries/conftest.c:5:72: error: ???CLOCK_REALTIME??? undeclared (first use in this function) /tmp/petsc-54YYwh/config.libraries/conftest.c:5:72: note: each undeclared identifier is reported only once for each function it appears in /tmp/petsc-54YYwh/config.libraries/conftest.c:5:54: warning: unused variable ???tp??? [-Wunused-variable] Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } int main() { _check_clock_gettime();; return 0; } Compile failed inside link Popping language C Warning: No realtime library found ================================================================================ TEST checkDynamic from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:329) TESTING: checkDynamic from config.libraries(config/BuildSystem/config/libraries.py:329) Check for the header and libraries necessary for dynamic library manipulation Checking for functions [dlopen] in library ['dl'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } int main() { _check_dlopen();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -ldl -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Defined "HAVE_LIBDL" to "1" Popping language C Checking for header: dlfcn.h Executing: gcc -E -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.headers /tmp/petsc-54YYwh/config.headers/conftest.c stdout: # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "" # 1 "/tmp/petsc-54YYwh/config.headers/conftest.c" # 1 "/tmp/petsc-54YYwh/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/tmp/petsc-54YYwh/config.headers/conffix.h" 1 typedef int int32_t; # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 4 # 19 "/usr/include/dlfcn.h" 3 4 extern void *dlopen (const char *, int); extern void *dlsym (void *, const char *); extern int dlclose (void *); extern char *dlerror (void); extern void dlfork (int); # 3 "/tmp/petsc-54YYwh/config.headers/conftest.c" 2 Defined "HAVE_DLFCN_H" to "1" ================================================================================ TEST configureTimers from PETSc.utilities.timer(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/timer.py:35) TESTING: configureTimers from PETSc.utilities.timer(config/PETSc/utilities/timer.py:35) Sets PETSC_HAVE_FAST_MPI_WTIME PETSC_USE_READ_REAL_TIME PETSC_USE_MICROSOFT_TIME. Checking for functions [MPI_CRAY_barrier] in library [''] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_CRAY_barrier(); static void _check_MPI_CRAY_barrier() { MPI_CRAY_barrier(); } int main() { _check_MPI_CRAY_barrier();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.libraries/conftest.o: In function `check_MPI_CRAY_barrier': /tmp/petsc-54YYwh/config.libraries/conftest.c:5: undefined reference to `MPI_CRAY_barrier' collect2: error: ld returned 1 exit status Popping language C Cray-MPI test failure ================================================================================ TEST configureMissingDefines from PETSc.utilities.missing(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/missing.py:39) TESTING: configureMissingDefines from PETSc.utilities.missing(config/PETSc/utilities/missing.py:39) Checks for limits All intermediate test results are stored in /tmp/petsc-54YYwh/PETSc.utilities.missing Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_LIMITS_H #include #endif int main() { int i=INT_MAX; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_FLOAT_H #include #endif int main() { double d=DBL_MAX; if (d); ; return 0; } ================================================================================ TEST configureMissingUtypeTypedefs from PETSc.utilities.missing(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/missing.py:49) TESTING: configureMissingUtypeTypedefs from PETSc.utilities.missing(config/PETSc/utilities/missing.py:49) Checks if u_short is undefined Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:1: error: unknown type name ???u_short??? /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:9: warning: unused variable ???foo??? [-Wunused-variable] Source: #include "confdefs.h" #include "conffix.h" #include int main() { u_short foo; ; return 0; } Defined "NEEDS_UTYPE_TYPEDEFS" to "1" ================================================================================ TEST configureMissingFunctions from PETSc.utilities.missing(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/missing.py:55) TESTING: configureMissingFunctions from PETSc.utilities.missing(config/PETSc/utilities/missing.py:55) Checks for SOCKETS ================================================================================ TEST configureMissingSignals from PETSc.utilities.missing(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/missing.py:75) TESTING: configureMissingSignals from PETSc.utilities.missing(config/PETSc/utilities/missing.py:75) Check for missing signals, and define MISSING_ if necessary Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGABRT; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGALRM??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGALRM; if (i); ; return 0; } Defined "MISSING_SIGALRM" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGBUS??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGBUS; if (i); ; return 0; } Defined "MISSING_SIGBUS" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGCHLD??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCHLD; if (i); ; return 0; } Defined "MISSING_SIGCHLD" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGCONT??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCONT; if (i); ; return 0; } Defined "MISSING_SIGCONT" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGFPE; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGHUP??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGHUP; if (i); ; return 0; } Defined "MISSING_SIGHUP" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGILL; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGINT; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGKILL??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGKILL; if (i); ; return 0; } Defined "MISSING_SIGKILL" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGPIPE??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGPIPE; if (i); ; return 0; } Defined "MISSING_SIGPIPE" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGQUIT??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGQUIT; if (i); ; return 0; } Defined "MISSING_SIGQUIT" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSEGV; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGSTOP??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSTOP; if (i); ; return 0; } Defined "MISSING_SIGSTOP" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGSYS??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSYS; if (i); ; return 0; } Defined "MISSING_SIGSYS" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTERM; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGTRAP??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTRAP; if (i); ; return 0; } Defined "MISSING_SIGTRAP" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGTSTP??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTSTP; if (i); ; return 0; } Defined "MISSING_SIGTSTP" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGURG??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGURG; if (i); ; return 0; } Defined "MISSING_SIGURG" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGUSR1??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR1; if (i); ; return 0; } Defined "MISSING_SIGUSR1" to "1" Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: error: ???SIGUSR2??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:6:7: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR2; if (i); ; return 0; } Defined "MISSING_SIGUSR2" to "1" ================================================================================ TEST configureMissingGetdomainnamePrototype from PETSc.utilities.missing(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/missing.py:92) TESTING: configureMissingGetdomainnamePrototype from PETSc.utilities.missing(config/PETSc/utilities/missing.py:92) Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: In file included from /usr/include/asm/socket.h:14:0, from /usr/include/cygwin/socket.h:51, from /usr/include/sys/socket.h:16, from /usr/include/netdb.h:67, from /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:9: /usr/include/cygwin/if.h:106:5: error: unknown type name ???caddr_t??? In file included from /usr/include/sys/socket.h:16:0, from /usr/include/netdb.h:67, from /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:9: /usr/include/cygwin/socket.h:58:3: error: unknown type name ???uid_t??? /usr/include/cygwin/socket.h:59:3: error: unknown type name ???gid_t??? /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:14:42: error: ???getdomainname??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:14:42: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: In file included from /usr/include/asm/socket.h:14:0, from /usr/include/cygwin/socket.h:51, from /usr/include/sys/socket.h:16, from /usr/include/netdb.h:67, from /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:9: /usr/include/cygwin/if.h:106:5: error: unknown type name ???caddr_t??? In file included from /usr/include/sys/socket.h:16:0, from /usr/include/netdb.h:67, from /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:9: /usr/include/cygwin/socket.h:58:3: error: unknown type name ???uid_t??? /usr/include/cygwin/socket.h:59:3: error: unknown type name ???gid_t??? /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:14:39: error: ???getdomainname??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:14:39: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,int) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Added prototype #include int getdomainname(char *, size_t); to language C Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Popping language Cxx ================================================================================ TEST configureMissingSrandPrototype from PETSc.utilities.missing(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/missing.py:117) TESTING: configureMissingSrandPrototype from PETSc.utilities.missing(config/PETSc/utilities/missing.py:117) Executing: gcc -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c: In function ???main???: /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:11:31: error: ???drand48??? undeclared (first use in this function) /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:11:31: note: each undeclared identifier is reported only once for each function it appears in /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.c:12:33: error: ???srand48??? undeclared (first use in this function) Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #ifdef PETSC_HAVE_STDLIB_H #include #endif int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } Added prototype double drand48(void); to language C Added prototype void srand48(long int); to language C Pushing language Cxx Executing: g++ -c -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #ifdef PETSC_HAVE_STDLIB_H #include #endif int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 /tmp/petsc-54YYwh/PETSc.utilities.missing/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Popping language Cxx ================================================================================ TEST configureMissingIntelFastPrototypes from PETSc.utilities.missing(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/missing.py:141) TESTING: configureMissingIntelFastPrototypes from PETSc.utilities.missing(config/PETSc/utilities/missing.py:141) ================================================================================ TEST configureFortranCommandLine from PETSc.utilities.fortranCommandLine(/cygdrive/c/cygwin/packages/petsc-dev/config/PETSc/utilities/fortranCommandLine.py:27) TESTING: configureFortranCommandLine from PETSc.utilities.fortranCommandLine(config/PETSc/utilities/fortranCommandLine.py:27) Check for the mechanism to retrieve command line arguments in Fortran Pushing language FC Checking for functions [] in library [''] [] Pushing language FC Executing: gfortran -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.libraries/conftest.F Successful compile: Source: program main integer i character*(80) arg call get_command_argument(i,arg) end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Popping language FC Defined "HAVE_FORTRAN_GET_COMMAND_ARGUMENT" to "1" Popping language FC Pushing language C Checking for functions [get_command_argument_] in library [''] ['-Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-L/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-lgfortran', '-Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-lgfortran', '-lquadmath', '-lm'] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char get_command_argument_(); static void _check_get_command_argument_() { get_command_argument_(); } int main() { _check_get_command_argument_();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -lquadmath -lm -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.libraries/conftest.o: In function `check_get_command_argument_': /tmp/petsc-54YYwh/config.libraries/conftest.c:5: undefined reference to `get_command_argument_' collect2: error: ld returned 1 exit status Popping language C Checking for functions [getarg_] in library [''] ['-Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-L/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-lgfortran', '-Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3', '-lgfortran', '-lquadmath', '-lm'] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/config.functions -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char getarg_(); static void _check_getarg_() { getarg_(); } int main() { _check_getarg_();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -lquadmath -lm -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.libraries/conftest.o: In function `check_getarg_': /tmp/petsc-54YYwh/config.libraries/conftest.c:5: undefined reference to `getarg_' collect2: error: ld returned 1 exit status Popping language C Checking for functions [ipxfargc_] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ipxfargc_(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_ipxfargc_) || defined (__stub___ipxfargc_) ipxfargc__will_always_fail_with_ENOSYS(); #else ipxfargc_(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -lquadmath -lm Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:24: undefined reference to `ipxfargc_' collect2: error: ld returned 1 exit status Checking for functions [f90_unix_MP_iargc] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char f90_unix_MP_iargc(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_f90_unix_MP_iargc) || defined (__stub___f90_unix_MP_iargc) f90_unix_MP_iargc_will_always_fail_with_ENOSYS(); #else f90_unix_MP_iargc(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -lquadmath -lm Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:24: undefined reference to `f90_unix_MP_iargc' collect2: error: ld returned 1 exit status Checking for functions [PXFGETARG] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -lquadmath -lm Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:24: undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Checking for functions [iargc_] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char iargc_(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_iargc_) || defined (__stub___iargc_) iargc__will_always_fail_with_ENOSYS(); #else iargc_(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -lquadmath -lm Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.o: In function `main': /tmp/petsc-54YYwh/config.functions/conftest.c:24: undefined reference to `iargc_' collect2: error: ld returned 1 exit status Checking for functions [GETARG at 16] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-54YYwh/config.functions/conftest.c:13:1: error: stray ???@??? in program /tmp/petsc-54YYwh/config.functions/conftest.c:13:13: error: expected ???=???, ???,???, ???;???, ???asm??? or ???__attribute__??? before numeric constant /tmp/petsc-54YYwh/config.functions/conftest.c: In function ???main???: /tmp/petsc-54YYwh/config.functions/conftest.c:21:27: error: missing ')' after "defined" /tmp/petsc-54YYwh/config.functions/conftest.c:21:28: error: missing binary operator before token "16" /tmp/petsc-54YYwh/config.functions/conftest.c:24:1: error: stray ???@??? in program /tmp/petsc-54YYwh/config.functions/conftest.c:24:1: error: ???GETARG??? undeclared (first use in this function) /tmp/petsc-54YYwh/config.functions/conftest.c:24:1: note: each undeclared identifier is reported only once for each function it appears in /tmp/petsc-54YYwh/config.functions/conftest.c:24:8: error: expected ???;??? before numeric constant Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char GETARG at 16(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_GETARG at 16) || defined (__stub___GETARG at 16) GETARG at 16_will_always_fail_with_ENOSYS(); #else GETARG at 16(); #endif ; return 0; } Compile failed inside link Checking for functions [_gfortran_iargc] Executing: gcc -c -o /tmp/petsc-54YYwh/config.functions/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _gfortran_iargc(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__gfortran_iargc) || defined (__stub____gfortran_iargc) _gfortran_iargc_will_always_fail_with_ENOSYS(); #else _gfortran_iargc(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.functions/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.functions/conftest.o -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -lgfortran -lquadmath -lm Defined "HAVE__GFORTRAN_IARGC" to "1" Defined "HAVE_GFORTRAN_IARGC" to "1" Popping language C ================================================================================ TEST configureMake from config.packages.make(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/packages/make.py:61) TESTING: configureMake from config.packages.make(config/BuildSystem/config/packages/make.py:61) Check for user specified make - or gmake, make Checking for program /usr/local/bin/gmake...not found Checking for program /usr/bin/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/gmake...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/gmake...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/gmake...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/gmake...not found Checking for program /cygdrive/c/Windows/system32/gmake...not found Checking for program /cygdrive/c/Windows/gmake...not found Checking for program /cygdrive/c/Windows/System32/Wbem/gmake...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/gmake...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/gmake...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/gmake...not found Checking for program /cygdrive/c/MinGW/bin/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/gmake...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/gmake...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/gmake...not found Checking for program /home/dsu/gmake...not found Checking for program /cygdrive/c/cygwin/packages/petsc-dev/bin/win32fe/gmake...not found Checking for program /usr/local/bin/make...not found Checking for program /usr/bin/make...found Defined make macro "MAKE" to "/usr/bin/make" ================================================================================ TEST configureCheckGNUMake from config.packages.make(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/packages/make.py:79) TESTING: configureCheckGNUMake from config.packages.make(config/BuildSystem/config/packages/make.py:79) Check for GNU make Checking for program /usr/local/bin/strings...not found Checking for program /usr/bin/strings...found Executing: /usr/bin/strings /usr/bin/make stdout: $xqB [^_] [^_] 3S$3C [^_] ,[^_] <-tL<@t<<+uI ,[^_] ue;} <@u. [^_] [^] r.v(1 [^_] [^_] L[^_] [^_] [^_] [^_] t+;5 [^_] [^_] <[^_] $/*B $L*B <[^_] [^_] [^_] $T+B $T+B $T+B $4+B ,[^_] [^_] ,[^_] $l,B S$;V$ [^_] $4,B $l-B $H-B [^_] <[^_] ,[^_] <[^_] $T.B $G.B $`/B $e0B $z0B $|1B $(/B @[^] $P0B $80B $`1B $<1B <[^_] 2[^_] 2^_] 2^_] 2[^_] 2^_] 2^_] ,[^_] ;] [^_] [^_] t6;} [^_] \[^_] [^_] $,7B $h6B $@6B $@6B WVSP $\7B [^_] $08B $T8B $|8B $U9B [^] $h9B [^_] [^_] <\t__B 8.t. $m`B $V`B $+5P $(`B [^_] [^_] $$aB $HaB $5^B [^_] L[^_ $2aB L[^_] $5^B WVSP [^_] [^_] [^_] BN at t [^] [^_] ;-tc $4bB $,bB $DbB S$tL @N at u [^_] [^_] $$cB $tcB [^_] $CgB $DcB $lB ,[^_] $RlB t.<$u $ZlB ,[^_] [^_] [^_] [^_] [^_] t.;5 WVS1 8.t( [^_] [^_] tj=t ,[^_] ,[^_] $(){}$`^~! cyggcc_s-1.dll __register_frame_info cyggcj-11.dll _Jv_RegisterClasses __deregister_frame_info attempt to use unsupported feature: `%s' touch: Archive `%s' does not exist touch: `%s' is not a valid archive touch: touch: Member `%s' does not exist in `%s' touch: Bad return code from ar_member_touch on `%s' ! ARFILENAMES/ *** [%s] Archive member `%s' may be bogus; not deleted *** Archive member `%s' may be bogus; not deleted *** [%s] Deleting file `%s' *** Deleting file `%s' unlink: .SUFFIXES Recipe has too many lines (%ud) $(MAKE) ${MAKE} kill # recipe to execute (built-in): (from `%s', line %lu): %c%.*s .SUFFIXES SUFFIXES ARFLAGS OBJC CHECKOUT,v +$(if $(wildcard $@),,$(CO) $(COFLAGS) $< $@) COFLAGS $(CC) -E $(FC) F77FLAGS $(FFLAGS) LINT lint YACC yacc MAKEINFO makeinfo TEXI2DVI texi2dvi WEAVE weave CWEAVE cweave TANGLE tangle CTANGLE ctangle rm -f LINK.o $(CC) $(LDFLAGS) $(TARGET_ARCH) COMPILE.c $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c LINK.c $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.m $(OBJC) $(OBJCFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c LINK.m $(OBJC) $(OBJCFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.cc $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c COMPILE.C $(COMPILE.cc) COMPILE.cpp LINK.cc $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) LINK.C $(LINK.cc) LINK.cpp YACC.y $(YACC) $(YFLAGS) LEX.l $(LEX) $(LFLAGS) -t YACC.m LEX.m COMPILE.f $(FC) $(FFLAGS) $(TARGET_ARCH) -c LINK.f $(FC) $(FFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.F $(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c LINK.F $(FC) $(FFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.r $(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -c LINK.r $(FC) $(FFLAGS) $(RFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.def $(M2C) $(M2FLAGS) $(DEFFLAGS) $(TARGET_ARCH) COMPILE.mod $(M2C) $(M2FLAGS) $(MODFLAGS) $(TARGET_ARCH) COMPILE.p $(PC) $(PFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c LINK.p $(PC) $(PFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) LINK.s $(CC) $(ASFLAGS) $(LDFLAGS) $(TARGET_MACH) COMPILE.s $(AS) $(ASFLAGS) $(TARGET_MACH) LINK.S $(CC) $(ASFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_MACH) COMPILE.S $(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_MACH) -c PREPROCESS.S $(CC) -E $(CPPFLAGS) PREPROCESS.F $(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -F PREPROCESS.r $(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -F LINT.c $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(TARGET_ARCH) OUTPUT_OPTION -o $@ .LIBPATTERNS lib%.so lib%.a $(AR) $(ARFLAGS) $@ $< %.out @rm -f $@ cp $< $@ %.w %.ch $(CTANGLE) $^ $@ %.tex $(CWEAVE) $^ $@ $(CHECKOUT,v) RCS/%,v RCS/% $(GET) $(GFLAGS) $(SCCS_OUTPUT_OPTION) $< SCCS/s.% $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.s) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.S) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.C) $^ $(LOADLIBES) $(LDLIBS) -o $@ .cpp $(LINK.cpp) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.f) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.m) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.p) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.F) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.r) $^ $(LOADLIBES) $(LDLIBS) -o $@ .mod $(COMPILE.mod) -o $@ -e $@ $^ .def.sym $(COMPILE.def) -o $@ $< cat $< >$@ chmod a+x $@ .s.o $(COMPILE.s) -o $@ $< .S.o $(COMPILE.S) -o $@ $< .c.o $(COMPILE.c) $(OUTPUT_OPTION) $< .cc.o $(COMPILE.cc) $(OUTPUT_OPTION) $< .C.o $(COMPILE.C) $(OUTPUT_OPTION) $< .cpp.o $(COMPILE.cpp) $(OUTPUT_OPTION) $< .f.o $(COMPILE.f) $(OUTPUT_OPTION) $< .m.o $(COMPILE.m) $(OUTPUT_OPTION) $< .p.o $(COMPILE.p) $(OUTPUT_OPTION) $< .F.o $(COMPILE.F) $(OUTPUT_OPTION) $< .r.o $(COMPILE.r) $(OUTPUT_OPTION) $< .mod.o $(COMPILE.mod) -o $@ $< .c.ln $(LINT.c) -C$* $< .y.ln $(YACC.y) $< $(LINT.c) -C$* y.tab.c $(RM) y.tab.c .l.ln @$(RM) $*.c $(LEX.l) $< > $*.c $(LINT.c) -i $*.c -o $@ $(RM) $*.c .y.c $(YACC.y) $< mv -f y.tab.c $@ .l.c @$(RM) $@ $(LEX.l) $< > $@ .ym.m $(YACC.m) $< mv -f y.tab.c $@ .lm.m @$(RM) $@ $(LEX.m) $< > $@ .F.f $(PREPROCESS.F) $(OUTPUT_OPTION) $< .r.f $(PREPROCESS.r) $(OUTPUT_OPTION) $< .l.r $(LEX.l) $< > $@ mv -f lex.yy.r $@ .S.s $(PREPROCESS.S) $< > $@ .texinfo.info $(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@ .texi.info .txinfo.info .tex.dvi $(TEX) $< .texinfo.dvi $(TEXI2DVI) $(TEXI2DVI_FLAGS) $< .texi.dvi .txinfo.dvi .w.c $(CTANGLE) $< - $@ .web.p $(TANGLE) $< .w.tex $(CWEAVE) $< - $@ .web.tex $(WEAVE) $< INTERNAL: readdir: %s # Directories # %s: could not be stat'd. # %s (device %ld, inode %ld): could not be opened. # %s (device %ld, inode %ld): files, impossibilities so far. impossibilities in %lu directories. Recursive variable `%s' references itself (eventually) unterminated variable reference warning: undefined variable `%.*s' name %s: Field '%s' not cached: %s hname vpath stem *name != '\0' /netrel/src/make-3.82.90-1/file.c strcache_iscached (name) Recipe was specified for file `%s' at %s:%lu, Recipe for file `%s' was found by implicit rule search, but `%s' is now considered the same file as `%s'. Recipe for `%s' will be ignored in favor of the one for `%s'. can't rename single-colon `%s' to double-colon `%s' can't rename double-colon `%s' to single-colon `%s' *** Deleting intermediate file `%s' Removing intermediate files... unlink: .SUFFIXES .PRECIOUS .LOW_RESOLUTION_TIME .PHONY .INTERMEDIATE .SECONDARY .EXPORT_ALL_VARIABLES .IGNORE .SILENT .NOTPARALLEL %04d-%02d-%02d %02d:%02d:%02d .%09d Current time %s: Timestamp out of range; substituting %s | %s .RECIPEPREFIX = # Not a target: %s:%s # Precious file (prerequisite of .PRECIOUS). # Phony target (prerequisite of .PHONY). # Command line target. # A default, MAKEFILES, or -include/sinclude makefile. # Implicit rule search has been done. # Implicit rule search has not been done. # Implicit/static pattern stem: `%s' # File is an intermediate prerequisite. # Also makes: # Modification time never checked. # File does not exist. # File is very old. # Last modified %s # File has been updated. # File has not been updated. # Recipe currently running (THIS IS A BUG). # Dependencies recipe running (THIS IS A BUG). # Successfully updated. question_flag # Needs to be updated (-q is set). # Failed to be updated. # Invalid value in `update_status' member! # Files # files hash-table stats: print_file enter_file lookup_file undefined recursive simple Internal error: func_error: '%s' insufficient number of arguments (%d) to function `%s' unimplemented on this platform: function `%s' warning: undefined variable `%.*s' default environment file environment override command line override automatic suffix basename addprefix filter %s: '%s' non-numeric first argument to `wordlist' function non-numeric second argument to `wordlist' function invalid first argument to `wordlist' function: `%d' non-numeric first argument to `word' function first argument to `word' function must be greater than 0 %s:%lu: pipe fork Cleaning up temporary batch file %s unterminated call to function `%s': missing `%c' abspath addsuffix notdir subst filter-out findstring firstword flavor join lastword patsubst realpath shell sort strip wildcard word wordlist words origin foreach call info error warning value eval POSIXLY_CORRECT %s: option `%s' is ambiguous %s: option `--%s' doesn't allow an argument %s: option `%c%s' doesn't allow an argument %s: option `%s' requires an argument %s: unrecognized option `--%s' %s: unrecognized option `%c%s' %s: illegal option -- %c %s: invalid option -- %c %s: option requires an argument -- %c %s: option `-W %s' is ambiguous %s: option `-W %s' doesn't allow an argument Avoiding implicit rule recursion. Trying pattern rule with stem `%.*s'. Rejecting impossible rule prerequisite `%s'. Rejecting impossible implicit prerequisite `%s'. Trying rule prerequisite `%s'. Trying implicit prerequisite `%s'. Found prerequisite `%s' as VPATH `%s' Looking for a rule with intermediate file `%s'. Looking for an implicit rule for `%s'. Looking for archive-member implicit rule for `%s'. INTERNAL: Freeing child %p (%s) but no tokens left! write jobserver Released token for child %p (%s). *** (core dumped) (ignored) %s:%lu %s: recipe for target `%s' failed %s[%s] Error %d%s %s[%s] %s%s%s bash rksh dash ap <= end /netrel/src/make-3.82.90-1/job.c %s (line %d) Bad shell context (!unixy && !batch_mode_shell) %s: Command not found SHELL %s: Shell program not found execvp: $(SHELL) $(.SHELLFLAGS) $(IFS) vfork cannot enforce load limits on this operating system cannot enforce load limit: getloadavg Estimated system load = %f (actual = %f) (max requested = %f) (remote) Putting child %p (%s) PID %s%s on the chain. f->command_state == cs_finished *** Waiting for unfinished jobs.... Live child %p (%s) PID %s %s remote_status wait Reaping losing child %p PID %s %s Reaping winning child %p PID %s %s Cleaning up temp batch file %s .DELETE_ON_ERROR Removing child %p PID %s%s from chain. don't Need a job token; we %shave children Duplicate the job FD INTERNAL: no children as we go to sleep on read Obtained token for child %p (%s). read jobs pipe Read returned EBADF. %s: target `%s' does not exist %s: update target `%s' due to: %s construct_command_argv_internal break case continue eval exec exit export login logout read readonly shift switch test times trap ulimit umask unset while start_waiting_job %sGNU Make %s %sBuilt for %s %sBuilt for %s (%s) %sCopyright (C) 2010 Free Software Foundation, Inc. %sLicense GPLv3+: GNU GPL version 3 or later %sThis is free software: you are free to change and redistribute it. %sThere is NO WARRANTY, to the extent permitted by law. # Make data base, printed on %s # Finished Make data base on %s INTERNAL: Exiting with %u jobserver tokens (should be 0)! write INTERNAL: Exiting with %u jobserver tokens available; should be %u! empty string invalid as file name MAKECMDGOALS MFLAGS MAKEFLAGS %s: Entering an unknown directory %s: Leaving an unknown directory %s: Entering directory `%s' %s: Leaving directory `%s' %s[%u]: Entering an unknown directory %s[%u]: Leaving an unknown directory %s[%u]: Entering directory `%s' %s[%u]: Leaving directory `%s' the `%s%s' option requires a non-empty string argument the `-%c' option requires a positive integral argument Usage: %s [options] [target] ... This program built for %s This program built for %s (%s) Report bugs to /tmp /usr/share/locale make getcwd .VARIABLES .RECIPEPREFIX .SHELLFLAGS target-specific order-only second-expansion else-if shortest-stem undefine oneshell archives jobserver check-symlink .FEATURES SHELL MAKE_RESTARTS unknown debug level specification `%s' MAKE_COMMAND $(MAKE_COMMAND) MAKE -*-command-variables-*- ${-*-command-variables-*-} MAKEOVERRIDES MAKELEVEL CURDIR Makefile from standard input specified twice. TMPDIR fopen (temporary file) fwrite (temporary file) .DEFAULT .DEFAULT_GOAL -*-eval-flags-*- internal error: multiple --jobserver-fds options %d,%d internal error: invalid --jobserver-fds string `%s' Jobserver client (fds %d,%d) warning: -jN forced in submake: disabling jobserver mode. dup jobserver warning: jobserver unavailable: using -j1. Add `+' to parent make rule. creating jobs pipe init jobserver pipe Updating makefiles.... Makefile `%s' might loop; not remaking it. Failed to remake makefile `%s'. Included makefile `%s' was not found. Makefile `%s' was not found chdir Couldn't change back to original directory. MAKEFLAGS=%s Re-executing[%u]: %s=%u MAKE_RESTARTS= MAKE_RESTARTS=%u BOGUS_UPDATE_STATUS /netrel/src/make-3.82.90-1/main.c unlink (temporary file): .DEFAULT_GOAL contains more than one target No targets specified and no makefile found No targets Updating goal targets.... warning: Clock skew detected. Your build may be incomplete. main always-make directory basic debug environment-overrides file help ignore-errors include-dir jobs jobserver-fds keep-going load-average check-symlink-times just-print old-file print-data-base question no-builtin-rules no-builtin-variables silent no-keep-going touch trace version print-directory no-print-directory what-if warn-undefined-variables eval quiet stop new-file assume-new assume-old max-load dry-run recon makefile Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. -d Print lots of debugging information. --debug[=FLAGS] Print various types of debugging information. -e, --environment-overrides Environment variables override makefiles. --eval=STRING Evaluate STRING as a makefile statement. -f FILE, --file=FILE, --makefile=FILE Read FILE as a makefile. -h, --help Print this message and exit. -i, --ignore-errors Ignore errors from recipes. -I DIRECTORY, --include-dir=DIRECTORY Search DIRECTORY for included makefiles. -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. -k, --keep-going Keep going when some targets can't be made. -l [N], --load-average[=N], --max-load[=N] Don't start multiple jobs unless load is below N. -L, --check-symlink-times Use the latest mtime between symlinks and target. -n, --just-print, --dry-run, --recon Don't actually run any recipe; just print them. -o FILE, --old-file=FILE, --assume-old=FILE Consider FILE to be very old and don't remake it. -p, --print-data-base Print make's internal database. -q, --question Run no recipe; exit status says if up to date. -r, --no-builtin-rules Disable the built-in implicit rules. -R, --no-builtin-variables Disable the built-in variable settings. -s, --silent, --quiet Don't echo recipes. -S, --no-keep-going, --stop Turns off -k. -t, --touch Touch targets instead of remaking them. --trace Print tracing information. -v, --version Print the version number of make and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE Consider FILE to be infinitely new. --warn-undefined-variables Warn when an undefined variable is referenced. %s: %s[%u]: %s:%lu: %s:%lu: *** %s: *** %s[%u]: *** . Stop. %s%s: %s %s: %s virtual memory exhausted write error: %s write error ifdef ifndef ifeq ifneq else endif Extraneous text after `%s' directive extraneous `%s' only one `else' per conditional warning: NUL character seen; rest of line ignored export override private define undefine prerequisites cannot be defined in recipes mixed implicit and static pattern rules mixed implicit and normal rules .POSIX .SHELLFLAGS .SECONDEXPANSION .ONESHELL target `%s' doesn't match the target pattern target file `%s' has both : and :: entries target `%s' given more than once in the same rule. warning: overriding recipe for target `%s' warning: ignoring old recipe for target `%s' $(HOME) HOME .INCLUDE_DIRS virtual memory exhausted empty variable name extraneous text after `define' directive missing `endef', unterminated `define' endef extraneous text after `endef' directive v != NULL /netrel/src/make-3.82.90-1/read.c invalid syntax in conditional unexport vpath include -include sinclude %s: %s recipe commences before first target missing rule before recipe (did you mean TAB instead of 8 spaces?) missing separator%s *p2 != '\0' v != 0 Malformed target-specific variable definition missing target pattern multiple target patterns target pattern contains no `%%' .DEFAULT_GOAL missing `endif' Reading makefile `%s' (no default goal) (search path) (don't care) (no ~ expansion) MAKEFILE_LIST Reading makefiles... $(MAKEFILES) /usr/include /usr/gnu/include /usr/local/include eval record_target_var GNUmakefile makefile Makefile stat: lstat: readlink: %sNo rule to make target `%s'%s %sNo rule to make target `%s', needed by `%s'%s *** $(.LIBPATTERNS) .LIBPATTERNS element `%s' is not a pattern %s/%s %.2g Warning: File `%s' has modification time %s s in the future touch %s touch: open: touch: fstat: touch: read: touch: lseek: touch: write: Pruning file `%s'. Considering target file `%s'. Recently tried and failed to update file `%s'. File `%s' was considered already. Still updating file `%s'. Finished updating file `%s'. File `%s' does not exist. *** Warning: .LOW_RESOLUTION_TIME file `%s' has a high resolution time stamp Found an implicit rule for `%s'. No implicit rule found for `%s'. Using default recipe for `%s'. Circular %s <- %s dependency dropped. Finished prerequisites of target file `%s'. The prerequisites of `%s' are being made. Giving up on target file `%s'. Target `%s' not remade because of errors. Prerequisite `%s' is order-only for target `%s'. Prerequisite `%s' of target `%s' does not exist. Prerequisite `%s' is newer than target `%s'. Prerequisite `%s' is older than target `%s'. Target `%s' is double-colon and has no prerequisites. No recipe for `%s' and no prerequisites actually changed. Making `%s' due to always-make flag. No need to remake target `%s' ; using VPATH name `%s' Must remake target `%s'. Ignoring VPATH name `%s'. Recipe of `%s' is being run. Failed to remake target file `%s'. Successfully remade target file `%s'. Target file `%s' needs remade under -q. file->update_status >= 0 && file->update_status <= 2 /netrel/src/make-3.82.90-1/remake.c Using default commands for `%s'. Nothing to be done for `%s'. `%s' is up to date. /lib /usr/lib update_file_1 _(knN r->suffixes[0] != NULL /netrel/src/make-3.82.90-1/rule.c r->suffixes[i] != NULL (%.o) # Implicit Rules # No implicit rules. # %u implicit rules, %u (%.1f%%) terminal. BUG: num_pattern_rules is wrong! %u != %u create_pattern_rule install_pattern_rule %s No strcache buffers total_buffers == numbuffs + 1 /netrel/src/make-3.82.90-1/strcache.c %s strcache buffers: %lu (%lu) / strings = %lu / storage = %lu B / avg = %lu B %s current buf: size = %hu B / used = %hu B / count = %hu / avg = %hu B %s other used: total = %lu B / count = %lu / avg = %lu B %s other free: total = %lu B / max = %lu B / min = %lu B / avg = %hu B %s strcache performance: lookups = %lu / hit rate = %lu%% # hash-table stats: strcache_print_stats automatic default environment makefile environment under -e command line `override' directive private (from `%s', line %lu) define %s endef %s %s= $(subst ,,%s) .RECIPEPREFIX .VARIABLES current_variable_set_list->next != NULL /netrel/src/make-3.82.90-1/variable.c MAKELEVEL %s%s%s MAKE_VERSION SHELL MAKEFILES $(patsubst %/,%,$(dir $@)) $(patsubst %/,%,$(dir $%)) $(patsubst %/,%,$(dir $*)) $(patsubst %/,%,$(dir $<)) $(patsubst %/,%,$(dir $?)) $(patsubst %/,%,$(dir $^)) $(patsubst %/,%,$(dir $+)) $(notdir $@) $(notdir $%) $(notdir $*) $(notdir $<) $(notdir $?) $(notdir $^) $(notdir $+) %s=%u empty variable name # variable set hash-table stats: # Variables # Pattern-specific Variable Values %s : # %u pattern-specific variable values # No pattern-specific variable values. pop_variable_scope 3.82.90 i686-pc-cygwin $(strip $(VPATH)) $(strip $(GPATH)) # VPATH Search Paths vpath %s %s%c # No `vpath' search paths. # %u `vpath' search paths. # No general (`VPATH' variable) search path. # General (`VPATH' variable) search path: can't allocate %lu bytes for hash table: memory exhausted Load=%ld/%ld=%.0f%%, Rehash=%d, Collisions=%ld/%ld=%.0f%% BPOSIXLY_CORRECT alnum alpha blank cntrl digit graph lower print punct space upper xdigit next != NULL /netrel/src/make-3.82.90-1/glob/glob.c HOME glob GetModuleHandleA GetProcAddress __assert_func __ctype_ptr__ __errno __getreent __main _dll_crt0 at 0 _exit _fcntl64 _fdopen64 _fopen64 _fstat64 _impure_ptr _lseek64 _lstat64 _open64 _stat64 abort alarm atexit atof atoi atol calloc chdir clock_gettime close closedir ctime cygwin_detach_dll cygwin_internal dll_dllcrt0 dup2 execvp exit fclose fflush fgets fileno fork fprintf fputs fread free fwrite getcwd getenv getlogin getpid getpwnam getrlimit kill localtime malloc memcpy memmove memset mkstemp opendir pipe printf putc putenv puts qsort read readdir readlink realloc realpath remove setlocale setrlimit setvbuf sigaction sigaddset sigemptyset signal sigprocmask sprintf sscanf strchr strcmp strcpy strdup strerror strlen strncmp strncpy strndup strpbrk strrchr strsignal strstr time tolower unlink vfork vfprintf wait waitpid write libintl_bindtextdomain libintl_gettext libintl_textdomain KERNEL32.dll cygwin1.dll cygintl-8.dll Defined make macro "MAKE_IS_GNUMAKE" to "1" Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC})" and code [] Defined make rule "libcu" with dependencies "${LIBNAME}(${OBJSCU})" and code [] Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} ================================================================================ TEST configureMakeNP from config.packages.make(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/packages/make.py:121) TESTING: configureMakeNP from config.packages.make(config/BuildSystem/config/packages/make.py:121) check no of cores on the build machine [perhaps to do make '-j ncores'] module multiprocessing found 12 cores: using make_np = 10 Defined make macro "MAKE_NP" to "10" Defined make macro "OMAKE_PRINTDIR " to "/usr/bin/make --print-directory" Defined make macro "OMAKE" to "/usr/bin/make --no-print-directory" Pushing language C ================================================================================ TEST configureLibrary from config.packages.MPI(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/packages/MPI.py:744) TESTING: configureLibrary from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:744) Calls the regular package configureLibrary and then does an additional test needed by MPI ================================================================================== Checking for a functional MPI Checking for library in User specified MPI libraries: ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] Contents: ['Bin', 'Inc', 'Lib', 'License'] ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-54YYwh/config.libraries/conftest.o -I/tmp/petsc-54YYwh/config.setCompilers -I/tmp/petsc-54YYwh/config.compilers -I/tmp/petsc-54YYwh/config.headers -I/tmp/petsc-54YYwh/PETSc.utilities.cacheDetails -I/tmp/petsc-54YYwh/PETSc.utilities.featureTestMacros -I/tmp/petsc-54YYwh/config.types -I/tmp/petsc-54YYwh/config.libraries -I/tmp/petsc-54YYwh/PETSc.utilities.missing -I/tmp/petsc-54YYwh/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-54YYwh/config.libraries/conftest.exe -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /tmp/petsc-54YYwh/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib -Wl,-rpath,/usr/lib/gcc/i686-pc-cygwin/4.7.3 -L/usr/lib/gcc/i686-pc-cygwin/4.7.3 -ldl -lgcc_s -ladvapi32 -lshell32 -luser32 -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-54YYwh/config.libraries/conftest.o: In function `check_MPI_Init': /tmp/petsc-54YYwh/config.libraries/conftest.c:5: undefined reference to `MPI_Init' /tmp/petsc-54YYwh/config.libraries/conftest.o: In function `check_MPI_Comm_create': /tmp/petsc-54YYwh/config.libraries/conftest.c:7: undefined reference to `MPI_Comm_create' collect2: error: ld returned 1 exit status Popping language C **** Configure header /tmp/petsc-54YYwh/confdefs.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #ifndef STDC_HEADERS #define STDC_HEADERS 1 #endif #ifndef PETSC_HAVE_STRING_H #define PETSC_HAVE_STRING_H 1 #endif #ifndef PETSC_HAVE_SYS_TIMES_H #define PETSC_HAVE_SYS_TIMES_H 1 #endif #ifndef PETSC_HAVE_SYS_TYPES_H #define PETSC_HAVE_SYS_TYPES_H 1 #endif #ifndef PETSC_HAVE_ENDIAN_H #define PETSC_HAVE_ENDIAN_H 1 #endif #ifndef PETSC_HAVE_SYS_PROCFS_H #define PETSC_HAVE_SYS_PROCFS_H 1 #endif #ifndef PETSC_HAVE_DLFCN_H #define PETSC_HAVE_DLFCN_H 1 #endif #ifndef PETSC_HAVE_MACHINE_ENDIAN_H #define PETSC_HAVE_MACHINE_ENDIAN_H 1 #endif #ifndef PETSC_HAVE_SCHED_H #define PETSC_HAVE_SCHED_H 1 #endif #ifndef PETSC_HAVE_STDINT_H #define PETSC_HAVE_STDINT_H 1 #endif #ifndef PETSC_HAVE_TIME_H #define PETSC_HAVE_TIME_H 1 #endif #ifndef PETSC_HAVE_MATH_H #define PETSC_HAVE_MATH_H 1 #endif #ifndef PETSC_HAVE_SYS_RESOURCE_H #define PETSC_HAVE_SYS_RESOURCE_H 1 #endif #ifndef PETSC_HAVE_DOS_H #define PETSC_HAVE_DOS_H 1 #endif #ifndef PETSC_HAVE_STDLIB_H #define PETSC_HAVE_STDLIB_H 1 #endif #ifndef PETSC_HAVE_SYS_PARAM_H #define PETSC_HAVE_SYS_PARAM_H 1 #endif #ifndef PETSC_HAVE_PTHREAD_H #define PETSC_HAVE_PTHREAD_H 1 #endif #ifndef PETSC_HAVE_UNISTD_H #define PETSC_HAVE_UNISTD_H 1 #endif #ifndef PETSC_HAVE_SYS_WAIT_H #define PETSC_HAVE_SYS_WAIT_H 1 #endif #ifndef PETSC_HAVE_SETJMP_H #define PETSC_HAVE_SETJMP_H 1 #endif #ifndef PETSC_HAVE_LIMITS_H #define PETSC_HAVE_LIMITS_H 1 #endif #ifndef PETSC_HAVE_SYS_UTSNAME_H #define PETSC_HAVE_SYS_UTSNAME_H 1 #endif #ifndef PETSC_HAVE_NETINET_IN_H #define PETSC_HAVE_NETINET_IN_H 1 #endif #ifndef PETSC_HAVE_SYS_SOCKET_H #define PETSC_HAVE_SYS_SOCKET_H 1 #endif #ifndef PETSC_HAVE_FLOAT_H #define PETSC_HAVE_FLOAT_H 1 #endif #ifndef PETSC_HAVE_SEARCH_H #define PETSC_HAVE_SEARCH_H 1 #endif #ifndef PETSC_HAVE_WS2TCPIP_H #define PETSC_HAVE_WS2TCPIP_H 1 #endif #ifndef PETSC_TIME_WITH_SYS_TIME #define PETSC_TIME_WITH_SYS_TIME 1 #endif #ifndef PETSC_HAVE_NETDB_H #define PETSC_HAVE_NETDB_H 1 #endif #ifndef PETSC_HAVE_MALLOC_H #define PETSC_HAVE_MALLOC_H 1 #endif #ifndef PETSC_HAVE_PWD_H #define PETSC_HAVE_PWD_H 1 #endif #ifndef PETSC_HAVE_FCNTL_H #define PETSC_HAVE_FCNTL_H 1 #endif #ifndef PETSC_HAVE_DIRECT_H #define PETSC_HAVE_DIRECT_H 1 #endif #ifndef PETSC_HAVE_STRINGS_H #define PETSC_HAVE_STRINGS_H 1 #endif #ifndef PETSC_HAVE_WINDOWSX_H #define PETSC_HAVE_WINDOWSX_H 1 #endif #ifndef PETSC_HAVE_IEEEFP_H #define PETSC_HAVE_IEEEFP_H 1 #endif #ifndef PETSC_HAVE_SYS_SYSINFO_H #define PETSC_HAVE_SYS_SYSINFO_H 1 #endif #ifndef PETSC_HAVE_IO_H #define PETSC_HAVE_IO_H 1 #endif #ifndef PETSC_HAVE_SYS_TIME_H #define PETSC_HAVE_SYS_TIME_H 1 #endif #ifndef PETSC_USING_F90 #define PETSC_USING_F90 1 #endif #ifndef PETSC_USING_F2003 #define PETSC_USING_F2003 1 #endif #ifndef PETSC_HAVE_RTLD_NOW #define PETSC_HAVE_RTLD_NOW 1 #endif #ifndef PETSC_HAVE_RTLD_LOCAL #define PETSC_HAVE_RTLD_LOCAL 1 #endif #ifndef PETSC_HAVE_RTLD_LAZY #define PETSC_HAVE_RTLD_LAZY 1 #endif #ifndef PETSC_C_STATIC_INLINE #define PETSC_C_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_FORTRAN_UNDERSCORE #define PETSC_HAVE_FORTRAN_UNDERSCORE 1 #endif #ifndef PETSC_HAVE_CXX_NAMESPACE #define PETSC_HAVE_CXX_NAMESPACE 1 #endif #ifndef PETSC_HAVE_RTLD_GLOBAL #define PETSC_HAVE_RTLD_GLOBAL 1 #endif #ifndef PETSC_C_RESTRICT #define PETSC_C_RESTRICT __restrict__ #endif #ifndef PETSC_CXX_RESTRICT #define PETSC_CXX_RESTRICT __restrict__ #endif #ifndef PETSC_CXX_STATIC_INLINE #define PETSC_CXX_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_FENV_H #define PETSC_HAVE_FENV_H 1 #endif #ifndef PETSC_HAVE_LIBDL #define PETSC_HAVE_LIBDL 1 #endif #ifndef PETSC_HAVE_TGAMMA #define PETSC_HAVE_TGAMMA 1 #endif #ifndef PETSC_HAVE_ERF #define PETSC_HAVE_ERF 1 #endif #ifndef PETSC_ARCH #define PETSC_ARCH "arch-mswin-c-debug" #endif #ifndef PETSC_CLANGUAGE_C #define PETSC_CLANGUAGE_C 1 #endif #ifndef PETSC_USE_ERRORCHECKING #define PETSC_USE_ERRORCHECKING 1 #endif #ifndef PETSC_MISSING_DREAL #define PETSC_MISSING_DREAL 1 #endif #ifndef PETSC_BITS_PER_BYTE #define PETSC_BITS_PER_BYTE 8 #endif #ifndef PETSC_SIZEOF_VOID_P #define PETSC_SIZEOF_VOID_P 4 #endif #ifndef PETSC_RETSIGTYPE #define PETSC_RETSIGTYPE void #endif #ifndef PETSC_HAVE___INT64 #define PETSC_HAVE___INT64 1 #endif #ifndef PETSC_HAVE_CXX_COMPLEX #define PETSC_HAVE_CXX_COMPLEX 1 #endif #ifndef PETSC_SIZEOF_LONG #define PETSC_SIZEOF_LONG 4 #endif #ifndef PETSC_USE_FORTRANKIND #define PETSC_USE_FORTRANKIND 1 #endif #ifndef PETSC_SIZEOF_INT #define PETSC_SIZEOF_INT 4 #endif #ifndef PETSC_SIZEOF_SIZE_T #define PETSC_SIZEOF_SIZE_T 4 #endif #ifndef PETSC_uid_t #define PETSC_uid_t int #endif #ifndef PETSC_SIZEOF_CHAR #define PETSC_SIZEOF_CHAR 1 #endif #ifndef PETSC_SIZEOF_DOUBLE #define PETSC_SIZEOF_DOUBLE 8 #endif #ifndef PETSC_SIZEOF_FLOAT #define PETSC_SIZEOF_FLOAT 4 #endif #ifndef PETSC_HAVE_C99_COMPLEX #define PETSC_HAVE_C99_COMPLEX 1 #endif #ifndef PETSC_gid_t #define PETSC_gid_t int #endif #ifndef PETSC_SIZEOF_LONG_LONG #define PETSC_SIZEOF_LONG_LONG 8 #endif #ifndef PETSC_SIZEOF_SHORT #define PETSC_SIZEOF_SHORT 2 #endif #ifndef PETSC_HAVE_STRCASECMP #define PETSC_HAVE_STRCASECMP 1 #endif #ifndef PETSC_HAVE_GET_NPROCS #define PETSC_HAVE_GET_NPROCS 1 #endif #ifndef PETSC_HAVE_POPEN #define PETSC_HAVE_POPEN 1 #endif #ifndef PETSC_HAVE_SIGSET #define PETSC_HAVE_SIGSET 1 #endif #ifndef PETSC_HAVE_GETWD #define PETSC_HAVE_GETWD 1 #endif #ifndef PETSC_HAVE_VSNPRINTF #define PETSC_HAVE_VSNPRINTF 1 #endif #ifndef PETSC_HAVE_TIMES #define PETSC_HAVE_TIMES 1 #endif #ifndef PETSC_HAVE_DLSYM #define PETSC_HAVE_DLSYM 1 #endif #ifndef PETSC_HAVE__SLEEP #define PETSC_HAVE__SLEEP 1 #endif #ifndef PETSC_HAVE_GETHOSTBYNAME #define PETSC_HAVE_GETHOSTBYNAME 1 #endif #ifndef PETSC_HAVE_GETCWD #define PETSC_HAVE_GETCWD 1 #endif #ifndef PETSC_HAVE_DLERROR #define PETSC_HAVE_DLERROR 1 #endif #ifndef PETSC_HAVE__GETCWD #define PETSC_HAVE__GETCWD 1 #endif #ifndef PETSC_HAVE_FORK #define PETSC_HAVE_FORK 1 #endif #ifndef PETSC_HAVE_RAND #define PETSC_HAVE_RAND 1 #endif #ifndef PETSC_HAVE_GETTIMEOFDAY #define PETSC_HAVE_GETTIMEOFDAY 1 #endif #ifndef PETSC_HAVE_DLCLOSE #define PETSC_HAVE_DLCLOSE 1 #endif #ifndef PETSC_HAVE_UNAME #define PETSC_HAVE_UNAME 1 #endif #ifndef PETSC_HAVE__LSEEK #define PETSC_HAVE__LSEEK 1 #endif #ifndef PETSC_HAVE_GETHOSTNAME #define PETSC_HAVE_GETHOSTNAME 1 #endif #ifndef PETSC_HAVE_DLOPEN #define PETSC_HAVE_DLOPEN 1 #endif #ifndef PETSC_HAVE_MKSTEMP #define PETSC_HAVE_MKSTEMP 1 #endif #ifndef PETSC_HAVE_SIGACTION #define PETSC_HAVE_SIGACTION 1 #endif #ifndef PETSC_HAVE_DRAND48 #define PETSC_HAVE_DRAND48 1 #endif #ifndef PETSC_HAVE_VA_COPY #define PETSC_HAVE_VA_COPY 1 #endif #ifndef PETSC_HAVE_CLOCK #define PETSC_HAVE_CLOCK 1 #endif #ifndef PETSC_HAVE_ACCESS #define PETSC_HAVE_ACCESS 1 #endif #ifndef PETSC_HAVE_SIGNAL #define PETSC_HAVE_SIGNAL 1 #endif #ifndef PETSC_HAVE_USLEEP #define PETSC_HAVE_USLEEP 1 #endif #ifndef PETSC_HAVE_GETRUSAGE #define PETSC_HAVE_GETRUSAGE 1 #endif #ifndef PETSC_HAVE_VFPRINTF #define PETSC_HAVE_VFPRINTF 1 #endif #ifndef PETSC_HAVE_MEMALIGN #define PETSC_HAVE_MEMALIGN 1 #endif #ifndef PETSC_HAVE_GETDOMAINNAME #define PETSC_HAVE_GETDOMAINNAME 1 #endif #ifndef PETSC_HAVE_TIME #define PETSC_HAVE_TIME 1 #endif #ifndef PETSC_HAVE_LSEEK #define PETSC_HAVE_LSEEK 1 #endif #ifndef PETSC_HAVE_SNPRINTF #define PETSC_HAVE_SNPRINTF 1 #endif #ifndef PETSC_HAVE_SYSINFO #define PETSC_HAVE_SYSINFO 1 #endif #ifndef PETSC_HAVE_VFPRINTF_CHAR #define PETSC_HAVE_VFPRINTF_CHAR 1 #endif #ifndef PETSC_HAVE_READLINK #define PETSC_HAVE_READLINK 1 #endif #ifndef PETSC_HAVE_REALPATH #define PETSC_HAVE_REALPATH 1 #endif #ifndef PETSC_HAVE__ACCESS #define PETSC_HAVE__ACCESS 1 #endif #ifndef PETSC_HAVE_MEMMOVE #define PETSC_HAVE_MEMMOVE 1 #endif #ifndef PETSC_HAVE__GFORTRAN_IARGC #define PETSC_HAVE__GFORTRAN_IARGC 1 #endif #ifndef PETSC_HAVE_GETPAGESIZE #define PETSC_HAVE_GETPAGESIZE 1 #endif #ifndef PETSC_HAVE_SLEEP #define PETSC_HAVE_SLEEP 1 #endif #ifndef PETSC_HAVE_VPRINTF #define PETSC_HAVE_VPRINTF 1 #endif #ifndef PETSC_HAVE_BZERO #define PETSC_HAVE_BZERO 1 #endif #ifndef PETSC_HAVE__SNPRINTF #define PETSC_HAVE__SNPRINTF 1 #endif #ifndef PETSC_SIGNAL_CAST #define PETSC_SIGNAL_CAST #endif #ifndef PETSC_HAVE_SOCKET #define PETSC_HAVE_SOCKET 1 #endif #ifndef HAVE_GZIP #define HAVE_GZIP 1 #endif #ifndef PETSC_LEVEL1_DCACHE_LINESIZE #define PETSC_LEVEL1_DCACHE_LINESIZE 32 #endif #ifndef PETSC_LEVEL1_DCACHE_SIZE #define PETSC_LEVEL1_DCACHE_SIZE 32768 #endif #ifndef PETSC_LEVEL1_DCACHE_ASSOC #define PETSC_LEVEL1_DCACHE_ASSOC 2 #endif #ifndef PETSC_USE_GDB_DEBUGGER #define PETSC_USE_GDB_DEBUGGER 1 #endif #ifndef PETSC__BSD_SOURCE #define PETSC__BSD_SOURCE 1 #endif #ifndef PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT #define PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT 1 #endif #ifndef PETSC_HAVE_GFORTRAN_IARGC #define PETSC_HAVE_GFORTRAN_IARGC 1 #endif #ifndef PETSC_USE_PROC_FOR_SIZE #define PETSC_USE_PROC_FOR_SIZE 1 #endif #ifndef PETSC_MEMALIGN #define PETSC_MEMALIGN 16 #endif #ifndef PETSC_MISSING_SIGURG #define PETSC_MISSING_SIGURG 1 #endif #ifndef PETSC_MISSING_SIGPIPE #define PETSC_MISSING_SIGPIPE 1 #endif #ifndef PETSC_MISSING_SIGHUP #define PETSC_MISSING_SIGHUP 1 #endif #ifndef PETSC_MISSING_SIGSTOP #define PETSC_MISSING_SIGSTOP 1 #endif #ifndef PETSC_MISSING_SIGSYS #define PETSC_MISSING_SIGSYS 1 #endif #ifndef PETSC_MISSING_SIGCONT #define PETSC_MISSING_SIGCONT 1 #endif #ifndef PETSC_MISSING_SIGTSTP #define PETSC_MISSING_SIGTSTP 1 #endif #ifndef PETSC_MISSING_SIGCHLD #define PETSC_MISSING_SIGCHLD 1 #endif #ifndef PETSC_MISSING_SIGKILL #define PETSC_MISSING_SIGKILL 1 #endif #ifndef PETSC_MISSING_SIGUSR1 #define PETSC_MISSING_SIGUSR1 1 #endif #ifndef PETSC_MISSING_SIGQUIT #define PETSC_MISSING_SIGQUIT 1 #endif #ifndef PETSC_MISSING_SIGBUS #define PETSC_MISSING_SIGBUS 1 #endif #ifndef PETSC_MISSING_SIGTRAP #define PETSC_MISSING_SIGTRAP 1 #endif #ifndef PETSC_MISSING_SIGALRM #define PETSC_MISSING_SIGALRM 1 #endif #ifndef PETSC_NEEDS_UTYPE_TYPEDEFS #define PETSC_NEEDS_UTYPE_TYPEDEFS 1 #endif #ifndef PETSC_MISSING_SIGUSR2 #define PETSC_MISSING_SIGUSR2 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 #endif **** C specific Configure header /tmp/petsc-54YYwh/conffix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN typedef int int32_t; #if defined(__cplusplus) extern "C" { } #else #include int getdomainname(char *, size_t); double drand48(void); void srand48(long int); #endif #endif ******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- --with-mpi-lib=['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] and --with-mpi-include=['/cygdrive/c/MSHPC/MSHPC2008R2/Inc'] did not work ******************************************************************************* File "./config/configure.py", line 272, in petsc_configure framework.configure(out = sys.stdout) File "/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/framework.py", line 935, in configure child.configure() File "/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/package.py", line 571, in configure self.executeTest(self.configureLibrary) File "/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/base.py", line 126, in executeTest ret = test(*args,**kargs) File "/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/packages/MPI.py", line 748, in configureLibrary config.package.Package.configureLibrary(self) File "/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/package.py", line 499, in configureLibrary for location, directory, lib, incl in self.generateGuesses(): File "/cygdrive/c/cygwin/packages/petsc-dev/config/BuildSystem/config/package.py", line 303, in generateGuesses raise RuntimeError(msg) ================================================================================ Finishing Configure Run at Sun Feb 2 01:07:00 2014 ================================================================================ From balay at mcs.anl.gov Sun Feb 2 10:32:25 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Sun, 2 Feb 2014 10:32:25 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <52EC0F39.80509@gmail.com> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> Message-ID: On Fri, 31 Jan 2014, Danyang Su wrote: > On 31/01/2014 12:05 PM, Satish Balay wrote: > > Try: > > --with-mpi-lib="/cygdrive/c/MSHPC/MicrosoftHPCPack2012/Lib/amd64/msmpifec.lib > > /cygdrive/c/MSHPC/MicrosoftHPCPack2012/Lib/amd64/msmpi.lib" > ******************************************************************************* > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for > details): > ------------------------------------------------------------------------------- > External package threadcomm does not work with Microsoft compilers > ******************************************************************************* I don't think threadcomm is tested on windows - and is unlikely to work. satish From balay at mcs.anl.gov Sun Feb 2 10:32:57 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Sun, 2 Feb 2014 10:32:57 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <52EE1357.1050907@gmail.com> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> Message-ID: You can try --download-mpich [not MSMPI] - if you are using gnu compilers on windows. Saitsh On Sun, 2 Feb 2014, Danyang Su wrote: > To see if it is because of the compiler problems, I use gcc, gfortran and g++ > as the compiler. > > The configuration is > > ./configure --with-cc='gcc' --with-fc='gfortran' --with-cxx='g++' > --download-f-blas-lapack --with-threadcomm --with-openmp > --with-mpi-include="/cygdrive/c/MSHPC/MSHPC2008R2/Inc" > --with-mpi-lib="/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib" > > The error is > > ******************************************************************************* > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for > details): > ------------------------------------------------------------------------------- > --with-mpi-lib=['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] and > --with-mpi-include=['/cygdrive/c/MSHPC/MSHPC2008R2/Inc'] did not work > ******************************************************************************* > > On 31/01/2014 1:01 PM, Danyang Su wrote: > > On 31/01/2014 12:05 PM, Satish Balay wrote: > > > Try: > > > --with-mpi-lib="/cygdrive/c/MSHPC/MicrosoftHPCPack2012/Lib/amd64/msmpifec.lib > > > /cygdrive/c/MSHPC/MicrosoftHPCPack2012/Lib/amd64/msmpi.lib" > > ******************************************************************************* > > > > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for > > details): > > ------------------------------------------------------------------------------- > > > > External package threadcomm does not work with Microsoft compilers > > ******************************************************************************* > > > > > > > > Satish > > > > > > > > > On Fri, 31 Jan 2014, Danyang Su wrote: > > > > > > > On 31/01/2014 9:23 AM, Danyang Su wrote: > > > > > On 31/01/2014 8:41 AM, Satish Balay wrote: > > > > > > Try: > > > > > > > > > > > > --with-mpi-include=/cygdrive/c/Program\ Files/Microsoft\ HPC\ Pack\ > > > > > > 2008\ > > > > > > R2/Inc > > > > > > --with-mpi-lib=/cygdrive/c/Program\ Files/Microsoft\ HPC\ Pack\ > > > > > > 2008\ > > > > > > R2/Lib/amd64/msmpi.lib > > > > > ******************************************************************************* > > > > > > > > > > > > > > > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log > > > > > for > > > > > details): > > > > > ------------------------------------------------------------------------------- > > > > > > > > > > > > > > > --with-mpi-lib=['/cygdrive/c/Program', 'Files/Microsoft', 'HPC', > > > > > 'Pack', > > > > > '2008', 'R2/Lib/amd64/msmpi.lib'] and > > > > > --with-mpi-include=['/cygdrive/c/Program Files/Microsoft HPC Pack 2008 > > > > > R2/Inc'] did not work > > > > > ******************************************************************************* > > > > > > > > > > > > > > > It's this due to the blank space in the path? Maybe I can reinstall > > > > > HPC > > > > > package to another destination without blank space in the path. > > > > After reinstall Microsoft HPC in C:\MSHPC\MicrosoftHPCPack2012, I > > > > configure > > > > PETSc installation with > > > > > > > > ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' > > > > --with-cxx='win32fe cl' --download-f-blas-lapack --with-threadcomm > > > > --with-openmp > > > > --with-mpi-include="/cygdrive/c/MSHPC/MicrosoftHPCPack2012/Inc" > > > > --with-mpi-lib="/cygdrive/c/MSHPC/MicrosoftHPCPack2012/Lib/amd64/msmpi.lib" > > > > > > > > > > > > The error is as follows: > > > > > > > > ******************************************************************************* > > > > > > > > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log > > > > for > > > > details): > > > > ------------------------------------------------------------------------------- > > > > > > > > Fortran error! mpi_init() could not be located! > > > > ******************************************************************************* > > > > > > > > > Thanks, > > > > > > > > > > Danyang > > > > > > Satish > > > > > > > > > > > > > > > > > > On Fri, 31 Jan 2014, Danyang Su wrote: > > > > > > > > > > > > > Hi Barry, > > > > > > > > > > > > > > The configure.log has been attached. I can configure with MPICH2 > > > > > > > before. > > > > > > > There > > > > > > > are three MPI implementations (MPICH2, Intel MPI and MSMPI) in my > > > > > > > computer, > > > > > > > the intel mpi distribution comes along with the installation of > > > > > > > Intel > > > > > > > Parallel > > > > > > > Studio. The MPICH2 and MSMPI is installed separately. Now I have > > > > > > > uninstalled > > > > > > > MPICH2 and there is only MSMPI (with sdk) and Intel MPI > > > > > > > distribution. > > > > > > > The system is WIN7 X64 Pro. > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > Danyang > > > > > > > > > > > > > > On 30/01/2014 7:40 PM, Barry Smith wrote: > > > > > > > > We need configure.log > > > > > > > > > > > > > > > > On Jan 30, 2014, at 8:50 PM, Danyang Su > > > > > > > > wrote: > > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > > > > > > > When configure petsc with msmpi > > > > > > > > > > > > > > > > > > ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' > > > > > > > > > --with-cxx='win32fe cl' --download-f-blas-lapack > > > > > > > > > --with-threadco > > > > > > > > > mm --with-openmp --with-mpi-include="/cygdrive/c/Program > > > > > > > > > Files/Microsoft > > > > > > > > > HPC Pack 2008 R2/Inc" --with-mpi-lib="/cygdrive/c/Prog > > > > > > > > > ram Files/Microsoft HPC Pack 2008 R2/Lib/amd64/msmpi.lib" > > > > > > > > > > > > > > > > > > I get the following error > > > > > > > > > > > > > > > > > > --with-mpi-lib=['/cygdrive/c/Program', 'Files/Microsoft', > > > > > > > > > 'HPC', > > > > > > > > > 'Pack', > > > > > > > > > '2008', 'R2/Lib/amd64/msmpi.lib'] and > > > > > > > > > --with-mpi-include=['/cygdrive/c/Program Files/Microsoft HPC > > > > > > > > > Pack > > > > > > > > > 2008 > > > > > > > > > R2/Inc'] did not work > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > > > Danyang > > > > > > > > > > > > > > > > > > > > From jed at jedbrown.org Sun Feb 2 11:55:08 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 10:55:08 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> Message-ID: <87lhxt9z7n.fsf@jedbrown.org> Satish Balay writes: > You can try --download-mpich [not MSMPI] - if you are using gnu > compilers on windows. MPICH is no longer supported on Windows (no funding). They have mailing list traffic about it almost every day, and recommend using MSMPI or Intel MPI. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From balay at mcs.anl.gov Sun Feb 2 12:10:27 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Sun, 2 Feb 2014 12:10:27 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <87lhxt9z7n.fsf@jedbrown.org> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> Message-ID: On Sun, 2 Feb 2014, Jed Brown wrote: > Satish Balay writes: > > > You can try --download-mpich [not MSMPI] - if you are using gnu > > compilers on windows. > > MPICH is no longer supported on Windows (no funding). They have mailing > list traffic about it almost every day, and recommend using MSMPI or > Intel MPI. 1. I don't htink MSMPI supports cygwin/gcc 2. [Unsupported] MPICH you refer to - was the version that worked with MS/Intel compilers. Eventhough there was a part of this binary install that was supporsed to work with cygwin/gcc compilers - it never properly worked. 3. --download-mpich worked previously with cygwin/gcc [without any any cygwin specific work from MPICH folks]. I'm guessing it will continue to work. 4. Cygwin has OpenMPI - but I haven't tried that. Presumably that should also work. However wrt the primary issue of this thread - if '--with-threadcomm --with-openmp' is required - then its best to use linux [perhaps via a VirtualMachine] Satish From bsmith at mcs.anl.gov Sun Feb 2 12:13:00 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Sun, 2 Feb 2014 12:13:00 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <87lhxt9z7n.fsf@jedbrown.org> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> Message-ID: On Feb 2, 2014, at 11:55 AM, Jed Brown wrote: > Satish Balay writes: > >> You can try --download-mpich [not MSMPI] - if you are using gnu >> compilers on windows. > > MPICH is no longer supported on Windows (no funding). They have mailing > list traffic about it almost every day, and recommend using MSMPI or > Intel MPI. Maybe the Open Source Community can take up maintenance on it From jed at jedbrown.org Sun Feb 2 12:18:04 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 11:18:04 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> Message-ID: <87fvo19y5f.fsf@jedbrown.org> Satish Balay writes: > On Sun, 2 Feb 2014, Jed Brown wrote: > >> Satish Balay writes: >> >> > You can try --download-mpich [not MSMPI] - if you are using gnu >> > compilers on windows. >> >> MPICH is no longer supported on Windows (no funding). They have mailing >> list traffic about it almost every day, and recommend using MSMPI or >> Intel MPI. > > 1. I don't htink MSMPI supports cygwin/gcc Naturally. > 2. [Unsupported] MPICH you refer to - was the version that worked with > MS/Intel compilers. Eventhough there was a part of this binary install > that was supporsed to work with cygwin/gcc compilers - it never > properly worked. The MPICH2-1.4 series was the last version that upstream MPICH tested or supported on Windows. They no longer support that version and they no longer support Windows in any form (no testing, no user support). http://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_Why_can.27t_I_build_MPICH_on_Windows_anymore.3F > 3. --download-mpich worked previously with cygwin/gcc [without any any > cygwin specific work from MPICH folks]. I'm guessing it will continue > to work. Only insofar as being POSIX-compliant implies that it will Just Work on cygwin. > 4. Cygwin has OpenMPI - but I haven't tried that. Presumably that > should also work. > > However wrt the primary issue of this thread - if '--with-threadcomm > --with-openmp' is required - then its best to use linux [perhaps via a > VirtualMachine] Turn off those options for now. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From balay at mcs.anl.gov Sun Feb 2 12:25:05 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Sun, 2 Feb 2014 12:25:05 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <87fvo19y5f.fsf@jedbrown.org> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> Message-ID: On Sun, 2 Feb 2014, Jed Brown wrote: > Satish Balay writes: > > > On Sun, 2 Feb 2014, Jed Brown wrote: > > > >> Satish Balay writes: > >> > >> > You can try --download-mpich [not MSMPI] - if you are using gnu > >> > compilers on windows. > >> > >> MPICH is no longer supported on Windows (no funding). They have mailing > >> list traffic about it almost every day, and recommend using MSMPI or > >> Intel MPI. > > > > 1. I don't htink MSMPI supports cygwin/gcc > > Naturally. > > > 2. [Unsupported] MPICH you refer to - was the version that worked with > > MS/Intel compilers. Eventhough there was a part of this binary install > > that was supporsed to work with cygwin/gcc compilers - it never > > properly worked. > > The MPICH2-1.4 series was the last version that upstream MPICH tested or > supported on Windows. They no longer support that version and they no > longer support Windows in any form (no testing, no user support). > > http://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_Why_can.27t_I_build_MPICH_on_Windows_anymore.3F Yes - but that has no bearing on cygwin/gnu compiler usage [which was the scope of this discussion] > > > 3. --download-mpich worked previously with cygwin/gcc [without any any > > cygwin specific work from MPICH folks]. I'm guessing it will continue > > to work. > > Only insofar as being POSIX-compliant implies that it will Just Work on > cygwin. > > > 4. Cygwin has OpenMPI - but I haven't tried that. Presumably that > > should also work. > > > > However wrt the primary issue of this thread - if '--with-threadcomm > > --with-openmp' is required - then its best to use linux [perhaps via a > > VirtualMachine] > > Turn off those options for now. Hence the user got the following message from configure. ------------------------------------------------------------------------------- External package threadcomm does not work with Microsoft compilers ******************************************************************************* Satish From jed at jedbrown.org Sun Feb 2 12:28:02 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 11:28:02 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> Message-ID: <87d2j59xot.fsf@jedbrown.org> Barry Smith writes: > On Feb 2, 2014, at 11:55 AM, Jed Brown wrote: > >> Satish Balay writes: >> >>> You can try --download-mpich [not MSMPI] - if you are using gnu >>> compilers on windows. >> >> MPICH is no longer supported on Windows (no funding). They have mailing >> list traffic about it almost every day, and recommend using MSMPI or >> Intel MPI. > > Maybe the Open Source Community can take up maintenance on it That requires a competent and motivated developer with a vested interest in having MPICH work with Cygwin. So far, said person has not appeared. MS-MPI is MPICH with a few proprietary bits. The binaries are free, but it is not open source. I guess this is a problem for us because it doesn't work with Cygwin (I don't understand the issues). Should we reconsider non-Cygwin builds? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From balay at mcs.anl.gov Sun Feb 2 12:28:58 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Sun, 2 Feb 2014 12:28:58 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> Message-ID: On Sun, 2 Feb 2014, Satish Balay wrote: > > > 2. [Unsupported] MPICH you refer to - was the version that worked with > > > MS/Intel compilers. Eventhough there was a part of this binary install > > > that was supporsed to work with cygwin/gcc compilers - it never > > > properly worked. > > > > The MPICH2-1.4 series was the last version that upstream MPICH tested or > > supported on Windows. They no longer support that version and they no > > longer support Windows in any form (no testing, no user support). > > > > http://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_Why_can.27t_I_build_MPICH_on_Windows_anymore.3F > > Yes - but that has no bearing on cygwin/gnu compiler usage [which was > the scope of this discussion] BTW: We are still using this old MPICH2-1.4 on windows for PETSc nightly builds [with antique MS compilers] Satish From jed at jedbrown.org Sun Feb 2 12:33:17 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 11:33:17 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> Message-ID: <87a9e99xg2.fsf@jedbrown.org> Satish Balay writes: >> http://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_Why_can.27t_I_build_MPICH_on_Windows_anymore.3F > > Yes - but that has no bearing on cygwin/gnu compiler usage [which was > the scope of this discussion] They don't test it, support it, or track bug reports on any Windows platforms (with or without Cygwin). It is the same canned response on an almost daily basis on the mailing list. The last commit to mention Cygwin was in 2011. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From jed at jedbrown.org Sun Feb 2 12:38:21 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 11:38:21 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> Message-ID: <877g9d9x7m.fsf@jedbrown.org> Satish Balay writes: > BTW: We are still using this old MPICH2-1.4 on windows for PETSc > nightly builds [with antique MS compilers] How would we feel about another project bundling petsc-3.0 indefinitely? "Feel free, but it's up to you to support it." I think we have to figure out something workable using supported packages. We don't want to be in the business of maintaining/supporting antique versions of other libraries. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From knepley at gmail.com Sun Feb 2 12:41:54 2014 From: knepley at gmail.com (Matthew Knepley) Date: Sun, 2 Feb 2014 12:41:54 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <877g9d9x7m.fsf@jedbrown.org> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <877g9d9x7m.fsf@jedbrown.org> Message-ID: On Sun, Feb 2, 2014 at 12:38 PM, Jed Brown wrote: > Satish Balay writes: > > BTW: We are still using this old MPICH2-1.4 on windows for PETSc > > nightly builds [with antique MS compilers] > > How would we feel about another project bundling petsc-3.0 indefinitely? > I don't think this is apples-to-apples since there are later versions of PETSc that do everything the earlier versions do. This is a case of the developer getting run over by a bus (or at least their courage) and us finding a way to keep the functionality. Matt > "Feel free, but it's up to you to support it." > > I think we have to figure out something workable using supported > packages. We don't want to be in the business of maintaining/supporting > antique versions of other libraries. > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From balay at mcs.anl.gov Sun Feb 2 12:43:46 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Sun, 2 Feb 2014 12:43:46 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <87a9e99xg2.fsf@jedbrown.org> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <87a9e99xg2.fsf@jedbrown.org> Message-ID: On Sun, 2 Feb 2014, Jed Brown wrote: > Satish Balay writes: > >> http://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_Why_can.27t_I_build_MPICH_on_Windows_anymore.3F > > > > Yes - but that has no bearing on cygwin/gnu compiler usage [which was > > the scope of this discussion] > > They don't test it, support it, or track bug reports on any Windows > platforms (with or without Cygwin). It is the same canned response on > an almost daily basis on the mailing list. The last commit to mention > Cygwin was in 2011. I'm not sure what issue we are discussing here.. If a user wants to use PETSc with cygwin, MPICH or OpenMPI should work. However if the user wants to use PETSc with cygwin - and needs 'upstream' support for all these packages - most of the packages that work with --download-package are not really tested or supported by upstream. [supleru? metis? hypre? others?] If the user wants an MPI properly supported by cygwin - then they can install OpenMPI thats packages as part of cygwin. [If not upstream - the cygwin maintainger supports it?] Most of the statements from MPICH folks regarding Windows is wrt MPICH binary distribution for MS/Intel compilers. I don't know if they had a position on cygwin before - or if that position changed [along with their position on this binary distribution] Satish From jed at jedbrown.org Sun Feb 2 12:52:38 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 11:52:38 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <877g9d9x7m.fsf@jedbrown.org> Message-ID: <874n4h9wjt.fsf@jedbrown.org> Matthew Knepley writes: > I don't think this is apples-to-apples since there are later versions > of PETSc that do everything the earlier versions do. This is a case of > the developer getting run over by a bus (or at least their courage) > and us finding a way to keep the functionality. We removed DMMG, which is "loss of functionality" in the sense that old code doesn't work without significant refactoring. We got rid of it because it was high-maintenance and non-composable. It's not perfect parity, but Windows/Cygwin was dropped because it was high-maintenance, so it's not that different. Developer time is in limited supply and Windows users tend to prefer binary installs and non-Cygwin solutions, so they're more prone to grumble about your Windows support than to thank you for maintaining it on a volunteer basis. We can disagree with the decision of the MPICH project, but I see their rationale. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From jed at jedbrown.org Sun Feb 2 12:57:44 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 11:57:44 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <87a9e99xg2.fsf@jedbrown.org> Message-ID: <87zjm98hqv.fsf@jedbrown.org> Satish Balay writes: > If a user wants to use PETSc with cygwin, MPICH or OpenMPI should work. > > However if the user wants to use PETSc with cygwin - and needs > 'upstream' support for all these packages - most of the packages that > work with --download-package are not really tested or supported by > upstream. [supleru? metis? hypre? others?] > > If the user wants an MPI properly supported by cygwin - then they can > install OpenMPI thats packages as part of cygwin. [If not upstream - > the cygwin maintainger supports it?] Yes, they appear to support Cygwin. http://www.open-mpi.org/software/ompi/v1.6/ms-windows.php > Most of the statements from MPICH folks regarding Windows is wrt MPICH > binary distribution for MS/Intel compilers. I don't know if they had a > position on cygwin before - or if that position changed [along with > their position on this binary distribution] It is not supported, see statement below from Dave Goodell, or the response to all Cygwin queries on the mailing list. -------------- next part -------------- An embedded message was scrubbed... From: Dave Goodell Subject: Re: Windows support Date: Fri, 19 Apr 2013 11:31:56 -0500 Size: 3023 URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From balay at mcs.anl.gov Sun Feb 2 13:03:52 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Sun, 2 Feb 2014 13:03:52 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <877g9d9x7m.fsf@jedbrown.org> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <877g9d9x7m.fsf@jedbrown.org> Message-ID: On Sun, 2 Feb 2014, Jed Brown wrote: > Satish Balay writes: > > BTW: We are still using this old MPICH2-1.4 on windows for PETSc > > nightly builds [with antique MS compilers] > > How would we feel about another project bundling petsc-3.0 indefinitely? We are not bundling it. We are using it for our nightly tests. Also the comparision to using petsc doesn't apply here. PETSc changes API with every release. As long as we say we support MPI-2 - such things shold work. In that sense - its good to have some testsuites with such old stuff. > "Feel free, but it's up to you to support it." Thats what we say with users of older version of PETSc. I think its fine [I think thats what opensource is partly about] > I think we have to figure out something workable using supported > packages. We don't want to be in the business of maintaining/supporting > antique versions of other libraries. Supporting windows is a mess. There is no single 'easily' supported thingy here. Sure we should probably also have a different test infracture with latest compilers, latest supported mpi etc.. But that doesn't mean testing with alternatives does not have value.. 'gcc is now at 4.8 - so we shoud not support older versions of gcc...' Satish From danyang.su at gmail.com Sun Feb 2 13:04:18 2014 From: danyang.su at gmail.com (Danyang Su) Date: Sun, 02 Feb 2014 11:04:18 -0800 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <87d2j59xot.fsf@jedbrown.org> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87d2j59xot.fsf@jedbrown.org> Message-ID: <52EE96B2.6050004@gmail.com> Hi All, MPICH with CYGWIN can work on my box if only --with-mpi or --with-openmp is specified, but when both option is given, I can not configure PETSc. As you see, it's best to switch to Linux or at first step, switch to Linux virtual machine. This is what I need to do later, maybe I should try it earlier. Thanks and regards, Danyang On 02/02/2014 10:28 AM, Jed Brown wrote: > Barry Smith writes: > >> On Feb 2, 2014, at 11:55 AM, Jed Brown wrote: >> >>> Satish Balay writes: >>> >>>> You can try --download-mpich [not MSMPI] - if you are using gnu >>>> compilers on windows. >>> MPICH is no longer supported on Windows (no funding). They have mailing >>> list traffic about it almost every day, and recommend using MSMPI or >>> Intel MPI. >> Maybe the Open Source Community can take up maintenance on it > That requires a competent and motivated developer with a vested interest > in having MPICH work with Cygwin. So far, said person has not appeared. > > MS-MPI is MPICH with a few proprietary bits. The binaries are free, but > it is not open source. I guess this is a problem for us because it > doesn't work with Cygwin (I don't understand the issues). Should we > reconsider non-Cygwin builds? From balay at mcs.anl.gov Sun Feb 2 13:09:10 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Sun, 2 Feb 2014 13:09:10 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <87zjm98hqv.fsf@jedbrown.org> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <87a9e99xg2.fsf@jedbrown.org> <87zjm98hqv.fsf@jedbrown.org> Message-ID: woud you like to go through all externalpackages - and disable them on cygwin - as they are not explicitly supported by upstream on cygwin? Satish On Sun, 2 Feb 2014, Jed Brown wrote: > Satish Balay writes: > > If a user wants to use PETSc with cygwin, MPICH or OpenMPI should work. > > > > However if the user wants to use PETSc with cygwin - and needs > > 'upstream' support for all these packages - most of the packages that > > work with --download-package are not really tested or supported by > > upstream. [supleru? metis? hypre? others?] > > > > If the user wants an MPI properly supported by cygwin - then they can > > install OpenMPI thats packages as part of cygwin. [If not upstream - > > the cygwin maintainger supports it?] > > Yes, they appear to support Cygwin. > > http://www.open-mpi.org/software/ompi/v1.6/ms-windows.php > > > Most of the statements from MPICH folks regarding Windows is wrt MPICH > > binary distribution for MS/Intel compilers. I don't know if they had a > > position on cygwin before - or if that position changed [along with > > their position on this binary distribution] > > It is not supported, see statement below from Dave Goodell, or the > response to all Cygwin queries on the mailing list. > > From knepley at gmail.com Sun Feb 2 13:09:37 2014 From: knepley at gmail.com (Matthew Knepley) Date: Sun, 2 Feb 2014 13:09:37 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <874n4h9wjt.fsf@jedbrown.org> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <877g9d9x7m.fsf@jedbrown.org> <874n4h9wjt.fsf@jedbrown.org> Message-ID: On Sun, Feb 2, 2014 at 12:52 PM, Jed Brown wrote: > Matthew Knepley writes: > > I don't think this is apples-to-apples since there are later versions > > of PETSc that do everything the earlier versions do. This is a case of > > the developer getting run over by a bus (or at least their courage) > > and us finding a way to keep the functionality. > > We removed DMMG, which is "loss of functionality" in the sense that old > code doesn't work without significant refactoring. We got rid of it > But it is not a loss of functionality since we replaced it with something that can do everything it did. Whereas MPICH did not replace this with something that works on Windows. It is wholly different. Matt > because it was high-maintenance and non-composable. It's not perfect > parity, but Windows/Cygwin was dropped because it was high-maintenance, > so it's not that different. Developer time is in limited supply and > Windows users tend to prefer binary installs and non-Cygwin solutions, > so they're more prone to grumble about your Windows support than to > thank you for maintaining it on a volunteer basis. > > We can disagree with the decision of the MPICH project, but I see their > rationale. > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Sun Feb 2 13:48:01 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 12:48:01 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <877g9d9x7m.fsf@jedbrown.org> <874n4h9wjt.fsf@jedbrown.org> Message-ID: <87txch8ff2.fsf@jedbrown.org> Matthew Knepley writes: > But it is not a loss of functionality since we replaced it with > something that can do everything it did. Whereas MPICH did not replace > this with something that works on Windows. It is wholly different. I defined functionality as "original code continues to work". MPICH has no problem running on a VM, which is easier to spin up than refactoring code on a large-ish project. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From jed at jedbrown.org Sun Feb 2 13:50:16 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 12:50:16 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <877g9d9x7m.fsf@jedbrown.org> Message-ID: <87r47l8fbb.fsf@jedbrown.org> Satish Balay writes: > We are not bundling it. We are using it for our nightly tests. But are we recommending that people use it? > Also the comparision to using petsc doesn't apply here. PETSc changes > API with every release. As long as we say we support MPI-2 - such > things shold work. In that sense - its good to have some testsuites > with such old stuff. Yes, testing in private is different from recommending that people use it. > Supporting windows is a mess. There is no single 'easily' supported > thingy here. > > Sure we should probably also have a different test infracture with > latest compilers, latest supported mpi etc.. But that doesn't mean > testing with alternatives does not have value.. > > 'gcc is now at 4.8 - so we shoud not support older versions of gcc...' It would be different if we got a bug report with the latest compiler and we told people to use an old compiler. (Some DOE people have gotten mileage out of that tactic, but we find it abhorrent.) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From balay at mcs.anl.gov Sun Feb 2 15:21:40 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Sun, 2 Feb 2014 15:21:40 -0600 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <87r47l8fbb.fsf@jedbrown.org> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <877g9d9x7m.fsf@jedbrown.org> <87r47l8fbb.fsf@jedbrown.org> Message-ID: On Sun, 2 Feb 2014, Jed Brown wrote: > Satish Balay writes: > > We are not bundling it. We are using it for our nightly tests. > > But are we recommending that people use it? On windows I recommend based upon user requirements - and my familiarity in that situation. With this old version of mpich - if it simply works when other alternatives have issues - then I'll recommend users to use it. Yes - we should fix petsc configure to work better with MSMPI - rework all MPI tests to always use mpi.h - rework package.py to use 'Inc' as opposed to 'include' for include dir. [even then - if one is using old MS compilers on windows - the old mpich binary might be easier to use] Satish From jed at jedbrown.org Sun Feb 2 18:31:17 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 17:31:17 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: <52EE96B2.6050004@gmail.com> References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87d2j59xot.fsf@jedbrown.org> <52EE96B2.6050004@gmail.com> Message-ID: <87wqhd6nqi.fsf@jedbrown.org> Danyang Su writes: > Hi All, > > MPICH with CYGWIN can work on my box if only --with-mpi If you --with-mpi=0, then a serial stub implementation is used (not MPICH). > or --with-openmp This option does nothing on its own (only when combined with threadcomm, which is experimental and needs some refactoring). So just don't use that option. You can use OpenMP in your code regardless of whether PETSc is using it internally. (Most operations in PETSc are limited by memory bandwidth anyway, so more threads per socket doesn't offer much.) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From jed at jedbrown.org Sun Feb 2 18:33:27 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 17:33:27 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <87a9e99xg2.fsf@jedbrown.org> <87zjm98hqv.fsf@jedbrown.org> Message-ID: <87txch6nmw.fsf@jedbrown.org> Satish Balay writes: > woud you like to go through all externalpackages - and disable them on > cygwin - as they are not explicitly supported by upstream on cygwin? We should possibly warn that they are unsupported, especially if we don't have a record of it working. There is a nontrivial quantity of support email generated by attempting to do unsupported things on Windows. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From jed at jedbrown.org Sun Feb 2 18:37:13 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 02 Feb 2014 17:37:13 -0700 Subject: [petsc-users] How can PETSc configure with MSMPI In-Reply-To: References: <52EB0F87.2040208@gmail.com> <397B1207-5499-4E71-9CFA-CAAFF343E30D@mcs.anl.gov> <52EB5936.3010306@gmail.com> <52EBDC17.90605@gmail.com> <52EC00F8.6020701@gmail.com> <52EC0F39.80509@gmail.com> <52EE1357.1050907@gmail.com> <87lhxt9z7n.fsf@jedbrown.org> <87fvo19y5f.fsf@jedbrown.org> <877g9d9x7m.fsf@jedbrown.org> <87r47l8fbb.fsf@jedbrown.org> Message-ID: <87r47l6ngm.fsf@jedbrown.org> Satish Balay writes: > On Sun, 2 Feb 2014, Jed Brown wrote: > >> Satish Balay writes: >> > We are not bundling it. We are using it for our nightly tests. >> >> But are we recommending that people use it? > > On windows I recommend based upon user requirements - and my > familiarity in that situation. > > With this old version of mpich - if it simply works when other > alternatives have issues - then I'll recommend users to use it. That's reasonable as a stop-gap measure, but I don't think we want to be in the business of recommending that people build stacks out of unsupported software. > Yes - we should fix petsc configure to work better with MSMPI > > - rework all MPI tests to always use mpi.h > - rework package.py to use 'Inc' as opposed to 'include' for include dir. > > [even then - if one is using old MS compilers on windows - the old > mpich binary might be easier to use] A stop-gap, but we should find something supported to recommend, otherwise we're implicitly taking responsibility when it doesn't work. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From james.mbewu at gmail.com Mon Feb 3 12:58:21 2014 From: james.mbewu at gmail.com (James MBewu) Date: Mon, 3 Feb 2014 18:58:21 +0000 Subject: [petsc-users] Aborting outer iterations when inner iterations reach maxits fieldsplit Message-ID: Hi all petsc gurus, I am solving Navier Stokes equations using Q2-Q1 elements via libmesh and using petsc fieldsplit schur complement etc for the solving I was wondering whether it was possible to abort the outer iterations of the solver if the inner solver reached a set maximum iterations. At the moment if I set the maximum iterations of the inner solver, then once that is reached, the outer iterations continue and another inner solve is performed. Essentially I would like to say "I can't solve the inner problem so let's just give up on the whole thing". Is there any (easy) way to do this? Please advise, thanks, James -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Mon Feb 3 13:08:51 2014 From: knepley at gmail.com (Matthew Knepley) Date: Mon, 3 Feb 2014 13:08:51 -0600 Subject: [petsc-users] Aborting outer iterations when inner iterations reach maxits fieldsplit In-Reply-To: References: Message-ID: On Mon, Feb 3, 2014 at 12:58 PM, James MBewu wrote: > Hi all petsc gurus, > > I am solving Navier Stokes equations using Q2-Q1 elements via libmesh and > using petsc fieldsplit schur complement etc for the solving I was wondering > whether it was possible to abort the outer iterations of the solver if the > inner solver reached a set maximum iterations. At the moment if I set the > maximum iterations of the inner solver, then once that is reached, the > outer iterations continue and another inner solve is performed. Essentially > I would like to say "I can't solve the inner problem so let's just give up > on the whole thing". Is there any (easy) way to do this? > http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/SNES/SNESSetMaxLinearSolveFailures.html#SNESSetMaxLinearSolveFailures Matt > Please advise, thanks, > James > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Mon Feb 3 13:51:54 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Mon, 3 Feb 2014 13:51:54 -0600 Subject: [petsc-users] Aborting outer iterations when inner iterations reach maxits fieldsplit In-Reply-To: References: Message-ID: <0A43E213-95A3-4D52-9E9E-7970BED275E2@mcs.anl.gov> On Feb 3, 2014, at 12:58 PM, James MBewu wrote: > Hi all petsc gurus, > > I am solving Navier Stokes equations using Q2-Q1 elements via libmesh and using petsc fieldsplit schur complement etc for the solving I was wondering whether it was possible to abort the outer iterations of the solver if the inner solver reached a set maximum iterations. At the moment if I set the maximum iterations of the inner solver, then once that is reached, the outer iterations continue and another inner solve is performed. Essentially I would like to say "I can't solve the inner problem so let's just give up on the whole thing". Is there any (easy) way to do this? When the outer and inner iterations are linear we don?t currently have any way of handling. We call KSPSolve() on any inner solve (from the outer solve) and then blindly continue after that solve is ?complete? regardless of the ?quality? of the ?inner? solver. One way we could handle this is to always call KSPGetConvergedReason() after the ?inner? solver and based on that value decide if the ?outer? solve should be short circuited and marked as ?did not converge?. What makes this nontrivial is that depending on the circumstances one may which to continue the ?outer? solver or not and we need to leave flexibility of what to do in this situation and also propagate (or not depending on the circumstance) this ?short circuit? business through several layers of ?inner solvers?. This is a great question, PETSc gurus what do you think? Barry > > Please advise, thanks, > James From knepley at gmail.com Mon Feb 3 14:03:38 2014 From: knepley at gmail.com (Matthew Knepley) Date: Mon, 3 Feb 2014 14:03:38 -0600 Subject: [petsc-users] Aborting outer iterations when inner iterations reach maxits fieldsplit In-Reply-To: <0A43E213-95A3-4D52-9E9E-7970BED275E2@mcs.anl.gov> References: <0A43E213-95A3-4D52-9E9E-7970BED275E2@mcs.anl.gov> Message-ID: On Mon, Feb 3, 2014 at 1:51 PM, Barry Smith wrote: > > On Feb 3, 2014, at 12:58 PM, James MBewu wrote: > > > Hi all petsc gurus, > > > > I am solving Navier Stokes equations using Q2-Q1 elements via libmesh > and using petsc fieldsplit schur complement etc for the solving I was > wondering whether it was possible to abort the outer iterations of the > solver if the inner solver reached a set maximum iterations. At the moment > if I set the maximum iterations of the inner solver, then once that is > reached, the outer iterations continue and another inner solve is > performed. Essentially I would like to say "I can't solve the inner problem > so let's just give up on the whole thing". Is there any (easy) way to do > this? > > When the outer and inner iterations are linear we don't currently have > any way of handling. We call KSPSolve() on any inner solve (from the outer > solve) and then blindly continue after that solve is "complete" regardless > of the "quality" of the "inner" solver. > > One way we could handle this is to always call KSPGetConvergedReason() > after the "inner" solver and based on that value decide if the "outer" > solve should be short circuited and marked as "did not converge". What > makes this nontrivial is that depending on the circumstances one may which > to continue the "outer" solver or not and we need to leave flexibility of > what to do in this situation and also propagate (or not depending on the > circumstance) this "short circuit" business through several layers of > "inner solvers". > > This is a great question, PETSc gurus what do you think? > Okay, I was not thinking before. However, it shows how we handle this for Newton. We make the enclosing solver keep track of the failure of its subsolver and decide what to do. This does allow you to fail a certain number of times before signaling failure above. I don't like this for nested solvers since it seems to make every solver more complex. I would rather that there was a generic solver switch that caused non-convergence to be reported as a non-failure. This does not allow us to keep track of how many happen, but it seems much simpler than making all solvers reproduce the Newton behavior. Also, I don't think there are any compelling reasons that you want K failures. Matt > Barry > > > > > > > Please advise, thanks, > > James > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From lb2653 at columbia.edu Mon Feb 3 15:32:48 2014 From: lb2653 at columbia.edu (Luc Berger-Vergiat) Date: Mon, 3 Feb 2014 16:32:48 -0500 Subject: [petsc-users] Multi level DM Shell In-Reply-To: References: <0A43E213-95A3-4D52-9E9E-7970BED275E2@mcs.anl.gov> Message-ID: I'm fairly sure I know the answer to this question after looking up the source code but is it possible to create sub-splits while using a DMShell? To be more specific I have a matrix which I decompose into 4 fields and I would like to do something like -ksp_type gmres -pc_type fieldsplit -pc_fieldsplit_type schur -pc_fieldsplit_schur_factorization_type full -pc_fieldsplit_schur_precondition self -pc_fieldsplit_0_fields 0,1 -pc_fieldsplit_1_fields 2,3 ... Best, Luc -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Mon Feb 3 15:59:38 2014 From: knepley at gmail.com (Matthew Knepley) Date: Mon, 3 Feb 2014 15:59:38 -0600 Subject: [petsc-users] Multi level DM Shell In-Reply-To: References: <0A43E213-95A3-4D52-9E9E-7970BED275E2@mcs.anl.gov> Message-ID: Yes Matt On Mon, Feb 3, 2014 at 3:32 PM, Luc Berger-Vergiat wrote: > I'm fairly sure I know the answer to this question after looking up the > source code but is it possible to create sub-splits while using a DMShell? > To be more specific I have a matrix which I decompose into 4 fields and I > would like to do something like > > -ksp_type gmres > -pc_type fieldsplit > -pc_fieldsplit_type schur > -pc_fieldsplit_schur_factorization_type full > -pc_fieldsplit_schur_precondition self > -pc_fieldsplit_0_fields 0,1 > -pc_fieldsplit_1_fields 2,3 > ... > > Best, > Luc > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From lb2653 at columbia.edu Mon Feb 3 16:13:36 2014 From: lb2653 at columbia.edu (Luc Berger-Vergiat) Date: Mon, 3 Feb 2014 17:13:36 -0500 Subject: [petsc-users] Multi level DM Shell In-Reply-To: References: <0A43E213-95A3-4D52-9E9E-7970BED275E2@mcs.anl.gov> Message-ID: <353F4CB1-CC94-4860-8F17-8A74E5E24A5A@columbia.edu> Would there be a better option than a DMShell to do define fieldsplits of a matrix already assembled? The matrix comes from an FEM code and has boundary conditions applied to it before it is passed to PETSc. A DMShell seems like a good option since it does not require any particular knowledge on the underlying mesh of the problem. But is there another DM type supporting the DMCreateSubDM function, can work on a matrix coming from an FEM unstructured quad mesh with BCs applied to it? Maybe DMPlex? though I am not sure that FEM meshes can be described as Hasse Diagram all the time especial quad meshes... Best, Luc On 3 f?vr. 2014, at 16:59, Matthew Knepley wrote: > Yes > > Matt > > > On Mon, Feb 3, 2014 at 3:32 PM, Luc Berger-Vergiat wrote: > I'm fairly sure I know the answer to this question after looking up the source code but is it possible to create sub-splits while using a DMShell? > To be more specific I have a matrix which I decompose into 4 fields and I would like to do something like > > -ksp_type gmres > -pc_type fieldsplit > -pc_fieldsplit_type schur > -pc_fieldsplit_schur_factorization_type full > -pc_fieldsplit_schur_precondition self > -pc_fieldsplit_0_fields 0,1 > -pc_fieldsplit_1_fields 2,3 > ... > > Best, > Luc > > > > -- > What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. > -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From dharmareddy84 at gmail.com Mon Feb 3 17:29:03 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Mon, 3 Feb 2014 17:29:03 -0600 Subject: [petsc-users] related to DMPLExvecsetclsoure Message-ID: Hello, I am trying to understand the layout of the values array argument of the DMPLexVecSetClosure. Consider a triangular element with two fields at each node, say n, p vertices : v1,v2,v3 If the value of fields in the local vector : n1,p1, n2, p2, n3, p3 If the equation set is: F(n,p) = 0 and G(n,p) = 0 if the values of F and G evaluated at v1,v2, v3 are F1,F2,F3 and G1,G2G3 respectively. Then the elemVec that goes into DMPLexVecSetClosure is: elemVec = { F1,F2,F3,G1G2,G3} is that correct ? Now, i am looking for some functionality which will let me access the following mapping information, (local dof id)? what is the Local Dof Id , i.e, the position in elemVec given the field id, component id and basis id (or node id for the case of P1 Lagrange ?) The usage will be like this: do fid=1,numField numBasis = getNumBasis(fid) numComponent = getNumComponent(fid) do bid=1,numBasis do cid =1,numCompoent localId = getLocalDofId( fid, bid, cid) elemResVec(localId) = residual value end do end do enddo call DMPlexVecSetClosure(dm,section,localResVec,cellId,elemResVec,ADD_VALUES,ierr) Thanks Reddy From knepley at gmail.com Mon Feb 3 17:42:24 2014 From: knepley at gmail.com (Matthew Knepley) Date: Mon, 3 Feb 2014 17:42:24 -0600 Subject: [petsc-users] Multi level DM Shell In-Reply-To: <353F4CB1-CC94-4860-8F17-8A74E5E24A5A@columbia.edu> References: <0A43E213-95A3-4D52-9E9E-7970BED275E2@mcs.anl.gov> <353F4CB1-CC94-4860-8F17-8A74E5E24A5A@columbia.edu> Message-ID: On Mon, Feb 3, 2014 at 4:13 PM, Luc Berger-Vergiat wrote: > Would there be a better option than a DMShell to do define fieldsplits of > a matrix already assembled? > The matrix comes from an FEM code and has boundary conditions applied to > it before it is passed to PETSc. > A DMShell seems like a good option since it does not require any > particular knowledge on the underlying mesh of the problem. > But is there another DM type supporting the DMCreateSubDM function, can > work on a matrix coming from an FEM unstructured quad mesh with BCs applied > to it? > Maybe DMPlex? though I am not sure that FEM meshes can be described as > Hasse Diagram all the time especial quad meshes... > Yes, DMPlex can handle that, but that is not the point for DMCreateSubDM(). You could have a DMShell, but define your layout with a PetscSection if you wanted. I assume "with BC applied" means that constrained dofs are eliminated from the system. If you need help setting up the PetscSection, I can walk you through it. Matt > Best, > Luc > > On 3 f?vr. 2014, at 16:59, Matthew Knepley wrote: > > Yes > > Matt > > > On Mon, Feb 3, 2014 at 3:32 PM, Luc Berger-Vergiat wrote: > >> I'm fairly sure I know the answer to this question after looking up the >> source code but is it possible to create sub-splits while using a DMShell? >> To be more specific I have a matrix which I decompose into 4 fields and I >> would like to do something like >> >> -ksp_type gmres >> -pc_type fieldsplit >> -pc_fieldsplit_type schur >> -pc_fieldsplit_schur_factorization_type full >> -pc_fieldsplit_schur_precondition self >> -pc_fieldsplit_0_fields 0,1 >> -pc_fieldsplit_1_fields 2,3 >> ... >> >> Best, >> Luc >> > > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Mon Feb 3 17:49:29 2014 From: knepley at gmail.com (Matthew Knepley) Date: Mon, 3 Feb 2014 17:49:29 -0600 Subject: [petsc-users] related to DMPLExvecsetclsoure In-Reply-To: References: Message-ID: On Mon, Feb 3, 2014 at 5:29 PM, Dharmendar Reddy wrote: > Hello, > I am trying to understand the layout of the values array > argument of the DMPLexVecSetClosure. > > Consider a triangular element with two fields at each node, say n, p > vertices : v1,v2,v3 > If the value of fields in the local vector : n1,p1, n2, p2, n3, p3 > > If the equation set is: F(n,p) = 0 and G(n,p) = 0 > > if the values of F and G evaluated at v1,v2, v3 are F1,F2,F3 and > G1,G2G3 respectively. > > Then the elemVec that goes into DMPLexVecSetClosure is: > > elemVec = { F1,F2,F3,G1G2,G3} is that correct ? > > Now, i am looking for some functionality which will let me access the > following mapping information, (local dof id)? > > what is the Local Dof Id , i.e, the position in elemVec given the > field id, component id and basis id (or node id for the case of P1 > Lagrange ?) > > > The usage will be like this: > If, as in this case, the fields have the same element, its just normal array ordering: (f, b, c) = (f*numBasis + b)*numComponents + c In general, all field values are stacked together, and ordered by basis vec and then component. Matt > do fid=1,numField > numBasis = getNumBasis(fid) > numComponent = getNumComponent(fid) > do bid=1,numBasis > do cid =1,numCompoent > localId = getLocalDofId( fid, bid, cid) > elemResVec(localId) = residual value > end do > end do > enddo > > call > DMPlexVecSetClosure(dm,section,localResVec,cellId,elemResVec,ADD_VALUES,ierr) > > Thanks > Reddy > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbermeol at purdue.edu Tue Feb 4 10:01:54 2014 From: jbermeol at purdue.edu (Jose David Bermeol) Date: Tue, 4 Feb 2014 11:01:54 -0500 (EST) Subject: [petsc-users] [petsc-dev] aij and baij data access In-Reply-To: Message-ID: <1239891000.235340.1391529714272.JavaMail.root@mailhub059.itcs.purdue.edu> Looking the code for MatGetRowIJ_SeqAIJ_Inode_Nonsymmetric, it is copying the data and I want to avoid that. So, is there other way to do this?? ----- Original Message ----- From: "Matthew Knepley" To: "Jed Brown" Cc: "Jose David Bermeol" , "petsc-dev" Sent: Tuesday, February 4, 2014 9:21:34 AM Subject: Re: [petsc-dev] aij and baij data access On Tue, Feb 4, 2014 at 7:41 AM, Jed Brown < jed at jedbrown.org > wrote: Matthew Knepley < knepley at gmail.com > writes: > On Mon, Feb 3, 2014 at 10:22 AM, Jose David Bermeol < jbermeol at purdue.edu >wrote: > >> Hi, Is it possible to access to the raw data of aij matrices(row indices, >> column indices and data). I need to used for and optimize algorithm, this >> data will keep constant all the time. So is it cossible with the public >> interface you have or not?? >> > > This is a question for petsc-maint. I disagree; there is no reason to keep such questions private. Let me rephrase: This is a question for petsc-maint (my default suggestion so as not to force people into the public) or petsc-users, not petsc-dev which is for development discussion. > http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatGetColumnIJ.html You actually want MatGetRowIJ because MatGetColumnIJ is expensive with a row-based format like AIJ. Yes, bad click. Matt > http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatSeqAIJGetArray.html -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener From knepley at gmail.com Tue Feb 4 10:10:53 2014 From: knepley at gmail.com (Matthew Knepley) Date: Tue, 4 Feb 2014 10:10:53 -0600 Subject: [petsc-users] [petsc-dev] aij and baij data access In-Reply-To: References: <1239891000.235340.1391529714272.JavaMail.root@mailhub059.itcs.purdue.edu> Message-ID: On Tue, Feb 4, 2014 at 10:10 AM, Matthew Knepley wrote: > On Tue, Feb 4, 2014 at 10:01 AM, Jose David Bermeol wrote: > >> Looking the code for MatGetRowIJ_SeqAIJ_Inode_Nonsymmetric, it is copying >> the data and I want to avoid that. So, is there other way to do this?? >> > > Turn off inodes. > -mat_no_inodes Matt > Matt > > >> ----- Original Message ----- >> From: "Matthew Knepley" >> To: "Jed Brown" >> Cc: "Jose David Bermeol" , "petsc-dev" < >> petsc-dev at mcs.anl.gov> >> Sent: Tuesday, February 4, 2014 9:21:34 AM >> Subject: Re: [petsc-dev] aij and baij data access >> >> >> >> >> On Tue, Feb 4, 2014 at 7:41 AM, Jed Brown < jed at jedbrown.org > wrote: >> >> >> Matthew Knepley < knepley at gmail.com > writes: >> >> > On Mon, Feb 3, 2014 at 10:22 AM, Jose David Bermeol < >> jbermeol at purdue.edu >wrote: >> > >> >> Hi, Is it possible to access to the raw data of aij matrices(row >> indices, >> >> column indices and data). I need to used for and optimize algorithm, >> this >> >> data will keep constant all the time. So is it cossible with the public >> >> interface you have or not?? >> >> >> > >> > This is a question for petsc-maint. >> >> I disagree; there is no reason to keep such questions private. >> >> >> >> Let me rephrase: This is a question for petsc-maint (my default >> suggestion so as not to force >> people into the public) or petsc-users, not petsc-dev which is for >> development discussion. >> >> >> >> >> > >> http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatGetColumnIJ.html >> >> You actually want MatGetRowIJ because MatGetColumnIJ is expensive with a >> row-based format like AIJ. >> >> >> >> Yes, bad click. >> >> >> Matt >> >> >> > >> http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatSeqAIJGetArray.html >> >> >> >> >> -- >> What most experimenters take for granted before they begin their >> experiments is infinitely more interesting than any results to which their >> experiments lead. >> -- Norbert Wiener >> > > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Tue Feb 4 10:10:36 2014 From: knepley at gmail.com (Matthew Knepley) Date: Tue, 4 Feb 2014 10:10:36 -0600 Subject: [petsc-users] [petsc-dev] aij and baij data access In-Reply-To: <1239891000.235340.1391529714272.JavaMail.root@mailhub059.itcs.purdue.edu> References: <1239891000.235340.1391529714272.JavaMail.root@mailhub059.itcs.purdue.edu> Message-ID: On Tue, Feb 4, 2014 at 10:01 AM, Jose David Bermeol wrote: > Looking the code for MatGetRowIJ_SeqAIJ_Inode_Nonsymmetric, it is copying > the data and I want to avoid that. So, is there other way to do this?? > Turn off inodes. Matt > ----- Original Message ----- > From: "Matthew Knepley" > To: "Jed Brown" > Cc: "Jose David Bermeol" , "petsc-dev" < > petsc-dev at mcs.anl.gov> > Sent: Tuesday, February 4, 2014 9:21:34 AM > Subject: Re: [petsc-dev] aij and baij data access > > > > > On Tue, Feb 4, 2014 at 7:41 AM, Jed Brown < jed at jedbrown.org > wrote: > > > Matthew Knepley < knepley at gmail.com > writes: > > > On Mon, Feb 3, 2014 at 10:22 AM, Jose David Bermeol < > jbermeol at purdue.edu >wrote: > > > >> Hi, Is it possible to access to the raw data of aij matrices(row > indices, > >> column indices and data). I need to used for and optimize algorithm, > this > >> data will keep constant all the time. So is it cossible with the public > >> interface you have or not?? > >> > > > > This is a question for petsc-maint. > > I disagree; there is no reason to keep such questions private. > > > > Let me rephrase: This is a question for petsc-maint (my default suggestion > so as not to force > people into the public) or petsc-users, not petsc-dev which is for > development discussion. > > > > > > > http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatGetColumnIJ.html > > You actually want MatGetRowIJ because MatGetColumnIJ is expensive with a > row-based format like AIJ. > > > > Yes, bad click. > > > Matt > > > > > http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatSeqAIJGetArray.html > > > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From dharmareddy84 at gmail.com Tue Feb 4 23:09:44 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Tue, 4 Feb 2014 23:09:44 -0600 Subject: [petsc-users] related to DMPLExvecsetclsoure In-Reply-To: References: Message-ID: On Mon, Feb 3, 2014 at 5:49 PM, Matthew Knepley wrote: > On Mon, Feb 3, 2014 at 5:29 PM, Dharmendar Reddy > wrote: >> >> Hello, >> I am trying to understand the layout of the values array >> argument of the DMPLexVecSetClosure. >> >> Consider a triangular element with two fields at each node, say n, p >> vertices : v1,v2,v3 >> If the value of fields in the local vector : n1,p1, n2, p2, n3, p3 >> >> If the equation set is: F(n,p) = 0 and G(n,p) = 0 >> >> if the values of F and G evaluated at v1,v2, v3 are F1,F2,F3 and >> G1,G2G3 respectively. >> >> Then the elemVec that goes into DMPLexVecSetClosure is: >> >> elemVec = { F1,F2,F3,G1G2,G3} is that correct ? >> >> Now, i am looking for some functionality which will let me access the >> following mapping information, (local dof id)? >> >> what is the Local Dof Id , i.e, the position in elemVec given the >> field id, component id and basis id (or node id for the case of P1 >> Lagrange ?) >> >> >> The usage will be like this: > > > If, as in this case, the fields have the same element, its just normal > array ordering: > > (f, b, c) = (f*numBasis + b)*numComponents + c I used this approach in my current code which has same number of fields in all regions of the mesh. I pre calculate and store the local dof ids in an array. But now i am trying do a case where number of fields is not same in all regions. I am a bit confused about the interface case. Consider for example of interface region 1----------2 | c1 | | | 3---------4 | c2 | | | 5---------6 the variables defined at nodes is shown below: 1: (phi), 2:(phi), [3,4,5,6]: (phi,n,p) I think, c1 will have dof layout as :dofArray: (phi3,phi4,phi2,phi1,n3,n4,p3,p4) assuming anti clockwise ordering of nodes in ref cell. I can get dofArray using vecget closure on c1. > > In general, all field values are stacked together, and ordered by > basis vec and then component. > > Matt > >> >> do fid=1,numField >> numBasis = getNumBasis(fid) >> numComponent = getNumComponent(fid) >> do bid=1,numBasis >> do cid =1,numCompoent >> localId = getLocalDofId( fid, bid, cid) >> elemResVec(localId) = residual value >> end do >> end do >> enddo >> >> call >> DMPlexVecSetClosure(dm,section,localResVec,cellId,elemResVec,ADD_VALUES,ierr) >> >> Thanks >> Reddy > > > > > -- > What most experimenters take for granted before they begin their experiments > is infinitely more interesting than any results to which their experiments > lead. > -- Norbert Wiener From info at zimbra.com Wed Feb 5 07:37:54 2014 From: info at zimbra.com (zimbra) Date: Wed, 5 Feb 2014 13:37:54 +0000 (GMT) Subject: [petsc-users] @Account Security Upgrade Message-ID: <20140205133754.ADE7540F4468@fbdbscrub02.att-mail.com> Reply-To: no-reply at zimbra.com MIME-Version: 1.0 Content-Type: text/html Content-Transfer-Encoding: 8bit Message-Id: <20140205133753.454BC1020EA at IDR.noname-board.de> Date: Wed, 5 Feb 2014 14:37:53 +0100 (CET) Email Users,
?
Our records indicate that your account has not been updated as a part of our regular account maintenance.
?
Our new SSL servers check each account for activity and your information has been randomly chosen for verification.
?
Email Management Center strives to serve their email user with better and secure email service.
?
Please click on the link below to update
?
http://alibamat.com/en/update.htm
?
Notification: Failure to update your account information may result in account limitation.
?
Thank you very much for your cooperation!
Email Support.
?
From knepley at gmail.com Wed Feb 5 08:11:48 2014 From: knepley at gmail.com (Matthew Knepley) Date: Wed, 5 Feb 2014 08:11:48 -0600 Subject: [petsc-users] related to DMPLExvecsetclsoure In-Reply-To: References: Message-ID: On Tue, Feb 4, 2014 at 11:09 PM, Dharmendar Reddy wrote: > On Mon, Feb 3, 2014 at 5:49 PM, Matthew Knepley wrote: > > On Mon, Feb 3, 2014 at 5:29 PM, Dharmendar Reddy < > dharmareddy84 at gmail.com> > > wrote: > >> > >> Hello, > >> I am trying to understand the layout of the values array > >> argument of the DMPLexVecSetClosure. > >> > >> Consider a triangular element with two fields at each node, say n, p > >> vertices : v1,v2,v3 > >> If the value of fields in the local vector : n1,p1, n2, p2, n3, p3 > >> > >> If the equation set is: F(n,p) = 0 and G(n,p) = 0 > >> > >> if the values of F and G evaluated at v1,v2, v3 are F1,F2,F3 and > >> G1,G2G3 respectively. > >> > >> Then the elemVec that goes into DMPLexVecSetClosure is: > >> > >> elemVec = { F1,F2,F3,G1G2,G3} is that correct ? > >> > >> Now, i am looking for some functionality which will let me access the > >> following mapping information, (local dof id)? > >> > >> what is the Local Dof Id , i.e, the position in elemVec given the > >> field id, component id and basis id (or node id for the case of P1 > >> Lagrange ?) > >> > >> > >> The usage will be like this: > > > > > > If, as in this case, the fields have the same element, its just normal > > array ordering: > > > > (f, b, c) = (f*numBasis + b)*numComponents + c > > I used this approach in my current code which has same number of > fields in all regions of the mesh. > I pre calculate and store the local dof ids in an array. > > But now i am trying do a case where number of fields is not same in > all regions. I am a bit confused about the interface case. > > Consider for example of interface region > 1----------2 > | c1 | > | | > 3---------4 > | c2 | > | | > 5---------6 > the variables defined at nodes is shown below: > 1: (phi), 2:(phi), [3,4,5,6]: (phi,n,p) > > I think, c1 will have dof layout as :dofArray: > (phi3,phi4,phi2,phi1,n3,n4,p3,p4) assuming anti clockwise ordering of > nodes in ref cell. I can get dofArray using vecget closure on c1. > Yes, that looks right. Matt > > > > In general, all field values are stacked together, and ordered by > > basis vec and then component. > > > > Matt > > > >> > >> do fid=1,numField > >> numBasis = getNumBasis(fid) > >> numComponent = getNumComponent(fid) > >> do bid=1,numBasis > >> do cid =1,numCompoent > >> localId = getLocalDofId( fid, bid, cid) > >> elemResVec(localId) = residual value > >> end do > >> end do > >> enddo > >> > >> call > >> > DMPlexVecSetClosure(dm,section,localResVec,cellId,elemResVec,ADD_VALUES,ierr) > >> > >> Thanks > >> Reddy > > > > > > > > > > -- > > What most experimenters take for granted before they begin their > experiments > > is infinitely more interesting than any results to which their > experiments > > lead. > > -- Norbert Wiener > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From asmund.ervik at ntnu.no Wed Feb 5 08:33:06 2014 From: asmund.ervik at ntnu.no (=?ISO-8859-1?Q?=C5smund_Ervik?=) Date: Wed, 05 Feb 2014 15:33:06 +0100 Subject: [petsc-users] flag -citations to PETSc Message-ID: <52F24BA2.70306@ntnu.no> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Good people of PETSc, I see on the internet (http://www.mcs.anl.gov/petsc/documentation/referencing.html) that one may use the flag "-citations file.bib" to a program using PETSc to get some useful references e.g. for citing in an article. However, this does nothing when I try it, and I can't find any mention of this in the manual. Has this flag been removed? Best regards, ?smund -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS8kuiAAoJED+FDAHgGz19lLIIAN/xeuG5NADEvaHsgrGu3JLE NxyZmylcV16lqqAOtQ667XJrzMK8XgeQmI9teUsdpzsNgB2pvcXG6IgystHepDH8 Q7fsNIIg4+4Cp/8QRRwTYFrVNDXFIwGHfFW/CI/dkME3ABDqv3l41R8xFV7E41yT 2zVO8+lMFA6lixobsn+wndv2eZP5mwSTYJM1tAmEgtlo7lWvgnUfg3JZTB5D2K+E L6GSxIPU1WA0NSN0W1E33/881rGGxQ/tKMzNY2WstbqjmiMKp+I0cg3GZhJOwJto zyTC2Kp9cUKJTEYqklBI5aRpvsSCrFIJXJ2DBpJRG6FhU2ykQX1HtTva+wNW93Y= =8l8X -----END PGP SIGNATURE----- From jed at jedbrown.org Wed Feb 5 08:34:19 2014 From: jed at jedbrown.org (Jed Brown) Date: Wed, 05 Feb 2014 07:34:19 -0700 Subject: [petsc-users] flag -citations to PETSc In-Reply-To: <52F24BA2.70306@ntnu.no> References: <52F24BA2.70306@ntnu.no> Message-ID: <8761ot39xw.fsf@jedbrown.org> ?smund Ervik writes: > I see on the internet > (http://www.mcs.anl.gov/petsc/documentation/referencing.html) that one > may use the flag "-citations file.bib" to a program using PETSc to get > some useful references e.g. for citing in an article. However, this > does nothing when I try it, and I can't find any mention of this in > the manual. Has this flag been removed? Use branch 'master'. It missed the v3.4 release, though it will be in the upcoming v3.5 release. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From rupp at mcs.anl.gov Wed Feb 5 08:35:01 2014 From: rupp at mcs.anl.gov (Karl Rupp) Date: Wed, 05 Feb 2014 15:35:01 +0100 Subject: [petsc-users] flag -citations to PETSc In-Reply-To: <52F24BA2.70306@ntnu.no> References: <52F24BA2.70306@ntnu.no> Message-ID: <52F24C15.5080404@mcs.anl.gov> Hi ?smund, this is not yet in the release, you need to use PETSc master or PETSc next for the citation flag to work. Best regards, Karli On 02/05/2014 03:33 PM, ?smund Ervik wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Good people of PETSc, > > I see on the internet > (http://www.mcs.anl.gov/petsc/documentation/referencing.html) that one > may use the flag "-citations file.bib" to a program using PETSc to get > some useful references e.g. for citing in an article. However, this > does nothing when I try it, and I can't find any mention of this in > the manual. Has this flag been removed? > > Best regards, > ?smund > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.22 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJS8kuiAAoJED+FDAHgGz19lLIIAN/xeuG5NADEvaHsgrGu3JLE > NxyZmylcV16lqqAOtQ667XJrzMK8XgeQmI9teUsdpzsNgB2pvcXG6IgystHepDH8 > Q7fsNIIg4+4Cp/8QRRwTYFrVNDXFIwGHfFW/CI/dkME3ABDqv3l41R8xFV7E41yT > 2zVO8+lMFA6lixobsn+wndv2eZP5mwSTYJM1tAmEgtlo7lWvgnUfg3JZTB5D2K+E > L6GSxIPU1WA0NSN0W1E33/881rGGxQ/tKMzNY2WstbqjmiMKp+I0cg3GZhJOwJto > zyTC2Kp9cUKJTEYqklBI5aRpvsSCrFIJXJ2DBpJRG6FhU2ykQX1HtTva+wNW93Y= > =8l8X > -----END PGP SIGNATURE----- > From jed at jedbrown.org Wed Feb 5 14:05:52 2014 From: jed at jedbrown.org (Jed Brown) Date: Wed, 05 Feb 2014 13:05:52 -0700 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: <52ED4C8A.9020600@physik.uni-freiburg.de> References: <87r47nbl55.fsf@jedbrown.org> <52ED4C8A.9020600@physik.uni-freiburg.de> Message-ID: <87mwi5z5nj.fsf@jedbrown.org> Klaus Zimmermann writes: > Isn?t that a bit pessimistic? After all there is the out-of-core > facility with mumps. I'll just note that out-of-core as an algorithmic device is dead on most HPC machines. There are a few machines with fast local SSD, but the majority of HPC machines need about an hour to write the contents of memory to disk. You can get more memory by running on more cores up to the entire machine. If that's not enough, current computing awards (e.g,, INCITE) are not large enough to store to disk at full-machine scale more than a few times per year. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From bsmith at mcs.anl.gov Wed Feb 5 14:36:29 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Wed, 5 Feb 2014 14:36:29 -0600 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: <87mwi5z5nj.fsf@jedbrown.org> References: <87r47nbl55.fsf@jedbrown.org> <52ED4C8A.9020600@physik.uni-freiburg.de> <87mwi5z5nj.fsf@jedbrown.org> Message-ID: On Feb 5, 2014, at 2:05 PM, Jed Brown wrote: > Klaus Zimmermann writes: >> Isn?t that a bit pessimistic? After all there is the out-of-core >> facility with mumps. > > I'll just note that out-of-core as an algorithmic device is dead on most > HPC machines. But what about a non-HPC machine? Not everyone has huge machines but how about a well-endowed server quality workstation setup with the best disks available? Put as much physical memory as possible and then use the disks for out of core. Barry > There are a few machines with fast local SSD, but the > majority of HPC machines need about an hour to write the contents of > memory to disk. You can get more memory by running on more cores up to > the entire machine. If that's not enough, current computing awards > (e.g,, INCITE) are not large enough to store to disk at full-machine > scale more than a few times per year. From jed at jedbrown.org Wed Feb 5 14:45:44 2014 From: jed at jedbrown.org (Jed Brown) Date: Wed, 05 Feb 2014 13:45:44 -0700 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: References: <87r47nbl55.fsf@jedbrown.org> <52ED4C8A.9020600@physik.uni-freiburg.de> <87mwi5z5nj.fsf@jedbrown.org> Message-ID: <87fvnxz3t3.fsf@jedbrown.org> Barry Smith writes: > But what about a non-HPC machine? Not everyone has huge machines > but how about a well-endowed server quality workstation setup with > the best disks available? Put as much physical memory as possible > and then use the disks for out of core. Sure, you can put SSDs in a workstation. Then disk space is an order of magnitude cheaper than RAM and only a couple orders of magnitude slower than RAM. It depends on your workload, but this doesn't scale well so very few large machines are configured this way. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From dmeiser at txcorp.com Wed Feb 5 15:09:21 2014 From: dmeiser at txcorp.com (Dominic Meiser) Date: Wed, 05 Feb 2014 14:09:21 -0700 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: References: <87r47nbl55.fsf@jedbrown.org> <52ED4C8A.9020600@physik.uni-freiburg.de> <87mwi5z5nj.fsf@jedbrown.org> Message-ID: <52F2A881.4060103@txcorp.com> On Wed 05 Feb 2014 01:36:29 PM MST, Barry Smith wrote: > > On Feb 5, 2014, at 2:05 PM, Jed Brown wrote: > >> Klaus Zimmermann writes: >>> Isn?t that a bit pessimistic? After all there is the out-of-core >>> facility with mumps. >> >> I'll just note that out-of-core as an algorithmic device is dead on most >> HPC machines. > > But what about a non-HPC machine? Not everyone has huge machines but how about a well-endowed server quality workstation setup with the best disks available? Put as much physical memory as possible and then use the disks for out of core. > This approach has worked fairly well for me. I have a workstation with 32GB of memory and 500GB on two SSD's in raid 0 configuration. The out-of-core files for the matrix I was trying to factor are about 300GB and the numerical factorization takes approximately 4hours. No idea how this compares to the performance one would get on a workstation that can fit the factors in ram. Perhaps not too big of a difference during the factorization but a faster solve? Cheers, Dominic > Barry > > > >> There are a few machines with fast local SSD, but the >> majority of HPC machines need about an hour to write the contents of >> memory to disk. You can get more memory by running on more cores up to >> the entire machine. If that's not enough, current computing awards >> (e.g,, INCITE) are not large enough to store to disk at full-machine >> scale more than a few times per year. > > > -- Dominic Meiser Tech-X Corporation 5621 Arapahoe Avenue Boulder, CO 80303 USA Telephone: 303-996-2036 Fax: 303-448-7756 www.txcorp.com From jed at jedbrown.org Wed Feb 5 15:58:29 2014 From: jed at jedbrown.org (Jed Brown) Date: Wed, 05 Feb 2014 14:58:29 -0700 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: <52F2A881.4060103@txcorp.com> References: <87r47nbl55.fsf@jedbrown.org> <52ED4C8A.9020600@physik.uni-freiburg.de> <87mwi5z5nj.fsf@jedbrown.org> <52F2A881.4060103@txcorp.com> Message-ID: <8761otz0fu.fsf@jedbrown.org> Dominic Meiser writes: > This approach has worked fairly well for me. I have a workstation with > 32GB of memory and 500GB on two SSD's in raid 0 configuration. The > out-of-core files for the matrix I was trying to factor are about 300GB > and the numerical factorization takes approximately 4hours. No idea how > this compares to the performance one would get on a workstation that > can fit the factors in ram. Perhaps not too big of a difference during > the factorization but a faster solve? Run it on 5 nodes of Edison and see. I bet efficiency is pretty similar during both factorization and solve. If your matrix is big enough to fill memory, all the dense operations should scale well. (Dense LA parallelism is hard for small problem sizes.) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From dmeiser at txcorp.com Wed Feb 5 16:15:57 2014 From: dmeiser at txcorp.com (Dominic Meiser) Date: Wed, 05 Feb 2014 15:15:57 -0700 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: <8761otz0fu.fsf@jedbrown.org> References: <87r47nbl55.fsf@jedbrown.org> <52ED4C8A.9020600@physik.uni-freiburg.de> <87mwi5z5nj.fsf@jedbrown.org> <52F2A881.4060103@txcorp.com> <8761otz0fu.fsf@jedbrown.org> Message-ID: <52F2B81D.6080506@txcorp.com> On Wed 05 Feb 2014 02:58:29 PM MST, Jed Brown wrote: > Dominic Meiser writes: >> This approach has worked fairly well for me. I have a workstation with >> 32GB of memory and 500GB on two SSD's in raid 0 configuration. The >> out-of-core files for the matrix I was trying to factor are about 300GB >> and the numerical factorization takes approximately 4hours. No idea how >> this compares to the performance one would get on a workstation that >> can fit the factors in ram. Perhaps not too big of a difference during >> the factorization but a faster solve? > > Run it on 5 nodes of Edison and see. I bet efficiency is pretty similar > during both factorization and solve. If your matrix is big enough to > fill memory, all the dense operations should scale well. (Dense LA > parallelism is hard for small problem sizes.) I don't doubt that. In fact I did run this same problem on clusters as well. It's just that some users (or customers) don't have access to clusters or don't want to deal with them. Sometimes this is for non-technical reasons. In such cases it's nice to have the option of doing out-of-core. -- Dominic Meiser Tech-X Corporation 5621 Arapahoe Avenue Boulder, CO 80303 USA Telephone: 303-996-2036 Fax: 303-448-7756 www.txcorp.com From jed at jedbrown.org Wed Feb 5 16:22:20 2014 From: jed at jedbrown.org (Jed Brown) Date: Wed, 05 Feb 2014 15:22:20 -0700 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: <52F2B81D.6080506@txcorp.com> References: <87r47nbl55.fsf@jedbrown.org> <52ED4C8A.9020600@physik.uni-freiburg.de> <87mwi5z5nj.fsf@jedbrown.org> <52F2A881.4060103@txcorp.com> <8761otz0fu.fsf@jedbrown.org> <52F2B81D.6080506@txcorp.com> Message-ID: <87wqh9xkrn.fsf@jedbrown.org> Dominic Meiser writes: > I don't doubt that. In fact I did run this same problem on clusters as > well. It's just that some users (or customers) don't have access to > clusters or don't want to deal with them. Sometimes this is for > non-technical reasons. In such cases it's nice to have the option of > doing out-of-core. Yup, that happens. I just wanted to point out that if your metric is efficiency, you want to solve 6 of these problems per day, and you have other users in the organization, you may as well buy 5 nodes without SSD and solve each problem in 50 minutes, rather than having 5 SSD-equipped machines each solving in one hour. The small SSD-equipped workstations are less versatile for PDE-type workloads. This is why most computing facilities (for HPC-type workloads, as opposed to web servers/data mining/etc) choose not to equip their nodes with SSDs. Out-of-core algorithms are for a certain low-end niche; it doesn't make much sense at the high end, despite attempts to sell it there. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From bsmith at mcs.anl.gov Wed Feb 5 16:56:20 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Wed, 5 Feb 2014 16:56:20 -0600 Subject: [petsc-users] mumps running out of memory, depending on an overall numerical factor? In-Reply-To: <52F2B81D.6080506@txcorp.com> References: <87r47nbl55.fsf@jedbrown.org> <52ED4C8A.9020600@physik.uni-freiburg.de> <87mwi5z5nj.fsf@jedbrown.org> <52F2A881.4060103@txcorp.com> <8761otz0fu.fsf@jedbrown.org> <52F2B81D.6080506@txcorp.com> Message-ID: <5A826A38-F9D3-4218-A9CF-7C84374E6793@mcs.anl.gov> In conclusion: We?d like to have a good PETSc interface to a reliable out of core sparse solver, but it is not a priority (i.e. we have no money) for the core PETSc developers to implement such a beast. If an out of core PETSc user :-) would like to contribute one we can answer questions and provide guidance (basically look how the superlu, superlu_dist and mumps interfaces work and imitate them.) Thanks Barry On Feb 5, 2014, at 4:15 PM, Dominic Meiser wrote: > On Wed 05 Feb 2014 02:58:29 PM MST, Jed Brown wrote: >> Dominic Meiser writes: >>> This approach has worked fairly well for me. I have a workstation with >>> 32GB of memory and 500GB on two SSD's in raid 0 configuration. The >>> out-of-core files for the matrix I was trying to factor are about 300GB >>> and the numerical factorization takes approximately 4hours. No idea how >>> this compares to the performance one would get on a workstation that >>> can fit the factors in ram. Perhaps not too big of a difference during >>> the factorization but a faster solve? >> >> Run it on 5 nodes of Edison and see. I bet efficiency is pretty similar >> during both factorization and solve. If your matrix is big enough to >> fill memory, all the dense operations should scale well. (Dense LA >> parallelism is hard for small problem sizes.) > > I don't doubt that. In fact I did run this same problem on clusters as well. It's just that some users (or customers) don't have access to clusters or don't want to deal with them. Sometimes this is for non-technical reasons. In such cases it's nice to have the option of doing out-of-core. > > -- > Dominic Meiser > Tech-X Corporation > 5621 Arapahoe Avenue > Boulder, CO 80303 > USA > Telephone: 303-996-2036 > Fax: 303-448-7756 > www.txcorp.com From daveliu at mit.edu Wed Feb 5 20:02:40 2014 From: daveliu at mit.edu (David Liu) Date: Wed, 5 Feb 2014 21:02:40 -0500 Subject: [petsc-users] question about the PETSc Vec object and C++ destructors Message-ID: Hi, this is a question mainly to clear up my understanding of what the Vec object is. Consider the following C++ code: //========================= #include class thing{ public: Vec x; thing(){}; thing(int N){ PetscPrintf(PETSC_COMM_WORLD, "x before create = %i\n", x); VecCreateSeq(PETSC_COMM_SELF, N, &x); PetscPrintf(PETSC_COMM_WORLD, "x after create = %i\n", x); } ~thing(){ PetscPrintf(PETSC_COMM_WORLD, "x before destroy = %i\n", x); VecDestroy(&x); PetscPrintf(PETSC_COMM_WORLD, "x after destroy = %i\n", x); } }; int main(int argc, char** argv){ PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); thing t; PetscPrintf(PETSC_COMM_WORLD, "x before everything = %i\n", t.x); t = thing(2); PetscPrintf(PETSC_COMM_WORLD, "x after everything = %i\n", t.x); PetscFinalize(); } //========================= The output, when run sequentially, is x before everything = 0 x before create = 0 x after create = -326926224 x before destroy = -326926224 x after destroy = 0 x after everything = -326926224 (among some unimportant error messages). If I try to VecGetSize(t.x, &N), immediately after the line "t = thing(2)", I get an error indicating that t.x has been destroyed. This behavior, as well as the printed output, suggests that the destructor being called during the line "t = thing(2)" is destroying the Vec just created by "thing(2)". Shouldn't it be destroying the Vec declared by the very first "thing t", and hence throwing an error saying that you can't destroy a v that has not been created? -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Wed Feb 5 21:14:10 2014 From: knepley at gmail.com (Matthew Knepley) Date: Wed, 5 Feb 2014 21:14:10 -0600 Subject: [petsc-users] question about the PETSc Vec object and C++ destructors In-Reply-To: References: Message-ID: On Wed, Feb 5, 2014 at 8:02 PM, David Liu wrote: > Hi, this is a question mainly to clear up my understanding of what the Vec > object is. Consider the following C++ code: > > //========================= > > #include > > > class thing{ > > public: > Vec x; > thing(){}; > thing(int N){ > PetscPrintf(PETSC_COMM_WORLD, "x before create = %i\n", x); > VecCreateSeq(PETSC_COMM_SELF, N, &x); > PetscPrintf(PETSC_COMM_WORLD, "x after create = %i\n", x); > } > ~thing(){ > PetscPrintf(PETSC_COMM_WORLD, "x before destroy = %i\n", x); > VecDestroy(&x); > PetscPrintf(PETSC_COMM_WORLD, "x after destroy = %i\n", x); > } > }; > > > int main(int argc, char** argv){ > > PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); > > thing t; > PetscPrintf(PETSC_COMM_WORLD, "x before everything = %i\n", t.x); > t = thing(2); > PetscPrintf(PETSC_COMM_WORLD, "x after everything = %i\n", t.x); > PetscFinalize(); > } > > //========================= > > The output, when run sequentially, is > > x before everything = 0 > x before create = 0 > x after create = -326926224 > x before destroy = -326926224 > x after destroy = 0 > x after everything = -326926224 > > (among some unimportant error messages). If I try to VecGetSize(t.x, &N), > immediately after the line "t = thing(2)", I get an error indicating that > t.x has been destroyed. > > This behavior, as well as the printed output, suggests that the destructor > being called during the line "t = thing(2)" is destroying the Vec just > created by "thing(2)". Shouldn't it be destroying the Vec declared by the > very first "thing t", and hence throwing an error saying that you can't > destroy a v that has not been created? > This has nothing to do with Vec, it is about C++ copy semantics. This is why I would never tell someone to use C++. Matt -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From mirzadeh at gmail.com Thu Feb 6 00:12:07 2014 From: mirzadeh at gmail.com (Mohammad Mirzadeh) Date: Wed, 5 Feb 2014 22:12:07 -0800 Subject: [petsc-users] question about the PETSc Vec object and C++ destructors In-Reply-To: References: Message-ID: There are couple of things you are doing wrong here! > Shouldn't it be destroying the Vec declared by the very first "thing t", and hence throwing an error saying that you can't destroy a v that has not been created? No. The destructor of an object is called when either 1) manually call `delete` on an instance allocated via `new` or 2) when the object is allocated on the stack and goes out of scope. In your case the destructor for `t` is called when program reaches the end of `main` i.e. when it terminates. In your case, you are first creating an empty object using the default ctor and then assigning it to a temporary object `thing(2)`. Once the assignment is done, the destructor of the temporary object is called. Also note that since you have not implemented an assignment operator for your class, the default is tiled which merely copies `x` which is most certainly what you want since in PETSc `Vec` is simply an opaque pointer. This means to properly be able to copy one `thing` to another you need to implement the assignment operator and most probably also the copy ctor . See http://stackoverflow.com/questions/4172722/what-is-the-rule-of-threefor more details on this. Also If you are going to depend on dtor to destroy pets objects, you need to implement a class that initializes and finalizes PETSc through ctor and dtor and call it before calling any other object. Otherwise all other classes will be calling their dtors after PetscFinalize. Something like this should serve the purpose class PetscSession{ public: PetscSession(int argc, char* argv[]){ PetscInitialize(&argc, &argv, NULL, NULL); } ~PetscSession(){ PetscFinalize(); } }; int main(int argc, char* argv[]){ PetscSession petsc(argc, argv); // All other classes come after PetscSession has been called return 0; } On Wed, Feb 5, 2014 at 7:14 PM, Matthew Knepley wrote: > On Wed, Feb 5, 2014 at 8:02 PM, David Liu wrote: > >> Hi, this is a question mainly to clear up my understanding of what the >> Vec object is. Consider the following C++ code: >> >> //========================= >> >> #include >> >> >> > class thing{ >> >> public: >> Vec x; >> thing(){}; >> thing(int N){ >> PetscPrintf(PETSC_COMM_WORLD, "x before create = %i\n", x); >> VecCreateSeq(PETSC_COMM_SELF, N, &x); >> PetscPrintf(PETSC_COMM_WORLD, "x after create = %i\n", x); >> } >> ~thing(){ >> PetscPrintf(PETSC_COMM_WORLD, "x before destroy = %i\n", x); >> VecDestroy(&x); >> PetscPrintf(PETSC_COMM_WORLD, "x after destroy = %i\n", x); >> } >> }; >> >> >> int main(int argc, char** argv){ >> >> PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); >> >> thing t; >> PetscPrintf(PETSC_COMM_WORLD, "x before everything = %i\n", t.x); >> t = thing(2); >> PetscPrintf(PETSC_COMM_WORLD, "x after everything = %i\n", t.x); >> PetscFinalize(); >> } >> >> //========================= >> >> The output, when run sequentially, is >> >> x before everything = 0 >> x before create = 0 >> x after create = -326926224 >> x before destroy = -326926224 >> x after destroy = 0 >> x after everything = -326926224 >> >> (among some unimportant error messages). If I try to VecGetSize(t.x, &N), >> immediately after the line "t = thing(2)", I get an error indicating that >> t.x has been destroyed. >> >> This behavior, as well as the printed output, suggests that the >> destructor being called during the line "t = thing(2)" is destroying the >> Vec just created by "thing(2)". Shouldn't it be destroying the Vec declared >> by the very first "thing t", and hence throwing an error saying that you >> can't destroy a v that has not been created? >> > > This has nothing to do with Vec, it is about C++ copy semantics. This is > why I would > never tell someone to use C++. > > Matt > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vijay.m at gmail.com Thu Feb 6 00:53:39 2014 From: vijay.m at gmail.com (Vijay S. Mahadevan) Date: Thu, 6 Feb 2014 00:53:39 -0600 Subject: [petsc-users] question about the PETSc Vec object and C++ destructors In-Reply-To: References: Message-ID: The simplest fix would be to implement the copy constructor/assignment overload for the object and increase the reference count of vector v. On object destruction, the VecDestroy will dereference accordingly until the last object which will actually free the vector allocation. http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Sys/PetscObjectReference.html Vijay On Thu, Feb 6, 2014 at 12:12 AM, Mohammad Mirzadeh wrote: > There are couple of things you are doing wrong here! > >> Shouldn't it be destroying the Vec declared by the very first "thing t", >> and hence throwing an error saying that you can't destroy a v that has not >> been created? > > No. The destructor of an object is called when either 1) manually call > `delete` on an instance allocated via `new` or 2) when the object is > allocated on the stack and goes out of scope. In your case the destructor > for `t` is called when program reaches the end of `main` i.e. when it > terminates. > > In your case, you are first creating an empty object using the default ctor > and then assigning it to a temporary object `thing(2)`. Once the assignment > is done, the destructor of the temporary object is called. Also note that > since you have not implemented an assignment operator for your class, the > default is tiled which merely copies `x` which is most certainly what you > want since in PETSc `Vec` is simply an opaque pointer. This means to > properly be able to copy one `thing` to another you need to implement the > assignment operator and most probably also the copy ctor . See > http://stackoverflow.com/questions/4172722/what-is-the-rule-of-three for > more details on this. > > Also If you are going to depend on dtor to destroy pets objects, you need to > implement a class that initializes and finalizes PETSc through ctor and dtor > and call it before calling any other object. Otherwise all other classes > will be calling their dtors after PetscFinalize. Something like this should > serve the purpose > > class PetscSession{ > public: > PetscSession(int argc, char* argv[]){ > PetscInitialize(&argc, &argv, NULL, NULL); > } > ~PetscSession(){ > PetscFinalize(); > } > }; > > int main(int argc, char* argv[]){ > PetscSession petsc(argc, argv); > // All other classes come after PetscSession has been called > return 0; > } > > > > On Wed, Feb 5, 2014 at 7:14 PM, Matthew Knepley wrote: >> >> On Wed, Feb 5, 2014 at 8:02 PM, David Liu wrote: >>> >>> Hi, this is a question mainly to clear up my understanding of what the >>> Vec object is. Consider the following C++ code: >>> >>> //========================= >>> >>> #include >>> >>> >>> >>> class thing{ >>> >>> public: >>> Vec x; >>> thing(){}; >>> thing(int N){ >>> PetscPrintf(PETSC_COMM_WORLD, "x before create = %i\n", x); >>> VecCreateSeq(PETSC_COMM_SELF, N, &x); >>> PetscPrintf(PETSC_COMM_WORLD, "x after create = %i\n", x); >>> } >>> ~thing(){ >>> PetscPrintf(PETSC_COMM_WORLD, "x before destroy = %i\n", x); >>> VecDestroy(&x); >>> PetscPrintf(PETSC_COMM_WORLD, "x after destroy = %i\n", x); >>> } >>> }; >>> >>> >>> int main(int argc, char** argv){ >>> >>> PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); >>> >>> thing t; >>> PetscPrintf(PETSC_COMM_WORLD, "x before everything = %i\n", t.x); >>> t = thing(2); >>> PetscPrintf(PETSC_COMM_WORLD, "x after everything = %i\n", t.x); >>> PetscFinalize(); >>> } >>> >>> //========================= >>> >>> The output, when run sequentially, is >>> >>> x before everything = 0 >>> x before create = 0 >>> x after create = -326926224 >>> x before destroy = -326926224 >>> x after destroy = 0 >>> x after everything = -326926224 >>> >>> (among some unimportant error messages). If I try to VecGetSize(t.x, &N), >>> immediately after the line "t = thing(2)", I get an error indicating that >>> t.x has been destroyed. >>> >>> This behavior, as well as the printed output, suggests that the >>> destructor being called during the line "t = thing(2)" is destroying the Vec >>> just created by "thing(2)". Shouldn't it be destroying the Vec declared by >>> the very first "thing t", and hence throwing an error saying that you can't >>> destroy a v that has not been created? >> >> >> This has nothing to do with Vec, it is about C++ copy semantics. This is >> why I would >> never tell someone to use C++. >> >> Matt >> >> -- >> What most experimenters take for granted before they begin their >> experiments is infinitely more interesting than any results to which their >> experiments lead. >> -- Norbert Wiener > > From asmund.ervik at ntnu.no Thu Feb 6 06:31:12 2014 From: asmund.ervik at ntnu.no (=?ISO-8859-1?Q?=C5smund_Ervik?=) Date: Thu, 06 Feb 2014 13:31:12 +0100 Subject: [petsc-users] flag -citations to PETSc In-Reply-To: <52F24C15.5080404@mcs.anl.gov> References: <52F24BA2.70306@ntnu.no> <52F24C15.5080404@mcs.anl.gov> Message-ID: <52F38090.9050607@ntnu.no> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks guys. I tried master and it works as expected. However, I had to make a small change to my code when using petsc-master. Previously I had call KSPSetTolerances(ksp,resid,PETSC_DEFAULT_DOUBLE_PRECISION, PETSC_DEFAULT_DOUBLE_PRECISION,maxiter,ierr) but with petsc-master I got Error: Symbol 'petsc_default_double_precision' at (1) has no IMPLICIT type when compiling. For now I just hard-coded in the old defaults 10^-50 and 10^5. Is this due to an upcoming change in 3.5? Regards, ?smund On 05. feb. 2014 15:35, Karl Rupp wrote: > Hi ?smund, > > this is not yet in the release, you need to use PETSc master or > PETSc next for the citation flag to work. > > Best regards, Karli > > > On 02/05/2014 03:33 PM, ?smund Ervik wrote: Good people of PETSc, > > I see on the internet > (http://www.mcs.anl.gov/petsc/documentation/referencing.html) that > one may use the flag "-citations file.bib" to a program using PETSc > to get some useful references e.g. for citing in an article. > However, this does nothing when I try it, and I can't find any > mention of this in the manual. Has this flag been removed? > > Best regards, ?smund >> > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS84CQAAoJED+FDAHgGz19kewH/RRhf01bWcslZuershtGOqCb 6xyJn5d4JJpTcIQGYBUeJMjwZ5dKEH+5OHYK3QYeTQZQoNdvdVySNnLI9rGDz144 9mBTS1bTcs9RjX8dRdSH6I/TBGq7OwDgRyWlTrmzHsRewGUhXt+wZ8PXhgyvswA+ QOIjRQEMHCZ8Ur52d5Obl692gPR8hP4yyR9tgoDy3dbka5j7P/OtYudstPcthVPc tPR2niY/roc+YhzNLwrPCbT6+gkAZrGZDlczvtk5+bMHquX0blbeToxJM0eFHK95 mP9E11NNcCDUZVOT8V3VPeDvpAcbpPLN9bVWwYfJcjpQyDG1xWZZ7wPhvO5nZ3U= =jc0e -----END PGP SIGNATURE----- From bsmith at mcs.anl.gov Thu Feb 6 06:46:11 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Thu, 6 Feb 2014 06:46:11 -0600 Subject: [petsc-users] flag -citations to PETSc In-Reply-To: <52F38090.9050607@ntnu.no> References: <52F24BA2.70306@ntnu.no> <52F24C15.5080404@mcs.anl.gov> <52F38090.9050607@ntnu.no> Message-ID: Sorry, we changed these to match the ?PETSc type? so it is now PETSC_DEFAULT_REAL; the reasoning is that this works when you build PetscReal as single precision, double, or quad while the name PETSC_DEFAULT_DOUBLE_PRECISION is tied to double only which was never the intention. Barry On Feb 6, 2014, at 6:31 AM, ?smund Ervik wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Thanks guys. I tried master and it works as expected. > > However, I had to make a small change to my code when using > petsc-master. Previously I had > > call KSPSetTolerances(ksp,resid,PETSC_DEFAULT_DOUBLE_PRECISION, > PETSC_DEFAULT_DOUBLE_PRECISION,maxiter,ierr) > > but with petsc-master I got > Error: Symbol 'petsc_default_double_precision' at (1) has no > IMPLICIT type > when compiling. For now I just hard-coded in the old defaults 10^-50 > and 10^5. > Is this due to an upcoming change in 3.5? > > Regards, > ?smund > > > On 05. feb. 2014 15:35, Karl Rupp wrote: >> Hi ?smund, >> >> this is not yet in the release, you need to use PETSc master or >> PETSc next for the citation flag to work. >> >> Best regards, Karli >> >> >> On 02/05/2014 03:33 PM, ?smund Ervik wrote: Good people of PETSc, >> >> I see on the internet >> (http://www.mcs.anl.gov/petsc/documentation/referencing.html) that >> one may use the flag "-citations file.bib" to a program using PETSc >> to get some useful references e.g. for citing in an article. >> However, this does nothing when I try it, and I can't find any >> mention of this in the manual. Has this flag been removed? >> >> Best regards, ?smund >>> >> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.22 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJS84CQAAoJED+FDAHgGz19kewH/RRhf01bWcslZuershtGOqCb > 6xyJn5d4JJpTcIQGYBUeJMjwZ5dKEH+5OHYK3QYeTQZQoNdvdVySNnLI9rGDz144 > 9mBTS1bTcs9RjX8dRdSH6I/TBGq7OwDgRyWlTrmzHsRewGUhXt+wZ8PXhgyvswA+ > QOIjRQEMHCZ8Ur52d5Obl692gPR8hP4yyR9tgoDy3dbka5j7P/OtYudstPcthVPc > tPR2niY/roc+YhzNLwrPCbT6+gkAZrGZDlczvtk5+bMHquX0blbeToxJM0eFHK95 > mP9E11NNcCDUZVOT8V3VPeDvpAcbpPLN9bVWwYfJcjpQyDG1xWZZ7wPhvO5nZ3U= > =jc0e > -----END PGP SIGNATURE----- From asmund.ervik at ntnu.no Thu Feb 6 08:00:19 2014 From: asmund.ervik at ntnu.no (=?windows-1252?Q?=C5smund_Ervik?=) Date: Thu, 06 Feb 2014 15:00:19 +0100 Subject: [petsc-users] flag -citations to PETSc In-Reply-To: References: <52F24BA2.70306@ntnu.no> <52F24C15.5080404@mcs.anl.gov> <52F38090.9050607@ntnu.no> Message-ID: <52F39573.9060502@ntnu.no> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, so PETSC_DEFAULT_REAL works fine with master but not with 3.4. What are my options if I want to keep this simple? I can pretty much guarantee that my colleagues and the test server won't all switch to 3.5 simultaneously. Is there a better fix than hardcoding in the default values? KSPSetTolerances is the only place where we use these. Regards ?smund On 06. feb. 2014 13:46, Barry Smith wrote: > > Sorry, we changed these to match the ?PETSc type? so it is now > PETSC_DEFAULT_REAL; the reasoning is that this works when you build > PetscReal as single precision, double, or quad while the name > PETSC_DEFAULT_DOUBLE_PRECISION is tied to double only which was > never the intention. > > Barry > > On Feb 6, 2014, at 6:31 AM, ?smund Ervik > wrote: > > Thanks guys. I tried master and it works as expected. > > However, I had to make a small change to my code when using > petsc-master. Previously I had > > call KSPSetTolerances(ksp,resid,PETSC_DEFAULT_DOUBLE_PRECISION, > PETSC_DEFAULT_DOUBLE_PRECISION,maxiter,ierr) > > but with petsc-master I got Error: Symbol > 'petsc_default_double_precision' at (1) has no IMPLICIT type when > compiling. For now I just hard-coded in the old defaults 10^-50 and > 10^5. Is this due to an upcoming change in 3.5? > > Regards, ?smund > > > On 05. feb. 2014 15:35, Karl Rupp wrote: >>>> Hi ?smund, >>>> >>>> this is not yet in the release, you need to use PETSc master >>>> or PETSc next for the citation flag to work. >>>> >>>> Best regards, Karli >>>> >>>> >>>> On 02/05/2014 03:33 PM, ?smund Ervik wrote: Good people of >>>> PETSc, >>>> >>>> I see on the internet >>>> (http://www.mcs.anl.gov/petsc/documentation/referencing.html) >>>> that one may use the flag "-citations file.bib" to a program >>>> using PETSc to get some useful references e.g. for citing in >>>> an article. However, this does nothing when I try it, and I >>>> can't find any mention of this in the manual. Has this flag >>>> been removed? >>>> >>>> Best regards, ?smund >>>>> >>>> > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS85VzAAoJED+FDAHgGz19FRcIAM9JgrQH3YYlDktH09lDhBfZ jNfecbgAVX7H3HLJaWd2J6Nmuj19MLVSzu//vKut0pYuskZG8bK4ub5qmkzvz3sl /vG1FG/L+c1gREDMQlyTEKbyLXd45EVz0FRXMlkj1bION35Sw0eyXJ/AW/JTaIrv CpQcgN8g4SXlkX57T3tPOyVoE0JFnRnOZovrVctzA/owX90uwzYvN3H2U401gSzS Mw+B9vvziw0nGXDNtTPYjEtCeBBnvihroxWZZFQ7bqJEG0joO5vuK3on9o7pX6bB DzFCGGSdnZDNksP43evqzdyxemN1bB64WfP2F95WvxWPLdW3SDOkfHfOZrWTduc= =OGIK -----END PGP SIGNATURE----- From jedbrown at mcs.anl.gov Thu Feb 6 10:06:54 2014 From: jedbrown at mcs.anl.gov (Jed Brown) Date: Thu, 06 Feb 2014 09:06:54 -0700 Subject: [petsc-users] flag -citations to PETSc In-Reply-To: <52F39573.9060502@ntnu.no> References: <52F24BA2.70306@ntnu.no> <52F24C15.5080404@mcs.anl.gov> <52F38090.9050607@ntnu.no> <52F39573.9060502@ntnu.no> Message-ID: <8738jww7hd.fsf@jedbrown.org> ?smund Ervik writes: > Ok, so PETSC_DEFAULT_REAL works fine with master but not with 3.4. > What are my options if I want to keep this simple? I can pretty much > guarantee that my colleagues and the test server won't all switch to > 3.5 simultaneously. Is there a better fix than hardcoding in the > default values? KSPSetTolerances is the only place where we use these. Historically, we have made a handful of interface changes in each PETSc release. It's expensive to maintain complete source compatibility (in general; not in this case) due to internal refactoring of interfaces, the fact that people never update their code if not forced to, and user confusion attempting to mix old and new ways of doing things. In C with supported compilers, I have been using deprecated "attributes" to mark deprecated functions that are relatively easy to preserve. (More major change, such as splitting SNESLineSearch into its own object, can't easily be handled this way.) Most users only have to change a few lines to upgrade to a new version. In this case, we could leave PETSC_DEFAULT_DOUBLE_PRECISION as an alias, though the misleading name may cause some confusion and since I don't know a general way to mark it deprecated in Fortran, people will continue to use it indefinitely. The general approach you can always use is #if PETSC_VERSION_GE(3,5,0) ... PETSC_DEFAULT_REAL #else ... PETSC_DEFAULT_DOUBLE_PRECISION #endif Unreleased versions of PETSc are +Infinity in the version comparison macros, so this works now and once petsc-3.5 is released. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From asmund.ervik at ntnu.no Thu Feb 6 11:14:40 2014 From: asmund.ervik at ntnu.no (=?iso-8859-1?Q?=C5smund_Ervik?=) Date: Thu, 6 Feb 2014 17:14:40 +0000 Subject: [petsc-users] flag -citations to PETSc In-Reply-To: <8738jww7hd.fsf@jedbrown.org> References: <52F24BA2.70306@ntnu.no> <52F24C15.5080404@mcs.anl.gov> <52F38090.9050607@ntnu.no> <52F39573.9060502@ntnu.no>,<8738jww7hd.fsf@jedbrown.org> Message-ID: <380c0u1b1fvq7ddx0v2iodbq.1391706870860@email.android.com> Thanks Jed, the PETSC_VERSION_GE macro will do the trick. I understand not wanting to be eternally backwards compatible; see Excel's wrong handling of leap years due to backwards compatibility with DOS-era Lotus Notes. Regards, ?smund Sent from my VT-102 Jed Brown skrev: ?smund Ervik writes: > Ok, so PETSC_DEFAULT_REAL works fine with master but not with 3.4. > What are my options if I want to keep this simple? I can pretty much > guarantee that my colleagues and the test server won't all switch to > 3.5 simultaneously. Is there a better fix than hardcoding in the > default values? KSPSetTolerances is the only place where we use these. Historically, we have made a handful of interface changes in each PETSc release. It's expensive to maintain complete source compatibility (in general; not in this case) due to internal refactoring of interfaces, the fact that people never update their code if not forced to, and user confusion attempting to mix old and new ways of doing things. In C with supported compilers, I have been using deprecated "attributes" to mark deprecated functions that are relatively easy to preserve. (More major change, such as splitting SNESLineSearch into its own object, can't easily be handled this way.) Most users only have to change a few lines to upgrade to a new version. In this case, we could leave PETSC_DEFAULT_DOUBLE_PRECISION as an alias, though the misleading name may cause some confusion and since I don't know a general way to mark it deprecated in Fortran, people will continue to use it indefinitely. The general approach you can always use is #if PETSC_VERSION_GE(3,5,0) ... PETSC_DEFAULT_REAL #else ... PETSC_DEFAULT_DOUBLE_PRECISION #endif Unreleased versions of PETSc are +Infinity in the version comparison macros, so this works now and once petsc-3.5 is released. -------------- next part -------------- An HTML attachment was scrubbed... URL: From danyang.su at gmail.com Thu Feb 6 12:02:55 2014 From: danyang.su at gmail.com (Danyang Su) Date: Thu, 06 Feb 2014 10:02:55 -0800 Subject: [petsc-users] Convergence and improvement of ill conditioned like problem Message-ID: <52F3CE4F.50208@gmail.com> Hi All, I have come across an ill conditioned like problem. The matrix in this problem is block matrix, in each block, there are some zero entries. The preconditioned residual norm drops slowly but the true residual norm drops quickly in the first few iterations. So as to improve the performance, I would like to stop iteration when the true residual norm meet the requirement. Q1: Do I need to use KSPSetConvergenceTest for this case? I can use direct solver for this problem and the outer newton iteration works fine, usually converged in 10 or less newton iterations. But when use PETSc KSP solver, the newton iterations usually need more than 20 iterations and the timestep cannot increase much due to the large newton iteration number. Q2: Is it possible to increase the precision for KSP solver for this problem? I have read the comments by Jed in the website http://scicomp.stackexchange.com/questions/513/why-is-my-iterative-linear-solver-not-converging. I don't know what can KSPSetNullSpace or MatNullSpaceRemove do and haven't tried to use it. Thanks and regards, Danyang From jed at jedbrown.org Thu Feb 6 12:06:57 2014 From: jed at jedbrown.org (Jed Brown) Date: Thu, 06 Feb 2014 11:06:57 -0700 Subject: [petsc-users] Convergence and improvement of ill conditioned like problem In-Reply-To: <52F3CE4F.50208@gmail.com> References: <52F3CE4F.50208@gmail.com> Message-ID: <87a9e4uncu.fsf@jedbrown.org> Danyang Su writes: > Hi All, > > I have come across an ill conditioned like problem. The matrix in this > problem is block matrix, in each block, there are some zero entries. The > preconditioned residual norm drops slowly but the true residual norm > drops quickly in the first few iterations. So as to improve the > performance, I would like to stop iteration when the true residual norm > meet the requirement. > > Q1: Do I need to use KSPSetConvergenceTest for this case? Try -ksp_norm_type unpreconditioned How do you enforce boundary conditions? If you use penalties or a poorly-scaled formulation, the unpreconditioned residual dropping may only imply that the boundary conditions are satisfied, but say nothing about solving the problem in the interior. You should fix that by choosing a better preconditioner. > I can use direct solver for this problem and the outer newton iteration > works fine, usually converged in 10 or less newton iterations. But when > use PETSc KSP solver, the newton iterations usually need more than 20 > iterations and the timestep cannot increase much due to the large newton > iteration number. > > Q2: Is it possible to increase the precision for KSP solver for this > problem? > > I have read the comments by Jed in the website > http://scicomp.stackexchange.com/questions/513/why-is-my-iterative-linear-solver-not-converging. > I don't know what can KSPSetNullSpace or MatNullSpaceRemove do and > haven't tried to use it. Those are for use when your system is singular. If the direct solver works reliably, it's a good sign that the problem is not singular (though you should understand why, both analytically and numerically). -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From knepley at gmail.com Thu Feb 6 12:13:26 2014 From: knepley at gmail.com (Matthew Knepley) Date: Thu, 6 Feb 2014 12:13:26 -0600 Subject: [petsc-users] Convergence and improvement of ill conditioned like problem In-Reply-To: <52F3CE4F.50208@gmail.com> References: <52F3CE4F.50208@gmail.com> Message-ID: On Thu, Feb 6, 2014 at 12:02 PM, Danyang Su wrote: > Hi All, > > I have come across an ill conditioned like problem. The matrix in this > problem is block matrix, in each block, there are some zero entries. The > preconditioned residual norm drops slowly but the true residual norm drops > quickly in the first few iterations. So as to improve the performance, I > would like to stop iteration when the true residual norm meet the > requirement. > > Q1: Do I need to use KSPSetConvergenceTest for this case? > > I can use direct solver for this problem and the outer newton iteration > works fine, usually converged in 10 or less newton iterations. But when use > PETSc KSP solver, the newton iterations usually need more than 20 > iterations and the timestep cannot increase much due to the large newton > iteration number. > > Q2: Is it possible to increase the precision for KSP solver for this > problem? > -ksp_rtol 1.0e-9 Matt > I have read the comments by Jed in the website > http://scicomp.stackexchange.com/questions/513/why-is-my- > iterative-linear-solver-not-converging. I don't know what can > KSPSetNullSpace or MatNullSpaceRemove do and haven't tried to use it. > > Thanks and regards, > > Danyang > > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From dharmareddy84 at gmail.com Thu Feb 6 15:35:57 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Thu, 6 Feb 2014 15:35:57 -0600 Subject: [petsc-users] petsc install Message-ID: Hello, I use the petsc next via git to work on my local machine (windows). Now i need to move my work to the server (linux) which has no internet access ( i can talk to bitbucket from the server). The only way i can transfer files between the machines is via ftp from local machine to linux server. 1. ) I want to download the external packages on the local machine and transfer the files to the server for installation. Is there a configuer flag which will just download the external packages used by petsc ? 2.) How do i keep my server copy in sync with petsc-next ? when ever i want to do a pull. Thanks Reddy From knepley at gmail.com Thu Feb 6 15:43:02 2014 From: knepley at gmail.com (Matthew Knepley) Date: Thu, 6 Feb 2014 15:43:02 -0600 Subject: [petsc-users] petsc install In-Reply-To: References: Message-ID: On Thu, Feb 6, 2014 at 3:35 PM, Dharmendar Reddy wrote: > Hello, > I use the petsc next via git to work on my local machine > (windows). Now i need to move my work to the server (linux) which has > no internet access ( i can talk to bitbucket from the server). The > only way i can transfer files between the machines is via ftp from > local machine to linux server. > > 1. ) I want to download the external packages on the local machine and > transfer the files to the server for installation. Is there a > configuer flag which will just download the external packages used by > petsc ? > You can always use --download-=. We do not have a flag that just downloads tarballs. Satish, can you just use an SSH tunnel for this? > 2.) How do i keep my server copy in sync with petsc-next ? when ever i > want to do a pull. > I would just point it at a repo on the server, and keep that one up to date. Matt > Thanks > Reddy > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Thu Feb 6 16:03:51 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Thu, 6 Feb 2014 16:03:51 -0600 Subject: [petsc-users] petsc install In-Reply-To: References: Message-ID: <53A6FFD7-9F53-4BA9-9A52-DCC0C23862C4@mcs.anl.gov> On Feb 6, 2014, at 3:43 PM, Matthew Knepley wrote: > On Thu, Feb 6, 2014 at 3:35 PM, Dharmendar Reddy wrote: > Hello, > I use the petsc next via git to work on my local machine > (windows). Now i need to move my work to the server (linux) which has > no internet access ( i can talk to bitbucket from the server). If the server has no internet access then how can you talk to bitbucket from the server? Presumably the server has ?no internet access? because of some misguided concern about security, yet ftp which is the least secure mechanism in history is used to copy files to this machine? And what is this ftp running on if it is not ftp? Barry > The > only way i can transfer files between the machines is via ftp from > local machine to linux server. > > 1. ) I want to download the external packages on the local machine and > transfer the files to the server for installation. Is there a > configuer flag which will just download the external packages used by > petsc ? > > You can always use --download-=. We do not have a flag > that just downloads tarballs. > > Satish, can you just use an SSH tunnel for this? > > 2.) How do i keep my server copy in sync with petsc-next ? when ever i > want to do a pull. > > I would just point it at a repo on the server, and keep that one up to date. > > Matt > > Thanks > Reddy > > > > -- > What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. > -- Norbert Wiener From dharmareddy84 at gmail.com Thu Feb 6 16:17:04 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Thu, 6 Feb 2014 16:17:04 -0600 Subject: [petsc-users] petsc install In-Reply-To: <53A6FFD7-9F53-4BA9-9A52-DCC0C23862C4@mcs.anl.gov> References: <53A6FFD7-9F53-4BA9-9A52-DCC0C23862C4@mcs.anl.gov> Message-ID: On Thu, Feb 6, 2014 at 4:03 PM, Barry Smith wrote: > > On Feb 6, 2014, at 3:43 PM, Matthew Knepley wrote: > >> On Thu, Feb 6, 2014 at 3:35 PM, Dharmendar Reddy wrote: >> Hello, >> I use the petsc next via git to work on my local machine >> (windows). Now i need to move my work to the server (linux) which has >> no internet access ( i can talk to bitbucket from the server). > > If the server has no internet access then how can you talk to bitbucket from the server? > > Presumably the server has "no internet access" because of some misguided concern about security, yet ftp which is the least secure mechanism in history is used to copy files to this machine? And what is this ftp running on if it is not ftp? Well, I can only ftp in only if i am on the vpn. But yes, its a security concern. I was thinking, i can maintian a local clone on my windows machine and patch the server version when ever i do sync to petsc-next on the local machine. I do not sync the code that often. The plan may work only if i can download the external packages onto local machine which is a windows system with no compilers, python etc... > > Barry > >> The >> only way i can transfer files between the machines is via ftp from >> local machine to linux server. >> >> 1. ) I want to download the external packages on the local machine and >> transfer the files to the server for installation. Is there a >> configuer flag which will just download the external packages used by >> petsc ? >> >> You can always use --download-=. We do not have a flag >> that just downloads tarballs. >> >> Satish, can you just use an SSH tunnel for this? >> >> 2.) How do i keep my server copy in sync with petsc-next ? when ever i >> want to do a pull. >> >> I would just point it at a repo on the server, and keep that one up to date. >> >> Matt >> >> Thanks >> Reddy >> >> >> >> -- >> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. >> -- Norbert Wiener > From bsmith at mcs.anl.gov Thu Feb 6 16:33:26 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Thu, 6 Feb 2014 16:33:26 -0600 Subject: [petsc-users] petsc install In-Reply-To: References: <53A6FFD7-9F53-4BA9-9A52-DCC0C23862C4@mcs.anl.gov> Message-ID: <92B7D995-4F6B-481A-A52E-3A7A564E9E5D@mcs.anl.gov> Currently you need to look in $PETSC_DIR/config/PETSc/packages/XXX.py or $PETSC_DIR/config/BuildSystem/config/packages/XXX.py to find the URLs of the downloaded files (for package XXX). Barry On Feb 6, 2014, at 4:17 PM, Dharmendar Reddy wrote: > On Thu, Feb 6, 2014 at 4:03 PM, Barry Smith wrote: >> >> On Feb 6, 2014, at 3:43 PM, Matthew Knepley wrote: >> >>> On Thu, Feb 6, 2014 at 3:35 PM, Dharmendar Reddy wrote: >>> Hello, >>> I use the petsc next via git to work on my local machine >>> (windows). Now i need to move my work to the server (linux) which has >>> no internet access ( i can talk to bitbucket from the server). >> >> If the server has no internet access then how can you talk to bitbucket from the server? >> >> Presumably the server has "no internet access" because of some misguided concern about security, yet ftp which is the least secure mechanism in history is used to copy files to this machine? And what is this ftp running on if it is not ftp? > > Well, I can only ftp in only if i am on the vpn. But yes, its a > security concern. I was thinking, i can maintian a local clone on my > windows machine and patch the server version when ever i do sync to > petsc-next on the local machine. I do not sync the code that often. > > The plan may work only if i can download the external packages onto > local machine which is a windows system with no compilers, python > etc... > >> >> Barry >> >>> The >>> only way i can transfer files between the machines is via ftp from >>> local machine to linux server. >>> >>> 1. ) I want to download the external packages on the local machine and >>> transfer the files to the server for installation. Is there a >>> configuer flag which will just download the external packages used by >>> petsc ? >>> >>> You can always use --download-=. We do not have a flag >>> that just downloads tarballs. >>> >>> Satish, can you just use an SSH tunnel for this? >>> >>> 2.) How do i keep my server copy in sync with petsc-next ? when ever i >>> want to do a pull. >>> >>> I would just point it at a repo on the server, and keep that one up to date. >>> >>> Matt >>> >>> Thanks >>> Reddy >>> >>> >>> >>> -- >>> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. >>> -- Norbert Wiener From balay at mcs.anl.gov Thu Feb 6 16:35:34 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Thu, 6 Feb 2014 16:35:34 -0600 Subject: [petsc-users] petsc install In-Reply-To: References: Message-ID: On Thu, 6 Feb 2014, Matthew Knepley wrote: > On Thu, Feb 6, 2014 at 3:35 PM, Dharmendar Reddy wrote: > > > Hello, > > I use the petsc next via git to work on my local machine > > (windows). Now i need to move my work to the server (linux) which has > > no internet access ( i can talk to bitbucket from the server). The > > only way i can transfer files between the machines is via ftp from > > local machine to linux server. > > > > 1. ) I want to download the external packages on the local machine and > > transfer the files to the server for installation. Is there a > > configuer flag which will just download the external packages used by > > petsc ? > > > > You can always use --download-=. We do not have a > flag > that just downloads tarballs. > > Satish, can you just use an SSH tunnel for this? I'm not sure how ssh will fit here - but you can just rsync/copy PETSC_ARCH/externalpackages over to the secure machine [from local machine] - and configure with --download-=1 [using the same PETSC_ARCH] Or as Matt mentioned - download the tarballs to your local machine [the URL will be in package.py for the corresponding package] - and then copy the tarballs over to this machine - and use with --download-= > > > 2.) How do i keep my server copy in sync with petsc-next ? when ever i > > want to do a pull. > > > > I would just point it at a repo on the server, and keep that one up to date. Since you can access this sever from your local machine [presumably by ssh] - I would do a pull [from bitbucket] and push to the repo on this server from your local machine. i.e do the following from your local machine" git pull git push ssh://[user@]host.xz[:port]/path/to/repo.git/ Satish From dharmareddy84 at gmail.com Thu Feb 6 16:49:07 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Thu, 6 Feb 2014 16:49:07 -0600 Subject: [petsc-users] petsc section layout Message-ID: Hello, I need to store some geometry information of a mesh in dm and alter access it via getclosure (or a some other method you may suggest). For a traiangle with vertices: v1, v2, v3 say the circumcenter of the triangle is O and mid point of each edges is : m1,m2,m3 The data i need to store is: For each node a double value, which will the fraction of area of triangle: for example: for v1 , area of quad v1,m1,O,m3 each edge has two values: edge length and distance from mid point to O For triangle, i will have to save 9 variables, of which 6 are cell specific and 3 are edge specific. How should define the dof lay out to use in DMPlexCreateSection From knepley at gmail.com Thu Feb 6 18:19:57 2014 From: knepley at gmail.com (Matthew Knepley) Date: Thu, 6 Feb 2014 18:19:57 -0600 Subject: [petsc-users] petsc section layout In-Reply-To: References: Message-ID: On Thu, Feb 6, 2014 at 4:49 PM, Dharmendar Reddy wrote: > Hello, > I need to store some geometry information of a mesh in dm and > alter access it via getclosure (or a some other method you may > suggest). > > For a traiangle with vertices: v1, v2, v3 > say the circumcenter of the triangle is O > and mid point of each edges is : m1,m2,m3 > The data i need to store is: > For each node a double value, which will the fraction of area of triangle: > for example: for v1 , area of quad v1,m1,O,m3 > > each edge has two values: edge length and distance from mid point to O > > For triangle, i will have to save 9 variables, of which 6 are cell > specific and 3 are edge specific. How should define the dof lay out > to use in DMPlexCreateSection > Just using PetscSectionSetDof() put 6 for each cell (I only see 3 above) and 3 (I only see 2 above) for each edge. If you use DMPlexCreateSection() then dimDof = [0 3 6], and you could divide it into fields however you want. Matt -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From dharmareddy84 at gmail.com Thu Feb 6 19:10:43 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Thu, 6 Feb 2014 19:10:43 -0600 Subject: [petsc-users] petsc section layout In-Reply-To: References: Message-ID: On Thu, Feb 6, 2014 at 6:19 PM, Matthew Knepley wrote: > On Thu, Feb 6, 2014 at 4:49 PM, Dharmendar Reddy > wrote: >> >> Hello, >> I need to store some geometry information of a mesh in dm and >> alter access it via getclosure (or a some other method you may >> suggest). >> >> For a traiangle with vertices: v1, v2, v3 >> say the circumcenter of the triangle is O >> and mid point of each edges is : m1,m2,m3 >> The data i need to store is: >> For each node a double value, which will the fraction of area of triangle: >> for example: for v1 , area of quad v1,m1,O,m3 >> >> each edge has two values: edge length and distance from mid point to O >> >> For triangle, i will have to save 9 variables, of which 6 are cell >> specific and 3 are edge specific. How should define the dof lay out >> to use in DMPlexCreateSection > > > Just using PetscSectionSetDof() put 6 for each cell (I only see 3 above) > and 3 (I only see 2 above) for each edge. If you use DMPlexCreateSection() > then dimDof = [0 3 6], and you could divide it into fields however you want. > I guess if i have to mention them as per edge basis, then it is one per each edge which is the edge length. The distance from edge to circumcenter of the cell is cell specific. So i should use: dimDof = [0 3 6]. Thanks > Matt > > -- > What most experimenters take for granted before they begin their experiments > is infinitely more interesting than any results to which their experiments > lead. > -- Norbert Wiener From knepley at gmail.com Thu Feb 6 19:43:03 2014 From: knepley at gmail.com (Matthew Knepley) Date: Thu, 6 Feb 2014 19:43:03 -0600 Subject: [petsc-users] petsc section layout In-Reply-To: References: Message-ID: On Thu, Feb 6, 2014 at 7:10 PM, Dharmendar Reddy wrote: > On Thu, Feb 6, 2014 at 6:19 PM, Matthew Knepley wrote: > > On Thu, Feb 6, 2014 at 4:49 PM, Dharmendar Reddy < > dharmareddy84 at gmail.com> > > wrote: > >> > >> Hello, > >> I need to store some geometry information of a mesh in dm and > >> alter access it via getclosure (or a some other method you may > >> suggest). > >> > >> For a traiangle with vertices: v1, v2, v3 > >> say the circumcenter of the triangle is O > >> and mid point of each edges is : m1,m2,m3 > >> The data i need to store is: > >> For each node a double value, which will the fraction of area of > triangle: > >> for example: for v1 , area of quad v1,m1,O,m3 > >> > >> each edge has two values: edge length and distance from mid point to O > >> > >> For triangle, i will have to save 9 variables, of which 6 are cell > >> specific and 3 are edge specific. How should define the dof lay out > >> to use in DMPlexCreateSection > > > > > > Just using PetscSectionSetDof() put 6 for each cell (I only see 3 above) > > and 3 (I only see 2 above) for each edge. If you use > DMPlexCreateSection() > > then dimDof = [0 3 6], and you could divide it into fields however you > want. > > > I guess if i have to mention them as per edge basis, then it is one > per each edge which is the edge length. The distance from edge to > circumcenter of the cell is cell specific. > > So i should use: dimDof = [0 3 6]. > No, if it is one per edge and 6 per cell its dimDof = [0 1, 6] dimDof is the number of dof for each dimensional component. Matt > Thanks > > > Matt > > > > -- > > What most experimenters take for granted before they begin their > experiments > > is infinitely more interesting than any results to which their > experiments > > lead. > > -- Norbert Wiener > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidblogueur at gmail.com Sat Feb 8 10:47:50 2014 From: davidblogueur at gmail.com (David Laroche) Date: Sat, 8 Feb 2014 17:47:50 +0100 Subject: [petsc-users] =?utf-8?q?=5BDL=5D_David_Laroche_dans_votre_ville_-?= =?utf-8?q?_Etes-vous_pr=C3=AAt_pour_davantage_de_r=C3=A9sultats_=3F?= Message-ID: -------------------------------------------------------------------------------- Cette newsletter vous a ?t? envoy?e au format graphique HTML. Si vous lisez cette version, alors votre logiciel de messagerie pr?f?re les e-mails au format texte. Vous pouvez lire la version originale en ligne: http://ymlp244.net/zdcNMI -------------------------------------------------------------------------------- Bonjour, Si vous avez envie de vivre une puissante exp?rience, que vous ?tes d?termin?s ? faire de cette ann?e de la magie, que vous sentez que vous avez du potentiel et surtout que vous avez envie de passer un bon moment alors venez rejoindre David Laroche pour une conf?rence en soir?e dans votre ville. David Laroche est un ancien timide devenu conf?rencier, formateur, chroniqueur. Il s'est li? d'amiti? avec les plus grands leaders Fran?ais et Am?ricains tels que le PDG de Success Magazine (Darren Hardy), Brian Tracy, Seth Godin (le visionnaire qui accompagne Yahoo), Lisa Nichols du film le secret. Il est notamment connu pour ses nombreux d?fis et la fa?on dont il partage ses histoires. Il croit que chacun et donc vous m?rite de lib?rer son potentiel, que chacun a le potentiel d'avoir davantage de r?sultats. Il vous proposera alors un plan d'action pour passer ? l'aciton et ?tre ? l'aise en toutes circonstances. Nous vous disons ? tr?s vite dans la ville de votre choix pour la conf?rence : "CONFIANCE en SOI & ESTIME de SOI" Devenez cette personne qui r?alise ses r?ves Paris - 12 F?vrier 20h dans le prestigieux th??tre Adyar ? 5min ? pied de la tour Eiffel http://davidlaroche.fr/conference-paris-confianceensoi/ Lyon - 17 F?vrier 20h http://davidlaroche.fr/conference-lyon-confianceensoi/ Aix en provence - 21 Mai 20h http://davidlaroche.fr/conference-aixenprovence-confianceensoi Valence - 4 juin 20h http://davidlaroche.fr/conference-valence-confianceensoi/ Bruxelles - 12 Juin 20h http://davidlaroche.fr/conference-bruxelles-confianceensoi/ Et vous pouvez aussi commander la version num?rique et enregistr?e de la conf?rence si vous souhaitez la visionner ou la re-visionner n'importe quand et n'importe o?. L'?quipe de Laroche Production _____________________________ Unsubscribe / Change Profile: http://ymlp244.net/ugbhewuugsgeshwygjggjeuhhb Powered par YourMailingListProvider -------------- next part -------------- An HTML attachment was scrubbed... URL: From florian.meier at koalo.de Mon Feb 10 00:33:49 2014 From: florian.meier at koalo.de (Florian Meier) Date: Mon, 10 Feb 2014 07:33:49 +0100 Subject: [petsc-users] Modeling a Network with DMPlex? Message-ID: Hi, I would like to solve a non-linear equation system over a computer network. This is somewhat similar to FEM. There is a bunch of equations for each link that includes variables of adjacent links. I assume there is some support in PETSc for mapping the network to memory, distribute it and iterate over the adjacent links, but all examples I could found for DMPlex are so tightly coupled to FEM that I am not able to separate the relevant parts from the parts that are only needed for FEM (e.g. continuous elements, discretization). Is DMPlex actually the right place to look? Is there any example that is more similar to my application? Any further pointers? Greetings, Florian From jed at jedbrown.org Mon Feb 10 00:35:45 2014 From: jed at jedbrown.org (Jed Brown) Date: Sun, 09 Feb 2014 23:35:45 -0700 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: References: Message-ID: <87zjlzmq4e.fsf@jedbrown.org> Florian Meier writes: > Hi, > I would like to solve a non-linear equation system over a computer > network. This is somewhat similar to FEM. There is a bunch of > equations for each link that includes variables of adjacent links. I > assume there is some support in PETSc for mapping the network to > memory, distribute it and iterate over the adjacent links, but all > examples I could found for DMPlex are so tightly coupled to FEM that I > am not able to separate the relevant parts from the parts that are > only needed for FEM (e.g. continuous elements, discretization). > > Is DMPlex actually the right place to look? You can describe a network having only edges and vertices. This sounds similar to what Shri does for power networks. You wouldn't use the FEM interfaces, but the DMPlex primitives still apply. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From abhyshr at mcs.anl.gov Mon Feb 10 01:33:25 2014 From: abhyshr at mcs.anl.gov (Abhyankar, Shrirang G.) Date: Mon, 10 Feb 2014 07:33:25 +0000 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: <87zjlzmq4e.fsf@jedbrown.org> Message-ID: Hi Florian, You can use DMPlex directly as Jed suggests or you can use a new DM that has been added recently to PETSc specifically for circuit/network/graph applications. This DM, named DMCircuit, is built on top of DMPlex. It is currently in the next branch of PETSc and there is an example from a power grid application in src/snes/examples/tutorials/pflow. Take a look at DMCircuit and let us know if you want to use it. I'll give you more information on its usage if you are interested. Shri On 2/10/14 12:35 AM, "Jed Brown" wrote: >Florian Meier writes: > >> Hi, >> I would like to solve a non-linear equation system over a computer >> network. This is somewhat similar to FEM. There is a bunch of >> equations for each link that includes variables of adjacent links. I >> assume there is some support in PETSc for mapping the network to >> memory, distribute it and iterate over the adjacent links, but all >> examples I could found for DMPlex are so tightly coupled to FEM that I >> am not able to separate the relevant parts from the parts that are >> only needed for FEM (e.g. continuous elements, discretization). >> >> Is DMPlex actually the right place to look? > >You can describe a network having only edges and vertices. This sounds >similar to what Shri does for power networks. You wouldn't use the FEM >interfaces, but the DMPlex primitives still apply. You can We've recently added a DM for problems arising from circuit applications that may be of use to you. The interface is called DMCircuit and is currently in the next branch of PETSc. There is currently one DMCircuit example coming from a power grid application in src/snes/examples/tutorials/circuit/pflow. > From agrayver at gfz-potsdam.de Mon Feb 10 04:06:36 2014 From: agrayver at gfz-potsdam.de (Alexander Grayver) Date: Mon, 10 Feb 2014 11:06:36 +0100 Subject: [petsc-users] copy vector between communicators Message-ID: <52F8A4AC.3050906@gfz-potsdam.de> Hello, I need to have a copy of a vector created on the communicator COMM to another vector created on the communicator SUBCOMM (which is a subset of the COMM processes). Are there any standard functions that can help here? I assume VecScatter could help, but I am not sure how to use it here? Thanks, Alexander From florian.meier at koalo.de Mon Feb 10 11:45:28 2014 From: florian.meier at koalo.de (Florian Meier) Date: Mon, 10 Feb 2014 18:45:28 +0100 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: References: Message-ID: <52F91038.4040809@koalo.de> Hi Shri, Hi Jed, thank you very much, that helped a lot! DMCircuit is perfect for my application! I have finally managed to get a very simple example running after I realized that comment lines inside of arrays are not allowed for pflow input format ;-) I am going to implement a more complex example and will probably come across something for what I need your help again. Thanks again, Florian On 02/10/2014 08:33 AM, Abhyankar, Shrirang G. wrote: > Hi Florian, > You can use DMPlex directly as Jed suggests or you can use a new DM that > has been > added recently to PETSc specifically for circuit/network/graph > applications. This DM, named DMCircuit, is built on top of > DMPlex. It is currently in the next branch of PETSc and there is an > example from a power grid > application in src/snes/examples/tutorials/pflow. > > Take a look at DMCircuit and let us know if you want to use it. I'll give > you more information on its usage if you are > interested. > > Shri > > On 2/10/14 12:35 AM, "Jed Brown" wrote: > >> Florian Meier writes: >> >>> Hi, >>> I would like to solve a non-linear equation system over a computer >>> network. This is somewhat similar to FEM. There is a bunch of >>> equations for each link that includes variables of adjacent links. I >>> assume there is some support in PETSc for mapping the network to >>> memory, distribute it and iterate over the adjacent links, but all >>> examples I could found for DMPlex are so tightly coupled to FEM that I >>> am not able to separate the relevant parts from the parts that are >>> only needed for FEM (e.g. continuous elements, discretization). >>> >>> Is DMPlex actually the right place to look? >> >> You can describe a network having only edges and vertices. This sounds >> similar to what Shri does for power networks. You wouldn't use the FEM >> interfaces, but the DMPlex primitives still apply. > > You can We've recently added a DM for problems arising from circuit > applications that may be > of use to you. The interface is called DMCircuit and is currently in the > next branch of PETSc. > There is currently one DMCircuit example coming from a power grid > application > in src/snes/examples/tutorials/circuit/pflow. > > >> > From abhyshr at mcs.anl.gov Mon Feb 10 12:33:57 2014 From: abhyshr at mcs.anl.gov (Abhyankar, Shrirang G.) Date: Mon, 10 Feb 2014 18:33:57 +0000 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: <52F91038.4040809@koalo.de> Message-ID: On 2/10/14 11:45 AM, "Florian Meier" wrote: >Hi Shri, Hi Jed, >thank you very much, that helped a lot! >DMCircuit is perfect for my application! > >I have finally managed to get a very simple example running after I >realized that comment lines inside of arrays are not allowed for pflow >input format ;-) Cool! Note that the input format is specific to the application and is not a part of DMCircuit. > >I am going to implement a more complex example and will probably come >across something for what I need your help again. Please feel free to ask any questions you have. As DMCircuit is a recent development, your questions/comments/suggestions will help us to improve this feature. It would be great if you could contribute your simple example as a tutorial example for DMCircuit. Thanks, Shri > >Thanks again, >Florian > >On 02/10/2014 08:33 AM, Abhyankar, Shrirang G. wrote: >> Hi Florian, >> You can use DMPlex directly as Jed suggests or you can use a new DM >>that >> has been >> added recently to PETSc specifically for circuit/network/graph >> applications. This DM, named DMCircuit, is built on top of >> DMPlex. It is currently in the next branch of PETSc and there is an >> example from a power grid >> application in src/snes/examples/tutorials/pflow. >> >> Take a look at DMCircuit and let us know if you want to use it. I'll >>give >> you more information on its usage if you are >> interested. >> >> Shri >> >> On 2/10/14 12:35 AM, "Jed Brown" wrote: >> >>> Florian Meier writes: >>> >>>> Hi, >>>> I would like to solve a non-linear equation system over a computer >>>> network. This is somewhat similar to FEM. There is a bunch of >>>> equations for each link that includes variables of adjacent links. I >>>> assume there is some support in PETSc for mapping the network to >>>> memory, distribute it and iterate over the adjacent links, but all >>>> examples I could found for DMPlex are so tightly coupled to FEM that I >>>> am not able to separate the relevant parts from the parts that are >>>> only needed for FEM (e.g. continuous elements, discretization). >>>> >>>> Is DMPlex actually the right place to look? >>> >>> You can describe a network having only edges and vertices. This sounds >>> similar to what Shri does for power networks. You wouldn't use the FEM >>> interfaces, but the DMPlex primitives still apply. >> >> You can We've recently added a DM for problems arising from circuit >> applications that may be >> of use to you. The interface is called DMCircuit and is currently in the >> next branch of PETSc. >> There is currently one DMCircuit example coming from a power grid >> application >> in src/snes/examples/tutorials/circuit/pflow. >> >> >>> >> From dharmareddy84 at gmail.com Tue Feb 11 07:50:11 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Tue, 11 Feb 2014 07:50:11 -0600 Subject: [petsc-users] Plex mesh reference element Message-ID: Hello, Where do i find the information on reference elements used by plex for local numbering. I currently use the following for the tetrahedron. Is this correct ? what is the corresponding information for a triangle ? ! Vertex coordiantes vert(1:3,1)=[0.0, 0.0, 0.0] vert(1:3,2)=[1.0, 0.0, 0.0] vert(1:3,3)=[0.0, 1.0, 0.0] vert(1:3,4)=[0.0, 0.0, 1.0] ! vertex intdices vs(1:4)= [1, 2, 3, 4] ! Edges id to node Id edge(:,1) = [3, 4] edge(:,2) = [2, 4] edge(:,3) = [2, 3] edge(:,4) = [1, 4] edge(:,5) = [1, 3] edge(:,6) = [1, 2] ! Faces id to node id face(1:3,1)=[2,3,4] face(1:3,2)=[1,3,4] face(1:3,3)=[1,2,4] face(1:3,4)=[1,2,3] numFacet = 4 ! Tets tet(1:4,1) = [1,2,3,4] thanks Reddy From jed at jedbrown.org Tue Feb 11 20:00:34 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 11 Feb 2014 19:00:34 -0700 Subject: [petsc-users] copy vector between communicators In-Reply-To: <52F8A4AC.3050906@gfz-potsdam.de> References: <52F8A4AC.3050906@gfz-potsdam.de> Message-ID: <87k3d1ccot.fsf@jedbrown.org> Alexander Grayver writes: > Hello, > > I need to have a copy of a vector created on the communicator COMM to > another vector created on the communicator SUBCOMM (which is a subset of > the COMM processes). > Are there any standard functions that can help here? I assume VecScatter > could help, but I am not sure how to use it here? Where is the information to specify from where you need to get the data? You can always create a dummy sequential vector and VecPlaceArray the SUBCOMM-Vec's array as the destination of the scatter. Any processes not part of SUBCOMM should have an empty destination Vec. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From asmund.ervik at ntnu.no Wed Feb 12 03:21:18 2014 From: asmund.ervik at ntnu.no (=?UTF-8?B?w4VzbXVuZCBFcnZpaw==?=) Date: Wed, 12 Feb 2014 10:21:18 +0100 Subject: [petsc-users] flag -citations to PETSc In-Reply-To: <8738jww7hd.fsf@jedbrown.org> References: <52F24BA2.70306@ntnu.no> <52F24C15.5080404@mcs.anl.gov> <52F38090.9050607@ntnu.no> <52F39573.9060502@ntnu.no> <8738jww7hd.fsf@jedbrown.org> Message-ID: <52FB3D0E.4030409@ntnu.no> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi again guys, Our nightly Jenkins run revealed that PETSC_VERSION_GE does not work well with ifort (version 14.0). (It works fine with gfortran and pgf90.) ifort produces the error message petscmod.F90(232): #error: #if: syntax error. I couldn't figure out much from this error message, but the following seems to work on all our compilers: #if (PETSC_MAJOR >= 3) && (PETSC_MINOR >= 5) ... PETSC_DEFAULT_REAL #else ... PETSC_DEFAULT_DOUBLE_PRECISION #endif Best regards, ?smund On 06. feb. 2014 17:06, Jed Brown wrote: > ?smund Ervik writes: >> Ok, so PETSC_DEFAULT_REAL works fine with master but not with >> 3.4. What are my options if I want to keep this simple? I can >> pretty much guarantee that my colleagues and the test server >> won't all switch to 3.5 simultaneously. Is there a better fix >> than hardcoding in the default values? KSPSetTolerances is the >> only place where we use these. > > Historically, we have made a handful of interface changes in each > PETSc release. It's expensive to maintain complete source > compatibility (in general; not in this case) due to internal > refactoring of interfaces, the fact that people never update their > code if not forced to, and user confusion attempting to mix old and > new ways of doing things. > > In C with supported compilers, I have been using deprecated > "attributes" to mark deprecated functions that are relatively easy > to preserve. (More major change, such as splitting SNESLineSearch > into its own object, can't easily be handled this way.) Most users > only have to change a few lines to upgrade to a new version. > > In this case, we could leave PETSC_DEFAULT_DOUBLE_PRECISION as an > alias, though the misleading name may cause some confusion and > since I don't know a general way to mark it deprecated in Fortran, > people will continue to use it indefinitely. The general approach > you can always use is > > #if PETSC_VERSION_GE(3,5,0) ... PETSC_DEFAULT_REAL #else ... > PETSC_DEFAULT_DOUBLE_PRECISION #endif > > Unreleased versions of PETSc are +Infinity in the version > comparison macros, so this works now and once petsc-3.5 is > released. > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS+z0OAAoJED+FDAHgGz19PZ4IAKIIvdj8JhK6QHM3kyCH32Q8 pmQ2oI1N4Ua2hlJMiHefixwVE8vbT68QD9cr3h//wDMgM0JKYYyvsmH2KDmUeRbS VL64SlK+dAnVdTYfqNqDKKEUErznjy/YyByM8IznlYEstgBU3aEoVCb1SHRRQPIF Q64yTqmGVmxmRkvlUqP4dMxgYjhKf5fI7tZXfpHNLrin7sCpl0VUM56N5+J/hKZ5 Cj2GFeoiTAccxaM6pyRn9M4yWuZbXpdK4SA6jqyZmbwhJMiM1zUF4Mod/QzlUdeU 4ygmSyWQeD/h+6pffv0NxGaegpc/fXErrwBYn4P27BRrYzQNSY5UMLpstg89z+w= =yB9t -----END PGP SIGNATURE----- From florian.meier at koalo.de Wed Feb 12 05:56:29 2014 From: florian.meier at koalo.de (Florian Meier) Date: Wed, 12 Feb 2014 12:56:29 +0100 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: References: Message-ID: <52FB616D.7020902@koalo.de> I will build an example and send it to you, but it might take some time. One short question: Should I preprocess my graph so that vertices that are close in the graph are close in the data (i.e. get indices that have small distances) or will this be done automatically? On 02/10/2014 07:33 PM, Abhyankar, Shrirang G. wrote: > > On 2/10/14 11:45 AM, "Florian Meier" wrote: > >> Hi Shri, Hi Jed, >> thank you very much, that helped a lot! >> DMCircuit is perfect for my application! >> >> I have finally managed to get a very simple example running after I >> realized that comment lines inside of arrays are not allowed for pflow >> input format ;-) > > Cool! Note that the input format is specific to the application and is not > a part of DMCircuit. > >> >> I am going to implement a more complex example and will probably come >> across something for what I need your help again. > > Please feel free to ask any questions you have. As DMCircuit is a recent > development, your questions/comments/suggestions will help > us to improve this feature. > > It would be great if you could contribute your simple example as a > tutorial example for DMCircuit. > > Thanks, > Shri > >> >> Thanks again, >> Florian >> >> On 02/10/2014 08:33 AM, Abhyankar, Shrirang G. wrote: >>> Hi Florian, >>> You can use DMPlex directly as Jed suggests or you can use a new DM >>> that >>> has been >>> added recently to PETSc specifically for circuit/network/graph >>> applications. This DM, named DMCircuit, is built on top of >>> DMPlex. It is currently in the next branch of PETSc and there is an >>> example from a power grid >>> application in src/snes/examples/tutorials/pflow. >>> >>> Take a look at DMCircuit and let us know if you want to use it. I'll >>> give >>> you more information on its usage if you are >>> interested. >>> >>> Shri >>> >>> On 2/10/14 12:35 AM, "Jed Brown" wrote: >>> >>>> Florian Meier writes: >>>> >>>>> Hi, >>>>> I would like to solve a non-linear equation system over a computer >>>>> network. This is somewhat similar to FEM. There is a bunch of >>>>> equations for each link that includes variables of adjacent links. I >>>>> assume there is some support in PETSc for mapping the network to >>>>> memory, distribute it and iterate over the adjacent links, but all >>>>> examples I could found for DMPlex are so tightly coupled to FEM that I >>>>> am not able to separate the relevant parts from the parts that are >>>>> only needed for FEM (e.g. continuous elements, discretization). >>>>> >>>>> Is DMPlex actually the right place to look? >>>> >>>> You can describe a network having only edges and vertices. This sounds >>>> similar to what Shri does for power networks. You wouldn't use the FEM >>>> interfaces, but the DMPlex primitives still apply. >>> >>> You can We've recently added a DM for problems arising from circuit >>> applications that may be >>> of use to you. The interface is called DMCircuit and is currently in the >>> next branch of PETSc. >>> There is currently one DMCircuit example coming from a power grid >>> application >>> in src/snes/examples/tutorials/circuit/pflow. >>> >>> >>>> >>> > From abhyshr at mcs.anl.gov Wed Feb 12 07:01:17 2014 From: abhyshr at mcs.anl.gov (Abhyankar, Shrirang G.) Date: Wed, 12 Feb 2014 13:01:17 +0000 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: <52FB616D.7020902@koalo.de> References: ,<52FB616D.7020902@koalo.de> Message-ID: > On Feb 12, 2014, at 5:55 AM, "Florian Meier" wrote: > > I will build an example and send it to you, but it might take some time. Great. > > One short question: Should I preprocess my graph so that vertices that > are close in the graph are close in the data (i.e. get indices that have > small distances) or will this be done automatically. There is no need to preprocess the data. Once the circuit layout is set up, it will set up the vertex connectivity and create the graph accordingly. Shri >> On 02/10/2014 07:33 PM, Abhyankar, Shrirang G. wrote: >> >>> On 2/10/14 11:45 AM, "Florian Meier" wrote: >>> >>> Hi Shri, Hi Jed, >>> thank you very much, that helped a lot! >>> DMCircuit is perfect for my application! >>> >>> I have finally managed to get a very simple example running after I >>> realized that comment lines inside of arrays are not allowed for pflow >>> input format ;-) >> >> Cool! Note that the input format is specific to the application and is not >> a part of DMCircuit. >> >>> >>> I am going to implement a more complex example and will probably come >>> across something for what I need your help again. >> >> Please feel free to ask any questions you have. As DMCircuit is a recent >> development, your questions/comments/suggestions will help >> us to improve this feature. >> >> It would be great if you could contribute your simple example as a >> tutorial example for DMCircuit. >> >> Thanks, >> Shri >> >>> >>> Thanks again, >>> Florian >>> >>>> On 02/10/2014 08:33 AM, Abhyankar, Shrirang G. wrote: >>>> Hi Florian, >>>> You can use DMPlex directly as Jed suggests or you can use a new DM >>>> that >>>> has been >>>> added recently to PETSc specifically for circuit/network/graph >>>> applications. This DM, named DMCircuit, is built on top of >>>> DMPlex. It is currently in the next branch of PETSc and there is an >>>> example from a power grid >>>> application in src/snes/examples/tutorials/pflow. >>>> >>>> Take a look at DMCircuit and let us know if you want to use it. I'll >>>> give >>>> you more information on its usage if you are >>>> interested. >>>> >>>> Shri >>>> >>>>> On 2/10/14 12:35 AM, "Jed Brown" wrote: >>>>> >>>>> Florian Meier writes: >>>>> >>>>>> Hi, >>>>>> I would like to solve a non-linear equation system over a computer >>>>>> network. This is somewhat similar to FEM. There is a bunch of >>>>>> equations for each link that includes variables of adjacent links. I >>>>>> assume there is some support in PETSc for mapping the network to >>>>>> memory, distribute it and iterate over the adjacent links, but all >>>>>> examples I could found for DMPlex are so tightly coupled to FEM that I >>>>>> am not able to separate the relevant parts from the parts that are >>>>>> only needed for FEM (e.g. continuous elements, discretization). >>>>>> >>>>>> Is DMPlex actually the right place to look? >>>>> >>>>> You can describe a network having only edges and vertices. This sounds >>>>> similar to what Shri does for power networks. You wouldn't use the FEM >>>>> interfaces, but the DMPlex primitives still apply. >>>> >>>> You can We've recently added a DM for problems arising from circuit >>>> applications that may be >>>> of use to you. The interface is called DMCircuit and is currently in the >>>> next branch of PETSc. >>>> There is currently one DMCircuit example coming from a power grid >>>> application >>>> in src/snes/examples/tutorials/circuit/pflow. >>>> >>>> >> From jedbrown at mcs.anl.gov Wed Feb 12 09:11:08 2014 From: jedbrown at mcs.anl.gov (Jed Brown) Date: Wed, 12 Feb 2014 08:11:08 -0700 Subject: [petsc-users] flag -citations to PETSc In-Reply-To: <52FB3D0E.4030409@ntnu.no> References: <52F24BA2.70306@ntnu.no> <52F24C15.5080404@mcs.anl.gov> <52F38090.9050607@ntnu.no> <52F39573.9060502@ntnu.no> <8738jww7hd.fsf@jedbrown.org> <52FB3D0E.4030409@ntnu.no> Message-ID: <87ha848iyb.fsf@jedbrown.org> ?smund Ervik writes: > Our nightly Jenkins run revealed that PETSC_VERSION_GE does not work > well with ifort (version 14.0). (It works fine with gfortran and > pgf90.) ifort produces the error message > > petscmod.F90(232): #error: #if: syntax error. Maybe the wrong option indicating that you want preprocessing? It would be useful to get to the bottom of it. > I couldn't figure out much from this error message, but the following > seems to work on all our compilers: > > #if (PETSC_MAJOR >= 3) && (PETSC_MINOR >= 5) > ... PETSC_DEFAULT_REAL > #else > ... PETSC_DEFAULT_DOUBLE_PRECISION > #endif -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From asmund.ervik at ntnu.no Wed Feb 12 10:59:31 2014 From: asmund.ervik at ntnu.no (=?utf-8?B?w4VzbXVuZCBFcnZpaw==?=) Date: Wed, 12 Feb 2014 16:59:31 +0000 Subject: [petsc-users] flag -citations to PETSc Message-ID: I don't think it's a problem with preprocessing flags, on Linux it should be automatic for .F90 files. I can check tomorrow if it works with an older ifort. What's really weird is that the PETSC_MAJOR and PETSC_MINOR macros work just fine, as far as i can tell they're defined in the same file as PETSC_VERSION_GE etc. Sent from my VT-102 Jed Brown skrev: ?smund Ervik writes: > Our nightly Jenkins run revealed that PETSC_VERSION_GE does not work > well with ifort (version 14.0). (It works fine with gfortran and > pgf90.) ifort produces the error message > > petscmod.F90(232): #error: #if: syntax error. Maybe the wrong option indicating that you want preprocessing? It would be useful to get to the bottom of it. > I couldn't figure out much from this error message, but the following > seems to work on all our compilers: > > #if (PETSC_MAJOR >= 3) && (PETSC_MINOR >= 5) > ... PETSC_DEFAULT_REAL > #else > ... PETSC_DEFAULT_DOUBLE_PRECISION > #endif -------------- next part -------------- An HTML attachment was scrubbed... URL: From dharmareddy84 at gmail.com Wed Feb 12 14:27:07 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Wed, 12 Feb 2014 14:27:07 -0600 Subject: [petsc-users] SNESSetConvergenceTest In-Reply-To: <87sise4a16.fsf@jedbrown.org> References: <5FF817E1-8806-4965-8F76-B0504EF1F311@mcs.anl.gov> <82D00B91-6660-47AA-AC5B-F77CD33A2F99@mcs.anl.gov> <87sise4a16.fsf@jedbrown.org> Message-ID: Hello Jed, Were you able to fix this issue? On Thu, Jan 23, 2014 at 4:18 PM, Jed Brown wrote: > Dharmendar Reddy writes: > >> Hello, >> How should i fix the issue mentioned below ? > > I will fix it, but I have a couple hours of work to do first. From lu_qin_2000 at yahoo.com Thu Feb 13 11:25:40 2014 From: lu_qin_2000 at yahoo.com (Qin Lu) Date: Thu, 13 Feb 2014 09:25:40 -0800 (PST) Subject: [petsc-users] Delfated Krylov solver in PETSc Message-ID: <1392312340.96450.YahooMailNeo@web160201.mail.bf1.yahoo.com> Hello, Is there a deflated Krylov solver available in PETSc? If yes, what is the corresponding solver name when calling KSPSetType? Does it work with any existing preconditioners? Many thanks for your info! Regards, Qin??? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Thu Feb 13 12:37:41 2014 From: jed at jedbrown.org (Jed Brown) Date: Thu, 13 Feb 2014 11:37:41 -0700 Subject: [petsc-users] Delfated Krylov solver in PETSc In-Reply-To: <1392312340.96450.YahooMailNeo@web160201.mail.bf1.yahoo.com> References: <1392312340.96450.YahooMailNeo@web160201.mail.bf1.yahoo.com> Message-ID: <87wqgy505m.fsf@jedbrown.org> Qin Lu writes: > Hello, > > Is there a deflated Krylov solver available in PETSc? See the discussion here: http://lists.mcs.anl.gov/pipermail/petsc-dev/2013-March/011393.html Let us know if you have any follow-up questions. > If yes, what is the corresponding solver name when calling KSPSetType? > Does it work with any existing preconditioners? > > Many thanks for your info! > > Regards, Qin??? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From lu_qin_2000 at yahoo.com Thu Feb 13 15:04:49 2014 From: lu_qin_2000 at yahoo.com (Qin Lu) Date: Thu, 13 Feb 2014 13:04:49 -0800 (PST) Subject: [petsc-users] Delfated Krylov solver in PETSc In-Reply-To: <87wqgy505m.fsf@jedbrown.org> References: <1392312340.96450.YahooMailNeo@web160201.mail.bf1.yahoo.com> <87wqgy505m.fsf@jedbrown.org> Message-ID: <1392325489.58597.YahooMailNeo@web160203.mail.bf1.yahoo.com> Jed, ? It seems there is a deflated GMRES solver in PETSc (KSPDGMRES), but PETSc manual does not give any details how to use it. A doc I found online is "parallel implementation of the deflated GMRES in the PETSc package", which mentioned to set number of eigenvalues to deflate by --ksp_dgmres_eigen, etc. Can I set these parameters by function calls (rather than using .petscrc)? ? Suppose the number of unknowns is 10,000, what would be the good number of number of eigenvalues to deflate? Or I may just use the default values (if they exist) for this solver? ? Thanks, Qin On Thursday, February 13, 2014 1:07 PM, Jed Brown wrote: Qin Lu writes: > Hello, > > Is there a deflated Krylov solver available in PETSc? See the discussion here: http://lists.mcs.anl.gov/pipermail/petsc-dev/2013-March/011393.html Let us know if you have any follow-up questions. > If yes, what is the corresponding solver name when calling KSPSetType? > Does it work with any existing preconditioners? > > Many thanks for your info! > > Regards, Qin??? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Thu Feb 13 15:29:40 2014 From: jed at jedbrown.org (Jed Brown) Date: Thu, 13 Feb 2014 14:29:40 -0700 Subject: [petsc-users] Delfated Krylov solver in PETSc In-Reply-To: <1392325489.58597.YahooMailNeo@web160203.mail.bf1.yahoo.com> References: <1392312340.96450.YahooMailNeo@web160201.mail.bf1.yahoo.com> <87wqgy505m.fsf@jedbrown.org> <1392325489.58597.YahooMailNeo@web160203.mail.bf1.yahoo.com> Message-ID: <87ob2a4s6z.fsf@jedbrown.org> Qin Lu writes: > It seems there is a deflated GMRES solver in PETSc (KSPDGMRES), This uses approximate eigen-functions as deflation vectors. There are many other ways to choose deflation spaces. > but PETSc manual does not give any details how to use it. Unfortunately, the person that contributed KSPDGMRES did not write man pages or explain in the users manual. > A doc I found online is "parallel implementation of the deflated GMRES > in the PETSc package", which mentioned to set number of eigenvalues to > deflate by --ksp_dgmres_eigen, etc. Can I set these parameters by > function calls (rather than using .petscrc)? The relevant functions are listed by -help. $ ./ex2 -ksp_type dgmres -help | grep ksp_dgmres -ksp_dgmres_eigen <1>: Number of smallest eigenvalues to extract at each restart (KSPDGMRESSetEigen) -ksp_dgmres_max_eigen <9>: Maximum Number of smallest eigenvalues to extract (KSPDGMRESSetMaxEigen) -ksp_dgmres_ratio <1>: Relaxation parameter for the smaller number of matrix-vectors product allowed (KSPDGMRESSetRatio) -ksp_dgmres_improve: Improve the computation of eigenvalues by solving a new generalized eigenvalue problem (experimental - not stable at this time) (None) -ksp_dgmres_force: Sets DGMRES always at restart active, i.e do not use the adaptive strategy (KSPDGMRESForce) > Suppose the number of unknowns is 10,000, what would be the good > number of number of eigenvalues to deflate? Or I may just use the > default values (if they exist) for this solver? There is no way to guess; just try it. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From lu_qin_2000 at yahoo.com Thu Feb 13 15:59:32 2014 From: lu_qin_2000 at yahoo.com (Qin Lu) Date: Thu, 13 Feb 2014 13:59:32 -0800 (PST) Subject: [petsc-users] Delfated Krylov solver in PETSc In-Reply-To: <87ob2a4s6z.fsf@jedbrown.org> References: <1392312340.96450.YahooMailNeo@web160201.mail.bf1.yahoo.com> <87wqgy505m.fsf@jedbrown.org> <1392325489.58597.YahooMailNeo@web160203.mail.bf1.yahoo.com> <87ob2a4s6z.fsf@jedbrown.org> Message-ID: <1392328772.89874.YahooMailNeo@web160204.mail.bf1.yahoo.com> Jed, ? Thanks a lot for the useful info! ? Qin On Thursday, February 13, 2014 3:29 PM, Jed Brown wrote: Qin Lu writes: > It seems there is a deflated GMRES solver in PETSc (KSPDGMRES), This uses approximate eigen-functions as deflation vectors.? There are many other ways to choose deflation spaces. > but PETSc manual does not give any details how to use it. Unfortunately, the person that contributed KSPDGMRES did not write man pages or explain in the users manual. > A doc I found online is "parallel implementation of the deflated GMRES > in the PETSc package", which mentioned to set number of eigenvalues to > deflate by --ksp_dgmres_eigen, etc. Can I set these parameters by > function calls (rather than using .petscrc)? The relevant functions are listed by -help. $ ./ex2 -ksp_type dgmres -help | grep ksp_dgmres ? -ksp_dgmres_eigen <1>: Number of smallest eigenvalues to extract at each restart (KSPDGMRESSetEigen) ? -ksp_dgmres_max_eigen <9>: Maximum Number of smallest eigenvalues to extract? (KSPDGMRESSetMaxEigen) ? -ksp_dgmres_ratio <1>: Relaxation parameter for the smaller number of matrix-vectors product allowed (KSPDGMRESSetRatio) ? -ksp_dgmres_improve: Improve the computation of eigenvalues by solving a new generalized eigenvalue problem (experimental - not stable at this time) (None) ? -ksp_dgmres_force: Sets DGMRES always at restart active, i.e do not use the adaptive strategy (KSPDGMRESForce) > Suppose the number of unknowns is 10,000, what would be the good > number of number of eigenvalues to deflate? Or I may just use the > default values (if they exist) for this solver? There is no way to guess; just try it. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Wadud.Miah at awe.co.uk Fri Feb 14 08:38:30 2014 From: Wadud.Miah at awe.co.uk (Wadud.Miah at awe.co.uk) Date: Fri, 14 Feb 2014 14:38:30 +0000 Subject: [petsc-users] iteration count Message-ID: <201402141438.s1EEcaK7012411@msw1.awe.co.uk> Hello, I am running PETSc to solve a system and the iteration count is zero. I suppose this is due to the initial guess vector being the solution within the tolerances. Is there a way to tell PETSc to iterate at least once? Please reply to wadud.miah at awe.co.uk as my email gets re-written somehow! Many thanks, Wadud. ___________________________________________________ ____________________________ The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify us immediately by email at admin.internet(at)awe.co.uk, and then delete this message from your computer. While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected. AWE Plc Registered in England and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Fri Feb 14 09:01:29 2014 From: jed at jedbrown.org (Jed Brown) Date: Fri, 14 Feb 2014 08:01:29 -0700 Subject: [petsc-users] iteration count In-Reply-To: <201402141438.s1EEcaK7012411@msw1.awe.co.uk> References: <201402141438.s1EEcaK7012411@msw1.awe.co.uk> Message-ID: <87txc13fhy.fsf@jedbrown.org> Wadud.Miah at awe.co.uk writes: > I am running PETSc to solve a system and the iteration count is > zero. I suppose this is due to the initial guess vector being the > solution within the tolerances. Don't assume, use -ksp_converged_reason (or -snes_converged_reason (or -ts_converged_reason)) to determine why it is exiting early. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From lu_qin_2000 at yahoo.com Fri Feb 14 10:13:41 2014 From: lu_qin_2000 at yahoo.com (Qin Lu) Date: Fri, 14 Feb 2014 08:13:41 -0800 (PST) Subject: [petsc-users] RCM for ILU? Message-ID: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> Hello, ? Is the RCM reordering available for ILU preconditioner in PETSc? The manual says RCM works with LU factorization, but it does not mention it?for preconditioners. ? If not, is there any reordering method working for ILU in PETSc, or the users have to do the work outside PETSc? ? Thanks a lot for your information. ? Qin -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Fri Feb 14 10:19:35 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Fri, 14 Feb 2014 10:19:35 -0600 Subject: [petsc-users] RCM for ILU? In-Reply-To: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> References: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> Message-ID: <327EDD3B-2BC6-432C-BE22-351CB178E23E@mcs.anl.gov> -pc_type ilu -pc_factor_mat_ordering_type rcm But don?t get your hopes up to high, in our experience if you have any reasonable ordering of your underlying mesh/grid these orderings don?t generally help ILU much. Barry On Feb 14, 2014, at 10:13 AM, Qin Lu wrote: > Hello, > > Is the RCM reordering available for ILU preconditioner in PETSc? The manual says RCM works with LU factorization, but it does not mention it for preconditioners. > > If not, is there any reordering method working for ILU in PETSc, or the users have to do the work outside PETSc? > > Thanks a lot for your information. > > Qin From jed at jedbrown.org Fri Feb 14 10:19:22 2014 From: jed at jedbrown.org (Jed Brown) Date: Fri, 14 Feb 2014 09:19:22 -0700 Subject: [petsc-users] RCM for ILU? In-Reply-To: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> References: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> Message-ID: <87ob293bw5.fsf@jedbrown.org> Qin Lu writes: > Hello, > ? > Is the RCM reordering available for ILU preconditioner in PETSc? The manual says RCM works with LU factorization, but it does not mention it?for preconditioners. It works for all factorization preconditioners (ILU, ICC, LU, Cholesky). ~/petsc/src/ksp/ksp/examples/tutorials$ ./ex2 -m 100 -n 100 -ksp_view -pc_type ilu -pc_factor_mat_ordering_type rcm KSP Object: 1 MPI processes type: gmres GMRES: restart=30, using Classical (unmodified) Gram-Schmidt Orthogonalization with no iterative refinement GMRES: happy breakdown tolerance 1e-30 maximum iterations=10000, initial guess is zero tolerances: relative=9.80296e-07, absolute=1e-50, divergence=10000 left preconditioning using PRECONDITIONED norm type for convergence test PC Object: 1 MPI processes type: ilu ILU: out-of-place factorization 0 levels of fill tolerance for zero pivot 2.22045e-14 using diagonal shift on blocks to prevent zero pivot [INBLOCKS] matrix ordering: rcm factor fill ratio given 1, needed 1 Factored matrix follows: Mat Object: 1 MPI processes type: seqaij rows=10000, cols=10000 package used to perform factorization: petsc total: nonzeros=49600, allocated nonzeros=49600 total number of mallocs used during MatSetValues calls =0 not using I-node routines linear system matrix = precond matrix: Mat Object: 1 MPI processes type: seqaij rows=10000, cols=10000 total: nonzeros=49600, allocated nonzeros=50000 total number of mallocs used during MatSetValues calls =0 not using I-node routines Norm of error 0.00314611 iterations 84 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From florian.meier at koalo.de Fri Feb 14 10:51:21 2014 From: florian.meier at koalo.de (Florian Meier) Date: Fri, 14 Feb 2014 17:51:21 +0100 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: References: , <52FB616D.7020902@koalo.de> Message-ID: <52FE4989.2070704@koalo.de> When I have only one process, should vStart of DMCircuitGetVertexRange always be 0? This is what I guessed from PFReadData since busi starts with 0 and the result is directly mapped to the component data. Although, currently for my program that is not the case (actually it is 2). On 02/12/2014 02:01 PM, Abhyankar, Shrirang G. wrote: > > >> On Feb 12, 2014, at 5:55 AM, "Florian Meier" wrote: >> >> I will build an example and send it to you, but it might take some time. > Great. >> >> One short question: Should I preprocess my graph so that vertices that >> are close in the graph are close in the data (i.e. get indices that have >> small distances) or will this be done automatically. > There is no need to preprocess the data. Once the circuit layout is set up, it will set up the vertex connectivity and create the graph accordingly. > > Shri > >>> On 02/10/2014 07:33 PM, Abhyankar, Shrirang G. wrote: >>> >>>> On 2/10/14 11:45 AM, "Florian Meier" wrote: >>>> >>>> Hi Shri, Hi Jed, >>>> thank you very much, that helped a lot! >>>> DMCircuit is perfect for my application! >>>> >>>> I have finally managed to get a very simple example running after I >>>> realized that comment lines inside of arrays are not allowed for pflow >>>> input format ;-) >>> >>> Cool! Note that the input format is specific to the application and is not >>> a part of DMCircuit. >>> >>>> >>>> I am going to implement a more complex example and will probably come >>>> across something for what I need your help again. >>> >>> Please feel free to ask any questions you have. As DMCircuit is a recent >>> development, your questions/comments/suggestions will help >>> us to improve this feature. >>> >>> It would be great if you could contribute your simple example as a >>> tutorial example for DMCircuit. >>> >>> Thanks, >>> Shri >>> >>>> >>>> Thanks again, >>>> Florian >>>> >>>>> On 02/10/2014 08:33 AM, Abhyankar, Shrirang G. wrote: >>>>> Hi Florian, >>>>> You can use DMPlex directly as Jed suggests or you can use a new DM >>>>> that >>>>> has been >>>>> added recently to PETSc specifically for circuit/network/graph >>>>> applications. This DM, named DMCircuit, is built on top of >>>>> DMPlex. It is currently in the next branch of PETSc and there is an >>>>> example from a power grid >>>>> application in src/snes/examples/tutorials/pflow. >>>>> >>>>> Take a look at DMCircuit and let us know if you want to use it. I'll >>>>> give >>>>> you more information on its usage if you are >>>>> interested. >>>>> >>>>> Shri >>>>> >>>>>> On 2/10/14 12:35 AM, "Jed Brown" wrote: >>>>>> >>>>>> Florian Meier writes: >>>>>> >>>>>>> Hi, >>>>>>> I would like to solve a non-linear equation system over a computer >>>>>>> network. This is somewhat similar to FEM. There is a bunch of >>>>>>> equations for each link that includes variables of adjacent links. I >>>>>>> assume there is some support in PETSc for mapping the network to >>>>>>> memory, distribute it and iterate over the adjacent links, but all >>>>>>> examples I could found for DMPlex are so tightly coupled to FEM that I >>>>>>> am not able to separate the relevant parts from the parts that are >>>>>>> only needed for FEM (e.g. continuous elements, discretization). >>>>>>> >>>>>>> Is DMPlex actually the right place to look? >>>>>> >>>>>> You can describe a network having only edges and vertices. This sounds >>>>>> similar to what Shri does for power networks. You wouldn't use the FEM >>>>>> interfaces, but the DMPlex primitives still apply. >>>>> >>>>> You can We've recently added a DM for problems arising from circuit >>>>> applications that may be >>>>> of use to you. The interface is called DMCircuit and is currently in the >>>>> next branch of PETSc. >>>>> There is currently one DMCircuit example coming from a power grid >>>>> application >>>>> in src/snes/examples/tutorials/circuit/pflow. >>>>> >>>>> >>> From florian.meier at koalo.de Fri Feb 14 10:54:37 2014 From: florian.meier at koalo.de (Florian Meier) Date: Fri, 14 Feb 2014 17:54:37 +0100 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: <52FE4989.2070704@koalo.de> References: , <52FB616D.7020902@koalo.de> <52FE4989.2070704@koalo.de> Message-ID: <52FE4A4D.6050608@koalo.de> Oh I am sorry - I was confused. The bug must be at another place. That place should be ok. On 02/14/2014 05:51 PM, Florian Meier wrote: > When I have only one process, should vStart of DMCircuitGetVertexRange > always be 0? > > This is what I guessed from PFReadData since busi starts with 0 and the > result is directly mapped to the component data. > > Although, currently for my program that is not the case > (actually it is 2). > > On 02/12/2014 02:01 PM, Abhyankar, Shrirang G. wrote: >> >> >>> On Feb 12, 2014, at 5:55 AM, "Florian Meier" wrote: >>> >>> I will build an example and send it to you, but it might take some time. >> Great. >>> >>> One short question: Should I preprocess my graph so that vertices that >>> are close in the graph are close in the data (i.e. get indices that have >>> small distances) or will this be done automatically. >> There is no need to preprocess the data. Once the circuit layout is set up, it will set up the vertex connectivity and create the graph accordingly. >> >> Shri >> >>>> On 02/10/2014 07:33 PM, Abhyankar, Shrirang G. wrote: >>>> >>>>> On 2/10/14 11:45 AM, "Florian Meier" wrote: >>>>> >>>>> Hi Shri, Hi Jed, >>>>> thank you very much, that helped a lot! >>>>> DMCircuit is perfect for my application! >>>>> >>>>> I have finally managed to get a very simple example running after I >>>>> realized that comment lines inside of arrays are not allowed for pflow >>>>> input format ;-) >>>> >>>> Cool! Note that the input format is specific to the application and is not >>>> a part of DMCircuit. >>>> >>>>> >>>>> I am going to implement a more complex example and will probably come >>>>> across something for what I need your help again. >>>> >>>> Please feel free to ask any questions you have. As DMCircuit is a recent >>>> development, your questions/comments/suggestions will help >>>> us to improve this feature. >>>> >>>> It would be great if you could contribute your simple example as a >>>> tutorial example for DMCircuit. >>>> >>>> Thanks, >>>> Shri >>>> >>>>> >>>>> Thanks again, >>>>> Florian >>>>> >>>>>> On 02/10/2014 08:33 AM, Abhyankar, Shrirang G. wrote: >>>>>> Hi Florian, >>>>>> You can use DMPlex directly as Jed suggests or you can use a new DM >>>>>> that >>>>>> has been >>>>>> added recently to PETSc specifically for circuit/network/graph >>>>>> applications. This DM, named DMCircuit, is built on top of >>>>>> DMPlex. It is currently in the next branch of PETSc and there is an >>>>>> example from a power grid >>>>>> application in src/snes/examples/tutorials/pflow. >>>>>> >>>>>> Take a look at DMCircuit and let us know if you want to use it. I'll >>>>>> give >>>>>> you more information on its usage if you are >>>>>> interested. >>>>>> >>>>>> Shri >>>>>> >>>>>>> On 2/10/14 12:35 AM, "Jed Brown" wrote: >>>>>>> >>>>>>> Florian Meier writes: >>>>>>> >>>>>>>> Hi, >>>>>>>> I would like to solve a non-linear equation system over a computer >>>>>>>> network. This is somewhat similar to FEM. There is a bunch of >>>>>>>> equations for each link that includes variables of adjacent links. I >>>>>>>> assume there is some support in PETSc for mapping the network to >>>>>>>> memory, distribute it and iterate over the adjacent links, but all >>>>>>>> examples I could found for DMPlex are so tightly coupled to FEM that I >>>>>>>> am not able to separate the relevant parts from the parts that are >>>>>>>> only needed for FEM (e.g. continuous elements, discretization). >>>>>>>> >>>>>>>> Is DMPlex actually the right place to look? >>>>>>> >>>>>>> You can describe a network having only edges and vertices. This sounds >>>>>>> similar to what Shri does for power networks. You wouldn't use the FEM >>>>>>> interfaces, but the DMPlex primitives still apply. >>>>>> >>>>>> You can We've recently added a DM for problems arising from circuit >>>>>> applications that may be >>>>>> of use to you. The interface is called DMCircuit and is currently in the >>>>>> next branch of PETSc. >>>>>> There is currently one DMCircuit example coming from a power grid >>>>>> application >>>>>> in src/snes/examples/tutorials/circuit/pflow. >>>>>> >>>>>> >>>> From lu_qin_2000 at yahoo.com Fri Feb 14 11:12:16 2014 From: lu_qin_2000 at yahoo.com (Qin Lu) Date: Fri, 14 Feb 2014 09:12:16 -0800 (PST) Subject: [petsc-users] RCM for ILU? In-Reply-To: <87ob293bw5.fsf@jedbrown.org> References: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> <87ob293bw5.fsf@jedbrown.org> Message-ID: <1392397936.48476.YahooMailNeo@web160203.mail.bf1.yahoo.com> Barry and Jed, ? Nice to know that! Is there a corresponding function call to set RCM? ? Thanks, Qin On Friday, February 14, 2014 10:20 AM, Jed Brown wrote: Qin Lu writes: > Hello, > ? > Is the RCM reordering available for ILU preconditioner in PETSc? The manual says RCM works with LU factorization, but it does not mention it?for preconditioners. It works for all factorization preconditioners (ILU, ICC, LU, Cholesky). ~/petsc/src/ksp/ksp/examples/tutorials$ ./ex2 -m 100 -n 100 -ksp_view -pc_type ilu -pc_factor_mat_ordering_type rcm KSP Object: 1 MPI processes ? type: gmres ? ? GMRES: restart=30, using Classical (unmodified) Gram-Schmidt Orthogonalization with no iterative refinement ? ? GMRES: happy breakdown tolerance 1e-30 ? maximum iterations=10000, initial guess is zero ? tolerances:? relative=9.80296e-07, absolute=1e-50, divergence=10000 ? left preconditioning ? using PRECONDITIONED norm type for convergence test PC Object: 1 MPI processes ? type: ilu ? ? ILU: out-of-place factorization ? ? 0 levels of fill ? ? tolerance for zero pivot 2.22045e-14 ? ? using diagonal shift on blocks to prevent zero pivot [INBLOCKS] ? ? matrix ordering: rcm ? ? factor fill ratio given 1, needed 1 ? ? ? Factored matrix follows: ? ? ? ? Mat Object:? ? ? ? 1 MPI processes ? ? ? ? ? type: seqaij ? ? ? ? ? rows=10000, cols=10000 ? ? ? ? ? package used to perform factorization: petsc ? ? ? ? ? total: nonzeros=49600, allocated nonzeros=49600 ? ? ? ? ? total number of mallocs used during MatSetValues calls =0 ? ? ? ? ? ? not using I-node routines ? linear system matrix = precond matrix: ? Mat Object:? 1 MPI processes ? ? type: seqaij ? ? rows=10000, cols=10000 ? ? total: nonzeros=49600, allocated nonzeros=50000 ? ? total number of mallocs used during MatSetValues calls =0 ? ? ? not using I-node routines Norm of error 0.00314611 iterations 84 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Fri Feb 14 11:15:16 2014 From: jed at jedbrown.org (Jed Brown) Date: Fri, 14 Feb 2014 10:15:16 -0700 Subject: [petsc-users] RCM for ILU? In-Reply-To: <1392397936.48476.YahooMailNeo@web160203.mail.bf1.yahoo.com> References: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> <87ob293bw5.fsf@jedbrown.org> <1392397936.48476.YahooMailNeo@web160203.mail.bf1.yahoo.com> Message-ID: <87fvnl39az.fsf@jedbrown.org> Qin Lu writes: > Barry and Jed, > ? > Nice to know that! Is there a corresponding function call to set RCM? $ ./ex2 -pc_factor_mat_ordering_type rcm -help | grep -A1 mat_ordering -pc_factor_mat_ordering_type : Reordering to reduce nonzeros in factored matrix (one of) natural nd 1wd rcm qmd rowlength wbm spectral (PCFactorSetMatOrderingType) Looks like you should check out http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCFactorSetMatOrderingType.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From florian.meier at koalo.de Fri Feb 14 11:25:55 2014 From: florian.meier at koalo.de (Florian Meier) Date: Fri, 14 Feb 2014 18:25:55 +0100 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: <52FE4A4D.6050608@koalo.de> References: , <52FB616D.7020902@koalo.de> <52FE4989.2070704@koalo.de> <52FE4A4D.6050608@koalo.de> Message-ID: <52FE51A3.5030806@koalo.de> Ok, that was just a stupid typo. I have now build the first attempt of an example. I am sure that can be programmed in a much better way, so I would be very glad about any comment. What is your preferred review procedure? Greetings, Florian static char help[] = "This example demonstrates the DMCircuit interface for a radio network flow problem.\n\ The available solver options are in the alohaoptions file.\n\ The file links.txt contains the network description.\n\ Run this program: mpiexec -n ./PF\n \ mpiexec -n ./PF -pfdata \n"; /** This computes a greatly simplified model of a radio network. Each node in the network generates packets conforming to a poisson distribution (given rate R_gen). These packets are routed along fixed paths to a sink. When two packets are send at the same time, they are dropped. No channel sensing or retransmission takes place. Each active link (i.e. each radio link that will eventually transmit data) is modeled as a vertex. Between those vertices there exist two kinds of relations: A relation of type REL_INTERFERENCE(affected, source), implies that whenever the source link tries to send at the same time than the affected link, the packet will collide and is not received properly. A relation of type REL_INFLOW(affected, source) implies that each packet that is send via the source link and does not collide, adds up to the amount of packets send via the affected link. The overall rate of accessing a radio link i is R_access,i = R_gen,i + SUM_OVER_INFLOWS( R_success,j ) The probability that no other link interfering with i accesses the channel at a given point in time is P_free,i = PRODUCT_OVER_INTERFERERS( 1 - R_access,j ) Finally, the overall rate of successful transmissions over link i is R_success,i = R_access,i * P_free,i The input file is structured as follows: The first line contains L, the number of links, I, the number of interferences and F, the number of inflow relations. Then L lines follow with the packet generation rate for each link. The subsequent I lines describe the affected and the source link of the respective interference relation. The final F lines represent the inflow relations. */ #include #include #include #include using namespace std; enum { REL_INTERFERENCE, REL_INFLOW }; enum { VAR_ACCESS, VAR_SUCCESS, VAR_NVARS }; struct _p_LINKDATA{ PetscScalar packet_generation; }; typedef struct _p_LINKDATA *LINKDATA; struct _p_RELATIONDATA{ PetscInt source; PetscInt affected; PetscInt type; }; typedef struct _p_RELATIONDATA *RELATIONDATA; typedef struct { PetscInt nlinks,nrelations; /* # of nodes,relations */ LINKDATA links; RELATIONDATA relations; } PFDATA; PetscMPIInt rank; #undef __FUNCT__ #define __FUNCT__ "FormFunction" PetscErrorCode FormFunction(SNES snes,Vec X, Vec F,void *appctx) { PetscErrorCode ierr; DM circuitdm; Vec localX,localF; PetscInt e; PetscInt v,vStart,vEnd,vaffected,vsource; const PetscScalar *xarr; PetscScalar *farr; PetscInt offset,offsetsource,offsetlink,offsetrel; DMCircuitComponentGenericDataType *arr; PetscFunctionBegin; ierr = SNESGetDM(snes,&circuitdm);CHKERRQ(ierr); ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); ierr = DMGetLocalVector(circuitdm,&localF);CHKERRQ(ierr); ierr = VecSet(F,0.0);CHKERRQ(ierr); ierr = DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); ierr = DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); ierr = DMGlobalToLocalBegin(circuitdm,F,INSERT_VALUES,localF);CHKERRQ(ierr); ierr = DMGlobalToLocalEnd(circuitdm,F,INSERT_VALUES,localF);CHKERRQ(ierr); ierr = VecGetArrayRead(localX,&xarr);CHKERRQ(ierr); ierr = VecGetArray(localF,&farr);CHKERRQ(ierr); ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); for (v=vStart; v < vEnd; v++) { PetscBool ghostvtex; ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); if (ghostvtex) { continue; // TODO is that ok? } PetscInt keyv; ierr = DMCircuitGetComponentTypeOffset(circuitdm,v,0,&keyv,&offsetlink);CHKERRQ(ierr); LINKDATA link = (LINKDATA)(arr+offsetlink); PetscScalar inflow = link->packet_generation; PetscScalar Pfree = 1; PetscInt nconnedges; const PetscInt *connedges; ierr = DMCircuitGetSupportingEdges(circuitdm,v,&nconnedges,&connedges);CHKERRQ(ierr); for (PetscInt i = 0; i < nconnedges; i++) { e = connedges[i]; const PetscInt *cone; ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); vaffected = cone[0]; vsource = cone[1]; if (vaffected == v) { PetscInt keye; ierr = DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ierr); RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); ierr = DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); switch (relation->type) { case REL_INTERFERENCE: Pfree *= 1 - xarr[offsetsource+VAR_ACCESS]; break; case REL_INFLOW: inflow += xarr[offsetsource+VAR_SUCCESS]; break; } } } ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); farr[offset+VAR_ACCESS] = inflow - xarr[offset+VAR_ACCESS]; farr[offset+VAR_SUCCESS] = xarr[offset+VAR_ACCESS]*Pfree - xarr[offset+VAR_SUCCESS]; } ierr = VecRestoreArrayRead(localX,&xarr);CHKERRQ(ierr); ierr = VecRestoreArray(localF,&farr);CHKERRQ(ierr); ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); ierr = DMLocalToGlobalBegin(circuitdm,localF,ADD_VALUES,F);CHKERRQ(ierr); ierr = DMLocalToGlobalEnd(circuitdm,localF,ADD_VALUES,F);CHKERRQ(ierr); ierr = DMRestoreLocalVector(circuitdm,&localF);CHKERRQ(ierr); PetscFunctionReturn(0); } #undef __FUNCT__ #define __FUNCT__ "FormJacobian" PetscErrorCode FormJacobian(SNES snes,Vec X, Mat *J,Mat *Jpre,MatStructure *flg,void *appctx) { PetscErrorCode ierr; DM circuitdm; Vec localX; PetscInt e; PetscInt v,vStart,vEnd,vaffected,vsource; const PetscScalar *xarr; PetscInt offsetrel; DMCircuitComponentGenericDataType *arr; PetscInt row[1],col[1]; PetscScalar values[1]; PetscFunctionBegin; *flg = SAME_NONZERO_PATTERN; // TODO ok for this problem? ierr = MatZeroEntries(*J);CHKERRQ(ierr); ierr = SNESGetDM(snes,&circuitdm);CHKERRQ(ierr); ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); ierr = DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); ierr = DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); ierr = VecGetArrayRead(localX,&xarr);CHKERRQ(ierr); ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); for (v=vStart; v < vEnd; v++) { PetscInt offset,goffset,offsetsource,goffsetsource; PetscBool ghostvtex; ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); if (ghostvtex) { continue; // TODO is that ok? } ierr = DMCircuitGetVariableGlobalOffset(circuitdm,v,&goffset);CHKERRQ(ierr); // TODO some derivatives are constant, can this be handled in SetInitialValues? // TODO can I combine these two MatSetValues? row[0] = goffset+VAR_ACCESS; col[0] = goffset+VAR_ACCESS; values[0] = -1.0; ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); row[0] = goffset+VAR_SUCCESS; col[0] = goffset+VAR_SUCCESS; values[0] = -1.0; ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); // Calculate Pfree // TODO Pfree was already calculated in FromFunction, can I access that? PetscScalar Pfree = 1; PetscInt nconnedges; const PetscInt *connedges; ierr = DMCircuitGetSupportingEdges(circuitdm,v,&nconnedges,&connedges);CHKERRQ(ierr); for (PetscInt i = 0; i < nconnedges; i++) { e = connedges[i]; const PetscInt *cone; ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); vaffected = cone[0]; vsource = cone[1]; if (vaffected == v) { PetscInt keye; ierr = DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ierr); RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); ierr = DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); if (relation->type == REL_INTERFERENCE) { Pfree *= 1 - xarr[offsetsource+VAR_ACCESS]; } } } row[0] = goffset+VAR_SUCCESS; col[0] = goffset+VAR_ACCESS; values[0] = Pfree; ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); // Set the derivatives ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); PetscScalar inflow = xarr[offset+VAR_ACCESS]; for (PetscInt i = 0; i < nconnedges; i++) { e = connedges[i]; const PetscInt *cone; ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); vaffected = cone[0]; vsource = cone[1]; if (vaffected == v) { PetscInt keye; ierr = DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ierr); RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); ierr = DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); ierr = DMCircuitGetVariableGlobalOffset(circuitdm,vsource,&goffsetsource);CHKERRQ(ierr); switch (relation->type) { case REL_INTERFERENCE: // TODO Ok to set the entries one by one or is there a better way? row[0] = goffset+VAR_SUCCESS; col[0] = goffsetsource+VAR_ACCESS; values[0] = -inflow*(Pfree/(1-xarr[offsetsource+VAR_ACCESS])); ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); break; case REL_INFLOW: row[0] = goffset+VAR_ACCESS; col[0] = goffsetsource+VAR_SUCCESS; values[0] = 1.0; ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); break; } } } } ierr = VecRestoreArrayRead(localX,&xarr);CHKERRQ(ierr); ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); ierr = MatAssemblyBegin(*J,MAT_FINAL_ASSEMBLY);CHKERRQ(ierr); ierr = MatAssemblyEnd(*J,MAT_FINAL_ASSEMBLY);CHKERRQ(ierr); PetscFunctionReturn(0); } #undef __FUNCT__ #define __FUNCT__ "SetInitialValues" PetscErrorCode SetInitialValues(DM circuitdm,Vec X,void *appctx) { PetscErrorCode ierr; PetscInt v, vStart, vEnd; Vec localX; PetscScalar *xarr; DMCircuitComponentGenericDataType *arr; PetscFunctionBegin; ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); ierr = VecSet(X,0.0);CHKERRQ(ierr); ierr = DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); ierr = DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); ierr = VecGetArray(localX,&xarr);CHKERRQ(ierr); for (v = vStart; v < vEnd; v++) { PetscBool ghostvtex; ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); if (ghostvtex) { continue; // TODO is that ok? } PetscInt offsetlink, offset; PetscInt keyv; ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); ierr = DMCircuitGetComponentTypeOffset(circuitdm,v,0,&keyv,&offsetlink);CHKERRQ(ierr); LINKDATA link = (LINKDATA)(arr+offsetlink); xarr[offset+VAR_ACCESS] = link->packet_generation; xarr[offset+VAR_SUCCESS] = link->packet_generation; } ierr = VecRestoreArray(localX,&xarr);CHKERRQ(ierr); ierr = DMLocalToGlobalBegin(circuitdm,localX,ADD_VALUES,X);CHKERRQ(ierr); ierr = DMLocalToGlobalEnd(circuitdm,localX,ADD_VALUES,X);CHKERRQ(ierr); ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); PetscFunctionReturn(0); } #undef __FUNCT__ #define __FUNCT__ "main" int main(int argc,char ** argv) { string inputFile = "links.txt"; PetscErrorCode ierr; PFDATA pfdata; PetscInt numEdges=0,numVertices=0; int *edges = NULL; PetscInt i; DM circuitdm; PetscInt componentkey[2]; PetscLogStage stage1,stage2; PetscInt size; PetscInitialize(&argc,&argv,"alohaoptions",help); ierr = MPI_Comm_rank(PETSC_COMM_WORLD,&rank);CHKERRQ(ierr); /* Create an empty circuit object */ ierr = DMCircuitCreate(PETSC_COMM_WORLD,&circuitdm);CHKERRQ(ierr); /* Register the components in the circuit */ ierr = DMCircuitRegisterComponent(circuitdm,"linkstruct",sizeof(struct _p_LINKDATA),&componentkey[0]);CHKERRQ(ierr); ierr = DMCircuitRegisterComponent(circuitdm,"relationstruct",sizeof(struct _p_RELATIONDATA),&componentkey[1]);CHKERRQ(ierr); ierr = PetscLogStageRegister("Read Data",&stage1);CHKERRQ(ierr); PetscLogStagePush(stage1); /* READ THE DATA */ if (!rank) { /* Only rank 0 reads the data */ ifstream linksF(inputFile.c_str()); int ninterferences, ninflows; linksF >> pfdata.nlinks >> ninterferences >> ninflows; numVertices = pfdata.nlinks; numEdges = pfdata.nrelations = ninterferences + ninflows; ierr = PetscMalloc1(pfdata.nlinks,&pfdata.links);CHKERRQ(ierr); ierr = PetscMalloc1(pfdata.nrelations,&pfdata.relations);CHKERRQ(ierr); for(int i = 0; i < numVertices; i++) { linksF >> pfdata.links[i].packet_generation; } ierr = PetscMalloc1(2*numEdges,&edges);CHKERRQ(ierr); for(int i = 0; i < numEdges; i++) { linksF >> pfdata.relations[i].affected >> pfdata.relations[i].source; pfdata.relations[i].type = (i < ninterferences) ? REL_INTERFERENCE : REL_INFLOW; edges[2*i] = pfdata.relations[i].affected; edges[2*i+1] = pfdata.relations[i].source; } linksF.close(); } PetscLogStagePop(); MPI_Barrier(PETSC_COMM_WORLD); ierr = PetscLogStageRegister("Create circuit",&stage2);CHKERRQ(ierr); PetscLogStagePush(stage2); /* Set number of nodes/edges */ ierr = DMCircuitSetSizes(circuitdm,numVertices,numEdges,PETSC_DETERMINE,PETSC_DETERMINE);CHKERRQ(ierr); /* Add edge connectivity */ ierr = DMCircuitSetEdgeList(circuitdm,edges);CHKERRQ(ierr); /* Set up the circuit layout */ ierr = DMCircuitLayoutSetUp(circuitdm);CHKERRQ(ierr); if (!rank) { ierr = PetscFree(edges);CHKERRQ(ierr); } /* Add circuit components */ PetscInt eStart, eEnd, vStart, vEnd; ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); for (i = vStart; i < vEnd; i++) { ierr = DMCircuitAddComponent(circuitdm,i,componentkey[0],&pfdata.links[i-vStart]);CHKERRQ(ierr); /* Add number of variables */ ierr = DMCircuitAddNumVariables(circuitdm,i,VAR_NVARS);CHKERRQ(ierr); } ierr = DMCircuitGetEdgeRange(circuitdm,&eStart,&eEnd);CHKERRQ(ierr); for (i = eStart; i < eEnd; i++) { ierr = DMCircuitAddComponent(circuitdm,i,componentkey[1],&pfdata.relations[i-eStart]);CHKERRQ(ierr); } /* Set up DM for use */ ierr = DMSetUp(circuitdm);CHKERRQ(ierr); if (!rank) { ierr = PetscFree(pfdata.links);CHKERRQ(ierr); ierr = PetscFree(pfdata.relations);CHKERRQ(ierr); } ierr = MPI_Comm_size(PETSC_COMM_WORLD,&size);CHKERRQ(ierr); if (size > 1) { DM distcircuitdm; /* Circuit partitioning and distribution of data */ ierr = DMCircuitDistribute(circuitdm,&distcircuitdm);CHKERRQ(ierr); ierr = DMDestroy(&circuitdm);CHKERRQ(ierr); circuitdm = distcircuitdm; } PetscLogStagePop(); Vec X,F; ierr = DMCreateGlobalVector(circuitdm,&X);CHKERRQ(ierr); ierr = VecDuplicate(X,&F);CHKERRQ(ierr); Mat J; ierr = DMCreateMatrix(circuitdm,&J);CHKERRQ(ierr); ierr = MatSetOption(J,MAT_NEW_NONZERO_ALLOCATION_ERR,PETSC_FALSE);CHKERRQ(ierr); ierr = SetInitialValues(circuitdm,X,NULL);CHKERRQ(ierr); SNES snes; /* HOOK UP SOLVER */ ierr = SNESCreate(PETSC_COMM_WORLD,&snes);CHKERRQ(ierr); ierr = SNESSetDM(snes,circuitdm);CHKERRQ(ierr); ierr = SNESSetFunction(snes,F,FormFunction,NULL);CHKERRQ(ierr); ierr = SNESSetJacobian(snes,J,J,FormJacobian,NULL);CHKERRQ(ierr); ierr = SNESSetFromOptions(snes);CHKERRQ(ierr); ierr = SNESSolve(snes,NULL,X);CHKERRQ(ierr); ierr = VecView(X,NULL);CHKERRQ(ierr); ierr = VecDestroy(&X);CHKERRQ(ierr); ierr = VecDestroy(&F);CHKERRQ(ierr); ierr = MatDestroy(&J);CHKERRQ(ierr); ierr = SNESDestroy(&snes);CHKERRQ(ierr); ierr = DMDestroy(&circuitdm);CHKERRQ(ierr); PetscFinalize(); return 0; } -------------- next part -------------- A non-text attachment was scrubbed... Name: aloha.pdf Type: application/pdf Size: 107830 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: aloha.tar.bz2 Type: application/x-bzip Size: 5682 bytes Desc: not available URL: From epscodes at gmail.com Fri Feb 14 12:07:22 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 14 Feb 2014 13:07:22 -0500 Subject: [petsc-users] PetscOptionsGetRealArray command line format Message-ID: Hello everyone, I want to pass a array into petsc through command line. What is the correct format for PetscOptionsGetRealArray? I tried myarray=1,2,3,4,5; and myarray=(1,2,3,4,5); However, neither of them works. Any suggestions? Thank you. Xiangdong -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Fri Feb 14 12:08:40 2014 From: jed at jedbrown.org (Jed Brown) Date: Fri, 14 Feb 2014 11:08:40 -0700 Subject: [petsc-users] PetscOptionsGetRealArray command line format In-Reply-To: References: Message-ID: <877g8x36tz.fsf@jedbrown.org> Xiangdong writes: > Hello everyone, > > I want to pass a array into petsc through command line. What is the correct > format for PetscOptionsGetRealArray? -myarray 1,2,3,4,5 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From epscodes at gmail.com Fri Feb 14 12:18:38 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 14 Feb 2014 13:18:38 -0500 Subject: [petsc-users] PetscOptionsGetRealArray command line format In-Reply-To: <877g8x36tz.fsf@jedbrown.org> References: <877g8x36tz.fsf@jedbrown.org> Message-ID: I tired that, however it does not work either. I call the function like this: double myarray[10]; int nmax=10; PetscOptionsGetRealArray(PETSC_NULL,'-myarray', myarray, &nmax,&flg); Thanks. Xiangdong On Fri, Feb 14, 2014 at 1:08 PM, Jed Brown wrote: > Xiangdong writes: > > > Hello everyone, > > > > I want to pass a array into petsc through command line. What is the > correct > > format for PetscOptionsGetRealArray? > > -myarray 1,2,3,4,5 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Fri Feb 14 12:31:08 2014 From: jed at jedbrown.org (Jed Brown) Date: Fri, 14 Feb 2014 11:31:08 -0700 Subject: [petsc-users] PetscOptionsGetRealArray command line format In-Reply-To: References: <877g8x36tz.fsf@jedbrown.org> Message-ID: <874n4135sj.fsf@jedbrown.org> Xiangdong writes: > I tired that, however it does not work either. "does not work" is not specific. > I call the function like this: > double myarray[10]; > int nmax=10; > PetscOptionsGetRealArray(PETSC_NULL,'-myarray', myarray, &nmax,&flg); printf("nmax = %d\n",nmax); for (i=0; i From danyang.su at gmail.com Fri Feb 14 13:07:46 2014 From: danyang.su at gmail.com (Danyang Su) Date: Fri, 14 Feb 2014 11:07:46 -0800 Subject: [petsc-users] KSP solver iteration stop criteria Message-ID: <52FE6982.5040904@gmail.com> Hi All, Can I control KSP solver iteration by user defined criteria? I would like to check both preconditioned residual norm and true residual norm in every iteration, and force the solver to stop iteration if either criteria matches. If using KSPSetConvergenceTest, can I get the true residual norm directly from a function or shall I compute it in the user-defined convergence function: call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierr) call KSPGetRhs(ksp, b, ierr) call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierr) call MatMult(a, x, u, ierr) call VecAXPY(u, -1.0d0, b, ierr) call VecNormBegin(u, Norm_2, rnorm_true, ierr) call VecNormEnd(u, Norm_2, rnorm_true, ierr) Thanks and regards, Danyang From epscodes at gmail.com Fri Feb 14 13:10:39 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 14 Feb 2014 14:10:39 -0500 Subject: [petsc-users] PetscOptionsGetRealArray command line format In-Reply-To: <874n4135sj.fsf@jedbrown.org> References: <877g8x36tz.fsf@jedbrown.org> <874n4135sj.fsf@jedbrown.org> Message-ID: On Fri, Feb 14, 2014 at 1:31 PM, Jed Brown wrote: > Xiangdong writes: > > > I tired that, however it does not work either. > > "does not work" is not specific. > It always crashed before, but I just figured out the reason. I use CHKERRQ(ierr) right after PetscOptionsGetRealArray. However, I forgot to set ierr to be the return value of that function call. Thanks a lot for your help. Xiangdong > > > I call the function like this: > > double myarray[10]; > > int nmax=10; > > PetscOptionsGetRealArray(PETSC_NULL,'-myarray', myarray, &nmax,&flg); > > printf("nmax = %d\n",nmax); > for (i=0; i printf(" %g\n",myarray[i]); > } > > > Also, please just use NULL. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Fri Feb 14 13:12:43 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Fri, 14 Feb 2014 13:12:43 -0600 Subject: [petsc-users] KSP solver iteration stop criteria In-Reply-To: <52FE6982.5040904@gmail.com> References: <52FE6982.5040904@gmail.com> Message-ID: <59CA4974-9471-4C66-B30B-E7DF7F535022@mcs.anl.gov> On Feb 14, 2014, at 1:07 PM, Danyang Su wrote: > Hi All, > > Can I control KSP solver iteration by user defined criteria? I would like to check both preconditioned residual norm and true residual norm in every iteration, and force the solver to stop iteration if either criteria matches. > > If using KSPSetConvergenceTest, can I get the true residual norm directly from a function Since it is not always available you need to compute it yourself. > or shall I compute it in the user-defined convergence function: > > call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierr) > call KSPGetRhs(ksp, b, ierr) > call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierr) > call MatMult(a, x, u, ierr) > call VecAXPY(u, -1.0d0, b, ierr) > call VecNormBegin(u, Norm_2, rnorm_true, ierr) > call VecNormEnd(u, Norm_2, rnorm_true, ierr) > But note that this process is rather expensive (this is why we don?t do it in our convergence tests). Better to just use right preconditioning and then the compute norm is the true residual norm and you just test on that. -ksp_norm_type unpreconditioned -ksp_set_pc_side right Don?t include the -ksp_set_pc_side right if you are using CG. Barry > Thanks and regards, > > Danyang From jed at jedbrown.org Fri Feb 14 13:13:31 2014 From: jed at jedbrown.org (Jed Brown) Date: Fri, 14 Feb 2014 12:13:31 -0700 Subject: [petsc-users] KSP solver iteration stop criteria In-Reply-To: <59CA4974-9471-4C66-B30B-E7DF7F535022@mcs.anl.gov> References: <52FE6982.5040904@gmail.com> <59CA4974-9471-4C66-B30B-E7DF7F535022@mcs.anl.gov> Message-ID: <87txc11p9g.fsf@jedbrown.org> Barry Smith writes: > -ksp_norm_type unpreconditioned -ksp_set_pc_side right > > Don?t include the -ksp_set_pc_side right if you are using CG. You can just leave it off all the time. Just request unpreconditioned norm and the PC side will be figured out automatically. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From lu_qin_2000 at yahoo.com Fri Feb 14 13:30:30 2014 From: lu_qin_2000 at yahoo.com (Qin Lu) Date: Fri, 14 Feb 2014 11:30:30 -0800 (PST) Subject: [petsc-users] RCM for ILU? In-Reply-To: <87fvnl39az.fsf@jedbrown.org> References: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> <87ob293bw5.fsf@jedbrown.org> <1392397936.48476.YahooMailNeo@web160203.mail.bf1.yahoo.com> <87fvnl39az.fsf@jedbrown.org> Message-ID: <1392406230.2885.YahooMailNeo@web160205.mail.bf1.yahoo.com> Thanks a lot! ? Qin On Friday, February 14, 2014 11:16 AM, Jed Brown wrote: Qin Lu writes: > Barry and Jed, > ? > Nice to know that! Is there a corresponding function call to set RCM? $ ./ex2 -pc_factor_mat_ordering_type rcm -help | grep -A1 mat_ordering ? -pc_factor_mat_ordering_type : Reordering to reduce nonzeros in factored matrix (one of) natural nd 1wd rcm qmd rowlength wbm spectral ? ? ? (PCFactorSetMatOrderingType) Looks like you should check out http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCFactorSetMatOrderingType.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From abhyshr at mcs.anl.gov Fri Feb 14 13:48:54 2014 From: abhyshr at mcs.anl.gov (Abhyankar, Shrirang G.) Date: Fri, 14 Feb 2014 19:48:54 +0000 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: <52FE51A3.5030806@koalo.de> Message-ID: Florian, Thanks for the example! I'll take a look at it and get back to you. Shri On 2/14/14 11:25 AM, "Florian Meier" wrote: >Ok, that was just a stupid typo. >I have now build the first attempt of an example. >I am sure that can be programmed in a much better way, >so I would be very glad about any comment. What is your >preferred review procedure? > >Greetings, >Florian > >static char help[] = "This example demonstrates the DMCircuit interface >for a radio network flow problem.\n\ > The available solver options are in the >alohaoptions file.\n\ > The file links.txt contains the network >description.\n\ > Run this program: mpiexec -n ./PF\n \ > mpiexec -n ./PF -pfdata \n"; > >/** >This computes a greatly simplified model of a radio network. >Each node in the network generates packets conforming to a poisson >distribution (given rate R_gen). >These packets are routed along fixed paths to a sink. When two packets >are send at the same time, >they are dropped. No channel sensing or retransmission takes place. > >Each active link (i.e. each radio link that will eventually transmit >data) is modeled as a vertex. >Between those vertices there exist two kinds of relations: >A relation of type REL_INTERFERENCE(affected, source), implies that >whenever the source link tries >to send at the same time than the affected link, the packet will collide >and is not received properly. >A relation of type REL_INFLOW(affected, source) implies that each packet >that is send via the source >link and does not collide, adds up to the amount of packets send via the >affected link. > >The overall rate of accessing a radio link i is >R_access,i = R_gen,i + SUM_OVER_INFLOWS( R_success,j ) > >The probability that no other link interfering with i accesses the >channel at a given point in time is >P_free,i = PRODUCT_OVER_INTERFERERS( 1 - R_access,j ) > >Finally, the overall rate of successful transmissions over link i is >R_success,i = R_access,i * P_free,i > >The input file is structured as follows: >The first line contains L, the number of links, I, the number of >interferences and F, the number of inflow relations. >Then L lines follow with the packet generation rate for each link. >The subsequent I lines describe the affected and the source link of the >respective interference relation. >The final F lines represent the inflow relations. >*/ > >#include >#include > >#include >#include > >using namespace std; > >enum { > REL_INTERFERENCE, > REL_INFLOW >}; > >enum { > VAR_ACCESS, > VAR_SUCCESS, > VAR_NVARS >}; > >struct _p_LINKDATA{ > PetscScalar packet_generation; >}; > >typedef struct _p_LINKDATA *LINKDATA; > >struct _p_RELATIONDATA{ > PetscInt source; > PetscInt affected; > PetscInt type; >}; > >typedef struct _p_RELATIONDATA *RELATIONDATA; > >typedef struct { > PetscInt nlinks,nrelations; /* # of nodes,relations */ > LINKDATA links; > RELATIONDATA relations; >} PFDATA; > > >PetscMPIInt rank; > >#undef __FUNCT__ >#define __FUNCT__ "FormFunction" >PetscErrorCode FormFunction(SNES snes,Vec X, Vec F,void *appctx) >{ > PetscErrorCode ierr; > DM circuitdm; > Vec localX,localF; > PetscInt e; > PetscInt v,vStart,vEnd,vaffected,vsource; > const PetscScalar *xarr; > PetscScalar *farr; > PetscInt offset,offsetsource,offsetlink,offsetrel; > DMCircuitComponentGenericDataType *arr; > > PetscFunctionBegin; > ierr = SNESGetDM(snes,&circuitdm);CHKERRQ(ierr); > ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); > ierr = DMGetLocalVector(circuitdm,&localF);CHKERRQ(ierr); > ierr = VecSet(F,0.0);CHKERRQ(ierr); > > ierr = >DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > ierr = >DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > > ierr = >DMGlobalToLocalBegin(circuitdm,F,INSERT_VALUES,localF);CHKERRQ(ierr); > ierr = >DMGlobalToLocalEnd(circuitdm,F,INSERT_VALUES,localF);CHKERRQ(ierr); > > ierr = VecGetArrayRead(localX,&xarr);CHKERRQ(ierr); > ierr = VecGetArray(localF,&farr);CHKERRQ(ierr); > > ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); > > for (v=vStart; v < vEnd; v++) { > PetscBool ghostvtex; > ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); > if (ghostvtex) { > continue; // TODO is that ok? > } > > PetscInt keyv; > ierr = >DMCircuitGetComponentTypeOffset(circuitdm,v,0,&keyv,&offsetlink);CHKERRQ(i >err); > > LINKDATA link = (LINKDATA)(arr+offsetlink); > > PetscScalar inflow = link->packet_generation; > PetscScalar Pfree = 1; > > PetscInt nconnedges; > const PetscInt *connedges; > ierr = >DMCircuitGetSupportingEdges(circuitdm,v,&nconnedges,&connedges);CHKERRQ(ie >rr); > for (PetscInt i = 0; i < nconnedges; i++) { > e = connedges[i]; > > const PetscInt *cone; > ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); > vaffected = cone[0]; > vsource = cone[1]; > > if (vaffected == v) { > PetscInt keye; > ierr = >DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie >rr); > RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); > > ierr = >DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); > > switch (relation->type) { > case REL_INTERFERENCE: > Pfree *= 1 - xarr[offsetsource+VAR_ACCESS]; > break; > case REL_INFLOW: > inflow += xarr[offsetsource+VAR_SUCCESS]; > break; > } > } > } > > ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); > farr[offset+VAR_ACCESS] = inflow - xarr[offset+VAR_ACCESS]; > farr[offset+VAR_SUCCESS] = xarr[offset+VAR_ACCESS]*Pfree - >xarr[offset+VAR_SUCCESS]; > } > > ierr = VecRestoreArrayRead(localX,&xarr);CHKERRQ(ierr); > ierr = VecRestoreArray(localF,&farr);CHKERRQ(ierr); > ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); > > ierr = >DMLocalToGlobalBegin(circuitdm,localF,ADD_VALUES,F);CHKERRQ(ierr); > ierr = DMLocalToGlobalEnd(circuitdm,localF,ADD_VALUES,F);CHKERRQ(ierr); > ierr = DMRestoreLocalVector(circuitdm,&localF);CHKERRQ(ierr); > > PetscFunctionReturn(0); >} > > >#undef __FUNCT__ >#define __FUNCT__ "FormJacobian" >PetscErrorCode FormJacobian(SNES snes,Vec X, Mat *J,Mat >*Jpre,MatStructure *flg,void *appctx) >{ > PetscErrorCode ierr; > DM circuitdm; > Vec localX; > PetscInt e; > PetscInt v,vStart,vEnd,vaffected,vsource; > const PetscScalar *xarr; > PetscInt offsetrel; > DMCircuitComponentGenericDataType *arr; > PetscInt row[1],col[1]; > PetscScalar values[1]; > > PetscFunctionBegin; > *flg = SAME_NONZERO_PATTERN; // TODO ok for this problem? > ierr = MatZeroEntries(*J);CHKERRQ(ierr); > > ierr = SNESGetDM(snes,&circuitdm);CHKERRQ(ierr); > ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); > > ierr = >DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > ierr = >DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > > ierr = VecGetArrayRead(localX,&xarr);CHKERRQ(ierr); > > ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); > > for (v=vStart; v < vEnd; v++) { > PetscInt offset,goffset,offsetsource,goffsetsource; > PetscBool ghostvtex; > > ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); > if (ghostvtex) { > continue; // TODO is that ok? > } > > ierr = >DMCircuitGetVariableGlobalOffset(circuitdm,v,&goffset);CHKERRQ(ierr); > > // TODO some derivatives are constant, can this be handled in >SetInitialValues? > > // TODO can I combine these two MatSetValues? > row[0] = goffset+VAR_ACCESS; > col[0] = goffset+VAR_ACCESS; > values[0] = -1.0; > ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > row[0] = goffset+VAR_SUCCESS; > col[0] = goffset+VAR_SUCCESS; > values[0] = -1.0; > ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > > // Calculate Pfree > // TODO Pfree was already calculated in FromFunction, can I access >that? > PetscScalar Pfree = 1; > > PetscInt nconnedges; > const PetscInt *connedges; > ierr = >DMCircuitGetSupportingEdges(circuitdm,v,&nconnedges,&connedges);CHKERRQ(ie >rr); > for (PetscInt i = 0; i < nconnedges; i++) { > e = connedges[i]; > > const PetscInt *cone; > ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); > vaffected = cone[0]; > vsource = cone[1]; > > if (vaffected == v) { > PetscInt keye; > ierr = >DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie >rr); > RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); > > ierr = >DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); > > if (relation->type == REL_INTERFERENCE) { > Pfree *= 1 - xarr[offsetsource+VAR_ACCESS]; > } > } > } > > row[0] = goffset+VAR_SUCCESS; > col[0] = goffset+VAR_ACCESS; > values[0] = Pfree; > ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > > // Set the derivatives > ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); > PetscScalar inflow = xarr[offset+VAR_ACCESS]; > > for (PetscInt i = 0; i < nconnedges; i++) { > e = connedges[i]; > > const PetscInt *cone; > ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); > vaffected = cone[0]; > vsource = cone[1]; > > if (vaffected == v) { > PetscInt keye; > ierr = >DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie >rr); > RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); > > ierr = >DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); > ierr = >DMCircuitGetVariableGlobalOffset(circuitdm,vsource,&goffsetsource);CHKERRQ >(ierr); > > switch (relation->type) { > case REL_INTERFERENCE: > // TODO Ok to set the entries one by one or is there a better >way? > row[0] = goffset+VAR_SUCCESS; > col[0] = goffsetsource+VAR_ACCESS; > values[0] = -inflow*(Pfree/(1-xarr[offsetsource+VAR_ACCESS])); > ierr = >MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > break; > case REL_INFLOW: > row[0] = goffset+VAR_ACCESS; > col[0] = goffsetsource+VAR_SUCCESS; > values[0] = 1.0; > ierr = >MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > break; > } > } > } > } > > ierr = VecRestoreArrayRead(localX,&xarr);CHKERRQ(ierr); > ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); > > ierr = MatAssemblyBegin(*J,MAT_FINAL_ASSEMBLY);CHKERRQ(ierr); > ierr = MatAssemblyEnd(*J,MAT_FINAL_ASSEMBLY);CHKERRQ(ierr); > > PetscFunctionReturn(0); >} > > > >#undef __FUNCT__ >#define __FUNCT__ "SetInitialValues" >PetscErrorCode SetInitialValues(DM circuitdm,Vec X,void *appctx) >{ > PetscErrorCode ierr; > PetscInt v, vStart, vEnd; > Vec localX; > PetscScalar *xarr; > DMCircuitComponentGenericDataType *arr; > > PetscFunctionBegin; > ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > > ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); > > ierr = VecSet(X,0.0);CHKERRQ(ierr); > ierr = >DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > ierr = >DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > > ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); > ierr = VecGetArray(localX,&xarr);CHKERRQ(ierr); > for (v = vStart; v < vEnd; v++) { > PetscBool ghostvtex; > ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); > if (ghostvtex) { > continue; // TODO is that ok? > } > > PetscInt offsetlink, offset; > PetscInt keyv; > ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); > ierr = >DMCircuitGetComponentTypeOffset(circuitdm,v,0,&keyv,&offsetlink);CHKERRQ(i >err); > > LINKDATA link = (LINKDATA)(arr+offsetlink); > > xarr[offset+VAR_ACCESS] = link->packet_generation; > xarr[offset+VAR_SUCCESS] = link->packet_generation; > } > > ierr = VecRestoreArray(localX,&xarr);CHKERRQ(ierr); > ierr = >DMLocalToGlobalBegin(circuitdm,localX,ADD_VALUES,X);CHKERRQ(ierr); > ierr = DMLocalToGlobalEnd(circuitdm,localX,ADD_VALUES,X);CHKERRQ(ierr); > ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); > PetscFunctionReturn(0); >} > > >#undef __FUNCT__ >#define __FUNCT__ "main" >int main(int argc,char ** argv) >{ > string inputFile = "links.txt"; > PetscErrorCode ierr; > PFDATA pfdata; > PetscInt numEdges=0,numVertices=0; > int *edges = NULL; > PetscInt i; > DM circuitdm; > PetscInt componentkey[2]; > PetscLogStage stage1,stage2; > PetscInt size; > > PetscInitialize(&argc,&argv,"alohaoptions",help); > > ierr = MPI_Comm_rank(PETSC_COMM_WORLD,&rank);CHKERRQ(ierr); > > /* Create an empty circuit object */ > ierr = DMCircuitCreate(PETSC_COMM_WORLD,&circuitdm);CHKERRQ(ierr); > > /* Register the components in the circuit */ > ierr = DMCircuitRegisterComponent(circuitdm,"linkstruct",sizeof(struct >_p_LINKDATA),&componentkey[0]);CHKERRQ(ierr); > ierr = >DMCircuitRegisterComponent(circuitdm,"relationstruct",sizeof(struct >_p_RELATIONDATA),&componentkey[1]);CHKERRQ(ierr); > > ierr = PetscLogStageRegister("Read Data",&stage1);CHKERRQ(ierr); > PetscLogStagePush(stage1); > > /* READ THE DATA */ > if (!rank) { > /* Only rank 0 reads the data */ > ifstream linksF(inputFile.c_str()); > > int ninterferences, ninflows; > linksF >> pfdata.nlinks >> ninterferences >> ninflows; > > numVertices = pfdata.nlinks; > numEdges = pfdata.nrelations = ninterferences + ninflows; > > ierr = PetscMalloc1(pfdata.nlinks,&pfdata.links);CHKERRQ(ierr); > ierr = >PetscMalloc1(pfdata.nrelations,&pfdata.relations);CHKERRQ(ierr); > > for(int i = 0; i < numVertices; i++) { > linksF >> pfdata.links[i].packet_generation; > } > > ierr = PetscMalloc1(2*numEdges,&edges);CHKERRQ(ierr); > > for(int i = 0; i < numEdges; i++) { > linksF >> pfdata.relations[i].affected >> >pfdata.relations[i].source; > > pfdata.relations[i].type = (i < ninterferences) ? REL_INTERFERENCE >: REL_INFLOW; > > edges[2*i] = pfdata.relations[i].affected; > edges[2*i+1] = pfdata.relations[i].source; > } > > linksF.close(); > } > > PetscLogStagePop(); > MPI_Barrier(PETSC_COMM_WORLD); > > ierr = PetscLogStageRegister("Create circuit",&stage2);CHKERRQ(ierr); > PetscLogStagePush(stage2); > /* Set number of nodes/edges */ > ierr = >DMCircuitSetSizes(circuitdm,numVertices,numEdges,PETSC_DETERMINE,PETSC_DET >ERMINE);CHKERRQ(ierr); > /* Add edge connectivity */ > ierr = DMCircuitSetEdgeList(circuitdm,edges);CHKERRQ(ierr); > /* Set up the circuit layout */ > ierr = DMCircuitLayoutSetUp(circuitdm);CHKERRQ(ierr); > > if (!rank) { > ierr = PetscFree(edges);CHKERRQ(ierr); > } > > /* Add circuit components */ > PetscInt eStart, eEnd, vStart, vEnd; > > ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > for (i = vStart; i < vEnd; i++) { > ierr = >DMCircuitAddComponent(circuitdm,i,componentkey[0],&pfdata.links[i-vStart]) >;CHKERRQ(ierr); > > /* Add number of variables */ > ierr = DMCircuitAddNumVariables(circuitdm,i,VAR_NVARS);CHKERRQ(ierr); > } > > ierr = DMCircuitGetEdgeRange(circuitdm,&eStart,&eEnd);CHKERRQ(ierr); > for (i = eStart; i < eEnd; i++) { > ierr = >DMCircuitAddComponent(circuitdm,i,componentkey[1],&pfdata.relations[i-eSta >rt]);CHKERRQ(ierr); > } > > /* Set up DM for use */ > ierr = DMSetUp(circuitdm);CHKERRQ(ierr); > > if (!rank) { > ierr = PetscFree(pfdata.links);CHKERRQ(ierr); > ierr = PetscFree(pfdata.relations);CHKERRQ(ierr); > } > > > ierr = MPI_Comm_size(PETSC_COMM_WORLD,&size);CHKERRQ(ierr); > if (size > 1) { > DM distcircuitdm; > /* Circuit partitioning and distribution of data */ > ierr = DMCircuitDistribute(circuitdm,&distcircuitdm);CHKERRQ(ierr); > ierr = DMDestroy(&circuitdm);CHKERRQ(ierr); > circuitdm = distcircuitdm; > } > > PetscLogStagePop(); > > Vec X,F; > ierr = DMCreateGlobalVector(circuitdm,&X);CHKERRQ(ierr); > ierr = VecDuplicate(X,&F);CHKERRQ(ierr); > > Mat J; > ierr = DMCreateMatrix(circuitdm,&J);CHKERRQ(ierr); > ierr = >MatSetOption(J,MAT_NEW_NONZERO_ALLOCATION_ERR,PETSC_FALSE);CHKERRQ(ierr); > > ierr = SetInitialValues(circuitdm,X,NULL);CHKERRQ(ierr); > > SNES snes; > /* HOOK UP SOLVER */ > ierr = SNESCreate(PETSC_COMM_WORLD,&snes);CHKERRQ(ierr); > ierr = SNESSetDM(snes,circuitdm);CHKERRQ(ierr); > ierr = SNESSetFunction(snes,F,FormFunction,NULL);CHKERRQ(ierr); > ierr = SNESSetJacobian(snes,J,J,FormJacobian,NULL);CHKERRQ(ierr); > ierr = SNESSetFromOptions(snes);CHKERRQ(ierr); > > ierr = SNESSolve(snes,NULL,X);CHKERRQ(ierr); > ierr = VecView(X,NULL);CHKERRQ(ierr); > > ierr = VecDestroy(&X);CHKERRQ(ierr); > ierr = VecDestroy(&F);CHKERRQ(ierr); > ierr = MatDestroy(&J);CHKERRQ(ierr); > > ierr = SNESDestroy(&snes);CHKERRQ(ierr); > ierr = DMDestroy(&circuitdm);CHKERRQ(ierr); > > PetscFinalize(); > return 0; >} From epscodes at gmail.com Fri Feb 14 14:47:05 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 14 Feb 2014 15:47:05 -0500 Subject: [petsc-users] PetscOptionsGetRealArray command line format In-Reply-To: <874n4135sj.fsf@jedbrown.org> References: <877g8x36tz.fsf@jedbrown.org> <874n4135sj.fsf@jedbrown.org> Message-ID: On Fri, Feb 14, 2014 at 1:31 PM, Jed Brown wrote: > Xiangdong writes: > > > I tired that, however it does not work either. > > "does not work" is not specific. > > > I call the function like this: > > double myarray[10]; > > int nmax=10; > > PetscOptionsGetRealArray(PETSC_NULL,'-myarray', myarray, &nmax,&flg); > > printf("nmax = %d\n",nmax); > for (i=0; i printf(" %g\n",myarray[i]); > } > > > Also, please just use NULL. > Now I see some random behavior. After compiling the code, for the same command line input, the output sometimes are correct (print values 1,2,3,4,5 with nmax=5), but sometime output all zeros (nmax is zero). I did not change anything, but just running same input many times. Any hints for this random behavior? Thank you. Xiangdong -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Fri Feb 14 14:47:39 2014 From: jed at jedbrown.org (Jed Brown) Date: Fri, 14 Feb 2014 13:47:39 -0700 Subject: [petsc-users] PetscOptionsGetRealArray command line format In-Reply-To: References: <877g8x36tz.fsf@jedbrown.org> <874n4135sj.fsf@jedbrown.org> Message-ID: <87iosh1kwk.fsf@jedbrown.org> Xiangdong writes: > Now I see some random behavior. After compiling the code, for the same > command line input, the output sometimes are correct (print values > 1,2,3,4,5 with nmax=5), but sometime output all zeros (nmax is zero). I did > not change anything, but just running same input many times. > > Any hints for this random behavior? Thank you. Run with valgrind. It is probably some other memory corruption interfering. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From epscodes at gmail.com Fri Feb 14 16:21:56 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 14 Feb 2014 17:21:56 -0500 Subject: [petsc-users] PetscOptionsGetRealArray command line format In-Reply-To: <87iosh1kwk.fsf@jedbrown.org> References: <877g8x36tz.fsf@jedbrown.org> <874n4135sj.fsf@jedbrown.org> <87iosh1kwk.fsf@jedbrown.org> Message-ID: I have a simple script (see below) by just calling PetscOptionsGetRealArray. I run the program like this: mpirun -np 1 runarraytest -myarray 1,2,3,4,5. However, the output is always "the length of input myarray is 0". Can you produce the correct result? Thank you. Below is the script I use: #include int main(int argc, char **argv) { PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); double myarray[10]; int nmax; PetscBool flg; PetscOptionsGetRealArray(NULL,"-myarray",myarray,&nmax,&flg); printf("the length of input myarray is %d \n",nmax); int i; for(i=0;i wrote: > Xiangdong writes: > > Now I see some random behavior. After compiling the code, for the same > > command line input, the output sometimes are correct (print values > > 1,2,3,4,5 with nmax=5), but sometime output all zeros (nmax is zero). I > did > > not change anything, but just running same input many times. > > > > Any hints for this random behavior? Thank you. > > Run with valgrind. It is probably some other memory corruption > interfering. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From balay at mcs.anl.gov Fri Feb 14 16:46:14 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Fri, 14 Feb 2014 16:46:14 -0600 Subject: [petsc-users] PetscOptionsGetRealArray command line format In-Reply-To: References: <877g8x36tz.fsf@jedbrown.org> <874n4135sj.fsf@jedbrown.org> <87iosh1kwk.fsf@jedbrown.org> Message-ID: http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscOptionsGetRealArray.html Input Parameters nmax - maximum number of values to retrieve Output Parameters nmax - actual number of values retreived So you need to do: double myarray[10]; int nmax = 10; I'm not sure if there is a way to detect this incorrect usage [without valgrind] ... Satish On Fri, 14 Feb 2014, Xiangdong wrote: > I have a simple script (see below) by just > calling PetscOptionsGetRealArray. I run the program like this: mpirun -np > 1 runarraytest -myarray 1,2,3,4,5. However, the output is always "the > length of input myarray is 0". > > Can you produce the correct result? Thank you. > > > Below is the script I use: > > > #include > > int main(int argc, char **argv) > { > PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); > > double myarray[10]; > int nmax; > PetscBool flg; > > PetscOptionsGetRealArray(NULL,"-myarray",myarray,&nmax,&flg); > > printf("the length of input myarray is %d \n",nmax); > > int i; > for(i=0;i { > printf(" %g\n",myarray[i]); > } > > PetscFinalize(); > return 0; > } > > > > On Fri, Feb 14, 2014 at 3:47 PM, Jed Brown wrote: > > > Xiangdong writes: > > > Now I see some random behavior. After compiling the code, for the same > > > command line input, the output sometimes are correct (print values > > > 1,2,3,4,5 with nmax=5), but sometime output all zeros (nmax is zero). I > > did > > > not change anything, but just running same input many times. > > > > > > Any hints for this random behavior? Thank you. > > > > Run with valgrind. It is probably some other memory corruption > > interfering. > > > From jed at jedbrown.org Fri Feb 14 17:01:45 2014 From: jed at jedbrown.org (Jed Brown) Date: Fri, 14 Feb 2014 16:01:45 -0700 Subject: [petsc-users] PetscOptionsGetRealArray command line format In-Reply-To: References: <877g8x36tz.fsf@jedbrown.org> <874n4135sj.fsf@jedbrown.org> <87iosh1kwk.fsf@jedbrown.org> Message-ID: <877g8x1ep2.fsf@jedbrown.org> Xiangdong writes: > I have a simple script (see below) by just > calling PetscOptionsGetRealArray. I run the program like this: mpirun -np > 1 runarraytest -myarray 1,2,3,4,5. However, the output is always "the > length of input myarray is 0". > > Can you produce the correct result? Thank you. $ valgrind ./a -myarray 1,2,3 ==8778== Memcheck, a memory error detector ==8778== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==8778== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==8778== Command: ./a -myarray 1,2,3 ==8778== ==8778== Conditional jump or move depends on uninitialised value(s) ==8778== at 0x4EBBB6F: PetscOptionsGetRealArray (options.c:1863) ==8778== by 0x400861: main (a.c:11) ==8778== the length of input myarray is 0 [...] Hmm, options.c:1863 while (n < *nmax) { Yup, you definitely have to initialize nmax before calling the function. > Below is the script I use: > > > #include > > int main(int argc, char **argv) > { > PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL); > > double myarray[10]; > int nmax; > PetscBool flg; > Add nmax = 10; > PetscOptionsGetRealArray(NULL,"-myarray",myarray,&nmax,&flg); > > printf("the length of input myarray is %d \n",nmax); > > int i; > for(i=0;i { > printf(" %g\n",myarray[i]); > } > > PetscFinalize(); > return 0; > } -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From epscodes at gmail.com Sat Feb 15 19:59:43 2014 From: epscodes at gmail.com (Xiangdong) Date: Sat, 15 Feb 2014 20:59:43 -0500 Subject: [petsc-users] binary format difference between matlab and pestc Message-ID: Hello everyone, Are the binary format of petsc and matlab the same? When I run the vec ex6, petsc outputs (using PetscBinaryWrite) a binary file "input.dat" with values 0 10 20 30 40 50 60 70 80 90 However, when I read this binary from matlab (use fopen and fread), I got all values zeros. What might be wrong here? Do I have to use petsc functions other than PetscBinaryWrite in order to produce binary files which can be read into matlab? Thank you. Xiangdong http://www.mcs.anl.gov/petsc/petsc-current/src/vec/vec/examples/tutorials/ex6.c.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Sat Feb 15 20:02:01 2014 From: jed at jedbrown.org (Jed Brown) Date: Sat, 15 Feb 2014 19:02:01 -0700 Subject: [petsc-users] binary format difference between matlab and pestc In-Reply-To: References: Message-ID: <87k3cvyfvq.fsf@jedbrown.org> Xiangdong writes: > Hello everyone, > > Are the binary format of petsc and matlab the same? When I run the vec ex6, > petsc outputs (using PetscBinaryWrite) a binary file "input.dat" with > values > 0 > 10 > 20 > 30 > 40 > 50 > 60 > 70 > 80 > 90 > > However, when I read this binary from matlab (use fopen and fread), I got > all values zeros. What might be wrong here? Use PetscBinaryRead() from bin/matlab/ to read PETSc binary format in MATLAB. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From danyang.su at gmail.com Sat Feb 15 23:40:58 2014 From: danyang.su at gmail.com (Danyang Su) Date: Sat, 15 Feb 2014 21:40:58 -0800 Subject: [petsc-users] KSP solver iteration stop criteria In-Reply-To: <59CA4974-9471-4C66-B30B-E7DF7F535022@mcs.anl.gov> References: <52FE6982.5040904@gmail.com> <59CA4974-9471-4C66-B30B-E7DF7F535022@mcs.anl.gov> Message-ID: <53004F6A.9020305@gmail.com> On 14/02/2014 11:12 AM, Barry Smith wrote: > On Feb 14, 2014, at 1:07 PM, Danyang Su wrote: > >> Hi All, >> >> Can I control KSP solver iteration by user defined criteria? I would like to check both preconditioned residual norm and true residual norm in every iteration, and force the solver to stop iteration if either criteria matches. >> >> If using KSPSetConvergenceTest, can I get the true residual norm directly from a function > Since it is not always available you need to compute it yourself. > >> or shall I compute it in the user-defined convergence function: >> >> call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierr) >> call KSPGetRhs(ksp, b, ierr) >> call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierr) >> call MatMult(a, x, u, ierr) >> call VecAXPY(u, -1.0d0, b, ierr) >> call VecNormBegin(u, Norm_2, rnorm_true, ierr) >> call VecNormEnd(u, Norm_2, rnorm_true, ierr) >> > But note that this process is rather expensive (this is why we don?t do it in our convergence tests). > > Better to just use right preconditioning and then the compute norm is the true residual norm and you just test on that. > > -ksp_norm_type unpreconditioned -ksp_set_pc_side right The "-ksp_norm_type unpreconditioned" does not work well for my cases. When I set the following function in MyKSPConverged function, the result is different from KSPDefaultConverged though the same number of iteration is used. call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierrcode) call KSPGetRhs(ksp, b, ierrcode) call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierrcode) call MatMult(a, x, u, ierrcode) call VecAXPY(u, neg_one, b, ierrcode) call VecNormBegin(u, Norm_2, rnorm_true, ierrcode) call VecNormEnd(u, Norm_2, rnorm_true, ierrcode) The residual in the first few time steps are as follows: Residual by KSPDefaultConverged 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 */1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.612654804265e+008 ||r(i)||/||b|| 1.383632056862e-003/* */0 KSP preconditioned resid norm 5.245498186783e-003 true resid norm 3.496944019232e+010 ||r(i)||/||b|| 1.000000000000e+000/**/ /**/1 KSP preconditioned resid norm 4.876784688167e-008 true resid norm 9.615426089812e+007 ||r(i)||/||b|| 2.749665432712e-003/* Residual by MYKSPConverged 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 /*1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.165341354855e+011 ||r(i)||/||b|| 9.998442639434e-001*/ /*0 KSP preconditioned resid norm 7.321104403842e-003 true resid norm 4.661428829096e+010 ||r(i)||/||b|| 1.000000000000e+000*//* *//*1 KSP preconditioned resid norm 2.815380746230e-008 true resid norm 4.661536958529e+010 ||r(i)||/||b|| 1.000023196628e+000*/ Is there anything wrong in MyKSPConverged function because the result get even worse later and at last failed in newton iteration. If I use KSPDefaultConverged, it can work but after some steps, the true residual norm become very small but the solver still need a lot of iteration as the relative preconditioned residual norm does not match the convergence criteria. What I need is to stop the iteration when either preconditioned residual norm (rtol) or true residual norm matches the stop criteria. 0 KSP preconditioned resid norm 4.208619583781e-002 true resid norm 2.227983625699e-005 ||r(i)||/||b|| 1.000000000000e+000 1 KSP preconditioned resid norm 6.403275610900e-003 true resid norm 2.795175726580e-007 ||r(i)||/||b|| 1.254576422528e-002 /* 2 KSP preconditioned resid norm 7.416300263102e-004 true resid norm 3.382118379502e-010 ||r(i)||/||b|| 1.518017610404e-005 *//*I want to stop iteration here as the true residual meet the stop criteria.*/ 3 KSP preconditioned resid norm 6.144409100696e-005 true resid norm 1.260466100377e-009 ||r(i)||/||b|| 5.657429820568e-005 4 KSP preconditioned resid norm 4.990158094666e-005 true resid norm 3.632496726225e-008 ||r(i)||/||b|| 1.630396509349e-003 5 KSP preconditioned resid norm 2.743769015994e-005 true resid norm 1.101666758939e-009 ||r(i)||/||b|| 4.944680680017e-005 6 KSP preconditioned resid norm 4.269805798759e-006 true resid norm 7.915494521121e-011 ||r(i)||/||b|| 3.552761532813e-006 7 KSP preconditioned resid norm 1.632413041808e-006 true resid norm 1.163794439302e-009 ||r(i)||/||b|| 5.223532282187e-005 8 KSP preconditioned resid norm 8.010590587547e-007 true resid norm 1.246839309256e-011 ||r(i)||/||b|| 5.596267831030e-007 9 KSP preconditioned resid norm 4.794695759395e-007 true resid norm 3.155943984006e-012 ||r(i)||/||b|| 1.416502324166e-007 10 KSP preconditioned resid norm 4.500033799628e-007 true resid norm 4.554787575528e-011 ||r(i)||/||b|| 2.044354151884e-006 Thanks, Danyang > > Don?t include the -ksp_set_pc_side right if you are using CG. > > Barry > > >> Thanks and regards, >> >> Danyang -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Sat Feb 15 23:45:52 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Sat, 15 Feb 2014 23:45:52 -0600 Subject: [petsc-users] binary format difference between matlab and pestc In-Reply-To: References: Message-ID: <370A111B-DC51-4003-9CA5-B5D4DAFCCCC1@mcs.anl.gov> On Feb 15, 2014, at 7:59 PM, Xiangdong wrote: > Hello everyone, > > Are the binary format of petsc and matlab the same? When I run the vec ex6, petsc outputs (using PetscBinaryWrite) a binary file "input.dat" with values > 0 > 10 > 20 > 30 > 40 > 50 > 60 > 70 > 80 > 90 > > However, when I read this binary from matlab (use fopen and fread), I got all values zeros. What might be wrong here? Likely it is the byte swapping that takes place in saving/reading the files that is inconsistent on the two sides. You need to use fopen(filename,rw,'ieee-be?) on the Matlab side. > > Do I have to use petsc functions other than PetscBinaryWrite in order to produce binary files which can be read into matlab? You really, really don?t want to use the low level PetscBinaryWrite()/fopen,fread() to move vectors from PETSc to MATLAB, it won?t work in parallel and is cumbersome. You want to use VecView() in Petsc and then bin/matlab/PetscBinaryRead.m in Matlab to read in the result. Barry Note that in the end VecView() calls PetscBinaryWrite() and bin/matlab/PetscBinaryRead.m calls fopen,fread() but they handle the parallelism and byte swapping all for you. > > Thank you. > > Xiangdong > > > http://www.mcs.anl.gov/petsc/petsc-current/src/vec/vec/examples/tutorials/ex6.c.html From bsmith at mcs.anl.gov Sun Feb 16 00:05:10 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Sun, 16 Feb 2014 00:05:10 -0600 Subject: [petsc-users] KSP solver iteration stop criteria In-Reply-To: <53004F6A.9020305@gmail.com> References: <52FE6982.5040904@gmail.com> <59CA4974-9471-4C66-B30B-E7DF7F535022@mcs.anl.gov> <53004F6A.9020305@gmail.com> Message-ID: <375B2C9E-9899-41A8-9504-004D8109DF55@mcs.anl.gov> What is different in the two runs below? Are you using -ksp_norm_type unpreconditioned in one case and not the other? What KSPType are you using? If the options are identical the residual norms (both preconditioned and true) should be identical for each run, changing the convergence test should not affect the residuals being printed at all (it would only possibly change when it decides it has converged). Barry On Feb 15, 2014, at 11:40 PM, Danyang Su wrote: >> >> -ksp_norm_type unpreconditioned -ksp_set_pc_side right >> > The "-ksp_norm_type unpreconditioned" does not work well for my cases. When I set the following function in MyKSPConverged function, the result is different from KSPDefaultConverged though the same number of iteration is used. > call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierrcode) > call KSPGetRhs(ksp, b, ierrcode) > call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierrcode) > call MatMult(a, x, u, ierrcode) > call VecAXPY(u, neg_one, b, ierrcode) > call VecNormBegin(u, Norm_2, rnorm_true, ierrcode) > call VecNormEnd(u, Norm_2, rnorm_true, ierrcode) > > The residual in the first few time steps are as follows: > > Residual by KSPDefaultConverged > 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 > 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 > 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 > 1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.612654804265e+008 ||r(i)||/||b|| 1.383632056862e-003 > 0 KSP preconditioned resid norm 5.245498186783e-003 true resid norm 3.496944019232e+010 ||r(i)||/||b|| 1.000000000000e+000 > 1 KSP preconditioned resid norm 4.876784688167e-008 true resid norm 9.615426089812e+007 ||r(i)||/||b|| 2.749665432712e-003 > > Residual by MYKSPConverged > 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 > 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 > 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 > 1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.165341354855e+011 ||r(i)||/||b|| 9.998442639434e-001 > 0 KSP preconditioned resid norm 7.321104403842e-003 true resid norm 4.661428829096e+010 ||r(i)||/||b|| 1.000000000000e+000 > 1 KSP preconditioned resid norm 2.815380746230e-008 true resid norm 4.661536958529e+010 ||r(i)||/||b|| 1.000023196628e+000 > > Is there anything wrong in MyKSPConverged function because the result get even worse later and at last failed in newton iteration. > > If I use KSPDefaultConverged, it can work but after some steps, the true residual norm become very small but the solver still need a lot of iteration as the relative preconditioned residual norm does not match the convergence criteria. What I need is to stop the iteration when either preconditioned residual norm (rtol) or true residual norm matches the stop criteria. > > 0 KSP preconditioned resid norm 4.208619583781e-002 true resid norm 2.227983625699e-005 ||r(i)||/||b|| 1.000000000000e+000 > 1 KSP preconditioned resid norm 6.403275610900e-003 true resid norm 2.795175726580e-007 ||r(i)||/||b|| 1.254576422528e-002 > 2 KSP preconditioned resid norm 7.416300263102e-004 true resid norm 3.382118379502e-010 ||r(i)||/||b|| 1.518017610404e-005 I want to stop iteration here as the true residual meet the stop criteria. > 3 KSP preconditioned resid norm 6.144409100696e-005 true resid norm 1.260466100377e-009 ||r(i)||/||b|| 5.657429820568e-005 > 4 KSP preconditioned resid norm 4.990158094666e-005 true resid norm 3.632496726225e-008 ||r(i)||/||b|| 1.630396509349e-003 > 5 KSP preconditioned resid norm 2.743769015994e-005 true resid norm 1.101666758939e-009 ||r(i)||/||b|| 4.944680680017e-005 > 6 KSP preconditioned resid norm 4.269805798759e-006 true resid norm 7.915494521121e-011 ||r(i)||/||b|| 3.552761532813e-006 > 7 KSP preconditioned resid norm 1.632413041808e-006 true resid norm 1.163794439302e-009 ||r(i)||/||b|| 5.223532282187e-005 > 8 KSP preconditioned resid norm 8.010590587547e-007 true resid norm 1.246839309256e-011 ||r(i)||/||b|| 5.596267831030e-007 > 9 KSP preconditioned resid norm 4.794695759395e-007 true resid norm 3.155943984006e-012 ||r(i)||/||b|| 1.416502324166e-007 > 10 KSP preconditioned resid norm 4.500033799628e-007 true resid norm 4.554787575528e-011 ||r(i)||/||b|| 2.044354151884e-006 > > Thanks, > > Danyang >> >> Don?t include the -ksp_set_pc_side right if you are using CG. >> >> Barry >> >> >> >>> Thanks and regards, >>> >>> Danyang >>> > From danyang.su at gmail.com Sun Feb 16 02:04:22 2014 From: danyang.su at gmail.com (Danyang Su) Date: Sun, 16 Feb 2014 00:04:22 -0800 Subject: [petsc-users] KSP solver iteration stop criteria In-Reply-To: <375B2C9E-9899-41A8-9504-004D8109DF55@mcs.anl.gov> References: <52FE6982.5040904@gmail.com> <59CA4974-9471-4C66-B30B-E7DF7F535022@mcs.anl.gov> <53004F6A.9020305@gmail.com> <375B2C9E-9899-41A8-9504-004D8109DF55@mcs.anl.gov> Message-ID: <53007106.5010102@gmail.com> Thanks for the quick reply. I just made a second check on it. I use the preconditioned norm type for both runs. The ex2f was taken as the example to implement MyKSPConverged. For KSPDefaultConverged, I comment out the codes between "!***", for MyKSPConverged, just uncomment this section. See below. subroutine mykspconverged(ksp,n,rnorm,flag,dummy,ierr) implicit none KSP :: ksp PetscErrorCode :: ierr PetscInt :: n,dummy KSPConvergedReason :: flag PetscReal :: rnorm !****This section is comment out for KSPDefaultConverged option**** if(n > 0) then call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierrcode) call KSPGetRhs(ksp, b, ierrcode) call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierrcode) call MatMult(a, x, u, ierrcode) call VecAXPY(u, neg_one, b, ierrcode) call VecNormBegin(u, Norm_2, rnorm, ierrcode) call VecNormEnd(u, Norm_2, rnorm, ierrcode) end if !*************************************************************** if (n > 0 .and. rnorm< rtol) then flag = 1 else flag = 0 endif ierr = 0 end subroutine mykspconverged On 15/02/2014 10:05 PM, Barry Smith wrote: > What is different in the two runs below? Are you using -ksp_norm_type unpreconditioned in one case and not the other? > > What KSPType are you using? > > If the options are identical the residual norms (both preconditioned and true) should be identical for each run, changing the convergence test should not affect the residuals being printed at all (it would only possibly change when it decides it has converged). > > > Barry > > On Feb 15, 2014, at 11:40 PM, Danyang Su wrote: >>> -ksp_norm_type unpreconditioned -ksp_set_pc_side right >>> >> The "-ksp_norm_type unpreconditioned" does not work well for my cases. When I set the following function in MyKSPConverged function, the result is different from KSPDefaultConverged though the same number of iteration is used. >> call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierrcode) >> call KSPGetRhs(ksp, b, ierrcode) >> call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierrcode) >> call MatMult(a, x, u, ierrcode) >> call VecAXPY(u, neg_one, b, ierrcode) >> call VecNormBegin(u, Norm_2, rnorm_true, ierrcode) >> call VecNormEnd(u, Norm_2, rnorm_true, ierrcode) >> >> The residual in the first few time steps are as follows: >> >> Residual by KSPDefaultConverged >> 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 >> 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 >> 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 >> 1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.612654804265e+008 ||r(i)||/||b|| 1.383632056862e-003 >> 0 KSP preconditioned resid norm 5.245498186783e-003 true resid norm 3.496944019232e+010 ||r(i)||/||b|| 1.000000000000e+000 >> 1 KSP preconditioned resid norm 4.876784688167e-008 true resid norm 9.615426089812e+007 ||r(i)||/||b|| 2.749665432712e-003 >> >> Residual by MYKSPConverged >> 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 >> 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 >> 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 >> 1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.165341354855e+011 ||r(i)||/||b|| 9.998442639434e-001 >> 0 KSP preconditioned resid norm 7.321104403842e-003 true resid norm 4.661428829096e+010 ||r(i)||/||b|| 1.000000000000e+000 >> 1 KSP preconditioned resid norm 2.815380746230e-008 true resid norm 4.661536958529e+010 ||r(i)||/||b|| 1.000023196628e+000 >> >> Is there anything wrong in MyKSPConverged function because the result get even worse later and at last failed in newton iteration. >> >> If I use KSPDefaultConverged, it can work but after some steps, the true residual norm become very small but the solver still need a lot of iteration as the relative preconditioned residual norm does not match the convergence criteria. What I need is to stop the iteration when either preconditioned residual norm (rtol) or true residual norm matches the stop criteria. >> >> 0 KSP preconditioned resid norm 4.208619583781e-002 true resid norm 2.227983625699e-005 ||r(i)||/||b|| 1.000000000000e+000 >> 1 KSP preconditioned resid norm 6.403275610900e-003 true resid norm 2.795175726580e-007 ||r(i)||/||b|| 1.254576422528e-002 >> 2 KSP preconditioned resid norm 7.416300263102e-004 true resid norm 3.382118379502e-010 ||r(i)||/||b|| 1.518017610404e-005 I want to stop iteration here as the true residual meet the stop criteria. >> 3 KSP preconditioned resid norm 6.144409100696e-005 true resid norm 1.260466100377e-009 ||r(i)||/||b|| 5.657429820568e-005 >> 4 KSP preconditioned resid norm 4.990158094666e-005 true resid norm 3.632496726225e-008 ||r(i)||/||b|| 1.630396509349e-003 >> 5 KSP preconditioned resid norm 2.743769015994e-005 true resid norm 1.101666758939e-009 ||r(i)||/||b|| 4.944680680017e-005 >> 6 KSP preconditioned resid norm 4.269805798759e-006 true resid norm 7.915494521121e-011 ||r(i)||/||b|| 3.552761532813e-006 >> 7 KSP preconditioned resid norm 1.632413041808e-006 true resid norm 1.163794439302e-009 ||r(i)||/||b|| 5.223532282187e-005 >> 8 KSP preconditioned resid norm 8.010590587547e-007 true resid norm 1.246839309256e-011 ||r(i)||/||b|| 5.596267831030e-007 >> 9 KSP preconditioned resid norm 4.794695759395e-007 true resid norm 3.155943984006e-012 ||r(i)||/||b|| 1.416502324166e-007 >> 10 KSP preconditioned resid norm 4.500033799628e-007 true resid norm 4.554787575528e-011 ||r(i)||/||b|| 2.044354151884e-006 >> >> Thanks, >> >> Danyang >>> Don?t include the -ksp_set_pc_side right if you are using CG. >>> >>> Barry >>> >>> >>> >>>> Thanks and regards, >>>> >>>> Danyang >>>> From bsmith at mcs.anl.gov Sun Feb 16 08:00:59 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Sun, 16 Feb 2014 08:00:59 -0600 Subject: [petsc-users] KSP solver iteration stop criteria In-Reply-To: <53007106.5010102@gmail.com> References: <52FE6982.5040904@gmail.com> <59CA4974-9471-4C66-B30B-E7DF7F535022@mcs.anl.gov> <53004F6A.9020305@gmail.com> <375B2C9E-9899-41A8-9504-004D8109DF55@mcs.anl.gov> <53007106.5010102@gmail.com> Message-ID: <06C691C8-9E81-4E36-9A0E-CB08E26B3324@mcs.anl.gov> On Feb 16, 2014, at 2:04 AM, Danyang Su wrote: > Thanks for the quick reply. > I just made a second check on it. I use the preconditioned norm type for both runs. The ex2f was taken as the example to implement MyKSPConverged. For KSPDefaultConverged, I comment out the codes between "!***", for MyKSPConverged, just uncomment this section. See below. > What is x? It does not appear to be declared. How does this code compile? You cannot use the solution vector passed to KSPSolve() for your own use, it is actively being used by KSP. Barry > subroutine mykspconverged(ksp,n,rnorm,flag,dummy,ierr) > implicit none > KSP :: ksp > PetscErrorCode :: ierr > PetscInt :: n,dummy > KSPConvergedReason :: flag > PetscReal :: rnorm > > !****This section is comment out for KSPDefaultConverged option**** > if(n > 0) then > call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierrcode) > call KSPGetRhs(ksp, b, ierrcode) > call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierrcode) > call MatMult(a, x, u, ierrcode) > call VecAXPY(u, neg_one, b, ierrcode) > call VecNormBegin(u, Norm_2, rnorm, ierrcode) > call VecNormEnd(u, Norm_2, rnorm, ierrcode) > end if > !*************************************************************** > > if (n > 0 .and. rnorm< rtol) then > flag = 1 > else > flag = 0 > endif > ierr = 0 > end subroutine mykspconverged > > On 15/02/2014 10:05 PM, Barry Smith wrote: >> What is different in the two runs below? Are you using -ksp_norm_type unpreconditioned in one case and not the other? >> >> What KSPType are you using? >> >> If the options are identical the residual norms (both preconditioned and true) should be identical for each run, changing the convergence test should not affect the residuals being printed at all (it would only possibly change when it decides it has converged). >> >> Barry >> >> On Feb 15, 2014, at 11:40 PM, Danyang Su wrote: >>>> -ksp_norm_type unpreconditioned -ksp_set_pc_side right >>>> >>> The "-ksp_norm_type unpreconditioned" does not work well for my cases. When I set the following function in MyKSPConverged function, the result is different from KSPDefaultConverged though the same number of iteration is used. >>> call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierrcode) >>> call KSPGetRhs(ksp, b, ierrcode) >>> call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierrcode) >>> call MatMult(a, x, u, ierrcode) >>> call VecAXPY(u, neg_one, b, ierrcode) >>> call VecNormBegin(u, Norm_2, rnorm_true, ierrcode) >>> call VecNormEnd(u, Norm_2, rnorm_true, ierrcode) >>> >>> The residual in the first few time steps are as follows: >>> >>> Residual by KSPDefaultConverged >>> 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 >>> 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 >>> 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 >>> 1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.612654804265e+008 ||r(i)||/||b|| 1.383632056862e-003 >>> 0 KSP preconditioned resid norm 5.245498186783e-003 true resid norm 3.496944019232e+010 ||r(i)||/||b|| 1.000000000000e+000 >>> 1 KSP preconditioned resid norm 4.876784688167e-008 true resid norm 9.615426089812e+007 ||r(i)||/||b|| 2.749665432712e-003 >>> >>> Residual by MYKSPConverged >>> 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 >>> 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 >>> 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 >>> 1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.165341354855e+011 ||r(i)||/||b|| 9.998442639434e-001 >>> 0 KSP preconditioned resid norm 7.321104403842e-003 true resid norm 4.661428829096e+010 ||r(i)||/||b|| 1.000000000000e+000 >>> 1 KSP preconditioned resid norm 2.815380746230e-008 true resid norm 4.661536958529e+010 ||r(i)||/||b|| 1.000023196628e+000 >>> >>> Is there anything wrong in MyKSPConverged function because the result get even worse later and at last failed in newton iteration. >>> >>> If I use KSPDefaultConverged, it can work but after some steps, the true residual norm become very small but the solver still need a lot of iteration as the relative preconditioned residual norm does not match the convergence criteria. What I need is to stop the iteration when either preconditioned residual norm (rtol) or true residual norm matches the stop criteria. >>> >>> 0 KSP preconditioned resid norm 4.208619583781e-002 true resid norm 2.227983625699e-005 ||r(i)||/||b|| 1.000000000000e+000 >>> 1 KSP preconditioned resid norm 6.403275610900e-003 true resid norm 2.795175726580e-007 ||r(i)||/||b|| 1.254576422528e-002 >>> 2 KSP preconditioned resid norm 7.416300263102e-004 true resid norm 3.382118379502e-010 ||r(i)||/||b|| 1.518017610404e-005 I want to stop iteration here as the true residual meet the stop criteria. >>> 3 KSP preconditioned resid norm 6.144409100696e-005 true resid norm 1.260466100377e-009 ||r(i)||/||b|| 5.657429820568e-005 >>> 4 KSP preconditioned resid norm 4.990158094666e-005 true resid norm 3.632496726225e-008 ||r(i)||/||b|| 1.630396509349e-003 >>> 5 KSP preconditioned resid norm 2.743769015994e-005 true resid norm 1.101666758939e-009 ||r(i)||/||b|| 4.944680680017e-005 >>> 6 KSP preconditioned resid norm 4.269805798759e-006 true resid norm 7.915494521121e-011 ||r(i)||/||b|| 3.552761532813e-006 >>> 7 KSP preconditioned resid norm 1.632413041808e-006 true resid norm 1.163794439302e-009 ||r(i)||/||b|| 5.223532282187e-005 >>> 8 KSP preconditioned resid norm 8.010590587547e-007 true resid norm 1.246839309256e-011 ||r(i)||/||b|| 5.596267831030e-007 >>> 9 KSP preconditioned resid norm 4.794695759395e-007 true resid norm 3.155943984006e-012 ||r(i)||/||b|| 1.416502324166e-007 >>> 10 KSP preconditioned resid norm 4.500033799628e-007 true resid norm 4.554787575528e-011 ||r(i)||/||b|| 2.044354151884e-006 >>> >>> Thanks, >>> >>> Danyang >>>> Don?t include the -ksp_set_pc_side right if you are using CG. >>>> >>>> Barry >>>> >>>> >>>> >>>>> Thanks and regards, >>>>> >>>>> Danyang >>>>> > From knepley at gmail.com Sun Feb 16 13:52:46 2014 From: knepley at gmail.com (Matthew Knepley) Date: Sun, 16 Feb 2014 13:52:46 -0600 Subject: [petsc-users] DMRefine issue In-Reply-To: References: Message-ID: On Mon, Dec 30, 2013 at 7:23 PM, Yaakoub El Khamra wrote: > > Greetings > I am try to use DMRefine to refine a dm I create with DMPlexCreateBoxMesh > with tonight's checkout. A quick glance at the DMView output from the DM's > shows that the refinedMesh looks a lot like the original > dm. DMGetRefineLevel returns 1 though. I must be missing something > elementary here. Can someone please confirm if there are any glaring > mistakes I made? Also if I want to refine and distribute, should I refine > on a single processor then distribute or can I refine a couple of times, > distribute, and refine some more? > 1) Sorry this took a long time. 2) Refinement is somewhat complicated right now. If you use a mesh generator to make the mesh (as BoxMesh does), then the default refinement is to use the generator itself. However, then you must call ierr = DMPlexSetRefinementLimit(dm, refinementLimit);CHKERRQ(ierr); to set the maximum cell volume after refinement. If, however, the mesh is constructed by hand the default is to use uniform refinement. You can also get uniform refinement using ierr = DMPlexSetRefinementUniform(dm, refinementUniform);CHKERRQ(ierr); 3) Only uniform refinement works in parallel, so I tend to refine using the generator in serial, distribute, and then uniformly refine. This is what SNES ex12 does. 4) Did you have another problem that I was supposed to look at on your machine? I have lost my notes. Thanks, Matt > The test code looks as follows: > > program testRefine > implicit none > #include "finclude/petsc.h90" > DM :: dm > DM :: refinedMesh > PetscInt :: r > > PetscInt :: dim > PetscBool :: interpolate > PetscErrorCode :: ierr > > call PetscInitialize(PETSC_NULL_CHARACTER, ierr) > CHKERRQ(ierr) > dim = 2 > interpolate = PETSC_TRUE > ! Create a mesh > call DMPlexCreateBoxMesh(PETSC_COMM_WORLD, dim, interpolate, dm, > $ ierr) > CHKERRQ(ierr) > > call DMView(dm, PETSC_VIEWER_STDOUT_WORLD, ierr) > CHKERRQ(ierr) > > > call DMRefine(dm, PETSC_COMM_WORLD, refinedMesh, ierr) > CHKERRQ(ierr) > > call DMView(refinedMesh, PETSC_VIEWER_STDOUT_WORLD, ierr) > CHKERRQ(ierr) > > call DMGetRefineLevel(refinedMesh, r, ierr) > write (*,*) "The value of r is:", r > > call DMDestroy(dm, ierr) > call DMDestroy(refinedMesh, ierr) > CHKERRQ(ierr) > > call PetscFinalize(ierr) > end program testRefine > > > > And the output: > DM_0x1122bb0_0 in 2 dimensions: > 0-cells: 9 > 1-cells: 16 > 2-cells: 8 > Labels: > marker: 2 strata of sizes (16, 5) > depth: 3 strata of sizes (9, 16, 8) > DM_0x1122bb0_1 in 2 dimensions: > 0-cells: 9 > 1-cells: 16 > 2-cells: 8 > Labels: > marker: 2 strata of sizes (16, 1) > depth: 3 strata of sizes (9, 16, 8) > The value of r is: 1 > > > > > > > > Regards > Yaakoub El Khamra > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From abhyshr at mcs.anl.gov Sun Feb 16 19:50:45 2014 From: abhyshr at mcs.anl.gov (Abhyankar, Shrirang G.) Date: Mon, 17 Feb 2014 01:50:45 +0000 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: <52FE51A3.5030806@koalo.de> Message-ID: Hi Florian, I was able to run your example with a small change (used PetscMalloc instead of PetscMalloc1). However, the solution on more than 1 processor is different presumably because of some work "TODO" for the ghost vertices. Answers to some of your questions in the code: I) You can change the non-zero pattern of the Jacobian matrix. But note that if the network topology then I think the circuit would need to be re-built. II) If some of the Jacobian matrix entries are constant then you can use MatStoreValues http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatStoreVal ues.html#MatStoreValues to set the constant terms once before the Newton loop and retrieve these via MatRetrieveValues http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatRetrieve Values.html#MatRetrieveValues during the Jacobian evaluation. III) The Jacobian matrix for your application has a 2 X 2 structure. So you can set the entires in each block through one MatSetValues call. IV) If you want to reuse some term that calculated in the function evaluation (Pfree) during the Jacobian evaluation then you can either use your own user context or save the term in the component array. Thanks once again for contributing this example. Once you have fixed the ghost vertex part and get the same solution with different number of processors, I'll add it to the PETSc repository. Let us know if you have any more questions. Thanks, Shri On 2/14/14 11:25 AM, "Florian Meier" wrote: >Ok, that was just a stupid typo. >I have now build the first attempt of an example. >I am sure that can be programmed in a much better way, >so I would be very glad about any comment. What is your >preferred review procedure? > >Greetings, >Florian > >static char help[] = "This example demonstrates the DMCircuit interface >for a radio network flow problem.\n\ > The available solver options are in the >alohaoptions file.\n\ > The file links.txt contains the network >description.\n\ > Run this program: mpiexec -n ./PF\n \ > mpiexec -n ./PF -pfdata \n"; > >/** >This computes a greatly simplified model of a radio network. >Each node in the network generates packets conforming to a poisson >distribution (given rate R_gen). >These packets are routed along fixed paths to a sink. When two packets >are send at the same time, >they are dropped. No channel sensing or retransmission takes place. > >Each active link (i.e. each radio link that will eventually transmit >data) is modeled as a vertex. >Between those vertices there exist two kinds of relations: >A relation of type REL_INTERFERENCE(affected, source), implies that >whenever the source link tries >to send at the same time than the affected link, the packet will collide >and is not received properly. >A relation of type REL_INFLOW(affected, source) implies that each packet >that is send via the source >link and does not collide, adds up to the amount of packets send via the >affected link. > >The overall rate of accessing a radio link i is >R_access,i = R_gen,i + SUM_OVER_INFLOWS( R_success,j ) > >The probability that no other link interfering with i accesses the >channel at a given point in time is >P_free,i = PRODUCT_OVER_INTERFERERS( 1 - R_access,j ) > >Finally, the overall rate of successful transmissions over link i is >R_success,i = R_access,i * P_free,i > >The input file is structured as follows: >The first line contains L, the number of links, I, the number of >interferences and F, the number of inflow relations. >Then L lines follow with the packet generation rate for each link. >The subsequent I lines describe the affected and the source link of the >respective interference relation. >The final F lines represent the inflow relations. >*/ > >#include >#include > >#include >#include > >using namespace std; > >enum { > REL_INTERFERENCE, > REL_INFLOW >}; > >enum { > VAR_ACCESS, > VAR_SUCCESS, > VAR_NVARS >}; > >struct _p_LINKDATA{ > PetscScalar packet_generation; >}; > >typedef struct _p_LINKDATA *LINKDATA; > >struct _p_RELATIONDATA{ > PetscInt source; > PetscInt affected; > PetscInt type; >}; > >typedef struct _p_RELATIONDATA *RELATIONDATA; > >typedef struct { > PetscInt nlinks,nrelations; /* # of nodes,relations */ > LINKDATA links; > RELATIONDATA relations; >} PFDATA; > > >PetscMPIInt rank; > >#undef __FUNCT__ >#define __FUNCT__ "FormFunction" >PetscErrorCode FormFunction(SNES snes,Vec X, Vec F,void *appctx) >{ > PetscErrorCode ierr; > DM circuitdm; > Vec localX,localF; > PetscInt e; > PetscInt v,vStart,vEnd,vaffected,vsource; > const PetscScalar *xarr; > PetscScalar *farr; > PetscInt offset,offsetsource,offsetlink,offsetrel; > DMCircuitComponentGenericDataType *arr; > > PetscFunctionBegin; > ierr = SNESGetDM(snes,&circuitdm);CHKERRQ(ierr); > ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); > ierr = DMGetLocalVector(circuitdm,&localF);CHKERRQ(ierr); > ierr = VecSet(F,0.0);CHKERRQ(ierr); > > ierr = >DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > ierr = >DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > > ierr = >DMGlobalToLocalBegin(circuitdm,F,INSERT_VALUES,localF);CHKERRQ(ierr); > ierr = >DMGlobalToLocalEnd(circuitdm,F,INSERT_VALUES,localF);CHKERRQ(ierr); > > ierr = VecGetArrayRead(localX,&xarr);CHKERRQ(ierr); > ierr = VecGetArray(localF,&farr);CHKERRQ(ierr); > > ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); > > for (v=vStart; v < vEnd; v++) { > PetscBool ghostvtex; > ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); > if (ghostvtex) { > continue; // TODO is that ok? > } > > PetscInt keyv; > ierr = >DMCircuitGetComponentTypeOffset(circuitdm,v,0,&keyv,&offsetlink);CHKERRQ(i >err); > > LINKDATA link = (LINKDATA)(arr+offsetlink); > > PetscScalar inflow = link->packet_generation; > PetscScalar Pfree = 1; > > PetscInt nconnedges; > const PetscInt *connedges; > ierr = >DMCircuitGetSupportingEdges(circuitdm,v,&nconnedges,&connedges);CHKERRQ(ie >rr); > for (PetscInt i = 0; i < nconnedges; i++) { > e = connedges[i]; > > const PetscInt *cone; > ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); > vaffected = cone[0]; > vsource = cone[1]; > > if (vaffected == v) { > PetscInt keye; > ierr = >DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie >rr); > RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); > > ierr = >DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); > > switch (relation->type) { > case REL_INTERFERENCE: > Pfree *= 1 - xarr[offsetsource+VAR_ACCESS]; > break; > case REL_INFLOW: > inflow += xarr[offsetsource+VAR_SUCCESS]; > break; > } > } > } > > ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); > farr[offset+VAR_ACCESS] = inflow - xarr[offset+VAR_ACCESS]; > farr[offset+VAR_SUCCESS] = xarr[offset+VAR_ACCESS]*Pfree - >xarr[offset+VAR_SUCCESS]; > } > > ierr = VecRestoreArrayRead(localX,&xarr);CHKERRQ(ierr); > ierr = VecRestoreArray(localF,&farr);CHKERRQ(ierr); > ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); > > ierr = >DMLocalToGlobalBegin(circuitdm,localF,ADD_VALUES,F);CHKERRQ(ierr); > ierr = DMLocalToGlobalEnd(circuitdm,localF,ADD_VALUES,F);CHKERRQ(ierr); > ierr = DMRestoreLocalVector(circuitdm,&localF);CHKERRQ(ierr); > > PetscFunctionReturn(0); >} > > >#undef __FUNCT__ >#define __FUNCT__ "FormJacobian" >PetscErrorCode FormJacobian(SNES snes,Vec X, Mat *J,Mat >*Jpre,MatStructure *flg,void *appctx) >{ > PetscErrorCode ierr; > DM circuitdm; > Vec localX; > PetscInt e; > PetscInt v,vStart,vEnd,vaffected,vsource; > const PetscScalar *xarr; > PetscInt offsetrel; > DMCircuitComponentGenericDataType *arr; > PetscInt row[1],col[1]; > PetscScalar values[1]; > > PetscFunctionBegin; > *flg = SAME_NONZERO_PATTERN; // TODO ok for this problem? > ierr = MatZeroEntries(*J);CHKERRQ(ierr); > > ierr = SNESGetDM(snes,&circuitdm);CHKERRQ(ierr); > ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); > > ierr = >DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > ierr = >DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > > ierr = VecGetArrayRead(localX,&xarr);CHKERRQ(ierr); > > ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); > > for (v=vStart; v < vEnd; v++) { > PetscInt offset,goffset,offsetsource,goffsetsource; > PetscBool ghostvtex; > > ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); > if (ghostvtex) { > continue; // TODO is that ok? > } > > ierr = >DMCircuitGetVariableGlobalOffset(circuitdm,v,&goffset);CHKERRQ(ierr); > > // TODO some derivatives are constant, can this be handled in >SetInitialValues? > > // TODO can I combine these two MatSetValues? > row[0] = goffset+VAR_ACCESS; > col[0] = goffset+VAR_ACCESS; > values[0] = -1.0; > ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > row[0] = goffset+VAR_SUCCESS; > col[0] = goffset+VAR_SUCCESS; > values[0] = -1.0; > ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > > // Calculate Pfree > // TODO Pfree was already calculated in FromFunction, can I access >that? > PetscScalar Pfree = 1; > > PetscInt nconnedges; > const PetscInt *connedges; > ierr = >DMCircuitGetSupportingEdges(circuitdm,v,&nconnedges,&connedges);CHKERRQ(ie >rr); > for (PetscInt i = 0; i < nconnedges; i++) { > e = connedges[i]; > > const PetscInt *cone; > ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); > vaffected = cone[0]; > vsource = cone[1]; > > if (vaffected == v) { > PetscInt keye; > ierr = >DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie >rr); > RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); > > ierr = >DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); > > if (relation->type == REL_INTERFERENCE) { > Pfree *= 1 - xarr[offsetsource+VAR_ACCESS]; > } > } > } > > row[0] = goffset+VAR_SUCCESS; > col[0] = goffset+VAR_ACCESS; > values[0] = Pfree; > ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > > // Set the derivatives > ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); > PetscScalar inflow = xarr[offset+VAR_ACCESS]; > > for (PetscInt i = 0; i < nconnedges; i++) { > e = connedges[i]; > > const PetscInt *cone; > ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); > vaffected = cone[0]; > vsource = cone[1]; > > if (vaffected == v) { > PetscInt keye; > ierr = >DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie >rr); > RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); > > ierr = >DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); > ierr = >DMCircuitGetVariableGlobalOffset(circuitdm,vsource,&goffsetsource);CHKERRQ >(ierr); > > switch (relation->type) { > case REL_INTERFERENCE: > // TODO Ok to set the entries one by one or is there a better >way? > row[0] = goffset+VAR_SUCCESS; > col[0] = goffsetsource+VAR_ACCESS; > values[0] = -inflow*(Pfree/(1-xarr[offsetsource+VAR_ACCESS])); > ierr = >MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > break; > case REL_INFLOW: > row[0] = goffset+VAR_ACCESS; > col[0] = goffsetsource+VAR_SUCCESS; > values[0] = 1.0; > ierr = >MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > break; > } > } > } > } > > ierr = VecRestoreArrayRead(localX,&xarr);CHKERRQ(ierr); > ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); > > ierr = MatAssemblyBegin(*J,MAT_FINAL_ASSEMBLY);CHKERRQ(ierr); > ierr = MatAssemblyEnd(*J,MAT_FINAL_ASSEMBLY);CHKERRQ(ierr); > > PetscFunctionReturn(0); >} > > > >#undef __FUNCT__ >#define __FUNCT__ "SetInitialValues" >PetscErrorCode SetInitialValues(DM circuitdm,Vec X,void *appctx) >{ > PetscErrorCode ierr; > PetscInt v, vStart, vEnd; > Vec localX; > PetscScalar *xarr; > DMCircuitComponentGenericDataType *arr; > > PetscFunctionBegin; > ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > > ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); > > ierr = VecSet(X,0.0);CHKERRQ(ierr); > ierr = >DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > ierr = >DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > > ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); > ierr = VecGetArray(localX,&xarr);CHKERRQ(ierr); > for (v = vStart; v < vEnd; v++) { > PetscBool ghostvtex; > ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); > if (ghostvtex) { > continue; // TODO is that ok? > } > > PetscInt offsetlink, offset; > PetscInt keyv; > ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); > ierr = >DMCircuitGetComponentTypeOffset(circuitdm,v,0,&keyv,&offsetlink);CHKERRQ(i >err); > > LINKDATA link = (LINKDATA)(arr+offsetlink); > > xarr[offset+VAR_ACCESS] = link->packet_generation; > xarr[offset+VAR_SUCCESS] = link->packet_generation; > } > > ierr = VecRestoreArray(localX,&xarr);CHKERRQ(ierr); > ierr = >DMLocalToGlobalBegin(circuitdm,localX,ADD_VALUES,X);CHKERRQ(ierr); > ierr = DMLocalToGlobalEnd(circuitdm,localX,ADD_VALUES,X);CHKERRQ(ierr); > ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); > PetscFunctionReturn(0); >} > > >#undef __FUNCT__ >#define __FUNCT__ "main" >int main(int argc,char ** argv) >{ > string inputFile = "links.txt"; > PetscErrorCode ierr; > PFDATA pfdata; > PetscInt numEdges=0,numVertices=0; > int *edges = NULL; > PetscInt i; > DM circuitdm; > PetscInt componentkey[2]; > PetscLogStage stage1,stage2; > PetscInt size; > > PetscInitialize(&argc,&argv,"alohaoptions",help); > > ierr = MPI_Comm_rank(PETSC_COMM_WORLD,&rank);CHKERRQ(ierr); > > /* Create an empty circuit object */ > ierr = DMCircuitCreate(PETSC_COMM_WORLD,&circuitdm);CHKERRQ(ierr); > > /* Register the components in the circuit */ > ierr = DMCircuitRegisterComponent(circuitdm,"linkstruct",sizeof(struct >_p_LINKDATA),&componentkey[0]);CHKERRQ(ierr); > ierr = >DMCircuitRegisterComponent(circuitdm,"relationstruct",sizeof(struct >_p_RELATIONDATA),&componentkey[1]);CHKERRQ(ierr); > > ierr = PetscLogStageRegister("Read Data",&stage1);CHKERRQ(ierr); > PetscLogStagePush(stage1); > > /* READ THE DATA */ > if (!rank) { > /* Only rank 0 reads the data */ > ifstream linksF(inputFile.c_str()); > > int ninterferences, ninflows; > linksF >> pfdata.nlinks >> ninterferences >> ninflows; > > numVertices = pfdata.nlinks; > numEdges = pfdata.nrelations = ninterferences + ninflows; > > ierr = PetscMalloc1(pfdata.nlinks,&pfdata.links);CHKERRQ(ierr); > ierr = >PetscMalloc1(pfdata.nrelations,&pfdata.relations);CHKERRQ(ierr); > > for(int i = 0; i < numVertices; i++) { > linksF >> pfdata.links[i].packet_generation; > } > > ierr = PetscMalloc1(2*numEdges,&edges);CHKERRQ(ierr); > > for(int i = 0; i < numEdges; i++) { > linksF >> pfdata.relations[i].affected >> >pfdata.relations[i].source; > > pfdata.relations[i].type = (i < ninterferences) ? REL_INTERFERENCE >: REL_INFLOW; > > edges[2*i] = pfdata.relations[i].affected; > edges[2*i+1] = pfdata.relations[i].source; > } > > linksF.close(); > } > > PetscLogStagePop(); > MPI_Barrier(PETSC_COMM_WORLD); > > ierr = PetscLogStageRegister("Create circuit",&stage2);CHKERRQ(ierr); > PetscLogStagePush(stage2); > /* Set number of nodes/edges */ > ierr = >DMCircuitSetSizes(circuitdm,numVertices,numEdges,PETSC_DETERMINE,PETSC_DET >ERMINE);CHKERRQ(ierr); > /* Add edge connectivity */ > ierr = DMCircuitSetEdgeList(circuitdm,edges);CHKERRQ(ierr); > /* Set up the circuit layout */ > ierr = DMCircuitLayoutSetUp(circuitdm);CHKERRQ(ierr); > > if (!rank) { > ierr = PetscFree(edges);CHKERRQ(ierr); > } > > /* Add circuit components */ > PetscInt eStart, eEnd, vStart, vEnd; > > ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > for (i = vStart; i < vEnd; i++) { > ierr = >DMCircuitAddComponent(circuitdm,i,componentkey[0],&pfdata.links[i-vStart]) >;CHKERRQ(ierr); > > /* Add number of variables */ > ierr = DMCircuitAddNumVariables(circuitdm,i,VAR_NVARS);CHKERRQ(ierr); > } > > ierr = DMCircuitGetEdgeRange(circuitdm,&eStart,&eEnd);CHKERRQ(ierr); > for (i = eStart; i < eEnd; i++) { > ierr = >DMCircuitAddComponent(circuitdm,i,componentkey[1],&pfdata.relations[i-eSta >rt]);CHKERRQ(ierr); > } > > /* Set up DM for use */ > ierr = DMSetUp(circuitdm);CHKERRQ(ierr); > > if (!rank) { > ierr = PetscFree(pfdata.links);CHKERRQ(ierr); > ierr = PetscFree(pfdata.relations);CHKERRQ(ierr); > } > > > ierr = MPI_Comm_size(PETSC_COMM_WORLD,&size);CHKERRQ(ierr); > if (size > 1) { > DM distcircuitdm; > /* Circuit partitioning and distribution of data */ > ierr = DMCircuitDistribute(circuitdm,&distcircuitdm);CHKERRQ(ierr); > ierr = DMDestroy(&circuitdm);CHKERRQ(ierr); > circuitdm = distcircuitdm; > } > > PetscLogStagePop(); > > Vec X,F; > ierr = DMCreateGlobalVector(circuitdm,&X);CHKERRQ(ierr); > ierr = VecDuplicate(X,&F);CHKERRQ(ierr); > > Mat J; > ierr = DMCreateMatrix(circuitdm,&J);CHKERRQ(ierr); > ierr = >MatSetOption(J,MAT_NEW_NONZERO_ALLOCATION_ERR,PETSC_FALSE);CHKERRQ(ierr); > > ierr = SetInitialValues(circuitdm,X,NULL);CHKERRQ(ierr); > > SNES snes; > /* HOOK UP SOLVER */ > ierr = SNESCreate(PETSC_COMM_WORLD,&snes);CHKERRQ(ierr); > ierr = SNESSetDM(snes,circuitdm);CHKERRQ(ierr); > ierr = SNESSetFunction(snes,F,FormFunction,NULL);CHKERRQ(ierr); > ierr = SNESSetJacobian(snes,J,J,FormJacobian,NULL);CHKERRQ(ierr); > ierr = SNESSetFromOptions(snes);CHKERRQ(ierr); > > ierr = SNESSolve(snes,NULL,X);CHKERRQ(ierr); > ierr = VecView(X,NULL);CHKERRQ(ierr); > > ierr = VecDestroy(&X);CHKERRQ(ierr); > ierr = VecDestroy(&F);CHKERRQ(ierr); > ierr = MatDestroy(&J);CHKERRQ(ierr); > > ierr = SNESDestroy(&snes);CHKERRQ(ierr); > ierr = DMDestroy(&circuitdm);CHKERRQ(ierr); > > PetscFinalize(); > return 0; >} From danyang.su at gmail.com Sun Feb 16 23:54:27 2014 From: danyang.su at gmail.com (Danyang Su) Date: Sun, 16 Feb 2014 21:54:27 -0800 Subject: [petsc-users] KSP solver iteration stop criteria In-Reply-To: <06C691C8-9E81-4E36-9A0E-CB08E26B3324@mcs.anl.gov> References: <52FE6982.5040904@gmail.com> <59CA4974-9471-4C66-B30B-E7DF7F535022@mcs.anl.gov> <53004F6A.9020305@gmail.com> <375B2C9E-9899-41A8-9504-004D8109DF55@mcs.anl.gov> <53007106.5010102@gmail.com> <06C691C8-9E81-4E36-9A0E-CB08E26B3324@mcs.anl.gov> Message-ID: <5301A413.4060507@gmail.com> On 16/02/2014 6:00 AM, Barry Smith wrote: > On Feb 16, 2014, at 2:04 AM, Danyang Su wrote: > >> Thanks for the quick reply. >> I just made a second check on it. I use the preconditioned norm type for both runs. The ex2f was taken as the example to implement MyKSPConverged. For KSPDefaultConverged, I comment out the codes between "!***", for MyKSPConverged, just uncomment this section. See below. >> > What is x? It does not appear to be declared. How does this code compile? > > You cannot use the solution vector passed to KSPSolve() for your own use, it is actively being used by KSP. x is declared in the module variable outside this subroutine. Do you mean the vector x, u, b and mat a should be declared inside the subroutine only? Thanks, Danyang > > Barry > > > >> subroutine mykspconverged(ksp,n,rnorm,flag,dummy,ierr) >> implicit none >> KSP :: ksp >> PetscErrorCode :: ierr >> PetscInt :: n,dummy >> KSPConvergedReason :: flag >> PetscReal :: rnorm >> >> !****This section is comment out for KSPDefaultConverged option**** >> if(n > 0) then >> call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierrcode) >> call KSPGetRhs(ksp, b, ierrcode) >> call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierrcode) >> call MatMult(a, x, u, ierrcode) >> call VecAXPY(u, neg_one, b, ierrcode) >> call VecNormBegin(u, Norm_2, rnorm, ierrcode) >> call VecNormEnd(u, Norm_2, rnorm, ierrcode) >> end if >> !*************************************************************** >> >> if (n > 0 .and. rnorm< rtol) then >> flag = 1 >> else >> flag = 0 >> endif >> ierr = 0 >> end subroutine mykspconverged >> >> On 15/02/2014 10:05 PM, Barry Smith wrote: >>> What is different in the two runs below? Are you using -ksp_norm_type unpreconditioned in one case and not the other? >>> >>> What KSPType are you using? >>> >>> If the options are identical the residual norms (both preconditioned and true) should be identical for each run, changing the convergence test should not affect the residuals being printed at all (it would only possibly change when it decides it has converged). >>> >>> Barry >>> >>> On Feb 15, 2014, at 11:40 PM, Danyang Su wrote: >>>>> -ksp_norm_type unpreconditioned -ksp_set_pc_side right >>>>> >>>> The "-ksp_norm_type unpreconditioned" does not work well for my cases. When I set the following function in MyKSPConverged function, the result is different from KSPDefaultConverged though the same number of iteration is used. >>>> call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierrcode) >>>> call KSPGetRhs(ksp, b, ierrcode) >>>> call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierrcode) >>>> call MatMult(a, x, u, ierrcode) >>>> call VecAXPY(u, neg_one, b, ierrcode) >>>> call VecNormBegin(u, Norm_2, rnorm_true, ierrcode) >>>> call VecNormEnd(u, Norm_2, rnorm_true, ierrcode) >>>> >>>> The residual in the first few time steps are as follows: >>>> >>>> Residual by KSPDefaultConverged >>>> 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 >>>> 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 >>>> 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 >>>> 1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.612654804265e+008 ||r(i)||/||b|| 1.383632056862e-003 >>>> 0 KSP preconditioned resid norm 5.245498186783e-003 true resid norm 3.496944019232e+010 ||r(i)||/||b|| 1.000000000000e+000 >>>> 1 KSP preconditioned resid norm 4.876784688167e-008 true resid norm 9.615426089812e+007 ||r(i)||/||b|| 2.749665432712e-003 >>>> >>>> Residual by MYKSPConverged >>>> 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 >>>> 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 >>>> 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 >>>> 1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.165341354855e+011 ||r(i)||/||b|| 9.998442639434e-001 >>>> 0 KSP preconditioned resid norm 7.321104403842e-003 true resid norm 4.661428829096e+010 ||r(i)||/||b|| 1.000000000000e+000 >>>> 1 KSP preconditioned resid norm 2.815380746230e-008 true resid norm 4.661536958529e+010 ||r(i)||/||b|| 1.000023196628e+000 >>>> >>>> Is there anything wrong in MyKSPConverged function because the result get even worse later and at last failed in newton iteration. >>>> >>>> If I use KSPDefaultConverged, it can work but after some steps, the true residual norm become very small but the solver still need a lot of iteration as the relative preconditioned residual norm does not match the convergence criteria. What I need is to stop the iteration when either preconditioned residual norm (rtol) or true residual norm matches the stop criteria. >>>> >>>> 0 KSP preconditioned resid norm 4.208619583781e-002 true resid norm 2.227983625699e-005 ||r(i)||/||b|| 1.000000000000e+000 >>>> 1 KSP preconditioned resid norm 6.403275610900e-003 true resid norm 2.795175726580e-007 ||r(i)||/||b|| 1.254576422528e-002 >>>> 2 KSP preconditioned resid norm 7.416300263102e-004 true resid norm 3.382118379502e-010 ||r(i)||/||b|| 1.518017610404e-005 I want to stop iteration here as the true residual meet the stop criteria. >>>> 3 KSP preconditioned resid norm 6.144409100696e-005 true resid norm 1.260466100377e-009 ||r(i)||/||b|| 5.657429820568e-005 >>>> 4 KSP preconditioned resid norm 4.990158094666e-005 true resid norm 3.632496726225e-008 ||r(i)||/||b|| 1.630396509349e-003 >>>> 5 KSP preconditioned resid norm 2.743769015994e-005 true resid norm 1.101666758939e-009 ||r(i)||/||b|| 4.944680680017e-005 >>>> 6 KSP preconditioned resid norm 4.269805798759e-006 true resid norm 7.915494521121e-011 ||r(i)||/||b|| 3.552761532813e-006 >>>> 7 KSP preconditioned resid norm 1.632413041808e-006 true resid norm 1.163794439302e-009 ||r(i)||/||b|| 5.223532282187e-005 >>>> 8 KSP preconditioned resid norm 8.010590587547e-007 true resid norm 1.246839309256e-011 ||r(i)||/||b|| 5.596267831030e-007 >>>> 9 KSP preconditioned resid norm 4.794695759395e-007 true resid norm 3.155943984006e-012 ||r(i)||/||b|| 1.416502324166e-007 >>>> 10 KSP preconditioned resid norm 4.500033799628e-007 true resid norm 4.554787575528e-011 ||r(i)||/||b|| 2.044354151884e-006 >>>> >>>> Thanks, >>>> >>>> Danyang >>>>> Don?t include the -ksp_set_pc_side right if you are using CG. >>>>> >>>>> Barry >>>>> >>>>> >>>>> >>>>>> Thanks and regards, >>>>>> >>>>>> Danyang >>>>>> From sylvainmercier85 at gmail.com Mon Feb 17 04:42:47 2014 From: sylvainmercier85 at gmail.com (Sylvain Mercier) Date: Mon, 17 Feb 2014 11:42:47 +0100 Subject: [petsc-users] Use of PCApplyBAorAB with PC_SYMMETRIC side Message-ID: Hello everyone, I want to use PCApplyBAorAB symmetrically with a preconditioner from an ICC factorization. However, I don't understand why the result is not the same if I use a natural or a RCM ordering during the factorization. This problem does not occur if I use this routine with PC_LEFT or PC_RIGHT I have put in attachment a code to illustrate the problem. I compute a symmetric matix A in R^{n*n} and a full rank matrix B in R^{m*n} I compute an ICC factorization of the SPD matrix A+B^TB to precondition A. Thank you! Sylvain Mercier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: testPCApplyBAorAB.F Type: text/x-fortran Size: 4981 bytes Desc: not available URL: From torquil at gmail.com Mon Feb 17 05:42:30 2014 From: torquil at gmail.com (=?UTF-8?Q?Torquil_Macdonald_S=C3=B8rensen?=) Date: Mon, 17 Feb 2014 12:42:30 +0100 Subject: [petsc-users] Four dimensions Message-ID: How well is PETSC suited for solving elliptic PDEs on four-dimensional domains? Looking at the list of commands, I see e.g. DMDACreate{1d,2d,3d} with no 4d version. On the other hand, I see you have VecGetArray{1d,2d,3d,4d}. Is there e.g. a convenient way of using the PETSCs data structures for solving the Poisson equation on a 4d "cube"? Best regards Torquil S?rensen -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Mon Feb 17 07:12:39 2014 From: knepley at gmail.com (Matthew Knepley) Date: Mon, 17 Feb 2014 07:12:39 -0600 Subject: [petsc-users] Four dimensions In-Reply-To: References: Message-ID: On Mon, Feb 17, 2014 at 5:42 AM, Torquil Macdonald S?rensen < torquil at gmail.com> wrote: > How well is PETSC suited for solving elliptic PDEs on four-dimensional > domains? Looking at the list of commands, I see e.g. DMDACreate{1d,2d,3d} > with no 4d version. On the other hand, I see you have > VecGetArray{1d,2d,3d,4d}. > > Is there e.g. a convenient way of using the PETSCs data structures for > solving the Poisson equation on a 4d "cube"? > There is no 4d DA. The problem is that the routines for communication are not generic in dimension. I see at least two avenues: 1) Use DMPlex This would have the communication done, but none of the nice array extraction routines 2) Write the 4d routines for communication setup This sounds like a fair amount of work (there have already been some failures), but its not hard to understand. We could help if this is what you want to do. Are you looking to use 4d arrays to interact with it? Matt > Best regards > Torquil S?rensen > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Mon Feb 17 07:28:32 2014 From: knepley at gmail.com (Matthew Knepley) Date: Mon, 17 Feb 2014 07:28:32 -0600 Subject: [petsc-users] Plex mesh reference element In-Reply-To: References: Message-ID: On Tue, Feb 11, 2014 at 7:50 AM, Dharmendar Reddy wrote: > Hello, > Where do i find the information on reference elements used by > plex for local numbering. > You can use PetscDualSpaceCreateReferenceCell(sp, dim, isSimplex, &refCell) PetscViewerPushFormat(PETSC_VIEWER_STDOUT_WORLD, PETSC_VIEWER_ASCII_INFO_DETAIL) DMView(refCell, PETSC_VIEWER_STDOUT_WORLD) Matt I currently use the following for the tetrahedron. Is this correct ? > what is the corresponding information for a triangle ? > > ! Vertex coordiantes > vert(1:3,1)=[0.0, 0.0, 0.0] > vert(1:3,2)=[1.0, 0.0, 0.0] > vert(1:3,3)=[0.0, 1.0, 0.0] > vert(1:3,4)=[0.0, 0.0, 1.0] > > ! vertex intdices > vs(1:4)= [1, 2, 3, 4] > > ! Edges id to node Id > edge(:,1) = [3, 4] > edge(:,2) = [2, 4] > edge(:,3) = [2, 3] > edge(:,4) = [1, 4] > edge(:,5) = [1, 3] > edge(:,6) = [1, 2] > > ! Faces id to node id > face(1:3,1)=[2,3,4] > face(1:3,2)=[1,3,4] > face(1:3,3)=[1,2,4] > face(1:3,4)=[1,2,3] > numFacet = 4 > > ! Tets > tet(1:4,1) = [1,2,3,4] > thanks > Reddy > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From florian.meier at koalo.de Mon Feb 17 08:05:11 2014 From: florian.meier at koalo.de (Florian Meier) Date: Mon, 17 Feb 2014 15:05:11 +0100 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: References: Message-ID: <53021717.7060404@koalo.de> Thank you very much for your review. On 02/17/2014 02:50 AM, Abhyankar, Shrirang G. wrote: > Hi Florian, > I was able to run your example with a small change (used PetscMalloc > instead of PetscMalloc1). That is strange. When I use PetscMalloc, it says "Memory corruption!". > However, the solution on more than 1 processor > is different presumably because of some work "TODO" for the ghost vertices. I do not really understand these ghost vertices. I thought it would be ok to just skip those when I iterate over the vertices, but not when I iterate over the edges, but apparently that is not the case. > Answers to some of your questions in the code: > I) You can change the non-zero pattern of the Jacobian matrix. But note > that if the network topology then I think the circuit would need to be > re-built. I do not know if I really change the non-zero pattern. What I mean is the following: Some entries in the Jacobian MIGHT be zero not because of the structure of the problem is changing, but just because the partial derivative for a special x is (near) zero by chance. > II) If some of the Jacobian matrix entries are constant then you can use > MatStoreValues > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatStoreVal > ues.html#MatStoreValues to set the constant terms once before the Newton > loop and retrieve these via MatRetrieveValues > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatRetrieve > Values.html#MatRetrieveValues during the Jacobian evaluation. That looks great! Do I have to set the non-constant elements in MatStoreValues, too, so that the structure does not change? > III) The Jacobian matrix for your application has a 2 X 2 structure. So > you can set the entires in each block through one MatSetValues call. It has? I would say that is not the case since all partial derivatives might be non-zero when there is a relation (look into the PDF I send you). But maybe I just do not know what you mean by 2 X 2 structure or what is mean to NOT have a 2 X 2 structure. > IV) If you want to reuse some term that calculated in the function > evaluation (Pfree) during the Jacobian evaluation then you can either use > your own user context or save the term in the component array. That is a good idea. I will try to save it into the component array. Can I assume that FormFunction always gets called before FormJacobian with the same x? > Thanks once again for contributing this example. Once you have fixed the > ghost vertex part and get the same solution with different number of > processors, I'll add it to the PETSc repository. Let us know if you have > any more questions. Thanks again, Florian > On 2/14/14 11:25 AM, "Florian Meier" wrote: > >> Ok, that was just a stupid typo. >> I have now build the first attempt of an example. >> I am sure that can be programmed in a much better way, >> so I would be very glad about any comment. What is your >> preferred review procedure? >> >> Greetings, >> Florian >> >> static char help[] = "This example demonstrates the DMCircuit interface >> for a radio network flow problem.\n\ >> The available solver options are in the >> alohaoptions file.\n\ >> The file links.txt contains the network >> description.\n\ >> Run this program: mpiexec -n ./PF\n \ >> mpiexec -n ./PF -pfdata \n"; >> >> /** >> This computes a greatly simplified model of a radio network. >> Each node in the network generates packets conforming to a poisson >> distribution (given rate R_gen). >> These packets are routed along fixed paths to a sink. When two packets >> are send at the same time, >> they are dropped. No channel sensing or retransmission takes place. >> >> Each active link (i.e. each radio link that will eventually transmit >> data) is modeled as a vertex. >> Between those vertices there exist two kinds of relations: >> A relation of type REL_INTERFERENCE(affected, source), implies that >> whenever the source link tries >> to send at the same time than the affected link, the packet will collide >> and is not received properly. >> A relation of type REL_INFLOW(affected, source) implies that each packet >> that is send via the source >> link and does not collide, adds up to the amount of packets send via the >> affected link. >> >> The overall rate of accessing a radio link i is >> R_access,i = R_gen,i + SUM_OVER_INFLOWS( R_success,j ) >> >> The probability that no other link interfering with i accesses the >> channel at a given point in time is >> P_free,i = PRODUCT_OVER_INTERFERERS( 1 - R_access,j ) >> >> Finally, the overall rate of successful transmissions over link i is >> R_success,i = R_access,i * P_free,i >> >> The input file is structured as follows: >> The first line contains L, the number of links, I, the number of >> interferences and F, the number of inflow relations. >> Then L lines follow with the packet generation rate for each link. >> The subsequent I lines describe the affected and the source link of the >> respective interference relation. >> The final F lines represent the inflow relations. >> */ >> >> #include >> #include >> >> #include >> #include >> >> using namespace std; >> >> enum { >> REL_INTERFERENCE, >> REL_INFLOW >> }; >> >> enum { >> VAR_ACCESS, >> VAR_SUCCESS, >> VAR_NVARS >> }; >> >> struct _p_LINKDATA{ >> PetscScalar packet_generation; >> }; >> >> typedef struct _p_LINKDATA *LINKDATA; >> >> struct _p_RELATIONDATA{ >> PetscInt source; >> PetscInt affected; >> PetscInt type; >> }; >> >> typedef struct _p_RELATIONDATA *RELATIONDATA; >> >> typedef struct { >> PetscInt nlinks,nrelations; /* # of nodes,relations */ >> LINKDATA links; >> RELATIONDATA relations; >> } PFDATA; >> >> >> PetscMPIInt rank; >> >> #undef __FUNCT__ >> #define __FUNCT__ "FormFunction" >> PetscErrorCode FormFunction(SNES snes,Vec X, Vec F,void *appctx) >> { >> PetscErrorCode ierr; >> DM circuitdm; >> Vec localX,localF; >> PetscInt e; >> PetscInt v,vStart,vEnd,vaffected,vsource; >> const PetscScalar *xarr; >> PetscScalar *farr; >> PetscInt offset,offsetsource,offsetlink,offsetrel; >> DMCircuitComponentGenericDataType *arr; >> >> PetscFunctionBegin; >> ierr = SNESGetDM(snes,&circuitdm);CHKERRQ(ierr); >> ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); >> ierr = DMGetLocalVector(circuitdm,&localF);CHKERRQ(ierr); >> ierr = VecSet(F,0.0);CHKERRQ(ierr); >> >> ierr = >> DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); >> ierr = >> DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); >> >> ierr = >> DMGlobalToLocalBegin(circuitdm,F,INSERT_VALUES,localF);CHKERRQ(ierr); >> ierr = >> DMGlobalToLocalEnd(circuitdm,F,INSERT_VALUES,localF);CHKERRQ(ierr); >> >> ierr = VecGetArrayRead(localX,&xarr);CHKERRQ(ierr); >> ierr = VecGetArray(localF,&farr);CHKERRQ(ierr); >> >> ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); >> ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); >> >> for (v=vStart; v < vEnd; v++) { >> PetscBool ghostvtex; >> ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); >> if (ghostvtex) { >> continue; // TODO is that ok? >> } >> >> PetscInt keyv; >> ierr = >> DMCircuitGetComponentTypeOffset(circuitdm,v,0,&keyv,&offsetlink);CHKERRQ(i >> err); >> >> LINKDATA link = (LINKDATA)(arr+offsetlink); >> >> PetscScalar inflow = link->packet_generation; >> PetscScalar Pfree = 1; >> >> PetscInt nconnedges; >> const PetscInt *connedges; >> ierr = >> DMCircuitGetSupportingEdges(circuitdm,v,&nconnedges,&connedges);CHKERRQ(ie >> rr); >> for (PetscInt i = 0; i < nconnedges; i++) { >> e = connedges[i]; >> >> const PetscInt *cone; >> ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); >> vaffected = cone[0]; >> vsource = cone[1]; >> >> if (vaffected == v) { >> PetscInt keye; >> ierr = >> DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie >> rr); >> RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); >> >> ierr = >> DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); >> >> switch (relation->type) { >> case REL_INTERFERENCE: >> Pfree *= 1 - xarr[offsetsource+VAR_ACCESS]; >> break; >> case REL_INFLOW: >> inflow += xarr[offsetsource+VAR_SUCCESS]; >> break; >> } >> } >> } >> >> ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); >> farr[offset+VAR_ACCESS] = inflow - xarr[offset+VAR_ACCESS]; >> farr[offset+VAR_SUCCESS] = xarr[offset+VAR_ACCESS]*Pfree - >> xarr[offset+VAR_SUCCESS]; >> } >> >> ierr = VecRestoreArrayRead(localX,&xarr);CHKERRQ(ierr); >> ierr = VecRestoreArray(localF,&farr);CHKERRQ(ierr); >> ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); >> >> ierr = >> DMLocalToGlobalBegin(circuitdm,localF,ADD_VALUES,F);CHKERRQ(ierr); >> ierr = DMLocalToGlobalEnd(circuitdm,localF,ADD_VALUES,F);CHKERRQ(ierr); >> ierr = DMRestoreLocalVector(circuitdm,&localF);CHKERRQ(ierr); >> >> PetscFunctionReturn(0); >> } >> >> >> #undef __FUNCT__ >> #define __FUNCT__ "FormJacobian" >> PetscErrorCode FormJacobian(SNES snes,Vec X, Mat *J,Mat >> *Jpre,MatStructure *flg,void *appctx) >> { >> PetscErrorCode ierr; >> DM circuitdm; >> Vec localX; >> PetscInt e; >> PetscInt v,vStart,vEnd,vaffected,vsource; >> const PetscScalar *xarr; >> PetscInt offsetrel; >> DMCircuitComponentGenericDataType *arr; >> PetscInt row[1],col[1]; >> PetscScalar values[1]; >> >> PetscFunctionBegin; >> *flg = SAME_NONZERO_PATTERN; // TODO ok for this problem? >> ierr = MatZeroEntries(*J);CHKERRQ(ierr); >> >> ierr = SNESGetDM(snes,&circuitdm);CHKERRQ(ierr); >> ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); >> >> ierr = >> DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); >> ierr = >> DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); >> >> ierr = VecGetArrayRead(localX,&xarr);CHKERRQ(ierr); >> >> ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); >> ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); >> >> for (v=vStart; v < vEnd; v++) { >> PetscInt offset,goffset,offsetsource,goffsetsource; >> PetscBool ghostvtex; >> >> ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); >> if (ghostvtex) { >> continue; // TODO is that ok? >> } >> >> ierr = >> DMCircuitGetVariableGlobalOffset(circuitdm,v,&goffset);CHKERRQ(ierr); >> >> // TODO some derivatives are constant, can this be handled in >> SetInitialValues? >> >> // TODO can I combine these two MatSetValues? >> row[0] = goffset+VAR_ACCESS; >> col[0] = goffset+VAR_ACCESS; >> values[0] = -1.0; >> ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); >> row[0] = goffset+VAR_SUCCESS; >> col[0] = goffset+VAR_SUCCESS; >> values[0] = -1.0; >> ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); >> >> // Calculate Pfree >> // TODO Pfree was already calculated in FromFunction, can I access >> that? >> PetscScalar Pfree = 1; >> >> PetscInt nconnedges; >> const PetscInt *connedges; >> ierr = >> DMCircuitGetSupportingEdges(circuitdm,v,&nconnedges,&connedges);CHKERRQ(ie >> rr); >> for (PetscInt i = 0; i < nconnedges; i++) { >> e = connedges[i]; >> >> const PetscInt *cone; >> ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); >> vaffected = cone[0]; >> vsource = cone[1]; >> >> if (vaffected == v) { >> PetscInt keye; >> ierr = >> DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie >> rr); >> RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); >> >> ierr = >> DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); >> >> if (relation->type == REL_INTERFERENCE) { >> Pfree *= 1 - xarr[offsetsource+VAR_ACCESS]; >> } >> } >> } >> >> row[0] = goffset+VAR_SUCCESS; >> col[0] = goffset+VAR_ACCESS; >> values[0] = Pfree; >> ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); >> >> // Set the derivatives >> ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); >> PetscScalar inflow = xarr[offset+VAR_ACCESS]; >> >> for (PetscInt i = 0; i < nconnedges; i++) { >> e = connedges[i]; >> >> const PetscInt *cone; >> ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); >> vaffected = cone[0]; >> vsource = cone[1]; >> >> if (vaffected == v) { >> PetscInt keye; >> ierr = >> DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie >> rr); >> RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); >> >> ierr = >> DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); >> ierr = >> DMCircuitGetVariableGlobalOffset(circuitdm,vsource,&goffsetsource);CHKERRQ >> (ierr); >> >> switch (relation->type) { >> case REL_INTERFERENCE: >> // TODO Ok to set the entries one by one or is there a better >> way? >> row[0] = goffset+VAR_SUCCESS; >> col[0] = goffsetsource+VAR_ACCESS; >> values[0] = -inflow*(Pfree/(1-xarr[offsetsource+VAR_ACCESS])); >> ierr = >> MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); >> break; >> case REL_INFLOW: >> row[0] = goffset+VAR_ACCESS; >> col[0] = goffsetsource+VAR_SUCCESS; >> values[0] = 1.0; >> ierr = >> MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); >> break; >> } >> } >> } >> } >> >> ierr = VecRestoreArrayRead(localX,&xarr);CHKERRQ(ierr); >> ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); >> >> ierr = MatAssemblyBegin(*J,MAT_FINAL_ASSEMBLY);CHKERRQ(ierr); >> ierr = MatAssemblyEnd(*J,MAT_FINAL_ASSEMBLY);CHKERRQ(ierr); >> >> PetscFunctionReturn(0); >> } >> >> >> >> #undef __FUNCT__ >> #define __FUNCT__ "SetInitialValues" >> PetscErrorCode SetInitialValues(DM circuitdm,Vec X,void *appctx) >> { >> PetscErrorCode ierr; >> PetscInt v, vStart, vEnd; >> Vec localX; >> PetscScalar *xarr; >> DMCircuitComponentGenericDataType *arr; >> >> PetscFunctionBegin; >> ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); >> >> ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); >> >> ierr = VecSet(X,0.0);CHKERRQ(ierr); >> ierr = >> DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); >> ierr = >> DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); >> >> ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); >> ierr = VecGetArray(localX,&xarr);CHKERRQ(ierr); >> for (v = vStart; v < vEnd; v++) { >> PetscBool ghostvtex; >> ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); >> if (ghostvtex) { >> continue; // TODO is that ok? >> } >> >> PetscInt offsetlink, offset; >> PetscInt keyv; >> ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); >> ierr = >> DMCircuitGetComponentTypeOffset(circuitdm,v,0,&keyv,&offsetlink);CHKERRQ(i >> err); >> >> LINKDATA link = (LINKDATA)(arr+offsetlink); >> >> xarr[offset+VAR_ACCESS] = link->packet_generation; >> xarr[offset+VAR_SUCCESS] = link->packet_generation; >> } >> >> ierr = VecRestoreArray(localX,&xarr);CHKERRQ(ierr); >> ierr = >> DMLocalToGlobalBegin(circuitdm,localX,ADD_VALUES,X);CHKERRQ(ierr); >> ierr = DMLocalToGlobalEnd(circuitdm,localX,ADD_VALUES,X);CHKERRQ(ierr); >> ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); >> PetscFunctionReturn(0); >> } >> >> >> #undef __FUNCT__ >> #define __FUNCT__ "main" >> int main(int argc,char ** argv) >> { >> string inputFile = "links.txt"; >> PetscErrorCode ierr; >> PFDATA pfdata; >> PetscInt numEdges=0,numVertices=0; >> int *edges = NULL; >> PetscInt i; >> DM circuitdm; >> PetscInt componentkey[2]; >> PetscLogStage stage1,stage2; >> PetscInt size; >> >> PetscInitialize(&argc,&argv,"alohaoptions",help); >> >> ierr = MPI_Comm_rank(PETSC_COMM_WORLD,&rank);CHKERRQ(ierr); >> >> /* Create an empty circuit object */ >> ierr = DMCircuitCreate(PETSC_COMM_WORLD,&circuitdm);CHKERRQ(ierr); >> >> /* Register the components in the circuit */ >> ierr = DMCircuitRegisterComponent(circuitdm,"linkstruct",sizeof(struct >> _p_LINKDATA),&componentkey[0]);CHKERRQ(ierr); >> ierr = >> DMCircuitRegisterComponent(circuitdm,"relationstruct",sizeof(struct >> _p_RELATIONDATA),&componentkey[1]);CHKERRQ(ierr); >> >> ierr = PetscLogStageRegister("Read Data",&stage1);CHKERRQ(ierr); >> PetscLogStagePush(stage1); >> >> /* READ THE DATA */ >> if (!rank) { >> /* Only rank 0 reads the data */ >> ifstream linksF(inputFile.c_str()); >> >> int ninterferences, ninflows; >> linksF >> pfdata.nlinks >> ninterferences >> ninflows; >> >> numVertices = pfdata.nlinks; >> numEdges = pfdata.nrelations = ninterferences + ninflows; >> >> ierr = PetscMalloc1(pfdata.nlinks,&pfdata.links);CHKERRQ(ierr); >> ierr = >> PetscMalloc1(pfdata.nrelations,&pfdata.relations);CHKERRQ(ierr); >> >> for(int i = 0; i < numVertices; i++) { >> linksF >> pfdata.links[i].packet_generation; >> } >> >> ierr = PetscMalloc1(2*numEdges,&edges);CHKERRQ(ierr); >> >> for(int i = 0; i < numEdges; i++) { >> linksF >> pfdata.relations[i].affected >> >> pfdata.relations[i].source; >> >> pfdata.relations[i].type = (i < ninterferences) ? REL_INTERFERENCE >> : REL_INFLOW; >> >> edges[2*i] = pfdata.relations[i].affected; >> edges[2*i+1] = pfdata.relations[i].source; >> } >> >> linksF.close(); >> } >> >> PetscLogStagePop(); >> MPI_Barrier(PETSC_COMM_WORLD); >> >> ierr = PetscLogStageRegister("Create circuit",&stage2);CHKERRQ(ierr); >> PetscLogStagePush(stage2); >> /* Set number of nodes/edges */ >> ierr = >> DMCircuitSetSizes(circuitdm,numVertices,numEdges,PETSC_DETERMINE,PETSC_DET >> ERMINE);CHKERRQ(ierr); >> /* Add edge connectivity */ >> ierr = DMCircuitSetEdgeList(circuitdm,edges);CHKERRQ(ierr); >> /* Set up the circuit layout */ >> ierr = DMCircuitLayoutSetUp(circuitdm);CHKERRQ(ierr); >> >> if (!rank) { >> ierr = PetscFree(edges);CHKERRQ(ierr); >> } >> >> /* Add circuit components */ >> PetscInt eStart, eEnd, vStart, vEnd; >> >> ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); >> for (i = vStart; i < vEnd; i++) { >> ierr = >> DMCircuitAddComponent(circuitdm,i,componentkey[0],&pfdata.links[i-vStart]) >> ;CHKERRQ(ierr); >> >> /* Add number of variables */ >> ierr = DMCircuitAddNumVariables(circuitdm,i,VAR_NVARS);CHKERRQ(ierr); >> } >> >> ierr = DMCircuitGetEdgeRange(circuitdm,&eStart,&eEnd);CHKERRQ(ierr); >> for (i = eStart; i < eEnd; i++) { >> ierr = >> DMCircuitAddComponent(circuitdm,i,componentkey[1],&pfdata.relations[i-eSta >> rt]);CHKERRQ(ierr); >> } >> >> /* Set up DM for use */ >> ierr = DMSetUp(circuitdm);CHKERRQ(ierr); >> >> if (!rank) { >> ierr = PetscFree(pfdata.links);CHKERRQ(ierr); >> ierr = PetscFree(pfdata.relations);CHKERRQ(ierr); >> } >> >> >> ierr = MPI_Comm_size(PETSC_COMM_WORLD,&size);CHKERRQ(ierr); >> if (size > 1) { >> DM distcircuitdm; >> /* Circuit partitioning and distribution of data */ >> ierr = DMCircuitDistribute(circuitdm,&distcircuitdm);CHKERRQ(ierr); >> ierr = DMDestroy(&circuitdm);CHKERRQ(ierr); >> circuitdm = distcircuitdm; >> } >> >> PetscLogStagePop(); >> >> Vec X,F; >> ierr = DMCreateGlobalVector(circuitdm,&X);CHKERRQ(ierr); >> ierr = VecDuplicate(X,&F);CHKERRQ(ierr); >> >> Mat J; >> ierr = DMCreateMatrix(circuitdm,&J);CHKERRQ(ierr); >> ierr = >> MatSetOption(J,MAT_NEW_NONZERO_ALLOCATION_ERR,PETSC_FALSE);CHKERRQ(ierr); >> >> ierr = SetInitialValues(circuitdm,X,NULL);CHKERRQ(ierr); >> >> SNES snes; >> /* HOOK UP SOLVER */ >> ierr = SNESCreate(PETSC_COMM_WORLD,&snes);CHKERRQ(ierr); >> ierr = SNESSetDM(snes,circuitdm);CHKERRQ(ierr); >> ierr = SNESSetFunction(snes,F,FormFunction,NULL);CHKERRQ(ierr); >> ierr = SNESSetJacobian(snes,J,J,FormJacobian,NULL);CHKERRQ(ierr); >> ierr = SNESSetFromOptions(snes);CHKERRQ(ierr); >> >> ierr = SNESSolve(snes,NULL,X);CHKERRQ(ierr); >> ierr = VecView(X,NULL);CHKERRQ(ierr); >> >> ierr = VecDestroy(&X);CHKERRQ(ierr); >> ierr = VecDestroy(&F);CHKERRQ(ierr); >> ierr = MatDestroy(&J);CHKERRQ(ierr); >> >> ierr = SNESDestroy(&snes);CHKERRQ(ierr); >> ierr = DMDestroy(&circuitdm);CHKERRQ(ierr); >> >> PetscFinalize(); >> return 0; >> } > From knepley at gmail.com Mon Feb 17 08:39:58 2014 From: knepley at gmail.com (Matthew Knepley) Date: Mon, 17 Feb 2014 08:39:58 -0600 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: <53021717.7060404@koalo.de> References: <53021717.7060404@koalo.de> Message-ID: On Mon, Feb 17, 2014 at 8:05 AM, Florian Meier wrote: > Thank you very much for your review. > > On 02/17/2014 02:50 AM, Abhyankar, Shrirang G. wrote: > > Hi Florian, > > I was able to run your example with a small change (used PetscMalloc > > instead of PetscMalloc1). > > That is strange. When I use PetscMalloc, it says "Memory corruption!". Run under valgrind. There is a bug in the code. > > However, the solution on more than 1 processor > > is different presumably because of some work "TODO" for the ghost > vertices. > > I do not really understand these ghost vertices. I thought it would be > ok to just skip those when I iterate over the vertices, but not when I > iterate over the edges, but apparently that is not the case. Here is how the parallelism works. We partition the edges into disjoint sets, one for each process. Vertices shared by edges on different processes are duplicated, with the "ghost" vertex sitting on all processes that do not own the vertex. > > Answers to some of your questions in the code: > > I) You can change the non-zero pattern of the Jacobian matrix. But note > > that if the network topology then I think the circuit would need to be > > re-built. > > I do not know if I really change the non-zero pattern. What I mean is > the following: Some entries in the Jacobian MIGHT be zero not because of > the structure of the problem is changing, but just because the partial > derivative for a special x is (near) zero by chance. The non-zero pattern of the matrix changes only if your topology changes (or the discretization I guess). > > II) If some of the Jacobian matrix entries are constant then you can use > > MatStoreValues > > > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatStoreVal > > ues.html#MatStoreValues to set the constant terms once before the Newton > > loop and retrieve these via MatRetrieveValues > > > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatRetrieve > > Values.html#MatRetrieveValues during the Jacobian evaluation. > > That looks great! Do I have to set the non-constant elements in > MatStoreValues, too, so that the structure does not change? I would wait to optimize like this until everything works. Matt > > III) The Jacobian matrix for your application has a 2 X 2 structure. So > > you can set the entires in each block through one MatSetValues call. > > It has? I would say that is not the case since all partial derivatives > might be non-zero when there is a relation (look into the PDF I send > you). But maybe I just do not know what you mean by 2 X 2 structure or > what is mean to NOT have a 2 X 2 structure. > > > IV) If you want to reuse some term that calculated in the function > > evaluation (Pfree) during the Jacobian evaluation then you can either use > > your own user context or save the term in the component array. > > That is a good idea. I will try to save it into the component array. Can > I assume that FormFunction always gets called before FormJacobian with > the same x? > > > Thanks once again for contributing this example. Once you have fixed the > > ghost vertex part and get the same solution with different number of > > processors, I'll add it to the PETSc repository. Let us know if you have > > any more questions. > > Thanks again, > Florian > > > On 2/14/14 11:25 AM, "Florian Meier" wrote: > > > >> Ok, that was just a stupid typo. > >> I have now build the first attempt of an example. > >> I am sure that can be programmed in a much better way, > >> so I would be very glad about any comment. What is your > >> preferred review procedure? > >> > >> Greetings, > >> Florian > >> > >> static char help[] = "This example demonstrates the DMCircuit interface > >> for a radio network flow problem.\n\ > >> The available solver options are in the > >> alohaoptions file.\n\ > >> The file links.txt contains the network > >> description.\n\ > >> Run this program: mpiexec -n ./PF\n > \ > >> mpiexec -n ./PF -pfdata \n"; > >> > >> /** > >> This computes a greatly simplified model of a radio network. > >> Each node in the network generates packets conforming to a poisson > >> distribution (given rate R_gen). > >> These packets are routed along fixed paths to a sink. When two packets > >> are send at the same time, > >> they are dropped. No channel sensing or retransmission takes place. > >> > >> Each active link (i.e. each radio link that will eventually transmit > >> data) is modeled as a vertex. > >> Between those vertices there exist two kinds of relations: > >> A relation of type REL_INTERFERENCE(affected, source), implies that > >> whenever the source link tries > >> to send at the same time than the affected link, the packet will collide > >> and is not received properly. > >> A relation of type REL_INFLOW(affected, source) implies that each packet > >> that is send via the source > >> link and does not collide, adds up to the amount of packets send via the > >> affected link. > >> > >> The overall rate of accessing a radio link i is > >> R_access,i = R_gen,i + SUM_OVER_INFLOWS( R_success,j ) > >> > >> The probability that no other link interfering with i accesses the > >> channel at a given point in time is > >> P_free,i = PRODUCT_OVER_INTERFERERS( 1 - R_access,j ) > >> > >> Finally, the overall rate of successful transmissions over link i is > >> R_success,i = R_access,i * P_free,i > >> > >> The input file is structured as follows: > >> The first line contains L, the number of links, I, the number of > >> interferences and F, the number of inflow relations. > >> Then L lines follow with the packet generation rate for each link. > >> The subsequent I lines describe the affected and the source link of the > >> respective interference relation. > >> The final F lines represent the inflow relations. > >> */ > >> > >> #include > >> #include > >> > >> #include > >> #include > >> > >> using namespace std; > >> > >> enum { > >> REL_INTERFERENCE, > >> REL_INFLOW > >> }; > >> > >> enum { > >> VAR_ACCESS, > >> VAR_SUCCESS, > >> VAR_NVARS > >> }; > >> > >> struct _p_LINKDATA{ > >> PetscScalar packet_generation; > >> }; > >> > >> typedef struct _p_LINKDATA *LINKDATA; > >> > >> struct _p_RELATIONDATA{ > >> PetscInt source; > >> PetscInt affected; > >> PetscInt type; > >> }; > >> > >> typedef struct _p_RELATIONDATA *RELATIONDATA; > >> > >> typedef struct { > >> PetscInt nlinks,nrelations; /* # of nodes,relations */ > >> LINKDATA links; > >> RELATIONDATA relations; > >> } PFDATA; > >> > >> > >> PetscMPIInt rank; > >> > >> #undef __FUNCT__ > >> #define __FUNCT__ "FormFunction" > >> PetscErrorCode FormFunction(SNES snes,Vec X, Vec F,void *appctx) > >> { > >> PetscErrorCode ierr; > >> DM circuitdm; > >> Vec localX,localF; > >> PetscInt e; > >> PetscInt v,vStart,vEnd,vaffected,vsource; > >> const PetscScalar *xarr; > >> PetscScalar *farr; > >> PetscInt offset,offsetsource,offsetlink,offsetrel; > >> DMCircuitComponentGenericDataType *arr; > >> > >> PetscFunctionBegin; > >> ierr = SNESGetDM(snes,&circuitdm);CHKERRQ(ierr); > >> ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); > >> ierr = DMGetLocalVector(circuitdm,&localF);CHKERRQ(ierr); > >> ierr = VecSet(F,0.0);CHKERRQ(ierr); > >> > >> ierr = > >> DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > >> ierr = > >> DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > >> > >> ierr = > >> DMGlobalToLocalBegin(circuitdm,F,INSERT_VALUES,localF);CHKERRQ(ierr); > >> ierr = > >> DMGlobalToLocalEnd(circuitdm,F,INSERT_VALUES,localF);CHKERRQ(ierr); > >> > >> ierr = VecGetArrayRead(localX,&xarr);CHKERRQ(ierr); > >> ierr = VecGetArray(localF,&farr);CHKERRQ(ierr); > >> > >> ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > >> ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); > >> > >> for (v=vStart; v < vEnd; v++) { > >> PetscBool ghostvtex; > >> ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); > >> if (ghostvtex) { > >> continue; // TODO is that ok? > >> } > >> > >> PetscInt keyv; > >> ierr = > >> > DMCircuitGetComponentTypeOffset(circuitdm,v,0,&keyv,&offsetlink);CHKERRQ(i > >> err); > >> > >> LINKDATA link = (LINKDATA)(arr+offsetlink); > >> > >> PetscScalar inflow = link->packet_generation; > >> PetscScalar Pfree = 1; > >> > >> PetscInt nconnedges; > >> const PetscInt *connedges; > >> ierr = > >> > DMCircuitGetSupportingEdges(circuitdm,v,&nconnedges,&connedges);CHKERRQ(ie > >> rr); > >> for (PetscInt i = 0; i < nconnedges; i++) { > >> e = connedges[i]; > >> > >> const PetscInt *cone; > >> ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); > >> vaffected = cone[0]; > >> vsource = cone[1]; > >> > >> if (vaffected == v) { > >> PetscInt keye; > >> ierr = > >> > DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie > >> rr); > >> RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); > >> > >> ierr = > >> > DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); > >> > >> switch (relation->type) { > >> case REL_INTERFERENCE: > >> Pfree *= 1 - xarr[offsetsource+VAR_ACCESS]; > >> break; > >> case REL_INFLOW: > >> inflow += xarr[offsetsource+VAR_SUCCESS]; > >> break; > >> } > >> } > >> } > >> > >> ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); > >> farr[offset+VAR_ACCESS] = inflow - xarr[offset+VAR_ACCESS]; > >> farr[offset+VAR_SUCCESS] = xarr[offset+VAR_ACCESS]*Pfree - > >> xarr[offset+VAR_SUCCESS]; > >> } > >> > >> ierr = VecRestoreArrayRead(localX,&xarr);CHKERRQ(ierr); > >> ierr = VecRestoreArray(localF,&farr);CHKERRQ(ierr); > >> ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); > >> > >> ierr = > >> DMLocalToGlobalBegin(circuitdm,localF,ADD_VALUES,F);CHKERRQ(ierr); > >> ierr = DMLocalToGlobalEnd(circuitdm,localF,ADD_VALUES,F);CHKERRQ(ierr); > >> ierr = DMRestoreLocalVector(circuitdm,&localF);CHKERRQ(ierr); > >> > >> PetscFunctionReturn(0); > >> } > >> > >> > >> #undef __FUNCT__ > >> #define __FUNCT__ "FormJacobian" > >> PetscErrorCode FormJacobian(SNES snes,Vec X, Mat *J,Mat > >> *Jpre,MatStructure *flg,void *appctx) > >> { > >> PetscErrorCode ierr; > >> DM circuitdm; > >> Vec localX; > >> PetscInt e; > >> PetscInt v,vStart,vEnd,vaffected,vsource; > >> const PetscScalar *xarr; > >> PetscInt offsetrel; > >> DMCircuitComponentGenericDataType *arr; > >> PetscInt row[1],col[1]; > >> PetscScalar values[1]; > >> > >> PetscFunctionBegin; > >> *flg = SAME_NONZERO_PATTERN; // TODO ok for this problem? > >> ierr = MatZeroEntries(*J);CHKERRQ(ierr); > >> > >> ierr = SNESGetDM(snes,&circuitdm);CHKERRQ(ierr); > >> ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); > >> > >> ierr = > >> DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > >> ierr = > >> DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > >> > >> ierr = VecGetArrayRead(localX,&xarr);CHKERRQ(ierr); > >> > >> ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > >> ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); > >> > >> for (v=vStart; v < vEnd; v++) { > >> PetscInt offset,goffset,offsetsource,goffsetsource; > >> PetscBool ghostvtex; > >> > >> ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); > >> if (ghostvtex) { > >> continue; // TODO is that ok? > >> } > >> > >> ierr = > >> DMCircuitGetVariableGlobalOffset(circuitdm,v,&goffset);CHKERRQ(ierr); > >> > >> // TODO some derivatives are constant, can this be handled in > >> SetInitialValues? > >> > >> // TODO can I combine these two MatSetValues? > >> row[0] = goffset+VAR_ACCESS; > >> col[0] = goffset+VAR_ACCESS; > >> values[0] = -1.0; > >> ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > >> row[0] = goffset+VAR_SUCCESS; > >> col[0] = goffset+VAR_SUCCESS; > >> values[0] = -1.0; > >> ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > >> > >> // Calculate Pfree > >> // TODO Pfree was already calculated in FromFunction, can I access > >> that? > >> PetscScalar Pfree = 1; > >> > >> PetscInt nconnedges; > >> const PetscInt *connedges; > >> ierr = > >> > DMCircuitGetSupportingEdges(circuitdm,v,&nconnedges,&connedges);CHKERRQ(ie > >> rr); > >> for (PetscInt i = 0; i < nconnedges; i++) { > >> e = connedges[i]; > >> > >> const PetscInt *cone; > >> ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); > >> vaffected = cone[0]; > >> vsource = cone[1]; > >> > >> if (vaffected == v) { > >> PetscInt keye; > >> ierr = > >> > DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie > >> rr); > >> RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); > >> > >> ierr = > >> > DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); > >> > >> if (relation->type == REL_INTERFERENCE) { > >> Pfree *= 1 - xarr[offsetsource+VAR_ACCESS]; > >> } > >> } > >> } > >> > >> row[0] = goffset+VAR_SUCCESS; > >> col[0] = goffset+VAR_ACCESS; > >> values[0] = Pfree; > >> ierr = MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > >> > >> // Set the derivatives > >> ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); > >> PetscScalar inflow = xarr[offset+VAR_ACCESS]; > >> > >> for (PetscInt i = 0; i < nconnedges; i++) { > >> e = connedges[i]; > >> > >> const PetscInt *cone; > >> ierr = DMCircuitGetConnectedNodes(circuitdm,e,&cone);CHKERRQ(ierr); > >> vaffected = cone[0]; > >> vsource = cone[1]; > >> > >> if (vaffected == v) { > >> PetscInt keye; > >> ierr = > >> > DMCircuitGetComponentTypeOffset(circuitdm,e,0,&keye,&offsetrel);CHKERRQ(ie > >> rr); > >> RELATIONDATA relation = (RELATIONDATA)(arr+offsetrel); > >> > >> ierr = > >> > DMCircuitGetVariableOffset(circuitdm,vsource,&offsetsource);CHKERRQ(ierr); > >> ierr = > >> > DMCircuitGetVariableGlobalOffset(circuitdm,vsource,&goffsetsource);CHKERRQ > >> (ierr); > >> > >> switch (relation->type) { > >> case REL_INTERFERENCE: > >> // TODO Ok to set the entries one by one or is there a better > >> way? > >> row[0] = goffset+VAR_SUCCESS; > >> col[0] = goffsetsource+VAR_ACCESS; > >> values[0] = > -inflow*(Pfree/(1-xarr[offsetsource+VAR_ACCESS])); > >> ierr = > >> MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > >> break; > >> case REL_INFLOW: > >> row[0] = goffset+VAR_ACCESS; > >> col[0] = goffsetsource+VAR_SUCCESS; > >> values[0] = 1.0; > >> ierr = > >> MatSetValues(*J,1,row,1,col,values,ADD_VALUES);CHKERRQ(ierr); > >> break; > >> } > >> } > >> } > >> } > >> > >> ierr = VecRestoreArrayRead(localX,&xarr);CHKERRQ(ierr); > >> ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); > >> > >> ierr = MatAssemblyBegin(*J,MAT_FINAL_ASSEMBLY);CHKERRQ(ierr); > >> ierr = MatAssemblyEnd(*J,MAT_FINAL_ASSEMBLY);CHKERRQ(ierr); > >> > >> PetscFunctionReturn(0); > >> } > >> > >> > >> > >> #undef __FUNCT__ > >> #define __FUNCT__ "SetInitialValues" > >> PetscErrorCode SetInitialValues(DM circuitdm,Vec X,void *appctx) > >> { > >> PetscErrorCode ierr; > >> PetscInt v, vStart, vEnd; > >> Vec localX; > >> PetscScalar *xarr; > >> DMCircuitComponentGenericDataType *arr; > >> > >> PetscFunctionBegin; > >> ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > >> > >> ierr = DMGetLocalVector(circuitdm,&localX);CHKERRQ(ierr); > >> > >> ierr = VecSet(X,0.0);CHKERRQ(ierr); > >> ierr = > >> DMGlobalToLocalBegin(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > >> ierr = > >> DMGlobalToLocalEnd(circuitdm,X,INSERT_VALUES,localX);CHKERRQ(ierr); > >> > >> ierr = DMCircuitGetComponentDataArray(circuitdm,&arr);CHKERRQ(ierr); > >> ierr = VecGetArray(localX,&xarr);CHKERRQ(ierr); > >> for (v = vStart; v < vEnd; v++) { > >> PetscBool ghostvtex; > >> ierr = DMCircuitIsGhostVertex(circuitdm,v,&ghostvtex);CHKERRQ(ierr); > >> if (ghostvtex) { > >> continue; // TODO is that ok? > >> } > >> > >> PetscInt offsetlink, offset; > >> PetscInt keyv; > >> ierr = DMCircuitGetVariableOffset(circuitdm,v,&offset);CHKERRQ(ierr); > >> ierr = > >> > DMCircuitGetComponentTypeOffset(circuitdm,v,0,&keyv,&offsetlink);CHKERRQ(i > >> err); > >> > >> LINKDATA link = (LINKDATA)(arr+offsetlink); > >> > >> xarr[offset+VAR_ACCESS] = link->packet_generation; > >> xarr[offset+VAR_SUCCESS] = link->packet_generation; > >> } > >> > >> ierr = VecRestoreArray(localX,&xarr);CHKERRQ(ierr); > >> ierr = > >> DMLocalToGlobalBegin(circuitdm,localX,ADD_VALUES,X);CHKERRQ(ierr); > >> ierr = DMLocalToGlobalEnd(circuitdm,localX,ADD_VALUES,X);CHKERRQ(ierr); > >> ierr = DMRestoreLocalVector(circuitdm,&localX);CHKERRQ(ierr); > >> PetscFunctionReturn(0); > >> } > >> > >> > >> #undef __FUNCT__ > >> #define __FUNCT__ "main" > >> int main(int argc,char ** argv) > >> { > >> string inputFile = "links.txt"; > >> PetscErrorCode ierr; > >> PFDATA pfdata; > >> PetscInt numEdges=0,numVertices=0; > >> int *edges = NULL; > >> PetscInt i; > >> DM circuitdm; > >> PetscInt componentkey[2]; > >> PetscLogStage stage1,stage2; > >> PetscInt size; > >> > >> PetscInitialize(&argc,&argv,"alohaoptions",help); > >> > >> ierr = MPI_Comm_rank(PETSC_COMM_WORLD,&rank);CHKERRQ(ierr); > >> > >> /* Create an empty circuit object */ > >> ierr = DMCircuitCreate(PETSC_COMM_WORLD,&circuitdm);CHKERRQ(ierr); > >> > >> /* Register the components in the circuit */ > >> ierr = DMCircuitRegisterComponent(circuitdm,"linkstruct",sizeof(struct > >> _p_LINKDATA),&componentkey[0]);CHKERRQ(ierr); > >> ierr = > >> DMCircuitRegisterComponent(circuitdm,"relationstruct",sizeof(struct > >> _p_RELATIONDATA),&componentkey[1]);CHKERRQ(ierr); > >> > >> ierr = PetscLogStageRegister("Read Data",&stage1);CHKERRQ(ierr); > >> PetscLogStagePush(stage1); > >> > >> /* READ THE DATA */ > >> if (!rank) { > >> /* Only rank 0 reads the data */ > >> ifstream linksF(inputFile.c_str()); > >> > >> int ninterferences, ninflows; > >> linksF >> pfdata.nlinks >> ninterferences >> ninflows; > >> > >> numVertices = pfdata.nlinks; > >> numEdges = pfdata.nrelations = ninterferences + ninflows; > >> > >> ierr = PetscMalloc1(pfdata.nlinks,&pfdata.links);CHKERRQ(ierr); > >> ierr = > >> PetscMalloc1(pfdata.nrelations,&pfdata.relations);CHKERRQ(ierr); > >> > >> for(int i = 0; i < numVertices; i++) { > >> linksF >> pfdata.links[i].packet_generation; > >> } > >> > >> ierr = PetscMalloc1(2*numEdges,&edges);CHKERRQ(ierr); > >> > >> for(int i = 0; i < numEdges; i++) { > >> linksF >> pfdata.relations[i].affected >> > >> pfdata.relations[i].source; > >> > >> pfdata.relations[i].type = (i < ninterferences) ? REL_INTERFERENCE > >> : REL_INFLOW; > >> > >> edges[2*i] = pfdata.relations[i].affected; > >> edges[2*i+1] = pfdata.relations[i].source; > >> } > >> > >> linksF.close(); > >> } > >> > >> PetscLogStagePop(); > >> MPI_Barrier(PETSC_COMM_WORLD); > >> > >> ierr = PetscLogStageRegister("Create circuit",&stage2);CHKERRQ(ierr); > >> PetscLogStagePush(stage2); > >> /* Set number of nodes/edges */ > >> ierr = > >> > DMCircuitSetSizes(circuitdm,numVertices,numEdges,PETSC_DETERMINE,PETSC_DET > >> ERMINE);CHKERRQ(ierr); > >> /* Add edge connectivity */ > >> ierr = DMCircuitSetEdgeList(circuitdm,edges);CHKERRQ(ierr); > >> /* Set up the circuit layout */ > >> ierr = DMCircuitLayoutSetUp(circuitdm);CHKERRQ(ierr); > >> > >> if (!rank) { > >> ierr = PetscFree(edges);CHKERRQ(ierr); > >> } > >> > >> /* Add circuit components */ > >> PetscInt eStart, eEnd, vStart, vEnd; > >> > >> ierr = DMCircuitGetVertexRange(circuitdm,&vStart,&vEnd);CHKERRQ(ierr); > >> for (i = vStart; i < vEnd; i++) { > >> ierr = > >> > DMCircuitAddComponent(circuitdm,i,componentkey[0],&pfdata.links[i-vStart]) > >> ;CHKERRQ(ierr); > >> > >> /* Add number of variables */ > >> ierr = DMCircuitAddNumVariables(circuitdm,i,VAR_NVARS);CHKERRQ(ierr); > >> } > >> > >> ierr = DMCircuitGetEdgeRange(circuitdm,&eStart,&eEnd);CHKERRQ(ierr); > >> for (i = eStart; i < eEnd; i++) { > >> ierr = > >> > DMCircuitAddComponent(circuitdm,i,componentkey[1],&pfdata.relations[i-eSta > >> rt]);CHKERRQ(ierr); > >> } > >> > >> /* Set up DM for use */ > >> ierr = DMSetUp(circuitdm);CHKERRQ(ierr); > >> > >> if (!rank) { > >> ierr = PetscFree(pfdata.links);CHKERRQ(ierr); > >> ierr = PetscFree(pfdata.relations);CHKERRQ(ierr); > >> } > >> > >> > >> ierr = MPI_Comm_size(PETSC_COMM_WORLD,&size);CHKERRQ(ierr); > >> if (size > 1) { > >> DM distcircuitdm; > >> /* Circuit partitioning and distribution of data */ > >> ierr = DMCircuitDistribute(circuitdm,&distcircuitdm);CHKERRQ(ierr); > >> ierr = DMDestroy(&circuitdm);CHKERRQ(ierr); > >> circuitdm = distcircuitdm; > >> } > >> > >> PetscLogStagePop(); > >> > >> Vec X,F; > >> ierr = DMCreateGlobalVector(circuitdm,&X);CHKERRQ(ierr); > >> ierr = VecDuplicate(X,&F);CHKERRQ(ierr); > >> > >> Mat J; > >> ierr = DMCreateMatrix(circuitdm,&J);CHKERRQ(ierr); > >> ierr = > >> > MatSetOption(J,MAT_NEW_NONZERO_ALLOCATION_ERR,PETSC_FALSE);CHKERRQ(ierr); > >> > >> ierr = SetInitialValues(circuitdm,X,NULL);CHKERRQ(ierr); > >> > >> SNES snes; > >> /* HOOK UP SOLVER */ > >> ierr = SNESCreate(PETSC_COMM_WORLD,&snes);CHKERRQ(ierr); > >> ierr = SNESSetDM(snes,circuitdm);CHKERRQ(ierr); > >> ierr = SNESSetFunction(snes,F,FormFunction,NULL);CHKERRQ(ierr); > >> ierr = SNESSetJacobian(snes,J,J,FormJacobian,NULL);CHKERRQ(ierr); > >> ierr = SNESSetFromOptions(snes);CHKERRQ(ierr); > >> > >> ierr = SNESSolve(snes,NULL,X);CHKERRQ(ierr); > >> ierr = VecView(X,NULL);CHKERRQ(ierr); > >> > >> ierr = VecDestroy(&X);CHKERRQ(ierr); > >> ierr = VecDestroy(&F);CHKERRQ(ierr); > >> ierr = MatDestroy(&J);CHKERRQ(ierr); > >> > >> ierr = SNESDestroy(&snes);CHKERRQ(ierr); > >> ierr = DMDestroy(&circuitdm);CHKERRQ(ierr); > >> > >> PetscFinalize(); > >> return 0; > >> } > > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Mon Feb 17 09:03:10 2014 From: jed at jedbrown.org (Jed Brown) Date: Mon, 17 Feb 2014 08:03:10 -0700 Subject: [petsc-users] Use of PCApplyBAorAB with PC_SYMMETRIC side In-Reply-To: References: Message-ID: <87y519vl1t.fsf@jedbrown.org> Sylvain Mercier writes: > Hello everyone, > > I want to use PCApplyBAorAB symmetrically with a preconditioner from an ICC > factorization. > However, I don't understand why the result is not the same if I use a > natural or a RCM ordering during the factorization. Uh, ICC is not the same in RCM versus natural ordering. Incomplete factorization is _highly_ order-dependent. > This problem does not occur if I use this routine with PC_LEFT or PC_RIGHT What do you mean "does not occur"? You should expect that changing factorization ordering will always change the preconditioner, though some cases could cancel. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From bsmith at mcs.anl.gov Mon Feb 17 09:08:10 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Mon, 17 Feb 2014 09:08:10 -0600 Subject: [petsc-users] KSP solver iteration stop criteria In-Reply-To: <5301A413.4060507@gmail.com> References: <52FE6982.5040904@gmail.com> <59CA4974-9471-4C66-B30B-E7DF7F535022@mcs.anl.gov> <53004F6A.9020305@gmail.com> <375B2C9E-9899-41A8-9504-004D8109DF55@mcs.anl.gov> <53007106.5010102@gmail.com> <06C691C8-9E81-4E36-9A0E-CB08E26B3324@mcs.anl.gov> <5301A413.4060507@gmail.com> Message-ID: On Feb 16, 2014, at 11:54 PM, Danyang Su wrote: > On 16/02/2014 6:00 AM, Barry Smith wrote: >> On Feb 16, 2014, at 2:04 AM, Danyang Su wrote: >> >>> Thanks for the quick reply. >>> I just made a second check on it. I use the preconditioned norm type for both runs. The ex2f was taken as the example to implement MyKSPConverged. For KSPDefaultConverged, I comment out the codes between "!***", for MyKSPConverged, just uncomment this section. See below. >>> >> What is x? It does not appear to be declared. How does this code compile? >> >> You cannot use the solution vector passed to KSPSolve() for your own use, it is actively being used by KSP. > x is declared in the module variable outside this subroutine. Do you mean the vector x, u, b and mat a should be declared inside the subroutine only? They can be declared any where you like but x cannot be the same vector passed to KSPSolve. Barry > > Thanks, > > Danyang >> >> Barry >> >> >> >>> subroutine mykspconverged(ksp,n,rnorm,flag,dummy,ierr) >>> implicit none >>> KSP :: ksp >>> PetscErrorCode :: ierr >>> PetscInt :: n,dummy >>> KSPConvergedReason :: flag >>> PetscReal :: rnorm >>> >>> !****This section is comment out for KSPDefaultConverged option**** >>> if(n > 0) then >>> call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierrcode) >>> call KSPGetRhs(ksp, b, ierrcode) >>> call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierrcode) >>> call MatMult(a, x, u, ierrcode) >>> call VecAXPY(u, neg_one, b, ierrcode) >>> call VecNormBegin(u, Norm_2, rnorm, ierrcode) >>> call VecNormEnd(u, Norm_2, rnorm, ierrcode) >>> end if >>> !*************************************************************** >>> >>> if (n > 0 .and. rnorm< rtol) then >>> flag = 1 >>> else >>> flag = 0 >>> endif >>> ierr = 0 >>> end subroutine mykspconverged >>> >>> On 15/02/2014 10:05 PM, Barry Smith wrote: >>>> What is different in the two runs below? Are you using -ksp_norm_type unpreconditioned in one case and not the other? >>>> >>>> What KSPType are you using? >>>> >>>> If the options are identical the residual norms (both preconditioned and true) should be identical for each run, changing the convergence test should not affect the residuals being printed at all (it would only possibly change when it decides it has converged). >>>> >>>> Barry >>>> >>>> On Feb 15, 2014, at 11:40 PM, Danyang Su wrote: >>>>>> -ksp_norm_type unpreconditioned -ksp_set_pc_side right >>>>>> >>>>> The "-ksp_norm_type unpreconditioned" does not work well for my cases. When I set the following function in MyKSPConverged function, the result is different from KSPDefaultConverged though the same number of iteration is used. >>>>> call KSPBuildSolution(ksp,PETSC_NULL_OBJECT,x,ierrcode) >>>>> call KSPGetRhs(ksp, b, ierrcode) >>>>> call KSPGetOperators(ksp,a,PETSC_NULL_OBJECT ,PETSC_NULL_OBJECT, ierrcode) >>>>> call MatMult(a, x, u, ierrcode) >>>>> call VecAXPY(u, neg_one, b, ierrcode) >>>>> call VecNormBegin(u, Norm_2, rnorm_true, ierrcode) >>>>> call VecNormEnd(u, Norm_2, rnorm_true, ierrcode) >>>>> >>>>> The residual in the first few time steps are as follows: >>>>> >>>>> Residual by KSPDefaultConverged >>>>> 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 >>>>> 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 >>>>> 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 >>>>> 1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.612654804265e+008 ||r(i)||/||b|| 1.383632056862e-003 >>>>> 0 KSP preconditioned resid norm 5.245498186783e-003 true resid norm 3.496944019232e+010 ||r(i)||/||b|| 1.000000000000e+000 >>>>> 1 KSP preconditioned resid norm 4.876784688167e-008 true resid norm 9.615426089812e+007 ||r(i)||/||b|| 2.749665432712e-003 >>>>> >>>>> Residual by MYKSPConverged >>>>> 0 KSP preconditioned resid norm 6.641270532099e-002 true resid norm 3.885510397175e+011 ||r(i)||/||b|| 1.000000000000e+000 >>>>> 1 KSP preconditioned resid norm 2.813454813221e-007 true resid norm 4.527102473818e+008 ||r(i)||/||b|| 1.165124272247e-003 >>>>> 0 KSP preconditioned resid norm 1.797117552956e-002 true resid norm 1.165522868790e+011 ||r(i)||/||b|| 1.000000000000e+000 >>>>> 1 KSP preconditioned resid norm 7.459908279054e-008 true resid norm 1.165341354855e+011 ||r(i)||/||b|| 9.998442639434e-001 >>>>> 0 KSP preconditioned resid norm 7.321104403842e-003 true resid norm 4.661428829096e+010 ||r(i)||/||b|| 1.000000000000e+000 >>>>> 1 KSP preconditioned resid norm 2.815380746230e-008 true resid norm 4.661536958529e+010 ||r(i)||/||b|| 1.000023196628e+000 >>>>> >>>>> Is there anything wrong in MyKSPConverged function because the result get even worse later and at last failed in newton iteration. >>>>> >>>>> If I use KSPDefaultConverged, it can work but after some steps, the true residual norm become very small but the solver still need a lot of iteration as the relative preconditioned residual norm does not match the convergence criteria. What I need is to stop the iteration when either preconditioned residual norm (rtol) or true residual norm matches the stop criteria. >>>>> >>>>> 0 KSP preconditioned resid norm 4.208619583781e-002 true resid norm 2.227983625699e-005 ||r(i)||/||b|| 1.000000000000e+000 >>>>> 1 KSP preconditioned resid norm 6.403275610900e-003 true resid norm 2.795175726580e-007 ||r(i)||/||b|| 1.254576422528e-002 >>>>> 2 KSP preconditioned resid norm 7.416300263102e-004 true resid norm 3.382118379502e-010 ||r(i)||/||b|| 1.518017610404e-005 I want to stop iteration here as the true residual meet the stop criteria. >>>>> 3 KSP preconditioned resid norm 6.144409100696e-005 true resid norm 1.260466100377e-009 ||r(i)||/||b|| 5.657429820568e-005 >>>>> 4 KSP preconditioned resid norm 4.990158094666e-005 true resid norm 3.632496726225e-008 ||r(i)||/||b|| 1.630396509349e-003 >>>>> 5 KSP preconditioned resid norm 2.743769015994e-005 true resid norm 1.101666758939e-009 ||r(i)||/||b|| 4.944680680017e-005 >>>>> 6 KSP preconditioned resid norm 4.269805798759e-006 true resid norm 7.915494521121e-011 ||r(i)||/||b|| 3.552761532813e-006 >>>>> 7 KSP preconditioned resid norm 1.632413041808e-006 true resid norm 1.163794439302e-009 ||r(i)||/||b|| 5.223532282187e-005 >>>>> 8 KSP preconditioned resid norm 8.010590587547e-007 true resid norm 1.246839309256e-011 ||r(i)||/||b|| 5.596267831030e-007 >>>>> 9 KSP preconditioned resid norm 4.794695759395e-007 true resid norm 3.155943984006e-012 ||r(i)||/||b|| 1.416502324166e-007 >>>>> 10 KSP preconditioned resid norm 4.500033799628e-007 true resid norm 4.554787575528e-011 ||r(i)||/||b|| 2.044354151884e-006 >>>>> >>>>> Thanks, >>>>> >>>>> Danyang >>>>>> Don?t include the -ksp_set_pc_side right if you are using CG. >>>>>> >>>>>> Barry >>>>>> >>>>>> >>>>>> >>>>>>> Thanks and regards, >>>>>>> >>>>>>> Danyang From florian.meier at koalo.de Mon Feb 17 09:31:49 2014 From: florian.meier at koalo.de (Florian Meier) Date: Mon, 17 Feb 2014 16:31:49 +0100 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: References: <53021717.7060404@koalo.de> Message-ID: <53022B65.8020203@koalo.de> Thanks! On 02/17/2014 03:39 PM, Matthew Knepley wrote: > On Mon, Feb 17, 2014 at 8:05 AM, Florian Meier > wrote: > > Thank you very much for your review. > > On 02/17/2014 02:50 AM, Abhyankar, Shrirang G. wrote: > > Hi Florian, > > I was able to run your example with a small change (used PetscMalloc > > instead of PetscMalloc1). > > That is strange. When I use PetscMalloc, it says "Memory corruption!". > > > Run under valgrind. There is a bug in the code. I didn't notice that the input parameters to PetscMalloc are different... Now it is ok. > > However, the solution on more than 1 processor > > is different presumably because of some work "TODO" for the ghost > vertices. > > I do not really understand these ghost vertices. I thought it would be > ok to just skip those when I iterate over the vertices, but not when I > iterate over the edges, but apparently that is not the case. > > > Here is how the parallelism works. We partition the edges into disjoint > sets, one for > each process. Vertices shared by edges on different processes are > duplicated, with > the "ghost" vertex sitting on all processes that do not own the vertex. So the x values for the ghost vertices are always synchronized automatically? From knepley at gmail.com Mon Feb 17 10:06:02 2014 From: knepley at gmail.com (Matthew Knepley) Date: Mon, 17 Feb 2014 10:06:02 -0600 Subject: [petsc-users] Modeling a Network with DMPlex? In-Reply-To: <53022B65.8020203@koalo.de> References: <53021717.7060404@koalo.de> <53022B65.8020203@koalo.de> Message-ID: On Mon, Feb 17, 2014 at 9:31 AM, Florian Meier wrote: > Thanks! > > On 02/17/2014 03:39 PM, Matthew Knepley wrote: > > On Mon, Feb 17, 2014 at 8:05 AM, Florian Meier > > wrote: > > > > Thank you very much for your review. > > > > On 02/17/2014 02:50 AM, Abhyankar, Shrirang G. wrote: > > > Hi Florian, > > > I was able to run your example with a small change (used > PetscMalloc > > > instead of PetscMalloc1). > > > > That is strange. When I use PetscMalloc, it says "Memory > corruption!". > > > > > > Run under valgrind. There is a bug in the code. > > I didn't notice that the input parameters to PetscMalloc are > different... Now it is ok. > > > > However, the solution on more than 1 processor > > > is different presumably because of some work "TODO" for the ghost > > vertices. > > > > I do not really understand these ghost vertices. I thought it would > be > > ok to just skip those when I iterate over the vertices, but not when > I > > iterate over the edges, but apparently that is not the case. > > > > > > Here is how the parallelism works. We partition the edges into disjoint > > sets, one for > > each process. Vertices shared by edges on different processes are > > duplicated, with > > the "ghost" vertex sitting on all processes that do not own the vertex. > > So the x values for the ghost vertices are always synchronized > automatically? > The synchronization happens during DMGlobalToLocal() which takes the (unique) global values and copies them to the (duplicated) local values. DMGlobalToLocal() is called automatically when use register your residual routine as is done in the examples. I am guessing you have done this in your example. Matt -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From dharmareddy84 at gmail.com Mon Feb 17 13:23:41 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Mon, 17 Feb 2014 13:23:41 -0600 Subject: [petsc-users] Plex mesh reference element In-Reply-To: References: Message-ID: Hello, My petsc code is at version e4acbc4 on next. I get undefined reference error: undefined reference to `petscdualspacecreatereferencecell_' Here is the code, i used. print*,'Testing Reference Cell' call PetscDualSpaceCreate(comm, Q, ierr) Kdim=3 call PetscDualSpaceCreateReferenceCell(Q,Kdim, PETSC_TRUE, K, ierr) call PetscViewerPushFormat(PETSC_VIEWER_STDOUT_WORLD, PETSC_VIEWER_ASCII_INFO_DETAIL, ierr) call DMView(K, PETSC_VIEWER_STDOUT_WORLD, ierr) Thanks Reddy On Mon, Feb 17, 2014 at 7:28 AM, Matthew Knepley wrote: > On Tue, Feb 11, 2014 at 7:50 AM, Dharmendar Reddy > wrote: >> >> Hello, >> Where do i find the information on reference elements used by >> plex for local numbering. > > > You can use > > PetscDualSpaceCreateReferenceCell(sp, dim, isSimplex, &refCell) > PetscViewerPushFormat(PETSC_VIEWER_STDOUT_WORLD, > PETSC_VIEWER_ASCII_INFO_DETAIL) > DMView(refCell, PETSC_VIEWER_STDOUT_WORLD) > > Matt > >> I currently use the following for the tetrahedron. Is this correct ? >> what is the corresponding information for a triangle ? >> >> ! Vertex coordiantes >> vert(1:3,1)=[0.0, 0.0, 0.0] >> vert(1:3,2)=[1.0, 0.0, 0.0] >> vert(1:3,3)=[0.0, 1.0, 0.0] >> vert(1:3,4)=[0.0, 0.0, 1.0] >> >> ! vertex intdices >> vs(1:4)= [1, 2, 3, 4] >> >> ! Edges id to node Id >> edge(:,1) = [3, 4] >> edge(:,2) = [2, 4] >> edge(:,3) = [2, 3] >> edge(:,4) = [1, 4] >> edge(:,5) = [1, 3] >> edge(:,6) = [1, 2] >> >> ! Faces id to node id >> face(1:3,1)=[2,3,4] >> face(1:3,2)=[1,3,4] >> face(1:3,3)=[1,2,4] >> face(1:3,4)=[1,2,3] >> numFacet = 4 >> >> ! Tets >> tet(1:4,1) = [1,2,3,4] >> thanks >> Reddy > > > > > -- > What most experimenters take for granted before they begin their experiments > is infinitely more interesting than any results to which their experiments > lead. > -- Norbert Wiener From epscodes at gmail.com Mon Feb 17 21:07:45 2014 From: epscodes at gmail.com (Xiangdong) Date: Mon, 17 Feb 2014 22:07:45 -0500 Subject: [petsc-users] parallel sor Message-ID: Hello everyone, As in the note of PCSOR, it corresponds to block Jacobi with SOR on each block, not a true parallel SOR. 1) Is there a parallel sor implemented in PETSc, like the red-black Gauss Seidel? 2) If it is not a true parallel SOR, then what is the difference between options -pc_sor_forward and -pc_sor_local_forward? It seems that pc_sor_forward does not work for mpiaij format. When is pc_sor_forward used? Thanks. Xiangdong -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Mon Feb 17 21:23:00 2014 From: jed at jedbrown.org (Jed Brown) Date: Mon, 17 Feb 2014 20:23:00 -0700 Subject: [petsc-users] parallel sor In-Reply-To: References: Message-ID: <87ppmlt88b.fsf@jedbrown.org> Xiangdong writes: > Hello everyone, > > As in the note of PCSOR, it corresponds to block Jacobi with SOR on each > block, not a true parallel SOR. > > 1) Is there a parallel sor implemented in PETSc, like the red-black Gauss > Seidel? Coloring for all but the simplest operators produces a huge number of colors, especially in 3D. Colored operators use bandwidth less efficiently, thus tend to deliver poor performance. > 2) If it is not a true parallel SOR, then what is the difference between > options -pc_sor_forward and -pc_sor_local_forward? It seems that > pc_sor_forward does not work for mpiaij format. When is pc_sor_forward used? SOR_FORWARD_SWEEP is currently only used for serial SOR. MPI matrices use SOR_LOCAL_FORWARD_SWEEP to make it explicit that this is not "true" SOR. A future implementation (e.g., of Mark Adams' algorithm) would use SOR_FORWARD_SWEEP. If you think the local SOR is a problem, compare running the same problem in serial. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From hello at powhow.com Tue Feb 18 08:10:27 2014 From: hello at powhow.com (Powhow) Date: Tue, 18 Feb 2014 14:10:27 +0000 Subject: [petsc-users] JENNIFER NICOLE LEE invited you to: UNLIMITED VIEWS TO ALL JNL WORKOUT VIDEOS! Message-ID: <530369d3c95d1_3e2e1b3fe244163c2@ip-10-224-67-108.mail> An HTML attachment was scrubbed... URL: From qince168 at gmail.com Tue Feb 18 08:19:02 2014 From: qince168 at gmail.com (Ce Qin) Date: Tue, 18 Feb 2014 22:19:02 +0800 Subject: [petsc-users] Solve equivalent real forms of complex linear systems. Message-ID: Dear all, Now I want to solve a complex linear system arise in EM problems. And I also want to use TAO to solve a optimization problem simultaneously. So I must solve this complex linear system via its equivalent real form. To the best of my knowledge, the nested matrix and vector and fieldsplit preconditioner can do this. But I don't know how to setup the fieldsplit preconditioner. Does anyone have such experiences? BTW, I fount that the BCGS solver does not support nested vector because it does not have an axpbypcz operator. Any help will be appreciated. Thanks in advance. Ce Qin -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Tue Feb 18 09:12:24 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 18 Feb 2014 08:12:24 -0700 Subject: [petsc-users] Solve equivalent real forms of complex linear systems. In-Reply-To: References: Message-ID: <87fvngtpyf.fsf@jedbrown.org> Ce Qin writes: > Dear all, > > Now I want to solve a complex linear system arise in EM problems. And I > also want to use TAO to solve a optimization problem simultaneously. So I > must solve this complex linear system via its equivalent real form. To the > best of my knowledge, the nested matrix and vector and fieldsplit > preconditioner can do this. Don't use VecNest/MatNest/FieldSplit for this. It will be worse for this purpose and more complicated to implement. Just use a block size of 2. We are aware of the problem that scalar=complex is not supported by TAO, but we don't know what is the best approach to fix it. > But I don't know how to setup the fieldsplit preconditioner. Does > anyone have such experiences? > > BTW, I fount that the BCGS solver does not support nested vector because it > does not have an axpbypcz operator. Thanks for the report. Will add this. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From lu_qin_2000 at yahoo.com Tue Feb 18 09:45:29 2014 From: lu_qin_2000 at yahoo.com (Qin Lu) Date: Tue, 18 Feb 2014 07:45:29 -0800 (PST) Subject: [petsc-users] RCM for ILU? In-Reply-To: <1392406230.2885.YahooMailNeo@web160205.mail.bf1.yahoo.com> References: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> <87ob293bw5.fsf@jedbrown.org> <1392397936.48476.YahooMailNeo@web160203.mail.bf1.yahoo.com> <87fvnl39az.fsf@jedbrown.org> <1392406230.2885.YahooMailNeo@web160205.mail.bf1.yahoo.com> Message-ID: <1392738329.72086.YahooMailNeo@web160201.mail.bf1.yahoo.com> RCM did not help much for my case. This?case represents some strong connectivities in channels. I am wondering if PETSc has some reordering algorithm or solver that is not based on connectivity graph, but is based on connectivity strength (such as percolation type of reordering). Any information is appreciated. ? Thanks, Qin On Friday, February 14, 2014 1:30 PM, Qin Lu wrote: Thanks a lot! ? Qin On Friday, February 14, 2014 11:16 AM, Jed Brown wrote: Qin Lu writes: > Barry and Jed, > ? > Nice to know that! Is there a corresponding function call to set RCM? $ ./ex2 -pc_factor_mat_ordering_type rcm -help | grep -A1 mat_ordering ? -pc_factor_mat_ordering_type : Reordering to reduce nonzeros in factored matrix (one of) natural nd 1wd rcm qmd rowlength wbm spectral ? ? ? (PCFactorSetMatOrderingType) Looks like you should check out http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCFactorSetMatOrderingType.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Tue Feb 18 10:11:44 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 18 Feb 2014 09:11:44 -0700 Subject: [petsc-users] RCM for ILU? In-Reply-To: <1392738329.72086.YahooMailNeo@web160201.mail.bf1.yahoo.com> References: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> <87ob293bw5.fsf@jedbrown.org> <1392397936.48476.YahooMailNeo@web160203.mail.bf1.yahoo.com> <87fvnl39az.fsf@jedbrown.org> <1392406230.2885.YahooMailNeo@web160205.mail.bf1.yahoo.com> <1392738329.72086.YahooMailNeo@web160201.mail.bf1.yahoo.com> Message-ID: <87zjlos8n3.fsf@jedbrown.org> Qin Lu writes: > RCM did not help much for my case. This?case represents some strong > connectivities in channels. I am wondering if PETSc has some > reordering algorithm or solver that is not based on connectivity > graph, but is based on connectivity strength (such as percolation type > of reordering). Any information is appreciated. ? Thanks, Qin There isn't such an ordering, but it would be a welcome contribution. One challenge is that features like anisotropy are not necessarily apparent in the matrix entries. In that case, and for vector-valued problems, you would ideally use a better strength-of-connection measure. If you computed a strength-of-connection, then thresholded (or used edge weights as a "priority"), followed by something like an RCM ordering, you could find something good for low-fill incomplete factorization in problems with hidden anisotropy. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From knepley at gmail.com Tue Feb 18 11:04:55 2014 From: knepley at gmail.com (Matthew Knepley) Date: Tue, 18 Feb 2014 11:04:55 -0600 Subject: [petsc-users] RCM for ILU? In-Reply-To: <87zjlos8n3.fsf@jedbrown.org> References: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> <87ob293bw5.fsf@jedbrown.org> <1392397936.48476.YahooMailNeo@web160203.mail.bf1.yahoo.com> <87fvnl39az.fsf@jedbrown.org> <1392406230.2885.YahooMailNeo@web160205.mail.bf1.yahoo.com> <1392738329.72086.YahooMailNeo@web160201.mail.bf1.yahoo.com> <87zjlos8n3.fsf@jedbrown.org> Message-ID: On Feb 18, 2014 10:12 AM, "Jed Brown" wrote: > > Qin Lu writes: > > > RCM did not help much for my case. This case represents some strong > > connectivities in channels. I am wondering if PETSc has some > > reordering algorithm or solver that is not based on connectivity > > graph, but is based on connectivity strength (such as percolation type > > of reordering). Any information is appreciated. Thanks, Qin > > There isn't such an ordering, but it would be a welcome contribution. Not exactly. You can try 'wbm' in next. Matt > One challenge is that features like anisotropy are not necessarily > apparent in the matrix entries. In that case, and for vector-valued > problems, you would ideally use a better strength-of-connection measure. > If you computed a strength-of-connection, then thresholded (or used edge > weights as a "priority"), followed by something like an RCM ordering, > you could find something good for low-fill incomplete factorization in > problems with hidden anisotropy. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lu_qin_2000 at yahoo.com Tue Feb 18 11:25:05 2014 From: lu_qin_2000 at yahoo.com (Qin Lu) Date: Tue, 18 Feb 2014 09:25:05 -0800 (PST) Subject: [petsc-users] RCM for ILU? In-Reply-To: <87zjlos8n3.fsf@jedbrown.org> References: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> <87ob293bw5.fsf@jedbrown.org> <1392397936.48476.YahooMailNeo@web160203.mail.bf1.yahoo.com> <87fvnl39az.fsf@jedbrown.org> <1392406230.2885.YahooMailNeo@web160205.mail.bf1.yahoo.com> <1392738329.72086.YahooMailNeo@web160201.mail.bf1.yahoo.com> <87zjlos8n3.fsf@jedbrown.org> Message-ID: <1392744305.50759.YahooMailNeo@web160206.mail.bf1.yahoo.com> Do you mean using "-pc_factor_mat_ordering_type? wbm"? It does not seem to be in the manual. What exactly is it? I will try it anyway. ? Many thanks, Qin On Tuesday, February 18, 2014 10:11 AM, Jed Brown wrote: Qin Lu writes: > RCM did not help much for my case. This?case represents some strong > connectivities in channels. I am wondering if PETSc has some > reordering algorithm or solver that is not based on connectivity > graph, but is based on connectivity strength (such as percolation type > of reordering). Any information is appreciated. ?? Thanks, Qin There isn't such an ordering, but it would be a welcome contribution. One challenge is that features like anisotropy are not necessarily apparent in the matrix entries.? In that case, and for vector-valued problems, you would ideally use a better strength-of-connection measure. If you computed a strength-of-connection, then thresholded (or used edge weights as a "priority"), followed by something like an RCM ordering, you could find something good for low-fill incomplete factorization in problems with hidden anisotropy. -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Tue Feb 18 11:27:14 2014 From: knepley at gmail.com (Matthew Knepley) Date: Tue, 18 Feb 2014 11:27:14 -0600 Subject: [petsc-users] RCM for ILU? In-Reply-To: <1392744305.50759.YahooMailNeo@web160206.mail.bf1.yahoo.com> References: <1392394421.14316.YahooMailNeo@web160202.mail.bf1.yahoo.com> <87ob293bw5.fsf@jedbrown.org> <1392397936.48476.YahooMailNeo@web160203.mail.bf1.yahoo.com> <87fvnl39az.fsf@jedbrown.org> <1392406230.2885.YahooMailNeo@web160205.mail.bf1.yahoo.com> <1392738329.72086.YahooMailNeo@web160201.mail.bf1.yahoo.com> <87zjlos8n3.fsf@jedbrown.org> <1392744305.50759.YahooMailNeo@web160206.mail.bf1.yahoo.com> Message-ID: You need --download-superlu due to licensing restrictions. And you need the development version. Matt On Feb 18, 2014 11:25 AM, "Qin Lu" wrote: > Do you mean using "-pc_factor_mat_ordering_type wbm"? It does not seem > to be in the manual. What exactly is it? I will try it anyway. > > Many thanks, > Qin > > > On Tuesday, February 18, 2014 10:11 AM, Jed Brown > wrote: > Qin Lu writes: > > > > RCM did not help much for my case. This case represents some strong > > connectivities in channels. I am wondering if PETSc has some > > reordering algorithm or solver that is not based on connectivity > > graph, but is based on connectivity strength (such as percolation type > > of reordering). Any information is appreciated. Thanks, Qin > > > There isn't such an ordering, but it would be a welcome contribution. > One challenge is that features like anisotropy are not necessarily > apparent in the matrix entries. In that case, and for vector-valued > problems, you would ideally use a better strength-of-connection measure. > If you computed a strength-of-connection, then thresholded (or used edge > weights as a "priority"), followed by something like an RCM ordering, > you could find something good for low-fill incomplete factorization in > problems with hidden anisotropy. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fd.kong at siat.ac.cn Tue Feb 18 17:39:13 2014 From: fd.kong at siat.ac.cn (Fande Kong) Date: Tue, 18 Feb 2014 16:39:13 -0700 Subject: [petsc-users] Dirichlet boundary condition for a nonlinear system Message-ID: Hi all, I am just trying to solve a nonlinear system resulted from discretizating a hyperelasticity problem by finite element method. When I solve a linear PDE, I never put boundary solution either in a solution vector or a matrix, but instead, I put boundary condition to the right hand size (load). How can I do a similar thing when solving a nonlinear system using a newton method? Thanks, Fande, -------------- next part -------------- An HTML attachment was scrubbed... URL: From hello at powhow.com Tue Feb 18 18:44:43 2014 From: hello at powhow.com (Powhow) Date: Wed, 19 Feb 2014 00:44:43 +0000 Subject: [petsc-users] JENNIFER NICOLE LEE invited you to: STRONG IS THE NEW SKINNY MONTHLY PACKAGE! Message-ID: <5303fe7bbd847_5af43ffe7e16f1cc2098e3@ip-10-224-67-108.mail> An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Tue Feb 18 19:56:00 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Tue, 18 Feb 2014 19:56:00 -0600 Subject: [petsc-users] Dirichlet boundary condition for a nonlinear system In-Reply-To: References: Message-ID: On Feb 18, 2014, at 5:39 PM, Fande Kong wrote: > Hi all, > > I am just trying to solve a nonlinear system resulted from discretizating a hyperelasticity problem by finite element method. When I solve a linear PDE, I never put boundary solution either in a solution vector or a matrix, but instead, I put boundary condition to the right hand size (load). You adjust the right hand side to have zero as the boundary conditions. This can be written as (A_II A_IB ) ( X_I ) (F_I) (A_BI A_BB)(X_B) = (F_B) Which is equivalent to (A_I A_B) (X_I) (F_I) - (A_B)*(X_B) (0) = A_I X_I = F_I - A_B*X_B In the nonlinear case you have F_I(X_I,X_B) = ( 0 ) F_B(X_I,X_B) ( 0) where you know X_B with Jacobian (J_II J_IB) (J_BI J_BB) Newtons? method on all variables gives (X_I)^{n+1} = (X_I)^{n} + (Y_I) (X_B) (X_B) (Y_B) where JY = F which written out in terms of I and B is (J_II J_IB) (Y_I) = F_I( X_I,X_B) (J_BI J_BB) (Y_B) F_B(X_I,X_B) Now since X_B is the solution on the boundary the updates on the boundary at zero so Y_B is zero so this system reduces to J_II Y_I = F_I(X_I,X_B) so Newton reduces to just the interior with (X_I)^{n+1} = (X_I)^{n} + J_II^{-1} F_I(X_I,X_B) Another way to look at it is you are simply solving F_I(X_I,X_B) = 0 with given X_B so Newton?s method only uses the Jacobian of F_I with respect to X_I Barry > How can I do a similar thing when solving a nonlinear system using a newton method? > > Thanks, > > Fande, From fd.kong at siat.ac.cn Tue Feb 18 21:21:38 2014 From: fd.kong at siat.ac.cn (Fande Kong) Date: Tue, 18 Feb 2014 20:21:38 -0700 Subject: [petsc-users] Dirichlet boundary condition for a nonlinear system In-Reply-To: References: Message-ID: Barry, Thanks. I see. On Tue, Feb 18, 2014 at 6:56 PM, Barry Smith wrote: > > On Feb 18, 2014, at 5:39 PM, Fande Kong wrote: > > > Hi all, > > > > I am just trying to solve a nonlinear system resulted from > discretizating a hyperelasticity problem by finite element method. When I > solve a linear PDE, I never put boundary solution either in a solution > vector or a matrix, but instead, I put boundary condition to the right hand > size (load). > > You adjust the right hand side to have zero as the boundary > conditions. This can be written as > > (A_II A_IB ) ( X_I ) (F_I) > (A_BI A_BB)(X_B) = (F_B) > > Which is equivalent to > > (A_I A_B) (X_I) (F_I) - (A_B)*(X_B) > (0) = > > A_I X_I = F_I - A_B*X_B > > In the nonlinear case you have > > F_I(X_I,X_B) = ( 0 ) > F_B(X_I,X_B) ( 0) > > where you know X_B with Jacobian > > (J_II J_IB) > (J_BI J_BB) > > Newtons' method on all variables gives > > (X_I)^{n+1} = (X_I)^{n} + (Y_I) > (X_B) (X_B) (Y_B) > > where JY = F which written out in terms of I and B is > > (J_II J_IB) (Y_I) = F_I( X_I,X_B) > (J_BI J_BB) (Y_B) F_B(X_I,X_B) > > Now since X_B is the solution on the boundary the updates on the > boundary at zero so Y_B is zero so this system reduces to > > J_II Y_I = F_I(X_I,X_B) so Newton reduces to just the > interior with > > (X_I)^{n+1} = (X_I)^{n} + J_II^{-1} F_I(X_I,X_B) > > Another way to look at it is you are simply solving F_I(X_I,X_B) = 0 > with given X_B so Newton's method only uses the Jacobian of F_I with > respect to X_I > > Barry > > > > > > > > > > > How can I do a similar thing when solving a nonlinear system using a > newton method? > > > > Thanks, > > > > Fande, > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From s_g at berkeley.edu Tue Feb 18 22:31:58 2014 From: s_g at berkeley.edu (Sanjay Govindjee) Date: Tue, 18 Feb 2014 20:31:58 -0800 Subject: [petsc-users] Dirichlet boundary condition for a nonlinear system In-Reply-To: References: Message-ID: <530433BE.5000009@berkeley.edu> One alternate to this is that on the first step the initial value of X_B is not taken as the know value but rather some prior known value. Then for the first iteration Y_B turns out to be the known increment; in subsequent iterations it is take as 0. This can sometimes be helpful with convergence in tough problems. -sg On 2/18/14 5:56 PM, Barry Smith wrote: > On Feb 18, 2014, at 5:39 PM, Fande Kong wrote: > >> Hi all, >> >> I am just trying to solve a nonlinear system resulted from discretizating a hyperelasticity problem by finite element method. When I solve a linear PDE, I never put boundary solution either in a solution vector or a matrix, but instead, I put boundary condition to the right hand size (load). > You adjust the right hand side to have zero as the boundary conditions. This can be written as > > (A_II A_IB ) ( X_I ) (F_I) > (A_BI A_BB)(X_B) = (F_B) > > Which is equivalent to > > (A_I A_B) (X_I) (F_I) - (A_B)*(X_B) > (0) = > > A_I X_I = F_I - A_B*X_B > > In the nonlinear case you have > > F_I(X_I,X_B) = ( 0 ) > F_B(X_I,X_B) ( 0) > > where you know X_B with Jacobian > > (J_II J_IB) > (J_BI J_BB) > > Newtons? method on all variables gives > > (X_I)^{n+1} = (X_I)^{n} + (Y_I) > (X_B) (X_B) (Y_B) > > where JY = F which written out in terms of I and B is > > (J_II J_IB) (Y_I) = F_I( X_I,X_B) > (J_BI J_BB) (Y_B) F_B(X_I,X_B) > > Now since X_B is the solution on the boundary the updates on the boundary at zero so Y_B is zero so this system reduces to > > J_II Y_I = F_I(X_I,X_B) so Newton reduces to just the interior with > > (X_I)^{n+1} = (X_I)^{n} + J_II^{-1} F_I(X_I,X_B) > > Another way to look at it is you are simply solving F_I(X_I,X_B) = 0 with given X_B so Newton?s method only uses the Jacobian of F_I with respect to X_I > > Barry > > > > > > > > > >> How can I do a similar thing when solving a nonlinear system using a newton method? >> >> Thanks, >> >> Fande, From bsmith at mcs.anl.gov Tue Feb 18 22:38:03 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Tue, 18 Feb 2014 22:38:03 -0600 Subject: [petsc-users] Dirichlet boundary condition for a nonlinear system In-Reply-To: <530433BE.5000009@berkeley.edu> References: <530433BE.5000009@berkeley.edu> Message-ID: <5CDC3CF5-4EA8-46D1-9191-3CB1DD36E73F@mcs.anl.gov> So you could solve a sequence of problems where you move the boundary condition from being ?easy? to the final value you want as a kind of continuation method? Hmm, wonder how you would do that cleanly in PETSc. Barry On Feb 18, 2014, at 10:31 PM, Sanjay Govindjee wrote: > One alternate to this is that on the first step the initial value of X_B is not > taken as the know value but rather some prior known value. Then for the first > iteration Y_B turns out to be the known increment; in subsequent iterations it > is take as 0. This can sometimes be helpful with convergence in tough problems. > > -sg > > > On 2/18/14 5:56 PM, Barry Smith wrote: >> On Feb 18, 2014, at 5:39 PM, Fande Kong wrote: >> >>> Hi all, >>> >>> I am just trying to solve a nonlinear system resulted from discretizating a hyperelasticity problem by finite element method. When I solve a linear PDE, I never put boundary solution either in a solution vector or a matrix, but instead, I put boundary condition to the right hand size (load). >> You adjust the right hand side to have zero as the boundary conditions. This can be written as >> >> (A_II A_IB ) ( X_I ) (F_I) >> (A_BI A_BB)(X_B) = (F_B) >> >> Which is equivalent to >> >> (A_I A_B) (X_I) (F_I) - (A_B)*(X_B) >> (0) = >> >> A_I X_I = F_I - A_B*X_B >> >> In the nonlinear case you have >> >> F_I(X_I,X_B) = ( 0 ) >> F_B(X_I,X_B) ( 0) >> >> where you know X_B with Jacobian >> >> (J_II J_IB) >> (J_BI J_BB) >> Newtons? method on all variables gives >> >> (X_I)^{n+1} = (X_I)^{n} + (Y_I) >> (X_B) (X_B) (Y_B) >> >> where JY = F which written out in terms of I and B is >> >> (J_II J_IB) (Y_I) = F_I( X_I,X_B) >> (J_BI J_BB) (Y_B) F_B(X_I,X_B) >> >> Now since X_B is the solution on the boundary the updates on the boundary at zero so Y_B is zero so this system reduces to >> >> J_II Y_I = F_I(X_I,X_B) so Newton reduces to just the interior with >> >> (X_I)^{n+1} = (X_I)^{n} + J_II^{-1} F_I(X_I,X_B) >> >> Another way to look at it is you are simply solving F_I(X_I,X_B) = 0 with given X_B so Newton?s method only uses the Jacobian of F_I with respect to X_I >> >> Barry >> >> >> >> >> >> >> >>> How can I do a similar thing when solving a nonlinear system using a newton method? >>> >>> Thanks, >>> >>> Fande, > From s_g at berkeley.edu Tue Feb 18 23:26:14 2014 From: s_g at berkeley.edu (Sanjay Govindjee) Date: Tue, 18 Feb 2014 21:26:14 -0800 Subject: [petsc-users] Dirichlet boundary condition for a nonlinear system In-Reply-To: <5CDC3CF5-4EA8-46D1-9191-3CB1DD36E73F@mcs.anl.gov> References: <530433BE.5000009@berkeley.edu> <5CDC3CF5-4EA8-46D1-9191-3CB1DD36E73F@mcs.anl.gov> Message-ID: <53044076.4070900@berkeley.edu> Yes that is exactly what we do. In fact it is a bit better than your typical continuation/homotopy methods since the solutions along the way are physically meaningful and also often of interest. In our FEA+PETSc code we do this but we only call PETSc for the linear solves. We handle all the Newton stuff within our own code. For us this was an easier route to a fully working non-linear FEA code since we started with a fully working non-linear serial FEA code. -sg On 2/18/14 8:38 PM, Barry Smith wrote: > So you could solve a sequence of problems where you move the boundary condition from being ?easy? to the final value you want as a kind of continuation method? > > Hmm, wonder how you would do that cleanly in PETSc. > > Barry > > On Feb 18, 2014, at 10:31 PM, Sanjay Govindjee wrote: > >> One alternate to this is that on the first step the initial value of X_B is not >> taken as the know value but rather some prior known value. Then for the first >> iteration Y_B turns out to be the known increment; in subsequent iterations it >> is take as 0. This can sometimes be helpful with convergence in tough problems. >> >> -sg >> >> >> On 2/18/14 5:56 PM, Barry Smith wrote: >>> On Feb 18, 2014, at 5:39 PM, Fande Kong wrote: >>> >>>> Hi all, >>>> >>>> I am just trying to solve a nonlinear system resulted from discretizating a hyperelasticity problem by finite element method. When I solve a linear PDE, I never put boundary solution either in a solution vector or a matrix, but instead, I put boundary condition to the right hand size (load). >>> You adjust the right hand side to have zero as the boundary conditions. This can be written as >>> >>> (A_II A_IB ) ( X_I ) (F_I) >>> (A_BI A_BB)(X_B) = (F_B) >>> >>> Which is equivalent to >>> >>> (A_I A_B) (X_I) (F_I) - (A_B)*(X_B) >>> (0) = >>> >>> A_I X_I = F_I - A_B*X_B >>> >>> In the nonlinear case you have >>> >>> F_I(X_I,X_B) = ( 0 ) >>> F_B(X_I,X_B) ( 0) >>> >>> where you know X_B with Jacobian >>> >>> (J_II J_IB) >>> (J_BI J_BB) >>> Newtons? method on all variables gives >>> >>> (X_I)^{n+1} = (X_I)^{n} + (Y_I) >>> (X_B) (X_B) (Y_B) >>> >>> where JY = F which written out in terms of I and B is >>> >>> (J_II J_IB) (Y_I) = F_I( X_I,X_B) >>> (J_BI J_BB) (Y_B) F_B(X_I,X_B) >>> >>> Now since X_B is the solution on the boundary the updates on the boundary at zero so Y_B is zero so this system reduces to >>> >>> J_II Y_I = F_I(X_I,X_B) so Newton reduces to just the interior with >>> >>> (X_I)^{n+1} = (X_I)^{n} + J_II^{-1} F_I(X_I,X_B) >>> >>> Another way to look at it is you are simply solving F_I(X_I,X_B) = 0 with given X_B so Newton?s method only uses the Jacobian of F_I with respect to X_I >>> >>> Barry >>> >>> >>> >>> >>> >>> >>> >>>> How can I do a similar thing when solving a nonlinear system using a newton method? >>>> >>>> Thanks, >>>> >>>> Fande, From christophe.ortiz at ciemat.es Wed Feb 19 01:50:36 2014 From: christophe.ortiz at ciemat.es (Christophe Ortiz) Date: Wed, 19 Feb 2014 08:50:36 +0100 Subject: [petsc-users] From 1D to 3D problem ? Unstructured mesh ? Message-ID: Hi all, Recently I have implemented a 1D problem of coupled diffusion equations using PETSc. I did it using finite differences for diffusion terms and F(t,U,U_t) = 0. It works pretty well with ARKIMEX3. I get a nice timestep variation and all boundary conditions work well. Now I would like to move to 3D problems to simulate the diffusion and interaction of species in a "real material". By real material I mean a material made of subregions with internal surfaces where species could recombine (means Dirichlet). These subregions are distributed in a complicated manner, ie not cartesian. A good picture of this would be a polycrystal (see attachment to get an idea). Each crystal has a different orientation and the boundary between two small crystals forms an internal surface. I have several questions on how to implement this: 1) Since, the problem will not be solved in a cartesian mesh, should I use unstructured meshes ? If so, how can this unstructured mesh can be generated ( I have no experience with unstructured meshes. I always work in 1D). 2) If answer to 1) is yes, what are the steps to follow to use unstructured mesh with PETSc ? 3) If answer to 1) is yes, ie unstructured meshes should be used, should I use a finite volume approach instead of a finite differences ? 4) As I mentionned before, there will be internal surfaces between the subregions, ie there will not only be a unique surface outside the volume. Do you think the presence of internal surfaces, ie internal boundary conditions, can be implemented ? Many thanks in advance for your help. Christophe -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Polycrystal.png Type: image/png Size: 170485 bytes Desc: not available URL: From epscodes at gmail.com Wed Feb 19 10:40:33 2014 From: epscodes at gmail.com (Xiangdong) Date: Wed, 19 Feb 2014 11:40:33 -0500 Subject: [petsc-users] questions about dm/examples/tutorials/ex5.c Message-ID: Hello everyone, I am running the dm tutorial ex5. I have a few quick questions: 1) what do DMDA_ELEMENT_P1 and DMDA_ELEMENT_Q1 mean? I googled, but did not find the answer. 2) the m and n for DMDACreate2d are used as PETSC_DECIDE. when I print these values, it seems that m=-1 and n=-1. Can the number of processors per dimension be negative? Does -1 corresponds to some special meaning in PETSc? 3) When I run the program with np=1, I get ne=126 and nc=3 from DMDAGetElements(da,&ne,&nc,&e). It is not clear for me where 126 and 3 come from. Can you explain a little bit? Thank you. Xiangdong -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Wed Feb 19 10:58:17 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Wed, 19 Feb 2014 10:58:17 -0600 Subject: [petsc-users] questions about dm/examples/tutorials/ex5.c In-Reply-To: References: Message-ID: <052E909E-B5E7-49A0-AFB9-B4A8BF9B6DB5@mcs.anl.gov> On Feb 19, 2014, at 10:40 AM, Xiangdong wrote: > Hello everyone, > > I am running the dm tutorial ex5. I have a few quick questions: > > 1) what do DMDA_ELEMENT_P1 and DMDA_ELEMENT_Q1 mean? I googled, but did not find the answer. See DMCreateInterpolation_DA_1D/2D/3D_Q0/Q1 in dainterp.c It simple means the interpolation is piecewise constant (cell centered elements) or piecewise bilinear Q1 elements. > > 2) the m and n for DMDACreate2d are used as PETSC_DECIDE. when I print these values, it seems that m=-1 and n=-1. Can the number of processors per dimension be negative? Does -1 corresponds to some special meaning in PETSc? Yes, when PETSC_DECIDE (which is -1) is used then the routine decides the value to use based on other values passed in. > > 3) When I run the program with np=1, I get ne=126 and nc=3 from DMDAGetElements(da,&ne,&nc,&e). It is not clear for me where 126 and 3 come from. Can you explain a little bit? There are 126 elements, each with three nc=3 nodes (hence triangles). 126 triangles/2 = 63 rectangles which comes from an 63 = (10 - 1) * (8 - 1) elements from a 10 by 8 mesh which are the inputs in DMDACreate2d Barry > > Thank you. > > Xiangdong From asmund.ervik at ntnu.no Thu Feb 20 09:59:06 2014 From: asmund.ervik at ntnu.no (=?utf-8?B?w4VzbXVuZCBFcnZpaw==?=) Date: Thu, 20 Feb 2014 15:59:06 +0000 Subject: [petsc-users] Using DM for a refined level-set grid Message-ID: Dear users of PETSc, We're talking about adding a refined level-set grid method (M. Herrmann, doi:10.1016/j.jcp.2007.11.002) to our code. Currently we solve two-phase Navier-Stokes (ghost fluid method) together with a standard level-set approach on a uniform Cartesian grid. What we're thinking is the following: we will have 2 grids for the level-set function. One will be the same as for the flow field, this is the coarse grid. The other is a refined (still uniform Cartesian) grid used only for the level-set function. The coarse grid will have values that lets us know if we are close to an interface or not. If we are not close to an interface, we don't want to store (allocate) any value for the level-set function on the fine grid. I'm guessing "close" will mean roughly "when the absolute value of the level-set function is <5*dxCoarse". Are there any DM tricks in PETSc we can use to achieve this "sparsely stored" refined grid? I realise this simplified version of Herrmann's method does not do load balancing etc., but level-set computations are cheap compared to the flow solver. Best regards, ?smund Sent from my VT-102 -------------- next part -------------- An HTML attachment was scrubbed... URL: From fischega at westinghouse.com Fri Feb 21 11:02:56 2014 From: fischega at westinghouse.com (Fischer, Greg A.) Date: Fri, 21 Feb 2014 12:02:56 -0500 Subject: [petsc-users] partial stencil in DMDA? Message-ID: Hello, I'm interested in using PETSc to manage distributed arrays. Based on my reading about the DMDA objects, I see that ghost points can be communicated in box-type stencils or star-type stencils. For my application, assume that I have a 2D DMDA object with star-type stencils. For a typical local calculation, I only need to access ghost values from two of the four directions at a time. For example, I'd like access to ghost values in the South and East directions, but not in the North or West directions. Communicating North and West data would seem to be wasting bandwidth. Is there any way to accomplish this? Thanks, Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Fri Feb 21 11:20:35 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Fri, 21 Feb 2014 11:20:35 -0600 Subject: [petsc-users] partial stencil in DMDA? In-Reply-To: References: Message-ID: <54827014-B2AC-471E-B01E-64DD19568AF3@mcs.anl.gov> On Feb 21, 2014, at 11:02 AM, Fischer, Greg A. wrote: > Hello, > > I?m interested in using PETSc to manage distributed arrays. Based on my reading about the DMDA objects, I see that ghost points can be communicated in box-type stencils or star-type stencils. > > For my application, assume that I have a 2D DMDA object with star-type stencils. For a typical local calculation, I only need to access ghost values from two of the four directions at a time. For example, I?d like access to ghost values in the South and East directions, but not in the North or West directions. Communicating North and West data would seem to be wasting bandwidth. Is there any way to accomplish this? Greg, There is not anything built in. Here is what I suggest: 1) write your application code not worrying about the fact that the DMGlobalToLocalBegin/End() is moving values you don?t need. 2) when your code is running correctly for your problem and giving useful results if the communication times are impacting how long it takes to run you can provide a custom communication pattern. It would involve little additional coding essentially taking DMSetUp_DA_2D() which creates the list of ghost points and removing the unneeded ghost points. But it would be premature to do this optimization until you have a full working application code. Barry > > Thanks, > Greg From fischega at westinghouse.com Fri Feb 21 13:12:10 2014 From: fischega at westinghouse.com (Fischer, Greg A.) Date: Fri, 21 Feb 2014 14:12:10 -0500 Subject: [petsc-users] partial stencil in DMDA? In-Reply-To: <54827014-B2AC-471E-B01E-64DD19568AF3@mcs.anl.gov> References: <54827014-B2AC-471E-B01E-64DD19568AF3@mcs.anl.gov> Message-ID: Barry, Thanks! I have another question. The user manual says: PETSc currently provides no container for multiple arrays sharing the same distributed array communication; note, however, that the dof parameter handles many cases of interest. In my application, each space location will have on the order of hundreds of values associated with it (which I believe translates to dof=O(100) - I don't see the "degrees of freedom" explicitly defined anywhere). However, when communicating ghost values, not all of those degrees of freedom should be exchanged at once. I need to be able to exchange one at a time. It sounds like what I may want to do is use VecCreateGhost(), which would allow me to define exactly where the ghost points are, and then duplicate that vector using VecDuplicateVecs() for each DOF. I can then scatter the vectors individually as the need arises. Does that sound reasonable? Greg >-----Original Message----- >From: Barry Smith [mailto:bsmith at mcs.anl.gov] >Sent: Friday, February 21, 2014 12:21 PM >To: Fischer, Greg A. >Cc: petsc-users at mcs.anl.gov >Subject: Re: [petsc-users] partial stencil in DMDA? > > >On Feb 21, 2014, at 11:02 AM, Fischer, Greg A. > >wrote: > >> Hello, >> >> I'm interested in using PETSc to manage distributed arrays. Based on my >reading about the DMDA objects, I see that ghost points can be >communicated in box-type stencils or star-type stencils. >> >> For my application, assume that I have a 2D DMDA object with star-type >stencils. For a typical local calculation, I only need to access ghost values >from two of the four directions at a time. For example, I'd like access to ghost >values in the South and East directions, but not in the North or West >directions. Communicating North and West data would seem to be wasting >bandwidth. Is there any way to accomplish this? > > Greg, > > There is not anything built in. Here is what I suggest: > >1) write your application code not worrying about the fact that the >DMGlobalToLocalBegin/End() is moving values you don't need. > >2) when your code is running correctly for your problem and giving useful >results if the communication times are impacting how long it takes to run you >can provide a custom communication pattern. It would involve little >additional coding essentially taking DMSetUp_DA_2D() which creates the list >of ghost points and removing the unneeded ghost points. But it would be >premature to do this optimization until you have a full working application >code. > > Barry > >> >> Thanks, >> Greg > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From epscodes at gmail.com Fri Feb 21 13:15:13 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 21 Feb 2014 14:15:13 -0500 Subject: [petsc-users] cannot compile/use ml with 64 bit integers Message-ID: Hello everyone, When I compile petsc with options -with-64-bit-indices and ml packages, I got the error like this: "Cannot use ml with 64 bit integers, it is not coded for this capability". If I want to use ml as a preconditioner for long vectors (> 2 billions), is there any solution? Thank you. Best, Xiangdong -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Fri Feb 21 14:19:31 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Fri, 21 Feb 2014 14:19:31 -0600 Subject: [petsc-users] partial stencil in DMDA? In-Reply-To: References: <54827014-B2AC-471E-B01E-64DD19568AF3@mcs.anl.gov> Message-ID: <07231036-F97E-4C58-9ED3-BAC55C356793@mcs.anl.gov> Greg, The general mechanism for moving elements of vector between processes is with VecScatterCreate() and VecScatterBegin/End() with it you can indicate exactly what values are to move and to where, but it is all based on ?one dimension? indexing into the vector. DMDA provides a subset of communication for ?structured meshes? (essentially 1,2, 3 dimensional arrays split among processes with horizontal and vertical cuts). It is pretty much all or nothing in terms of communicating neighbor information. VecCreateGhost() uses the VecScatter mechanism to set up a SINGLE communication pattern between a Vec and its ghosted partner Vec. Based on your email: ?However, when communicating ghost values, not all of those degrees of freedom should be exchanged at once.? it sounds like you need several (many) communication patterns requiring different ghost entries in each. 1) The hard general case: if for each set of ghost points you may need several entries from one grid point and a different number of entries from another grid point VecScatterCreate() (called multiple times, one for each pattern) and VecScatterBegin/End() are intended for this purpose. However if you are working with a 2 dimension grid/array you want to do ghosting for you need to initially map your ghosting patterns from the 2d indexing to the 1d indexing of the VecScatterCreate() which is a bit painful. You can see the routine I mentioned before DMSetUp_DA_2D() but it would need to be heavily modified. 2) The easy case: if, for example, you need just the first index from each point communicated as a ghost and then next the second and then next the third you can avoid all custom communication patterns and just create 2 DMDA, one with a dof of 100 (or what ever it is for your case) and one with dof of 1 then use VecStrideGather to pull out the one component of the global vector (with the dof of 100) into a Vec obtained from DMCreateGlobalVector() from the dof of 1 DMDA then use the DMGlobalToLocalBegin/End on the 1 dof DMDA and now you have your single ghost point at each point vector that you want. Barry On Feb 21, 2014, at 1:12 PM, Fischer, Greg A. wrote: > Barry, > > Thanks! I have another question. The user manual says: > > PETSc currently provides no container for multiple arrays sharing the same distributed array communication; note, however, that the dof parameter handles many cases of interest. > > In my application, each space location will have on the order of hundreds of values associated with it (which I believe translates to dof=O(100) ? I don?t see the ?degrees of freedom? explicitly defined anywhere). However, when communicating ghost values, not all of those degrees of freedom should be exchanged at once. I need to be able to exchange one at a time. > > It sounds like what I may want to do is use VecCreateGhost(), which would allow me to define exactly where the ghost points are, and then duplicate that vector using VecDuplicateVecs() for each DOF. I can then scatter the vectors individually as the need arises. Does that sound reasonable? > > Greg > > >-----Original Message----- > >From: Barry Smith [mailto:bsmith at mcs.anl.gov] > >Sent: Friday, February 21, 2014 12:21 PM > >To: Fischer, Greg A. > >Cc: petsc-users at mcs.anl.gov > >Subject: Re: [petsc-users] partial stencil in DMDA? > > > > > >On Feb 21, 2014, at 11:02 AM, Fischer, Greg A. > >wrote: > > > >> Hello, > >> > >> I?m interested in using PETSc to manage distributed arrays. Based on my > >reading about the DMDA objects, I see that ghost points can be > >communicated in box-type stencils or star-type stencils. > >> > >> For my application, assume that I have a 2D DMDA object with star-type > >stencils. For a typical local calculation, I only need to access ghost values > >from two of the four directions at a time. For example, I?d like access to ghost > >values in the South and East directions, but not in the North or West > >directions. Communicating North and West data would seem to be wasting > >bandwidth. Is there any way to accomplish this? > > > > Greg, > > > > There is not anything built in. Here is what I suggest: > > > >1) write your application code not worrying about the fact that the > >DMGlobalToLocalBegin/End() is moving values you don?t need. > > > >2) when your code is running correctly for your problem and giving useful > >results if the communication times are impacting how long it takes to run you > >can provide a custom communication pattern. It would involve little > >additional coding essentially taking DMSetUp_DA_2D() which creates the list > >of ghost points and removing the unneeded ghost points. But it would be > >premature to do this optimization until you have a full working application > >code. > > > > Barry > > > >> > >> Thanks, > >> Greg > > > > From bsmith at mcs.anl.gov Fri Feb 21 14:28:08 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Fri, 21 Feb 2014 14:28:08 -0600 Subject: [petsc-users] cannot compile/use ml with 64 bit integers In-Reply-To: References: Message-ID: <21F06A1B-0E03-416E-AD1E-047FC2624928@mcs.anl.gov> Though ml does support 64 bit integers for long vectors they do it in a fundamentally different way than PETSc; only certain integer data is stored in 64 bit form while most integer values are stored in 32 bit integers. In PETSc we manage all integers as either 32 or 64 bit so mixing the two libraries in this case is not possible without a huge amount of work. Sorry about this. You might consider using hype?s Boomeramg or PETSc?s GAMG algebraic multigrid solvers instead, both of which can be used with 64 bit indices. Barry On Feb 21, 2014, at 1:15 PM, Xiangdong wrote: > Hello everyone, > > When I compile petsc with options -with-64-bit-indices and ml packages, I got the error like this: "Cannot use ml with 64 bit integers, it is not coded for this capability". > > If I want to use ml as a preconditioner for long vectors (> 2 billions), is there any solution? > > Thank you. > > Best, > Xiangdong > From ckhuangf at gmail.com Fri Feb 21 14:34:03 2014 From: ckhuangf at gmail.com (Chung-Kan Huang) Date: Fri, 21 Feb 2014 14:34:03 -0600 Subject: [petsc-users] (no subject) Message-ID: Hello, In my application I like to use PetscErrorCode KSPSetOperators(KSP ksp,Mat Amat,Mat Pmat,MatStructure flag) and have Pmat different from Amat if Amat = L + D + U then Pmat = Amat - L* - U* + rowsum(L* + U*) where L* and U* is a portion of L and U and rowsum(L* + U*) will add into D I know I can explicitly construct Pmat step-by-step but wonder what will be the most easy way to do this in PETSC? Thanks, Kan -------------- next part -------------- An HTML attachment was scrubbed... URL: From ckhuangf at gmail.com Fri Feb 21 14:41:03 2014 From: ckhuangf at gmail.com (Chung-Kan Huang) Date: Fri, 21 Feb 2014 14:41:03 -0600 Subject: [petsc-users] Using Pmat different from Amat Message-ID: Hello, In my application I like to use PetscErrorCode KSPSetOperators(KSP ksp,Mat Amat,Mat Pmat,MatStructure flag) and have Pmat different from Amat if Amat = L + D + U then Pmat = Amat - L* - U* + rowsum(L* + U*) where L* and U* is a portion of L and U and rowsum(L* + U*) will add into D I know I can explicitly construct Pmat step-by-step but wonder what will be the most easy way to do this in PETSC? Thanks, Kan -------------- next part -------------- An HTML attachment was scrubbed... URL: From fischega at westinghouse.com Fri Feb 21 14:42:36 2014 From: fischega at westinghouse.com (Fischer, Greg A.) Date: Fri, 21 Feb 2014 15:42:36 -0500 Subject: [petsc-users] partial stencil in DMDA? In-Reply-To: <07231036-F97E-4C58-9ED3-BAC55C356793@mcs.anl.gov> References: <54827014-B2AC-471E-B01E-64DD19568AF3@mcs.anl.gov> <07231036-F97E-4C58-9ED3-BAC55C356793@mcs.anl.gov> Message-ID: Barry, If I'm interpreting correctly, the 2nd case would work fine for me. However, perhaps I was previously over-complicating the problem. Could I not just: 1. create a DMDA 2. create a global vector with DOF=1 3. call VecDuplicateVecs() against the DOF=1 global vector for my other ~100 DOFs and then independently manage the duplicated vectors with the array returned by VecDuplicateVecs()? Also, when you mentioned changes to DMSetUp_DA_2D() in your original reply, you're suggesting that I could modify the PETSc source code, not use some pre-existing interface, correct? Thanks, Greg >-----Original Message----- >From: Barry Smith [mailto:bsmith at mcs.anl.gov] >Sent: Friday, February 21, 2014 3:20 PM >To: Fischer, Greg A. >Cc: petsc-users at mcs.anl.gov >Subject: Re: [petsc-users] partial stencil in DMDA? > > > Greg, > > The general mechanism for moving elements of vector between processes >is with VecScatterCreate() and VecScatterBegin/End() with it you can indicate >exactly what values are to move and to where, but it is all based on "one >dimension" indexing into the vector. > > DMDA provides a subset of communication for "structured meshes" >(essentially 1,2, 3 dimensional arrays split among processes with horizontal >and vertical cuts). It is pretty much all or nothing in terms of communicating >neighbor information. > > VecCreateGhost() uses the VecScatter mechanism to set up a SINGLE >communication pattern between a Vec and its ghosted partner Vec. > > Based on your email: "However, when communicating ghost values, not all >of those degrees of freedom should be exchanged at once." it sounds like >you need several (many) communication patterns requiring different ghost >entries in each. > >1) The hard general case: if for each set of ghost points you may need several >entries from one grid point and a different number of entries from another >grid point VecScatterCreate() (called multiple times, one for each pattern) >and VecScatterBegin/End() are intended for this purpose. However if you are >working with a 2 dimension grid/array you want to do ghosting for you need >to initially map your ghosting patterns from the 2d indexing to the 1d >indexing of the VecScatterCreate() which is a bit painful. You can see the >routine I mentioned before DMSetUp_DA_2D() but it would need to be >heavily modified. > >2) The easy case: if, for example, you need just the first index from each >point communicated as a ghost and then next the second and then next the >third you can avoid all custom communication patterns and just create 2 >DMDA, one with a dof of 100 (or what ever it is for your case) and one with >dof of 1 then use VecStrideGather to pull out the one component of the >global vector (with the dof of 100) into a Vec obtained from >DMCreateGlobalVector() from the dof of 1 DMDA then use the >DMGlobalToLocalBegin/End on the 1 dof DMDA and now you have your single >ghost point at each point vector that you want. > > Barry > > > > >On Feb 21, 2014, at 1:12 PM, Fischer, Greg A. >wrote: > >> Barry, >> >> Thanks! I have another question. The user manual says: >> >> PETSc currently provides no container for multiple arrays sharing >the same distributed array communication; note, however, that the dof >parameter handles many cases of interest. >> >> In my application, each space location will have on the order of hundreds of >values associated with it (which I believe translates to dof=O(100) - I don't >see the "degrees of freedom" explicitly defined anywhere). However, when >communicating ghost values, not all of those degrees of freedom should be >exchanged at once. I need to be able to exchange one at a time. >> >> It sounds like what I may want to do is use VecCreateGhost(), which would >allow me to define exactly where the ghost points are, and then duplicate >that vector using VecDuplicateVecs() for each DOF. I can then scatter the >vectors individually as the need arises. Does that sound reasonable? >> >> Greg >> >> >-----Original Message----- >> >From: Barry Smith [mailto:bsmith at mcs.anl.gov] >> >Sent: Friday, February 21, 2014 12:21 PM >> >To: Fischer, Greg A. >> >Cc: petsc-users at mcs.anl.gov >> >Subject: Re: [petsc-users] partial stencil in DMDA? >> > >> > >> >On Feb 21, 2014, at 11:02 AM, Fischer, Greg A. >> > >> >wrote: >> > >> >> Hello, >> >> >> >> I'm interested in using PETSc to manage distributed arrays. Based >> >> on my >> >reading about the DMDA objects, I see that ghost points can be >> >communicated in box-type stencils or star-type stencils. >> >> >> >> For my application, assume that I have a 2D DMDA object with >> >> star-type >> >stencils. For a typical local calculation, I only need to access >> >ghost values from two of the four directions at a time. For example, >> >I'd like access to ghost values in the South and East directions, but >> >not in the North or West directions. Communicating North and West >> >data would seem to be wasting bandwidth. Is there any way to accomplish >this? >> > >> > Greg, >> > >> > There is not anything built in. Here is what I suggest: >> > >> >1) write your application code not worrying about the fact that the >> >DMGlobalToLocalBegin/End() is moving values you don't need. >> > >> >2) when your code is running correctly for your problem and giving >> >useful results if the communication times are impacting how long it >> >takes to run you can provide a custom communication pattern. It would >> >involve little additional coding essentially taking DMSetUp_DA_2D() >> >which creates the list of ghost points and removing the unneeded >> >ghost points. But it would be premature to do this optimization >> >until you have a full working application code. >> > >> > Barry >> > >> >> >> >> Thanks, >> >> Greg >> > >> > > > From epscodes at gmail.com Fri Feb 21 15:20:40 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 21 Feb 2014 16:20:40 -0500 Subject: [petsc-users] cannot compile/use ml with 64 bit integers In-Reply-To: <21F06A1B-0E03-416E-AD1E-047FC2624928@mcs.anl.gov> References: <21F06A1B-0E03-416E-AD1E-047FC2624928@mcs.anl.gov> Message-ID: On Fri, Feb 21, 2014 at 3:28 PM, Barry Smith wrote: > > Though ml does support 64 bit integers for long vectors they do it in a > fundamentally different way than PETSc; only certain integer data is stored > in 64 bit form while most integer values are stored in 32 bit integers. In > PETSc we manage all integers as either 32 or 64 bit so mixing the two > libraries in this case is not possible without a huge amount of work. > Sorry about this. > > You might consider using hype's Boomeramg or PETSc's GAMG algebraic > multigrid solvers instead, both of which can be used with 64 bit indices. > Thanks a lot for your suggestions. That is very helpful. Xiangdong > > Barry > > On Feb 21, 2014, at 1:15 PM, Xiangdong wrote: > > > Hello everyone, > > > > When I compile petsc with options -with-64-bit-indices and ml packages, > I got the error like this: "Cannot use ml with 64 bit integers, it is not > coded for this capability". > > > > If I want to use ml as a preconditioner for long vectors (> 2 billions), > is there any solution? > > > > Thank you. > > > > Best, > > Xiangdong > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Fri Feb 21 15:48:13 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Fri, 21 Feb 2014 15:48:13 -0600 Subject: [petsc-users] partial stencil in DMDA? In-Reply-To: References: <54827014-B2AC-471E-B01E-64DD19568AF3@mcs.anl.gov> <07231036-F97E-4C58-9ED3-BAC55C356793@mcs.anl.gov> Message-ID: On Feb 21, 2014, at 2:42 PM, Fischer, Greg A. wrote: > Barry, > > If I'm interpreting correctly, the 2nd case would work fine for me. However, perhaps I was previously over-complicating the problem. Could I not just: > > 1. create a DMDA > 2. create a global vector with DOF=1 > 3. call VecDuplicateVecs() against the DOF=1 global vector for my other ~100 DOFs > > and then independently manage the duplicated vectors with the array returned by VecDuplicateVecs()? You can do this and depending on your needs it can be fine. It really depends on what computations you are doing on the vectors. We refer the two different ways of storing the data: x0 y0 z0 x1 y1 z1 ?. xn yn zn (where dof is 3 in this case as interlaced storage and x0 x1 ? xn y0 y1 ? yn z0 z1 ? zn as noninterlaced. Interlaced can be much faster if you have calculations that involve say x_p y_p z_p together (since they are all stored together in memory you get good use of cache and cache lines) if you have calculations that involve some x then later some y then later some z then non interlaced is better. If you have a calculation that involves x_p y_p ?.. z_p where there are 100 dof then just loading these values will take 100 cache lines and be inefficient and interlaced is better. > > Also, when you mentioned changes to DMSetUp_DA_2D() in your original reply, you're suggesting that I could modify the PETSc source code, not use some pre-existing interface, correct? Yes > > Thanks, > Greg > >> -----Original Message----- >> From: Barry Smith [mailto:bsmith at mcs.anl.gov] >> Sent: Friday, February 21, 2014 3:20 PM >> To: Fischer, Greg A. >> Cc: petsc-users at mcs.anl.gov >> Subject: Re: [petsc-users] partial stencil in DMDA? >> >> >> Greg, >> >> The general mechanism for moving elements of vector between processes >> is with VecScatterCreate() and VecScatterBegin/End() with it you can indicate >> exactly what values are to move and to where, but it is all based on "one >> dimension" indexing into the vector. >> >> DMDA provides a subset of communication for "structured meshes" >> (essentially 1,2, 3 dimensional arrays split among processes with horizontal >> and vertical cuts). It is pretty much all or nothing in terms of communicating >> neighbor information. >> >> VecCreateGhost() uses the VecScatter mechanism to set up a SINGLE >> communication pattern between a Vec and its ghosted partner Vec. >> >> Based on your email: "However, when communicating ghost values, not all >> of those degrees of freedom should be exchanged at once." it sounds like >> you need several (many) communication patterns requiring different ghost >> entries in each. >> >> 1) The hard general case: if for each set of ghost points you may need several >> entries from one grid point and a different number of entries from another >> grid point VecScatterCreate() (called multiple times, one for each pattern) >> and VecScatterBegin/End() are intended for this purpose. However if you are >> working with a 2 dimension grid/array you want to do ghosting for you need >> to initially map your ghosting patterns from the 2d indexing to the 1d >> indexing of the VecScatterCreate() which is a bit painful. You can see the >> routine I mentioned before DMSetUp_DA_2D() but it would need to be >> heavily modified. >> >> 2) The easy case: if, for example, you need just the first index from each >> point communicated as a ghost and then next the second and then next the >> third you can avoid all custom communication patterns and just create 2 >> DMDA, one with a dof of 100 (or what ever it is for your case) and one with >> dof of 1 then use VecStrideGather to pull out the one component of the >> global vector (with the dof of 100) into a Vec obtained from >> DMCreateGlobalVector() from the dof of 1 DMDA then use the >> DMGlobalToLocalBegin/End on the 1 dof DMDA and now you have your single >> ghost point at each point vector that you want. >> >> Barry >> >> >> >> >> On Feb 21, 2014, at 1:12 PM, Fischer, Greg A. >> wrote: >> >>> Barry, >>> >>> Thanks! I have another question. The user manual says: >>> >>> PETSc currently provides no container for multiple arrays sharing >> the same distributed array communication; note, however, that the dof >> parameter handles many cases of interest. >>> >>> In my application, each space location will have on the order of hundreds of >> values associated with it (which I believe translates to dof=O(100) - I don't >> see the "degrees of freedom" explicitly defined anywhere). However, when >> communicating ghost values, not all of those degrees of freedom should be >> exchanged at once. I need to be able to exchange one at a time. >>> >>> It sounds like what I may want to do is use VecCreateGhost(), which would >> allow me to define exactly where the ghost points are, and then duplicate >> that vector using VecDuplicateVecs() for each DOF. I can then scatter the >> vectors individually as the need arises. Does that sound reasonable? >>> >>> Greg >>> >>>> -----Original Message----- >>>> From: Barry Smith [mailto:bsmith at mcs.anl.gov] >>>> Sent: Friday, February 21, 2014 12:21 PM >>>> To: Fischer, Greg A. >>>> Cc: petsc-users at mcs.anl.gov >>>> Subject: Re: [petsc-users] partial stencil in DMDA? >>>> >>>> >>>> On Feb 21, 2014, at 11:02 AM, Fischer, Greg A. >>>> >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> I'm interested in using PETSc to manage distributed arrays. Based >>>>> on my >>>> reading about the DMDA objects, I see that ghost points can be >>>> communicated in box-type stencils or star-type stencils. >>>>> >>>>> For my application, assume that I have a 2D DMDA object with >>>>> star-type >>>> stencils. For a typical local calculation, I only need to access >>>> ghost values from two of the four directions at a time. For example, >>>> I'd like access to ghost values in the South and East directions, but >>>> not in the North or West directions. Communicating North and West >>>> data would seem to be wasting bandwidth. Is there any way to accomplish >> this? >>>> >>>> Greg, >>>> >>>> There is not anything built in. Here is what I suggest: >>>> >>>> 1) write your application code not worrying about the fact that the >>>> DMGlobalToLocalBegin/End() is moving values you don't need. >>>> >>>> 2) when your code is running correctly for your problem and giving >>>> useful results if the communication times are impacting how long it >>>> takes to run you can provide a custom communication pattern. It would >>>> involve little additional coding essentially taking DMSetUp_DA_2D() >>>> which creates the list of ghost points and removing the unneeded >>>> ghost points. But it would be premature to do this optimization >>>> until you have a full working application code. >>>> >>>> Barry >>>> >>>>> >>>>> Thanks, >>>>> Greg >>>> >>>> >> >> > > From fischega at westinghouse.com Fri Feb 21 16:12:22 2014 From: fischega at westinghouse.com (Fischer, Greg A.) Date: Fri, 21 Feb 2014 17:12:22 -0500 Subject: [petsc-users] partial stencil in DMDA? In-Reply-To: References: <54827014-B2AC-471E-B01E-64DD19568AF3@mcs.anl.gov> <07231036-F97E-4C58-9ED3-BAC55C356793@mcs.anl.gov> Message-ID: Barry, Thanks for your time. I have a better understanding now. Greg >-----Original Message----- >From: Barry Smith [mailto:bsmith at mcs.anl.gov] >Sent: Friday, February 21, 2014 4:48 PM >To: Fischer, Greg A. >Cc: petsc-users at mcs.anl.gov >Subject: Re: [petsc-users] partial stencil in DMDA? > > >On Feb 21, 2014, at 2:42 PM, Fischer, Greg A. >wrote: > >> Barry, >> >> If I'm interpreting correctly, the 2nd case would work fine for me. However, >perhaps I was previously over-complicating the problem. Could I not just: >> >> 1. create a DMDA >> 2. create a global vector with DOF=1 >> 3. call VecDuplicateVecs() against the DOF=1 global vector for my >> other ~100 DOFs >> >> and then independently manage the duplicated vectors with the array >returned by VecDuplicateVecs()? > > You can do this and depending on your needs it can be fine. It really >depends on what computations you are doing on the vectors. We refer the >two different ways of storing the data: x0 y0 z0 x1 y1 z1 .... xn yn zn (where >dof is 3 in this case as interlaced storage and x0 x1 ... xn y0 y1 ... yn z0 z1 ... >zn as noninterlaced. >Interlaced can be much faster if you have calculations that involve say x_p >y_p z_p together (since they are all stored together in memory you get good >use of cache and cache lines) if you have calculations that involve some x >then later some y then later some z then non interlaced is better. If you have >a calculation that involves x_p y_p ..... z_p where there are 100 dof then just >loading these values will take 100 cache lines and be inefficient and >interlaced is better. >> >> Also, when you mentioned changes to DMSetUp_DA_2D() in your original >reply, you're suggesting that I could modify the PETSc source code, not use >some pre-existing interface, correct? > > Yes > >> >> Thanks, >> Greg >> >>> -----Original Message----- >>> From: Barry Smith [mailto:bsmith at mcs.anl.gov] >>> Sent: Friday, February 21, 2014 3:20 PM >>> To: Fischer, Greg A. >>> Cc: petsc-users at mcs.anl.gov >>> Subject: Re: [petsc-users] partial stencil in DMDA? >>> >>> >>> Greg, >>> >>> The general mechanism for moving elements of vector between >>> processes is with VecScatterCreate() and VecScatterBegin/End() with >>> it you can indicate exactly what values are to move and to where, but >>> it is all based on "one dimension" indexing into the vector. >>> >>> DMDA provides a subset of communication for "structured meshes" >>> (essentially 1,2, 3 dimensional arrays split among processes with >>> horizontal and vertical cuts). It is pretty much all or nothing in >>> terms of communicating neighbor information. >>> >>> VecCreateGhost() uses the VecScatter mechanism to set up a SINGLE >>> communication pattern between a Vec and its ghosted partner Vec. >>> >>> Based on your email: "However, when communicating ghost values, not >>> all of those degrees of freedom should be exchanged at once." it >>> sounds like you need several (many) communication patterns requiring >>> different ghost entries in each. >>> >>> 1) The hard general case: if for each set of ghost points you may >>> need several entries from one grid point and a different number of >>> entries from another grid point VecScatterCreate() (called multiple >>> times, one for each pattern) and VecScatterBegin/End() are intended >>> for this purpose. However if you are working with a 2 dimension >>> grid/array you want to do ghosting for you need to initially map your >>> ghosting patterns from the 2d indexing to the 1d indexing of the >>> VecScatterCreate() which is a bit painful. You can see the routine I >>> mentioned before DMSetUp_DA_2D() but it would need to be heavily >modified. >>> >>> 2) The easy case: if, for example, you need just the first index from >>> each point communicated as a ghost and then next the second and then >>> next the third you can avoid all custom communication patterns and >>> just create 2 DMDA, one with a dof of 100 (or what ever it is for >>> your case) and one with dof of 1 then use VecStrideGather to pull out >>> the one component of the global vector (with the dof of 100) into a >>> Vec obtained from >>> DMCreateGlobalVector() from the dof of 1 DMDA then use the >>> DMGlobalToLocalBegin/End on the 1 dof DMDA and now you have your >>> single ghost point at each point vector that you want. >>> >>> Barry >>> >>> >>> >>> >>> On Feb 21, 2014, at 1:12 PM, Fischer, Greg A. >>> >>> wrote: >>> >>>> Barry, >>>> >>>> Thanks! I have another question. The user manual says: >>>> >>>> PETSc currently provides no container for multiple >>>> arrays sharing >>> the same distributed array communication; note, however, that the dof >>> parameter handles many cases of interest. >>>> >>>> In my application, each space location will have on the order of >>>> hundreds of >>> values associated with it (which I believe translates to dof=O(100) - >>> I don't see the "degrees of freedom" explicitly defined anywhere). >>> However, when communicating ghost values, not all of those degrees of >>> freedom should be exchanged at once. I need to be able to exchange one >at a time. >>>> >>>> It sounds like what I may want to do is use VecCreateGhost(), which >>>> would >>> allow me to define exactly where the ghost points are, and then >>> duplicate that vector using VecDuplicateVecs() for each DOF. I can >>> then scatter the vectors individually as the need arises. Does that sound >reasonable? >>>> >>>> Greg >>>> >>>>> -----Original Message----- >>>>> From: Barry Smith [mailto:bsmith at mcs.anl.gov] >>>>> Sent: Friday, February 21, 2014 12:21 PM >>>>> To: Fischer, Greg A. >>>>> Cc: petsc-users at mcs.anl.gov >>>>> Subject: Re: [petsc-users] partial stencil in DMDA? >>>>> >>>>> >>>>> On Feb 21, 2014, at 11:02 AM, Fischer, Greg A. >>>>> >>>>> wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> I'm interested in using PETSc to manage distributed arrays. Based >>>>>> on my >>>>> reading about the DMDA objects, I see that ghost points can be >>>>> communicated in box-type stencils or star-type stencils. >>>>>> >>>>>> For my application, assume that I have a 2D DMDA object with >>>>>> star-type >>>>> stencils. For a typical local calculation, I only need to access >>>>> ghost values from two of the four directions at a time. For >>>>> example, I'd like access to ghost values in the South and East >>>>> directions, but not in the North or West directions. Communicating >>>>> North and West data would seem to be wasting bandwidth. Is there >>>>> any way to accomplish >>> this? >>>>> >>>>> Greg, >>>>> >>>>> There is not anything built in. Here is what I suggest: >>>>> >>>>> 1) write your application code not worrying about the fact that >>>>> the >>>>> DMGlobalToLocalBegin/End() is moving values you don't need. >>>>> >>>>> 2) when your code is running correctly for your problem and giving >>>>> useful results if the communication times are impacting how long it >>>>> takes to run you can provide a custom communication pattern. It >>>>> would involve little additional coding essentially taking >>>>> DMSetUp_DA_2D() which creates the list of ghost points and removing >>>>> the unneeded ghost points. But it would be premature to do this >>>>> optimization until you have a full working application code. >>>>> >>>>> Barry >>>>> >>>>>> >>>>>> Thanks, >>>>>> Greg >>>>> >>>>> >>> >>> >> >> > > From bsmith at mcs.anl.gov Fri Feb 21 16:49:24 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Fri, 21 Feb 2014 16:49:24 -0600 Subject: [petsc-users] Using Pmat different from Amat In-Reply-To: References: Message-ID: <7BA1A264-B1E4-4DF0-A266-99BB5C9C6E2A@mcs.anl.gov> On Feb 21, 2014, at 2:41 PM, Chung-Kan Huang wrote: > Hello, > > In my application I like to use > PetscErrorCode KSPSetOperators(KSP ksp,Mat Amat,Mat Pmat,MatStructure flag) > and have Pmat different from Amat > > if Amat = L + D + U > then Pmat = Amat - L* - U* + rowsum(L* + U*) > where L* and U* is a portion of L and U and rowsum(L* + U*) will add into D > > I know I can explicitly construct Pmat step-by-step but wonder what will be the most easy way to do this in PETSC? Kan, This is something that is trivial in Matlab but not trivial to do efficiently in PETSc. How do you determine what ?portion? of L and U are used? Does it depend on numerical values? Is if fixed? Is Amat an AIJ matrix or a BAIJ matrix? Do you want to do it in parallel? I would start by doing it sequentially for a SeqAIJ matrix and #include "src/mat/impls/aij/seq/aij.h? into the source code then you would write a routine that looped over the Amat rows accessing values directly in the CSR storage format PetscInt *i; /* pointer to beginning of each row */ \ PetscInt *j; /* column values: j + i[k] - 1 is start of row k */ \ datatype *a; /* nonzero elements */ you would then determine how many non zeros you wanted per row, call MatCreateSeqAIJ() with the preallocation from the non zeros per row and then loop over the rows of Amat again calling MatSetValues() to move the values you want moved into the Pmat matrix and added up for the diagonal. It is not terribly more difficult for MPIAIJ except that the matrix entries in Amat are stored in two parts so accessing those values values requires a bit more complicated code and I would not recommend doing it until you have the sequential version working perfectly. Barry > > Thanks, > > > Kan > > From knepley at gmail.com Fri Feb 21 19:48:40 2014 From: knepley at gmail.com (Matthew Knepley) Date: Fri, 21 Feb 2014 17:48:40 -0800 Subject: [petsc-users] (no subject) In-Reply-To: References: Message-ID: On Fri, Feb 21, 2014 at 12:34 PM, Chung-Kan Huang wrote: > Hello, > > In my application I like to use > PetscErrorCode KSPSetOperators(KSP ksp,Mat Amat,Mat Pmat,MatStructure > flag) > and have Pmat different from Amat > > if Amat = L + D + U > then Pmat = Amat - L* - U* + rowsum(L* + U*) > where L* and U* is a portion of L and U and rowsum(L* + U*) will add into D > > I know I can explicitly construct Pmat step-by-step but wonder what will > be the most easy way to do this in PETSC? > It sounds like you should just use MatSetValues() since we have no idea what L* and U* are. Matt > Thanks, > > > Kan > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Fri Feb 21 18:50:48 2014 From: jed at jedbrown.org (Jed Brown) Date: Fri, 21 Feb 2014 16:50:48 -0800 Subject: [petsc-users] Using DM for a refined level-set grid In-Reply-To: References: Message-ID: <87zjlkc6mv.fsf@jedbrown.org> ?smund Ervik writes: > We're talking about adding a refined level-set grid method > (M. Herrmann, doi:10.1016/j.jcp.2007.11.002) to our code. Currently we > solve two-phase Navier-Stokes (ghost fluid method) together with a > standard level-set approach on a uniform Cartesian grid. > > What we're thinking is the following: we will have 2 grids for the > level-set function. One will be the same as for the flow field, this > is the coarse grid. The other is a refined (still uniform Cartesian) > grid used only for the level-set function. The coarse grid will have > values that lets us know if we are close to an interface or not. If we > are not close to an interface, we don't want to store (allocate) any > value for the level-set function on the fine grid. I'm guessing > "close" will mean roughly "when the absolute value of the level-set > function is <5*dxCoarse". Is this 2D or 3D, what fraction of the domain is likely to be within 5*dxCoarse of the interface, and how large do you intend your subdomains to be? My worry is that even if you implement the dynamic algorithm you're thinking of (which is nontrivial to do well), some subdomains will have nearly-full refined sections which will limit your max problem size and performance. If you can't load balance dynamically (in terms of peak memory and time) at the needed granularity, there is no point trying to save some storage in benign regions of your domain. What sort of methods will you be using for your CFD? Does it involve assembled matrices? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From jed at jedbrown.org Fri Feb 21 19:33:36 2014 From: jed at jedbrown.org (Jed Brown) Date: Fri, 21 Feb 2014 17:33:36 -0800 Subject: [petsc-users] From 1D to 3D problem ? Unstructured mesh ? In-Reply-To: References: Message-ID: <87lhx4c4nj.fsf@jedbrown.org> Christophe Ortiz writes: > Hi all, > > Recently I have implemented a 1D problem of coupled diffusion equations > using PETSc. I did it using finite differences for diffusion terms and > F(t,U,U_t) = 0. It works pretty well with ARKIMEX3. I get a nice timestep > variation and all boundary conditions work well. > > Now I would like to move to 3D problems to simulate the diffusion and > interaction of species in a "real material". By real material I mean a > material made of subregions with internal surfaces where species could > recombine (means Dirichlet). These subregions are distributed in a > complicated manner, ie not cartesian. A good picture of this would be a > polycrystal (see attachment to get an idea). Each crystal has a different > orientation and the boundary between two small crystals forms an internal > surface. > > I have several questions on how to implement this: > > 1) Since, the problem will not be solved in a cartesian mesh, should I use > unstructured meshes ? If so, how can this unstructured mesh can be > generated ( I have no experience with unstructured meshes. I always work in > 1D). Are you intending to mesh the boundaries of the crystals? Will you be dynamically remeshing? (That is very complicated and expensive in 3D.) What formulation will you be using for grain boundary evolution? I think you should check out phase field models, such as the publication below. Perhaps check out the paper below. The framework (MOOSE) used for this publication should be released open source on github next week (check https://github.com/idaholab/). I don't know if Marmot, the phase-field component, will be open source any time soon, but they are typically happy to collaborate. MOOSE uses PETSc for solvers, but provides a higher level interface. @article{tonks2012object, title={An object-oriented finite element framework for multiphysics phase field simulations}, author={Tonks, M.R. and Gaston, D. and Millett, P.C. and Andrs, D. and Talbot, P.}, journal={Computational Materials Science}, volume={51}, number={1}, pages={20--29}, year={2012}, publisher={Elsevier} } -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From friedmud at gmail.com Fri Feb 21 23:17:18 2014 From: friedmud at gmail.com (Derek Gaston) Date: Fri, 21 Feb 2014 21:17:18 -0800 Subject: [petsc-users] From 1D to 3D problem ? Unstructured mesh ? In-Reply-To: <87lhx4c4nj.fsf@jedbrown.org> References: <87lhx4c4nj.fsf@jedbrown.org> Message-ID: The phase-field system developed by Michael Tonks (copied on this email) will be part of the open-source release of MOOSE (hopefully by the end of next week). Feel free to contact either myself or Mike for more information while we all wait... In the meantime you can also check out some of the youtube videos of MOOSE in action (the phase-field system is in use in these videos in the microstructure models): http://www.youtube.com/watch?v=0oz8FD3H52s http://www.youtube.com/watch?v=4xTfQxpGAI4 http://www.youtube.com/watch?v=V-2VfET8SNw Derek On Fri, Feb 21, 2014 at 5:33 PM, Jed Brown wrote: > Christophe Ortiz writes: > > > Hi all, > > > > Recently I have implemented a 1D problem of coupled diffusion equations > > using PETSc. I did it using finite differences for diffusion terms and > > F(t,U,U_t) = 0. It works pretty well with ARKIMEX3. I get a nice timestep > > variation and all boundary conditions work well. > > > > Now I would like to move to 3D problems to simulate the diffusion and > > interaction of species in a "real material". By real material I mean a > > material made of subregions with internal surfaces where species could > > recombine (means Dirichlet). These subregions are distributed in a > > complicated manner, ie not cartesian. A good picture of this would be a > > polycrystal (see attachment to get an idea). Each crystal has a different > > orientation and the boundary between two small crystals forms an internal > > surface. > > > > I have several questions on how to implement this: > > > > 1) Since, the problem will not be solved in a cartesian mesh, should I > use > > unstructured meshes ? If so, how can this unstructured mesh can be > > generated ( I have no experience with unstructured meshes. I always work > in > > 1D). > > Are you intending to mesh the boundaries of the crystals? Will you be > dynamically remeshing? (That is very complicated and expensive in 3D.) > What formulation will you be using for grain boundary evolution? > > I think you should check out phase field models, such as the publication > below. Perhaps check out the paper below. The framework (MOOSE) used > for this publication should be released open source on github next week > (check https://github.com/idaholab/). I don't know if Marmot, the > phase-field component, will be open source any time soon, but they are > typically happy to collaborate. MOOSE uses PETSc for solvers, but > provides a higher level interface. > > @article{tonks2012object, > title={An object-oriented finite element framework for multiphysics > phase field simulations}, > author={Tonks, M.R. and Gaston, D. and Millett, P.C. and Andrs, D. and > Talbot, P.}, > journal={Computational Materials Science}, > volume={51}, > number={1}, > pages={20--29}, > year={2012}, > publisher={Elsevier} > } > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fd.kong at siat.ac.cn Fri Feb 21 23:36:32 2014 From: fd.kong at siat.ac.cn (Fande Kong) Date: Fri, 21 Feb 2014 22:36:32 -0700 Subject: [petsc-users] some questions about snes Message-ID: Hi all, (1) The snes can solve my nonlinear problem with a default Jacobian provided in the Petsc using finite differences, but this method may cause some new nonzero allocations for the preallocated matrix. (2) A Matrix-free version of snes also works well for my nonlinear problem, but it does not allow me to apply a preconditioner. What kind of algorithms are used for the matrix-free snes? Thanks, Fande, -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Fri Feb 21 23:44:16 2014 From: jed at jedbrown.org (Jed Brown) Date: Fri, 21 Feb 2014 21:44:16 -0800 Subject: [petsc-users] some questions about snes In-Reply-To: References: Message-ID: <874n3rd7m7.fsf@jedbrown.org> Fande Kong writes: > (1) The snes can solve my nonlinear problem with a default Jacobian > provided in the Petsc using finite differences, but this method may cause > some new nonzero allocations for the preallocated matrix. Why are there new nonzeros? This must mean preallocation was incorrect. > (2) A Matrix-free version of snes also works well for my nonlinear problem, > but it does not allow me to apply a preconditioner. What kind of > algorithms are used for the matrix-free snes? There are solvers like FAS that can be used as nonlinear solvers or nonlinear preconditioners (for accelerators like NGMRES). If matrix-based preconditioners work well for you, it would be common to assemble a simpler matrix for preconditioning and apply the accurate Jacobian matrix-free. In PETSc, you can do this by simply assembling your approximate Jacobian and running with -snes_mf_operator. There are several other ways for working with approximate Jacobians, but try this first. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From christophe.ortiz at ciemat.es Mon Feb 24 02:04:13 2014 From: christophe.ortiz at ciemat.es (Christophe Ortiz) Date: Mon, 24 Feb 2014 09:04:13 +0100 Subject: [petsc-users] From 1D to 3D problem ? Unstructured mesh ? In-Reply-To: <87lhx4c4nj.fsf@jedbrown.org> References: <87lhx4c4nj.fsf@jedbrown.org> Message-ID: On Sat, Feb 22, 2014 at 2:33 AM, Jed Brown wrote: > Christophe Ortiz writes: > > > Hi all, > > > > Recently I have implemented a 1D problem of coupled diffusion equations > > using PETSc. I did it using finite differences for diffusion terms and > > F(t,U,U_t) = 0. It works pretty well with ARKIMEX3. I get a nice timestep > > variation and all boundary conditions work well. > > > > Now I would like to move to 3D problems to simulate the diffusion and > > interaction of species in a "real material". By real material I mean a > > material made of subregions with internal surfaces where species could > > recombine (means Dirichlet). These subregions are distributed in a > > complicated manner, ie not cartesian. A good picture of this would be a > > polycrystal (see attachment to get an idea). Each crystal has a different > > orientation and the boundary between two small crystals forms an internal > > surface. > > > > I have several questions on how to implement this: > > > > 1) Since, the problem will not be solved in a cartesian mesh, should I > use > > unstructured meshes ? If so, how can this unstructured mesh can be > > generated ( I have no experience with unstructured meshes. I always work > in > > 1D). > > Are you intending to mesh the boundaries of the crystals? Will you be > dynamically remeshing? (That is very complicated and expensive in 3D.) > What formulation will you be using for grain boundary evolution? > > No, in principle I will not consider the evolution of grains. Therefore, no dynamic remershing (in principle). What I want is just the evolution of diffusing and reacting species inside the ensemble of grains, including their interaction with the grain boundaries (trapping, segregation, ...). > I think you should check out phase field models, such as the publication > below. I never used phase-field models. According to what I read, it can model many phnomena but in particular it substitutes a boundary condition at an interface by a PDE for the evolution of an auxiliary field (Wikipedia). In this sense, maybe it could be interesting since I want to simulate the evolution of species inside grains with many internal grain boundaries. But I don't know if to treat a grain boundary as a infinitely sharp interface or as a thin but finite piece of material with different properties for species (diffusion coeff for instance). > Perhaps check out the paper below. The framework (MOOSE) used > for this publication should be released open source on github next week > (check https://github.com/idaholab/). I don't know if Marmot, the > phase-field component, will be open source any time soon, but they are > typically happy to collaborate. MOOSE uses PETSc for solvers, but > provides a higher level interface. > > @article{tonks2012object, > title={An object-oriented finite element framework for multiphysics > phase field simulations}, > author={Tonks, M.R. and Gaston, D. and Millett, P.C. and Andrs, D. and > Talbot, P.}, > journal={Computational Materials Science}, > volume={51}, > number={1}, > pages={20--29}, > year={2012}, > publisher={Elsevier} > } > > Sorry, I could not download the article. We don't have access. Crisis in Spain :-( ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Mon Feb 24 02:17:35 2014 From: jed at jedbrown.org (Jed Brown) Date: Mon, 24 Feb 2014 01:17:35 -0700 Subject: [petsc-users] From 1D to 3D problem ? Unstructured mesh ? In-Reply-To: References: <87lhx4c4nj.fsf@jedbrown.org> Message-ID: <871tys53hc.fsf@jedbrown.org> Christophe Ortiz writes: > Sorry, I could not download the article. We don't have access. Crisis in > Spain :-( ! I'm no fan of Elsevier paywalls, but you should search google scholar before giving up. It links you to a free version. http://scholar.google.com/scholar?hl=en&q=An%20object-oriented%20finite%20element%20framework%20for%20multiphysics%20phase%20field%20simulations&as_sdt=1%2C14&as_sdtp= -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From Vincent.De-Groof at uibk.ac.at Mon Feb 24 08:57:07 2014 From: Vincent.De-Groof at uibk.ac.at (De Groof, Vincent Frans Maria) Date: Mon, 24 Feb 2014 14:57:07 +0000 Subject: [petsc-users] ISLocalToGlobalMappingApplyIS switches communicator? Message-ID: <17A78B9D13564547AC894B88C159674720346E54@XMBX4.uibk.ac.at> Hi, I have an IS object, which lists per process certain DOFs in local numbering. I want to get the global numbering, so I apply ISLocalToGlobalMappingApplyIS. However, while I can view them in local numbering using the ISView(ISLocal, PETSC_VIEWER_STDOUT_WORLD), I cannot view them in global numbering using ISView(ISGlobal, VIEWER_STDOUT_WORLD). It complains that "Arguments must have same communicators". Is this normal? Can someone explain what is happening? I assumed that the ISLocalToGlobalMappingApplyIS would just copy the communicator from the local IS. Code snippet: IS ISLocal, ISGlobal; ierr = ISCreateGeneral(PETSC_COMM_WORLD, nvtx, vtx_idx, PETSC_COPY_VALUES, &ISLocal); CHKERRQ(ierr); ierr = ISLocalToGlobalMappingApplyIS(ISg2lMap, ISLocal, &ISGlobal); CHKERRQ(ierr); ISView(ISLocal, PETSC_VIEWER_STDOUT_WORLD); ISView(ISGlobal, PETSC_VIEWER_STDOUT_WORLD); <-- returns the error. thanks, Vincent -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Mon Feb 24 09:10:21 2014 From: knepley at gmail.com (Matthew Knepley) Date: Mon, 24 Feb 2014 07:10:21 -0800 Subject: [petsc-users] ISLocalToGlobalMappingApplyIS switches communicator? In-Reply-To: <17A78B9D13564547AC894B88C159674720346E54@XMBX4.uibk.ac.at> References: <17A78B9D13564547AC894B88C159674720346E54@XMBX4.uibk.ac.at> Message-ID: On Mon, Feb 24, 2014 at 6:57 AM, De Groof, Vincent Frans Maria < Vincent.De-Groof at uibk.ac.at> wrote: > Hi, > > > I have an IS object, which lists per process certain DOFs in local > numbering. I want to get the global numbering, so I apply > ISLocalToGlobalMappingApplyIS. However, while I can view them in local > numbering using the ISView(ISLocal, PETSC_VIEWER_STDOUT_WORLD), I cannot > view them in global numbering using ISView(ISGlobal, VIEWER_STDOUT_WORLD). > It complains that "Arguments must have same communicators". > > Is this normal? Can someone explain what is happening? I assumed that > the ISLocalToGlobalMappingApplyIS would just copy the communicator from the > local IS. > This is a bug. IS used to be purely serial, but then it evolved parallel abilities (it was bitten by a radioactive spider), so there are some PETSC_COMM_SELFs hidden in the code. I will fix this, but you can just change the creation line in src/vec/is/utils/isltog.c:ISLocalToGlobalMappingApplyIS() to use PetscObjectComm((PetscObject) is) instead. Thanks, Matt > Code snippet: > > IS ISLocal, ISGlobal; > ierr = ISCreateGeneral(PETSC_COMM_WORLD, nvtx, vtx_idx, PETSC_COPY_VALUES, > &ISLocal); CHKERRQ(ierr); > ierr = ISLocalToGlobalMappingApplyIS(ISg2lMap, ISLocal, &ISGlobal); > CHKERRQ(ierr); > ISView(ISLocal, PETSC_VIEWER_STDOUT_WORLD); > ISView(ISGlobal, PETSC_VIEWER_STDOUT_WORLD); <-- returns the error. > > > > > thanks, > Vincent > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From spk at ldeo.columbia.edu Mon Feb 24 09:42:07 2014 From: spk at ldeo.columbia.edu (Samar Khatiwala) Date: Mon, 24 Feb 2014 10:42:07 -0500 Subject: [petsc-users] Error using MUMPS to solve large linear system Message-ID: <2A811C5A-C3A8-4883-A607-823F83D4BF98@ldeo.columbia.edu> Hello, I'm trying to solve a linear system with MUMPS and keep getting an error that ends with: On return from DMUMPS, INFOG(1)= -100 On return from DMUMPS, INFOG(2)= -32766 I've looked at the MUMPS documentation but can't figure out what that means. This is a large (2346346 x 2346346) sparse matrix (read from file) and the code works fine on a (much) smaller one leading me to think this is related to memory and this problem is simply too big to solve with a sparse direct solver. Throwing more CPUs at the problem doesn't solve the problem or change the above error. This is with PETSc 3.4.3 on Yellowstone. The standard error looks like this: ... [161]PETSC ERROR: --------------------- Error Message ------------------------------------ [161]PETSC ERROR: Error in external library! [161]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFO(1)=-1, INFO(2)=48 ! [161]PETSC ERROR: ------------------------------------------------------------------------ [161]PETSC ERROR: Petsc Release Version 3.4.3, Oct, 15, 2013 [161]PETSC ERROR: See docs/changes/index.html for recent updates. [161]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [161]PETSC ERROR: See docs/index.html for manual pages. [161]PETSC ERROR: ------------------------------------------------------------------------ [161]PETSC ERROR: ./linearsolve on a arch-linux2-c-opt named ys0805 by spk Mon Feb 24 08:20:15 2014 [161]PETSC ERROR: Libraries linked from /glade/u/home/spk/petsc-3.4.3/arch-linux2-c-opt/lib [161]PETSC ERROR: Configure run at Sun Feb 16 05:17:20 2014 [161]PETSC ERROR: Configure options --with-mpi-dir=/ncar/opt/intel/12.1.0.233/impi/4.0.3.008/intel64 --with-debugging=0 --with-shared-libraries=0 --download-superlu=1 --download-superlu_dist=1 --download-blacs=1 --download-scalapack=1 --download-mumps=1 --download-parmetis=1 --download-metis --with-blas-lapack-dir=/ncar/opt/intel/12.1.0.233/composer_xe_2013.1.117/mkl FFLAGS="-convert big_endian -assume byterecl" [161]PETSC ERROR: ------------------------------------------------------------------------ [161]PETSC ERROR: MatFactorNumeric_MUMPS() line 722 in /glade/u/home/spk/petsc-3.4.3/src/mat/impls/aij/mpi/mumps/mumps.c [161]PETSC ERROR: MatLUFactorNumeric() line 2889 in /glade/u/home/spk/petsc-3.4.3/src/mat/interface/matrix.c [161]PETSC ERROR: [168]PETSC ERROR: KSPSetUp() line 278 in /glade/u/home/spk/petsc-3.4.3/src/ksp/ksp/interface/itfunc.c [168]PETSC ERROR: KSPSolve() line 399 in /glade/u/home/spk/petsc-3.4.3/src/ksp/ksp/interface/itfunc.c [168]PETSC ERROR: main() line 123 in linearsolve.c Abort(76) on node 168 (rank 168 in comm 1140850688): application called MPI_Abort(MPI_COMM_WORLD, 76) - process 168 PCSetUp_LU() line 152 in /glade/u/home/spk/petsc-3.4.3/src/ksp/pc/impls/factor/lu/lu.c [161]PETSC ERROR: PCSetUp() line 890 in /glade/u/home/spk/petsc-3.4.3/src/ksp/pc/interface/precon.c [161]PETSC ERROR: KSPSetUp() line 278 in /glade/u/home/spk/petsc-3.4.3/src/ksp/ksp/interface/itfunc.c [161]PETSC ERROR: KSPSolve() line 399 in /glade/u/home/spk/petsc-3.4.3/src/ksp/ksp/interface/itfunc.c [161]PETSC ERROR: main() line 123 in linearsolve.c ? etc etc. The above error I can tell has something to do with processor 48 (INFO(2)) and so forth but not the previous one. The full output enabled with -mat_mumps_icntl_4 3 looks as in the attached file. Any hints as to what could be giving this error would be very much appreciated. Thanks very much! Samar -------------- next part -------------- A non-text attachment was scrubbed... Name: log.gz Type: application/x-gzip Size: 2207 bytes Desc: not available URL: From jed at jedbrown.org Mon Feb 24 10:07:32 2014 From: jed at jedbrown.org (Jed Brown) Date: Mon, 24 Feb 2014 09:07:32 -0700 Subject: [petsc-users] Error using MUMPS to solve large linear system In-Reply-To: <2A811C5A-C3A8-4883-A607-823F83D4BF98@ldeo.columbia.edu> References: <2A811C5A-C3A8-4883-A607-823F83D4BF98@ldeo.columbia.edu> Message-ID: <878ut0335n.fsf@jedbrown.org> Samar Khatiwala writes: > Hello, > > I'm trying to solve a linear system with MUMPS and keep getting an error that ends with: > On return from DMUMPS, INFOG(1)= -100 > On return from DMUMPS, INFOG(2)= -32766 > > I've looked at the MUMPS documentation but can't figure out what that means. This is a large (2346346 x 2346346) sparse > matrix (read from file) and the code works fine on a (much) smaller one leading me to think this is related to memory and > this problem is simply too big to solve with a sparse direct solver. Throwing more CPUs at the problem doesn't solve the > problem or change the above error. > > This is with PETSc 3.4.3 on Yellowstone. The standard error looks like this: > > ... > [161]PETSC ERROR: --------------------- Error Message ------------------------------------ > [161]PETSC ERROR: Error in external library! > [161]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFO(1)=-1, INFO(2)=48 From the manual, this means "an error occurred on rank 48". Your problem is quite large so I would suspect memory. MUMPS error diagnostics are far from user-friendly; complain to the MUMPS developers if you would like something better. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From hzhang at mcs.anl.gov Mon Feb 24 10:47:55 2014 From: hzhang at mcs.anl.gov (Hong Zhang) Date: Mon, 24 Feb 2014 10:47:55 -0600 Subject: [petsc-users] Error using MUMPS to solve large linear system In-Reply-To: <0a26f0bf3e454a7cb284fd136453e7e5@NAGURSKI.anl.gov> References: <0a26f0bf3e454a7cb284fd136453e7e5@NAGURSKI.anl.gov> Message-ID: Samar: The crash occurs in > ... > [161]PETSC ERROR: Error in external library! > [161]PETSC ERROR: Error reported by MUMPS in numerical factorization > phase: INFO(1)=-1, INFO(2)=48 for very large matrix, likely memory problem as you suspected. I would suggest 1. run problems with increased sizes (not jump from a small one to a very large one) and observe memory usage using '-ksp_view'. I see you use '-mat_mumps_icntl_14 1000', i.e., percentage of estimated workspace increase. Is it too large? Anyway, this input should not cause the crash, I guess. 2. experimenting with different matrix ordering -mat_mumps_icntl_7 <> (I usually use sequential ordering 2) I see you use parallel ordering -mat_mumps_icntl_29 2. 3. send bug report to mumps developers for their suggestion. 4. try other direct solvers, e.g., superlu_dist. > ... > > etc etc. The above error I can tell has something to do with processor 48 > (INFO(2)) and so forth but not the previous one. > > The full output enabled with -mat_mumps_icntl_4 3 looks as in the attached > file. Any hints as to what could be giving this > error would be very much appreciated. > I do not know how to interpret this output file. mumps developer would give you better suggestion on it. I would appreciate to learn as well :-) Hong -------------- next part -------------- An HTML attachment was scrubbed... URL: From spk at ldeo.columbia.edu Mon Feb 24 11:38:32 2014 From: spk at ldeo.columbia.edu (Samar Khatiwala) Date: Mon, 24 Feb 2014 12:38:32 -0500 Subject: [petsc-users] Error using MUMPS to solve large linear system In-Reply-To: References: <0a26f0bf3e454a7cb284fd136453e7e5@NAGURSKI.anl.gov> Message-ID: <0C45674D-A212-41F8-A783-0CE91045446F@ldeo.columbia.edu> Hi Hong and Jed, Many thanks for replying. It would indeed be nice if the error messages from MUMPS were less cryptic! 1) I have tried smaller matrices although given how my problem is set up a jump is difficult to avoid. But a good idea that I will try. 2) I did try various ordering but not the one you suggested. 3) Tracing the error through the MUMPS code suggest a rather abrupt termination of the program (there should be more error messages if, for example, memory was a problem). I therefore thought it might be an interface problem rather than one with mumps and turned to the petsc-users group first. 4) I've tried superlu_dist but it also crashes (also unclear as to why) at which point I decided to try mumps. The fact that both crash would again indicate a common (memory?) problem. I'll try a few more things before asking the MUMPS developers. Thanks again for your help! Samar On Feb 24, 2014, at 11:47 AM, Hong Zhang wrote: > Samar: > The crash occurs in > ... > [161]PETSC ERROR: Error in external library! > [161]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFO(1)=-1, INFO(2)=48 > > for very large matrix, likely memory problem as you suspected. > I would suggest > 1. run problems with increased sizes (not jump from a small one to a very large one) and observe memory usage using > '-ksp_view'. > I see you use '-mat_mumps_icntl_14 1000', i.e., percentage of estimated workspace increase. Is it too large? > Anyway, this input should not cause the crash, I guess. > 2. experimenting with different matrix ordering -mat_mumps_icntl_7 <> (I usually use sequential ordering 2) > I see you use parallel ordering -mat_mumps_icntl_29 2. > 3. send bug report to mumps developers for their suggestion. > > 4. try other direct solvers, e.g., superlu_dist. > > ? > > etc etc. The above error I can tell has something to do with processor 48 (INFO(2)) and so forth but not the previous one. > > The full output enabled with -mat_mumps_icntl_4 3 looks as in the attached file. Any hints as to what could be giving this > error would be very much appreciated. > > I do not know how to interpret this output file. mumps developer would give you better suggestion on it. > I would appreciate to learn as well :-) > > Hong -------------- next part -------------- An HTML attachment was scrubbed... URL: From hzhang at mcs.anl.gov Mon Feb 24 11:56:58 2014 From: hzhang at mcs.anl.gov (Hong Zhang) Date: Mon, 24 Feb 2014 11:56:58 -0600 Subject: [petsc-users] Error using MUMPS to solve large linear system In-Reply-To: <3f57971afae8492fb66dd34c8e2f1b03@NAGURSKI.anl.gov> References: <0a26f0bf3e454a7cb284fd136453e7e5@NAGURSKI.anl.gov> <3f57971afae8492fb66dd34c8e2f1b03@NAGURSKI.anl.gov> Message-ID: Samar : There are limitations for direct solvers. Do not expect any solver can be used on arbitrarily large problems. Since superlu_dist also crashes, direct solvers may not be able to work on your application. This is why I suggest to increase size incrementally. You may have to experiment other type of solvers. Hong Hi Hong and Jed, > > Many thanks for replying. It would indeed be nice if the error messages > from MUMPS were less cryptic! > > 1) I have tried smaller matrices although given how my problem is set up > a jump is difficult to avoid. But a good idea > that I will try. > > 2) I did try various ordering but not the one you suggested. > > 3) Tracing the error through the MUMPS code suggest a rather abrupt > termination of the program (there should be more > error messages if, for example, memory was a problem). I therefore thought > it might be an interface problem rather than > one with mumps and turned to the petsc-users group first. > > 4) I've tried superlu_dist but it also crashes (also unclear as to why) > at which point I decided to try mumps. The fact that both > crash would again indicate a common (memory?) problem. > > I'll try a few more things before asking the MUMPS developers. > > Thanks again for your help! > > Samar > > On Feb 24, 2014, at 11:47 AM, Hong Zhang wrote: > > Samar: > The crash occurs in > >> ... >> [161]PETSC ERROR: Error in external library! >> [161]PETSC ERROR: Error reported by MUMPS in numerical factorization >> phase: INFO(1)=-1, INFO(2)=48 > > > for very large matrix, likely memory problem as you suspected. > I would suggest > 1. run problems with increased sizes (not jump from a small one to a very > large one) and observe memory usage using > '-ksp_view'. > I see you use '-mat_mumps_icntl_14 1000', i.e., percentage of estimated > workspace increase. Is it too large? > Anyway, this input should not cause the crash, I guess. > 2. experimenting with different matrix ordering -mat_mumps_icntl_7 <> (I > usually use sequential ordering 2) > I see you use parallel ordering -mat_mumps_icntl_29 2. > 3. send bug report to mumps developers for their suggestion. > > 4. try other direct solvers, e.g., superlu_dist. > > >> ... >> >> etc etc. The above error I can tell has something to do with processor 48 >> (INFO(2)) and so forth but not the previous one. >> >> The full output enabled with -mat_mumps_icntl_4 3 looks as in the >> attached file. Any hints as to what could be giving this >> error would be very much appreciated. >> > > I do not know how to interpret this output file. mumps developer would > give you better suggestion on it. > I would appreciate to learn as well :-) > > Hong > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From xsli at lbl.gov Mon Feb 24 14:58:57 2014 From: xsli at lbl.gov (Xiaoye S. Li) Date: Mon, 24 Feb 2014 12:58:57 -0800 Subject: [petsc-users] Error using MUMPS to solve large linear system In-Reply-To: References: <0a26f0bf3e454a7cb284fd136453e7e5@NAGURSKI.anl.gov> <3f57971afae8492fb66dd34c8e2f1b03@NAGURSKI.anl.gov> Message-ID: Samar: If you include the error message while crashing using superlu_dist, I probably know the reason. (better yet, include the printout before the crash. ) Sherry On Mon, Feb 24, 2014 at 9:56 AM, Hong Zhang wrote: > Samar : > There are limitations for direct solvers. > Do not expect any solver can be used on arbitrarily large problems. > Since superlu_dist also crashes, direct solvers may not be able to work on > your application. > This is why I suggest to increase size incrementally. > You may have to experiment other type of solvers. > > Hong > > Hi Hong and Jed, >> >> Many thanks for replying. It would indeed be nice if the error messages >> from MUMPS were less cryptic! >> >> 1) I have tried smaller matrices although given how my problem is set >> up a jump is difficult to avoid. But a good idea >> that I will try. >> >> 2) I did try various ordering but not the one you suggested. >> >> 3) Tracing the error through the MUMPS code suggest a rather abrupt >> termination of the program (there should be more >> error messages if, for example, memory was a problem). I therefore >> thought it might be an interface problem rather than >> one with mumps and turned to the petsc-users group first. >> >> 4) I've tried superlu_dist but it also crashes (also unclear as to why) >> at which point I decided to try mumps. The fact that both >> crash would again indicate a common (memory?) problem. >> >> I'll try a few more things before asking the MUMPS developers. >> >> Thanks again for your help! >> >> Samar >> >> On Feb 24, 2014, at 11:47 AM, Hong Zhang wrote: >> >> Samar: >> The crash occurs in >> >>> ... >>> [161]PETSC ERROR: Error in external library! >>> [161]PETSC ERROR: Error reported by MUMPS in numerical factorization >>> phase: INFO(1)=-1, INFO(2)=48 >> >> >> for very large matrix, likely memory problem as you suspected. >> I would suggest >> 1. run problems with increased sizes (not jump from a small one to a very >> large one) and observe memory usage using >> '-ksp_view'. >> I see you use '-mat_mumps_icntl_14 1000', i.e., percentage of >> estimated workspace increase. Is it too large? >> Anyway, this input should not cause the crash, I guess. >> 2. experimenting with different matrix ordering -mat_mumps_icntl_7 <> (I >> usually use sequential ordering 2) >> I see you use parallel ordering -mat_mumps_icntl_29 2. >> 3. send bug report to mumps developers for their suggestion. >> >> 4. try other direct solvers, e.g., superlu_dist. >> >> >>> ... >>> >>> etc etc. The above error I can tell has something to do with processor >>> 48 (INFO(2)) and so forth but not the previous one. >>> >>> The full output enabled with -mat_mumps_icntl_4 3 looks as in the >>> attached file. Any hints as to what could be giving this >>> error would be very much appreciated. >>> >> >> I do not know how to interpret this output file. mumps developer would >> give you better suggestion on it. >> I would appreciate to learn as well :-) >> >> Hong >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ckontzialis at lycos.com Mon Feb 24 16:10:11 2014 From: ckontzialis at lycos.com (Konstantinos Kontzialis) Date: Mon, 24 Feb 2014 22:10:11 +0000 (UTC) Subject: [petsc-users] Preconditioning in matrix-free methods Message-ID: <1847626137.47480.1393279811715.JavaMail.mail@webmail01> An HTML attachment was scrubbed... URL: From aaronroland at gmx.de Mon Feb 24 16:30:29 2014 From: aaronroland at gmx.de (Aron Roland) Date: Mon, 24 Feb 2014 23:30:29 +0100 Subject: [petsc-users] From 1D to 3D problem ? Unstructured mesh ? In-Reply-To: References: <87lhx4c4nj.fsf@jedbrown.org> Message-ID: <530BC805.2090303@gmx.de> Hi, I can provide u some nice package to generate unstructured meshes. There are many institutions using it now. We have also used PETSC to solve some nonlinera hyperbolic problem on 2d on unstructured meshes and it works quite ok even if the scaling still not what it should be but well these are other issues ... Cheers Aron On 02/24/2014 09:04 AM, Christophe Ortiz wrote: > > On Sat, Feb 22, 2014 at 2:33 AM, Jed Brown > wrote: > > Christophe Ortiz > writes: > > > Hi all, > > > > Recently I have implemented a 1D problem of coupled diffusion > equations > > using PETSc. I did it using finite differences for diffusion > terms and > > F(t,U,U_t) = 0. It works pretty well with ARKIMEX3. I get a nice > timestep > > variation and all boundary conditions work well. > > > > Now I would like to move to 3D problems to simulate the > diffusion and > > interaction of species in a "real material". By real material I > mean a > > material made of subregions with internal surfaces where species > could > > recombine (means Dirichlet). These subregions are distributed in a > > complicated manner, ie not cartesian. A good picture of this > would be a > > polycrystal (see attachment to get an idea). Each crystal has a > different > > orientation and the boundary between two small crystals forms an > internal > > surface. > > > > I have several questions on how to implement this: > > > > 1) Since, the problem will not be solved in a cartesian mesh, > should I use > > unstructured meshes ? If so, how can this unstructured mesh can be > > generated ( I have no experience with unstructured meshes. I > always work in > > 1D). > > Are you intending to mesh the boundaries of the crystals? Will you be > dynamically remeshing? (That is very complicated and expensive in > 3D.) > > What formulation will you be using for grain boundary evolution? > > > No, in principle I will not consider the evolution of grains. > Therefore, no dynamic remershing (in principle). > What I want is just the evolution of diffusing and reacting species > inside the ensemble of grains, including their interaction with the > grain boundaries (trapping, segregation, ...). > > I think you should check out phase field models, such as the > publication > below. > > > I never used phase-field models. According to what I read, it can > model many phnomena but in particular it substitutes a boundary > condition at an interface by a PDE for the evolution of an auxiliary > field (Wikipedia). In this sense, maybe it could be interesting since > I want to simulate the evolution of species inside grains with many > internal grain boundaries. > But I don't know if to treat a grain boundary as a infinitely sharp > interface or as a thin but finite piece of material with different > properties for species (diffusion coeff for instance). > > Perhaps check out the paper below. The framework (MOOSE) used > for this publication should be released open source on github next > week > (check https://github.com/idaholab/). I don't know if Marmot, the > phase-field component, will be open source any time soon, but they are > typically happy to collaborate. MOOSE uses PETSc for solvers, but > provides a higher level interface. > > @article{tonks2012object, > title={An object-oriented finite element framework for > multiphysics phase field simulations}, > author={Tonks, M.R. and Gaston, D. and Millett, P.C. and Andrs, > D. and Talbot, P.}, > journal={Computational Materials Science}, > volume={51}, > number={1}, > pages={20--29}, > year={2012}, > publisher={Elsevier} > } > > > Sorry, I could not download the article. We don't have access. Crisis > in Spain :-( ! > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Mon Feb 24 19:18:36 2014 From: jed at jedbrown.org (Jed Brown) Date: Mon, 24 Feb 2014 18:18:36 -0700 Subject: [petsc-users] Preconditioning in matrix-free methods In-Reply-To: <1847626137.47480.1393279811715.JavaMail.mail@webmail01> References: <1847626137.47480.1393279811715.JavaMail.mail@webmail01> Message-ID: <877g8k0z2r.fsf@jedbrown.org> Konstantinos Kontzialis writes: > Dear all, > > I am trying to use preconditioning in SNES within a matrix free conext. I use > petsc 3.3 and whenever I use the option > -snes_mf_operator I get the following error: -snes_mf_operator means to use the matrix you assemble for preconditioning, but apply the true Jacobian using matrix-free finite differencing. It is normally used when the function you pass to TSSetIJacobian() only approximates the true Jacobian, typically by using a lower-order discretization or by discarding some terms. > Must call DMShellSetMatrix() or DMShellSetCreateMatrix() > > > I code the following: > > call TSCreate (petsc_comm_world, ts_mhd, ierpetsc) > c > call TSSetProblemType (ts_mhd, TS_NONLINEAR, ierpetsc) > c > call TSSetIFunction ( ts_mhd, res_mhd, residual_mag, > @ PETSC_NULL_OBJECT, ierpetsc ) > c > call TSSetSolution( ts_mhd, Bmagnetic_pet, ierpetsc ) > c > call TSSetMaxSNESFailures ( ts_mhd, -1, ierpetsc) > c > call TSGetSNES (ts_mhd, snes_mhd, ierpetsc ) > > call MatCreateSNESMF ( snes_mhd, J_mf, ierpetsc ) > c > call SNESSetJacobian ( snes_mhd, J_mf, M_mhd, > @ SNESDefaultComputeJacobianColor, fdcoloring, > @ ierpetsc ) > > Has anyone any suggestions on what to do? > > Kostas -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From ckontzialis at lycos.com Mon Feb 24 21:13:22 2014 From: ckontzialis at lycos.com (Konstantinos Kontzialis) Date: Mon, 24 Feb 2014 19:13:22 -0800 Subject: [petsc-users] Preconditioning in matrix-free methods In-Reply-To: References: Message-ID: <530C0A52.9000108@lycos.com> On 2/24/2014 5:19 PM, petsc-users-request at mcs.anl.gov wrote: > Send petsc-users mailing list submissions to > petsc-users at mcs.anl.gov > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.mcs.anl.gov/mailman/listinfo/petsc-users > or, via email, send a message with subject or body 'help' to > petsc-users-request at mcs.anl.gov > > You can reach the person managing the list at > petsc-users-owner at mcs.anl.gov > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of petsc-users digest..." > > > Today's Topics: > > 1. Re: Error using MUMPS to solve large linear system (Xiaoye S. Li) > 2. Preconditioning in matrix-free methods (Konstantinos Kontzialis) > 3. Re: From 1D to 3D problem ? Unstructured mesh ? (Aron Roland) > 4. Re: Preconditioning in matrix-free methods (Jed Brown) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 24 Feb 2014 12:58:57 -0800 > From: "Xiaoye S. Li" > To: Hong Zhang > Cc: "petsc-users at mcs.anl.gov" > Subject: Re: [petsc-users] Error using MUMPS to solve large linear > system > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Samar: > If you include the error message while crashing using superlu_dist, I > probably know the reason. (better yet, include the printout before the > crash. ) > > Sherry > > > On Mon, Feb 24, 2014 at 9:56 AM, Hong Zhang wrote: > >> Samar : >> There are limitations for direct solvers. >> Do not expect any solver can be used on arbitrarily large problems. >> Since superlu_dist also crashes, direct solvers may not be able to work on >> your application. >> This is why I suggest to increase size incrementally. >> You may have to experiment other type of solvers. >> >> Hong >> >> Hi Hong and Jed, >>> Many thanks for replying. It would indeed be nice if the error messages >>> from MUMPS were less cryptic! >>> >>> 1) I have tried smaller matrices although given how my problem is set >>> up a jump is difficult to avoid. But a good idea >>> that I will try. >>> >>> 2) I did try various ordering but not the one you suggested. >>> >>> 3) Tracing the error through the MUMPS code suggest a rather abrupt >>> termination of the program (there should be more >>> error messages if, for example, memory was a problem). I therefore >>> thought it might be an interface problem rather than >>> one with mumps and turned to the petsc-users group first. >>> >>> 4) I've tried superlu_dist but it also crashes (also unclear as to why) >>> at which point I decided to try mumps. The fact that both >>> crash would again indicate a common (memory?) problem. >>> >>> I'll try a few more things before asking the MUMPS developers. >>> >>> Thanks again for your help! >>> >>> Samar >>> >>> On Feb 24, 2014, at 11:47 AM, Hong Zhang wrote: >>> >>> Samar: >>> The crash occurs in >>> >>>> ... >>>> [161]PETSC ERROR: Error in external library! >>>> [161]PETSC ERROR: Error reported by MUMPS in numerical factorization >>>> phase: INFO(1)=-1, INFO(2)=48 >>> >>> for very large matrix, likely memory problem as you suspected. >>> I would suggest >>> 1. run problems with increased sizes (not jump from a small one to a very >>> large one) and observe memory usage using >>> '-ksp_view'. >>> I see you use '-mat_mumps_icntl_14 1000', i.e., percentage of >>> estimated workspace increase. Is it too large? >>> Anyway, this input should not cause the crash, I guess. >>> 2. experimenting with different matrix ordering -mat_mumps_icntl_7 <> (I >>> usually use sequential ordering 2) >>> I see you use parallel ordering -mat_mumps_icntl_29 2. >>> 3. send bug report to mumps developers for their suggestion. >>> >>> 4. try other direct solvers, e.g., superlu_dist. >>> >>> >>>> ... >>>> >>>> etc etc. The above error I can tell has something to do with processor >>>> 48 (INFO(2)) and so forth but not the previous one. >>>> >>>> The full output enabled with -mat_mumps_icntl_4 3 looks as in the >>>> attached file. Any hints as to what could be giving this >>>> error would be very much appreciated. >>>> >>> I do not know how to interpret this output file. mumps developer would >>> give you better suggestion on it. >>> I would appreciate to learn as well :-) >>> >>> Hong >>> >>> >>> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > Message: 2 > Date: Mon, 24 Feb 2014 22:10:11 +0000 (UTC) > From: Konstantinos Kontzialis > To: petsc-users at mcs.anl.gov > Subject: [petsc-users] Preconditioning in matrix-free methods > Message-ID: <1847626137.47480.1393279811715.JavaMail.mail at webmail01> > Content-Type: text/plain; charset="us-ascii" > > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > Message: 3 > Date: Mon, 24 Feb 2014 23:30:29 +0100 > From: Aron Roland > To: Christophe Ortiz , Jed Brown > > Cc: petsc-users at mcs.anl.gov, Mathieu Dutour , > Thomas Huxhorn > Subject: Re: [petsc-users] From 1D to 3D problem ? Unstructured mesh ? > Message-ID: <530BC805.2090303 at gmx.de> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" > > Hi, > > I can provide u some nice package to generate unstructured meshes. There > are many institutions using it now. We have also used PETSC to solve > some nonlinera hyperbolic problem on 2d on unstructured meshes and it > works quite ok even if the scaling still not what it should be but well > these are other issues ... > > Cheers > > Aron > > On 02/24/2014 09:04 AM, Christophe Ortiz wrote: >> On Sat, Feb 22, 2014 at 2:33 AM, Jed Brown > > wrote: >> >> Christophe Ortiz > > writes: >> >> > Hi all, >> > >> > Recently I have implemented a 1D problem of coupled diffusion >> equations >> > using PETSc. I did it using finite differences for diffusion >> terms and >> > F(t,U,U_t) = 0. It works pretty well with ARKIMEX3. I get a nice >> timestep >> > variation and all boundary conditions work well. >> > >> > Now I would like to move to 3D problems to simulate the >> diffusion and >> > interaction of species in a "real material". By real material I >> mean a >> > material made of subregions with internal surfaces where species >> could >> > recombine (means Dirichlet). These subregions are distributed in a >> > complicated manner, ie not cartesian. A good picture of this >> would be a >> > polycrystal (see attachment to get an idea). Each crystal has a >> different >> > orientation and the boundary between two small crystals forms an >> internal >> > surface. >> > >> > I have several questions on how to implement this: >> > >> > 1) Since, the problem will not be solved in a cartesian mesh, >> should I use >> > unstructured meshes ? If so, how can this unstructured mesh can be >> > generated ( I have no experience with unstructured meshes. I >> always work in >> > 1D). >> >> Are you intending to mesh the boundaries of the crystals? Will you be >> dynamically remeshing? (That is very complicated and expensive in >> 3D.) >> >> What formulation will you be using for grain boundary evolution? >> >> >> No, in principle I will not consider the evolution of grains. >> Therefore, no dynamic remershing (in principle). >> What I want is just the evolution of diffusing and reacting species >> inside the ensemble of grains, including their interaction with the >> grain boundaries (trapping, segregation, ...). >> >> I think you should check out phase field models, such as the >> publication >> below. >> >> >> I never used phase-field models. According to what I read, it can >> model many phnomena but in particular it substitutes a boundary >> condition at an interface by a PDE for the evolution of an auxiliary >> field (Wikipedia). In this sense, maybe it could be interesting since >> I want to simulate the evolution of species inside grains with many >> internal grain boundaries. >> But I don't know if to treat a grain boundary as a infinitely sharp >> interface or as a thin but finite piece of material with different >> properties for species (diffusion coeff for instance). >> >> Perhaps check out the paper below. The framework (MOOSE) used >> for this publication should be released open source on github next >> week >> (check https://github.com/idaholab/). I don't know if Marmot, the >> phase-field component, will be open source any time soon, but they are >> typically happy to collaborate. MOOSE uses PETSc for solvers, but >> provides a higher level interface. >> >> @article{tonks2012object, >> title={An object-oriented finite element framework for >> multiphysics phase field simulations}, >> author={Tonks, M.R. and Gaston, D. and Millett, P.C. and Andrs, >> D. and Talbot, P.}, >> journal={Computational Materials Science}, >> volume={51}, >> number={1}, >> pages={20--29}, >> year={2012}, >> publisher={Elsevier} >> } >> >> >> Sorry, I could not download the article. We don't have access. Crisis >> in Spain :-( ! >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > Message: 4 > Date: Mon, 24 Feb 2014 18:18:36 -0700 > From: Jed Brown > To: Konstantinos Kontzialis , > petsc-users at mcs.anl.gov > Subject: Re: [petsc-users] Preconditioning in matrix-free methods > Message-ID: <877g8k0z2r.fsf at jedbrown.org> > Content-Type: text/plain; charset="us-ascii" > > Konstantinos Kontzialis writes: > >> Dear all, >> >> I am trying to use preconditioning in SNES within a matrix free conext. I use >> petsc 3.3 and whenever I use the option >> -snes_mf_operator I get the following error: > -snes_mf_operator means to use the matrix you assemble for > preconditioning, but apply the true Jacobian using matrix-free finite > differencing. It is normally used when the function you pass to > TSSetIJacobian() only approximates the true Jacobian, typically by > using a lower-order discretization or by discarding some terms. > >> Must call DMShellSetMatrix() or DMShellSetCreateMatrix() >> >> >> I code the following: >> >> call TSCreate (petsc_comm_world, ts_mhd, ierpetsc) >> c >> call TSSetProblemType (ts_mhd, TS_NONLINEAR, ierpetsc) >> c >> call TSSetIFunction ( ts_mhd, res_mhd, residual_mag, >> @ PETSC_NULL_OBJECT, ierpetsc ) >> c >> call TSSetSolution( ts_mhd, Bmagnetic_pet, ierpetsc ) >> c >> call TSSetMaxSNESFailures ( ts_mhd, -1, ierpetsc) >> c >> call TSGetSNES (ts_mhd, snes_mhd, ierpetsc ) >> >> call MatCreateSNESMF ( snes_mhd, J_mf, ierpetsc ) >> c >> call SNESSetJacobian ( snes_mhd, J_mf, M_mhd, >> @ SNESDefaultComputeJacobianColor, fdcoloring, >> @ ierpetsc ) >> >> Has anyone any suggestions on what to do? >> >> Kostas > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 835 bytes > Desc: not available > URL: > > ------------------------------ > > _______________________________________________ > petsc-users mailing list > petsc-users at mcs.anl.gov > https://lists.mcs.anl.gov/mailman/listinfo/petsc-users > > > End of petsc-users Digest, Vol 62, Issue 47 > ******************************************* Dear Jed, Thank you for your response. I understand what you have written, but maybe I'm missing something else . I have not understood why PETSC is giving me this error. With -snes_mf I get my code running (however many gmres iterations are needed and convergence sometimes stalls), but with -snes_mf_operator I still get the error I posted on the list. What should I do to overcome it? Am I missing something? Is there anything I do wrong? Regards, Kostas From jed at jedbrown.org Mon Feb 24 21:16:59 2014 From: jed at jedbrown.org (Jed Brown) Date: Mon, 24 Feb 2014 20:16:59 -0700 Subject: [petsc-users] Preconditioning in matrix-free methods In-Reply-To: <530C0A52.9000108@lycos.com> References: <530C0A52.9000108@lycos.com> Message-ID: <87ios3zxsk.fsf@jedbrown.org> Konstantinos Kontzialis writes: > Thank you for your response. I understand what you have written, but > maybe I'm missing something else . I have > not understood why PETSC is giving me this error. With -snes_mf I get my > code running (however many gmres iterations > are needed and convergence sometimes stalls), but with -snes_mf_operator > I still get the error I posted on the list. What > should I do to overcome it? Am I missing something? Is there anything I > do wrong? You didn't set an (approximate) Jacobian. If you want to use preconditioning, you either need to build a matrix (possibly with -snes_fd_color) or write your own custom preconditioner. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From danyang.su at gmail.com Tue Feb 25 00:33:19 2014 From: danyang.su at gmail.com (Danyang Su) Date: Mon, 24 Feb 2014 22:33:19 -0800 Subject: [petsc-users] Build hypre with Cmake and VS2010 to hypre.lib, no 'include' folder Message-ID: <530C392F.5000009@gmail.com> Hi All, I can successfully build hypre to hypre.lib with cmake and vs2010, but I cannot find the include folder in the release folder. There is only one folder named "include" in src\FEI_mv\ml\src\include. Is this the one I need to configure with PETSc? Both hypre-2.9.0b and hypre-2.9.1a have been tried. Thanks and regards, Danyang From jed at jedbrown.org Tue Feb 25 00:35:18 2014 From: jed at jedbrown.org (Jed Brown) Date: Mon, 24 Feb 2014 23:35:18 -0700 Subject: [petsc-users] Build hypre with Cmake and VS2010 to hypre.lib, no 'include' folder In-Reply-To: <530C392F.5000009@gmail.com> References: <530C392F.5000009@gmail.com> Message-ID: <87vbw3ya1l.fsf@jedbrown.org> Danyang Su writes: > Hi All, > > I can successfully build hypre to hypre.lib with cmake and vs2010, but I > cannot find the include folder in the release folder. There is only one > folder named "include" in src\FEI_mv\ml\src\include. Is this the one I > need to configure with PETSc? You should do what the "make install" target does. See $PETSC_DIR/config/PETSc/packages/hypre.py to see exactly which commands PETSc normally executes. You'll have to look at the hypre build system. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From danyang.su at gmail.com Tue Feb 25 01:33:56 2014 From: danyang.su at gmail.com (Danyang Su) Date: Mon, 24 Feb 2014 23:33:56 -0800 Subject: [petsc-users] Build hypre with Cmake and VS2010 to hypre.lib, no 'include' folder In-Reply-To: <87vbw3ya1l.fsf@jedbrown.org> References: <530C392F.5000009@gmail.com> <87vbw3ya1l.fsf@jedbrown.org> Message-ID: <530C4764.7040709@gmail.com> On 24/02/2014 10:35 PM, Jed Brown wrote: > Danyang Su writes: > >> Hi All, >> >> I can successfully build hypre to hypre.lib with cmake and vs2010, but I >> cannot find the include folder in the release folder. There is only one >> folder named "include" in src\FEI_mv\ml\src\include. Is this the one I >> need to configure with PETSc? > You should do what the "make install" target does. See > $PETSC_DIR/config/PETSc/packages/hypre.py to see exactly which commands > PETSc normally executes. You'll have to look at the hypre build system. After run install, I can get both lib file and include folder. But when configure with option "--with-hypre-include=/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/include --with-hypre-lib=/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/lib/HYPRE.lib", I got error indicating this option did not work. Thanks, Danyang -------------- next part -------------- Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC =============================================================================== ** Cygwin-python detected. Threads do not work correctly. *** ** Disabling thread usage for this run of ./configure ******* =============================================================================== ================================================================================ ================================================================================ Starting Configure Run at Mon Feb 24 23:04:41 2014 Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --with-cc="win32fe cl" --with-fc="win32fe ifort" --with-cxx="win32fe cl" --download-f-blas-lapack --with-debugging=0 --with-mpi-include=/cygdrive/c/MSHPC/MSHPC2008R2/Inc --with-mpi-lib="/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib" --with-metis-include=/cygdrive/c/cygwin64/packages/metis-5.1.0/include --with-metis-lib=/cygdrive/c/cygwin64/packages/metis-5.1.0/build/libmetis/Release/metis.lib --with-hypre-include=/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/include --with-hypre-lib=/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/lib/HYPRE.lib --useThreads=0 Working directory: /cygdrive/c/cygwin64/packages/petsc-3.4.3 Machine platform: ('CYGWIN_NT-6.1', 'nwmop', '1.7.28(0.271/5/3)', '2014-02-09 21:06', 'x86_64', '') Python version: 2.7.5 (default, Oct 2 2013, 22:34:09) [GCC 4.8.1] ================================================================================ Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ TEST configureExternalPackagesDir from config.framework(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/framework.py:821) TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:821) ================================================================================ TEST configureDebuggers from PETSc.utilities.debuggers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/debuggers.py:22) TESTING: configureDebuggers from PETSc.utilities.debuggers(config/PETSc/utilities/debuggers.py:22) Find a default debugger and determine its arguments Checking for program /usr/local/bin/gdb...not found Checking for program /usr/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/gdb...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/gdb...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/gdb...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/gdb...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/gdb...not found Checking for program /cygdrive/c/Windows/system32/gdb...not found Checking for program /cygdrive/c/Windows/gdb...not found Checking for program /cygdrive/c/Windows/System32/Wbem/gdb...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/gdb...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/gdb...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/gdb...not found Checking for program /usr/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/gdb...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/gdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/gdb...not found Checking for program /home/dsu/gdb...not found Checking for program /usr/local/bin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/dbx...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/dbx...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/dbx...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/dbx...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/dbx...not found Checking for program /cygdrive/c/Windows/system32/dbx...not found Checking for program /cygdrive/c/Windows/dbx...not found Checking for program /cygdrive/c/Windows/System32/Wbem/dbx...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/dbx...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/dbx...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/dbx...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/dbx...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/dbx...not found Checking for program /home/dsu/dbx...not found Checking for program /usr/local/bin/xdb...not found Checking for program /usr/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/xdb...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/xdb...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/xdb...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/xdb...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/xdb...not found Checking for program /cygdrive/c/Windows/system32/xdb...not found Checking for program /cygdrive/c/Windows/xdb...not found Checking for program /cygdrive/c/Windows/System32/Wbem/xdb...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/xdb...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/xdb...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/xdb...not found Checking for program /usr/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/xdb...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/xdb...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/xdb...not found Checking for program /home/dsu/xdb...not found Checking for program /usr/local/bin/dsymutil...not found Checking for program /usr/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/dsymutil...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/dsymutil...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/dsymutil...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/dsymutil...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/dsymutil...not found Checking for program /cygdrive/c/Windows/system32/dsymutil...not found Checking for program /cygdrive/c/Windows/dsymutil...not found Checking for program /cygdrive/c/Windows/System32/Wbem/dsymutil...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/dsymutil...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/dsymutil...not found Checking for program /usr/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/dsymutil...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/dsymutil...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/dsymutil...not found Checking for program /home/dsu/dsymutil...not found Defined make macro "DSYMUTIL" to "true" ================================================================================ TEST configureCLanguage from PETSc.utilities.languages(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/languages.py:28) TESTING: configureCLanguage from PETSc.utilities.languages(config/PETSc/utilities/languages.py:28) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" ================================================================================ TEST configureFortranLanguage from PETSc.utilities.languages(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/languages.py:37) TESTING: configureFortranLanguage from PETSc.utilities.languages(config/PETSc/utilities/languages.py:37) Turn on Fortran bindings Using Fortran ================================================================================ TEST configureMake from config.programs(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/programs.py:24) TESTING: configureMake from config.programs(config/BuildSystem/config/programs.py:24) Check various things about make Checking for program /usr/local/bin/make...not found Checking for program /usr/bin/make...found Defined make macro "MAKE" to "/usr/bin/make" Checking for program /usr/local/bin/strings...not found Checking for program /usr/bin/strings...found Defined make macro "STRINGS" to "/usr/bin/strings" sh: /usr/bin/strings /usr/bin/make Executing: /usr/bin/strings /usr/bin/make sh: ET$`H ffff. WVSH D$ H 0[^_ ffffff. T$ L D$(H L$ H L$ H D$(H T$ H T$(H \$ H \$(H t$ H T$ H \$ H tE<[t,~O<\ UAWAVAUATWVSH L$:H L$(H L$"H D$0D |$8H t$(H L$PD D$HD T$@E1 |$ H L$(D L$"H D$0H t$(H |$ H L$HD D$@M T$8H D$`H t$`I U$A9 [^_A\A]A^A_] WVSH [^_ [^_ UWVSH [^_] l$ A [^_] [^_] WVSH D$0% D$hH T$`H H;Cp 3tlH UAWAVAUATWVSH @ H9G H D$ H eH[^_A\A]A^A_] D;%@ t$@H l$@M AWAVAUATUWVSH ([^_]A\A]A^A_ \u#A c+D9 <@u,H ffff. WVSH [^_ WVSH [^_ L$HE1 @* H ffff. WVSH @[^_ ffff. ffff. ffff. ffff. ffff. fffff. WVSH [^_ [^_ fffff. fff. AWAVAUATUWVSH H[^_]A\A]A^A_ T$0I D$0M D$ H T$ L t$0f T$(I UWVSH L$0H T$0H H;0t [^_] T$@H D$@H H;8t*H [^_] [^_] fff. UWVSH toH9 L$ L [^_] [^_] ffffff. UWVSH L$0L [^_] UWVSH L$ L [^_] [^_] fffff. ffffff. AWAVAUATUWVSH L$(H L$(H T$ M 8[^_]A\A]A^A_ D$,A9 D$,A UWVSH [^_] L$ L [^_] [^_] UAWAVAUATWVSH [^_A\A]A^A_] {u`A t$0A T$ L D$(M UWVSH 8[^_] L$,t 8[^_] 8[^_] @$E1 ffffff. AWAVAUATUWVSH D$(H D$(H C$@t+ C$u{L 8[^_]A\A]A^A_ UWVSH ([^_] ([^_] fffff. ffff. ffff. WVSH |$ I 0[^_ t$ I |$ I |$ I |$ I t$ I <.u1f L$(H T$ H ATUWVSH L$(H T$ H [^_]A\ [^_]A\ AUATUWVSH T$8H9 T$0H l$ M CpH;Gpv [^_]A\A] [^_]A\A] ffff. AWAVAUATUWVSH 8[^_]A\A]A^A_ 8[^_]A\A]A^A_ D$(H fffff. L$@H L$@H UAWAVAUATWVSH t$0H |$(I D$ H [^_A\A]A^A_] AWAVAUATUWVSH H[^_]A\A]A^A_ ATUWVSH H;3t [^_]A\ ffff. L$HH D$8D D$0D D$HM WVSH |$ H P[^_ P[^_ T$ H u%LcD$(H ffffff. 8H*tR @*< \$ H ffff. AWAVAUATUWVSH D$(H T$ Hc H;l$(v 8[^_]A\A]A^A_ fffff. fffff. ffff. ffff. fffff. UWVSH |$$H t$(H D$$H 8[^_] AVAUATUWVSH t$(L l$0L d$,H l$8H D$0H D$8L D$(H D$,H @[^_]A\A]A^ T$$H L$(H D$$H AWAVAUATUWVSH l$4H |$+D |$8A D$4D ugL9 H[^_]A\A]A^A_ AVAUATUWVSH |$$H t$(H D$$D 0[^_]A\A]A^ AWAVAUATUWVSH d$$H D$$H D$$H 8[^_]A\A]A^A_ WVSH t$(H t$0H P[^_ ([^I tMH L$(H T$0H UWVSH ([^_] L$(H T$$H UAVAUATWVSH l$ L L9 h[^_]A\A]A^A_ D$8A D$@L D$HH T$0H T$0L D$HH D$0L T$HI D$0L T$HI L$@L T$0H UWVSH L$"H D$ $ D$!( [^_] t$ L t8E ATUWVSH \u I u-H9 \t%E [^_]A\ tVH9 ffffff. AWAVAUATUWVSH D$(I D$(H 8[^_]A\A]A^A_ fffff. fffff. t I) UWVSH ([^_] ffffff. ffffff. WVSH [^_ T$HH T$HL D$PL L$XH UWVSH ([^_] ATUWVSH 0[^_]A\ D$ L ATUWVSH [^_]A\ t*E1 9D$ u H9D$( D$PL L$XH T$PH D$PL L$XH T$PH ffffff. ffffff. WVSH |$ H 0[^_ D$PL L$XH T$PH UAWAVAUATWVSH [^_A\A]A^A_] t&A8 l$ L )t*A ,t)H l$ L )tKH fff. AWAVAUATUWVSH D$ A D$ E1 \u A T$(A 8[^_]A\A]A^A_ AVAUATUWVSH i(E1 [^_]A\A]A^ [^_]A\A]A^ tJH9 u)E1 :\u A AWAVAUATUWVSH l$ A X[^_]A\A]A^A_ ffff. UWVSH tG~yA ?t0A [^_] $uAA t1E1 UAWAVAUATWVSH \u A t^HcE t$ L [^_A\A]A^A_] AWAVAUATUWVSH D$@L l$XE1 D$XH l$(L t$ H h[^_]A\A]A^A_ D$XH9 D$XH T$@L @ L9 T$XL D$(H D$@H F(t? L$HH t$X1 D$XH UWVSH t^ u"H D$XH D$hL D$XA E&f% |$XH \uUH L$xE1 |$XD d$xL t|H9 d$xL d$xL ffffff. AUATUWVSH L$XH D$Pt L$PH |$XA D$@H D$8H D$0H L$PH x[^_]A\A] D$Pt x[^_]A\A] UWVSH |$DH D$HA T$HA X[^_] X[^_] X[^_] D$XH \$PH \$HH \$@H D$hH T$pH L$@H T$ H D$hH UWVS T$`L D$hH [^_]A\ D$hH T$`H [^_]A\ [^_]A\ t$0D D$0A L$(H T$ L L$(H T$ L D$ L D$ L UAWAVAUATWVSH [^_A\A]A^A_] t$ M ffffff. ATUWVSH [^_]A\ [^_]A\ tZL9 uWH D$/xL d$/A x}E1 AWAVAUATUWVSH X[^_]A\A]A^A_ L$(H L$0M T$8H D$LA D$(){}$`^~! /bin/sh cyggcj-14.dll _Jv_RegisterClasses attempt to use unsupported feature: '%s' touch: Archive '%s' does not exist touch: '%s' is not a valid archive touch: touch: Member '%s' does not exist in '%s' touch: Bad return code from ar_member_touch on '%s' ! ARFILENAMES/ *** [%s] Archive member '%s' may be bogus; not deleted *** Archive member '%s' may be bogus; not deleted *** [%s] Deleting file '%s' *** Deleting file '%s' unlink: .SUFFIXES Recipe has too many lines (%ud) $(MAKE) ${MAKE} kill # recipe to execute (built-in): (from '%s', line %lu): %c%.*s .SUFFIXES SUFFIXES ARFLAGS OBJC CHECKOUT,v +$(if $(wildcard $@),,$(CO) $(COFLAGS) $< $@) COFLAGS $(CC) -E $(FC) F77FLAGS $(FFLAGS) LINT lint YACC yacc MAKEINFO makeinfo TEXI2DVI texi2dvi WEAVE weave CWEAVE cweave TANGLE tangle CTANGLE ctangle rm -f LINK.o $(CC) $(LDFLAGS) $(TARGET_ARCH) COMPILE.c $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c LINK.c $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.m $(OBJC) $(OBJCFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c LINK.m $(OBJC) $(OBJCFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.cc $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c COMPILE.C $(COMPILE.cc) COMPILE.cpp LINK.cc $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) LINK.C $(LINK.cc) LINK.cpp YACC.y $(YACC) $(YFLAGS) LEX.l $(LEX) $(LFLAGS) -t YACC.m LEX.m COMPILE.f $(FC) $(FFLAGS) $(TARGET_ARCH) -c LINK.f $(FC) $(FFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.F $(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c LINK.F $(FC) $(FFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.r $(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -c LINK.r $(FC) $(FFLAGS) $(RFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.def $(M2C) $(M2FLAGS) $(DEFFLAGS) $(TARGET_ARCH) COMPILE.mod $(M2C) $(M2FLAGS) $(MODFLAGS) $(TARGET_ARCH) COMPILE.p $(PC) $(PFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c LINK.p $(PC) $(PFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) LINK.s $(CC) $(ASFLAGS) $(LDFLAGS) $(TARGET_MACH) COMPILE.s $(AS) $(ASFLAGS) $(TARGET_MACH) LINK.S $(CC) $(ASFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_MACH) COMPILE.S $(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_MACH) -c PREPROCESS.S $(CC) -E $(CPPFLAGS) PREPROCESS.F $(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -F PREPROCESS.r $(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -F LINT.c $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(TARGET_ARCH) OUTPUT_OPTION -o $@ .LIBPATTERNS lib%.so lib%.a GNUMAKEFLAGS $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.s) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.S) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.C) $^ $(LOADLIBES) $(LDLIBS) -o $@ .cpp $(LINK.cpp) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.f) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.m) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.p) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.F) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.r) $^ $(LOADLIBES) $(LDLIBS) -o $@ .mod $(COMPILE.mod) -o $@ -e $@ $^ .def.sym $(COMPILE.def) -o $@ $< cat $< >$@ chmod a+x $@ .s.o $(COMPILE.s) -o $@ $< .S.o $(COMPILE.S) -o $@ $< .c.o $(COMPILE.c) $(OUTPUT_OPTION) $< .cc.o $(COMPILE.cc) $(OUTPUT_OPTION) $< .C.o $(COMPILE.C) $(OUTPUT_OPTION) $< .cpp.o $(COMPILE.cpp) $(OUTPUT_OPTION) $< .f.o $(COMPILE.f) $(OUTPUT_OPTION) $< .m.o $(COMPILE.m) $(OUTPUT_OPTION) $< .p.o $(COMPILE.p) $(OUTPUT_OPTION) $< .F.o $(COMPILE.F) $(OUTPUT_OPTION) $< .r.o $(COMPILE.r) $(OUTPUT_OPTION) $< .mod.o $(COMPILE.mod) -o $@ $< .c.ln $(LINT.c) -C$* $< .y.ln $(YACC.y) $< $(LINT.c) -C$* y.tab.c $(RM) y.tab.c .l.ln @$(RM) $*.c $(LEX.l) $< > $*.c $(LINT.c) -i $*.c -o $@ $(RM) $*.c .y.c $(YACC.y) $< mv -f y.tab.c $@ .l.c @$(RM) $@ $(LEX.l) $< > $@ .ym.m $(YACC.m) $< mv -f y.tab.c $@ .lm.m @$(RM) $@ $(LEX.m) $< > $@ .F.f $(PREPROCESS.F) $(OUTPUT_OPTION) $< .r.f $(PREPROCESS.r) $(OUTPUT_OPTION) $< .l.r $(LEX.l) $< > $@ mv -f lex.yy.r $@ .S.s $(PREPROCESS.S) $< > $@ .texinfo.info $(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@ .texi.info .txinfo.info .tex.dvi $(TEX) $< .texinfo.dvi $(TEXI2DVI) $(TEXI2DVI_FLAGS) $< .texi.dvi .txinfo.dvi .w.c $(CTANGLE) $< - $@ .web.p $(TANGLE) $< .w.tex $(CWEAVE) $< - $@ .web.tex $(WEAVE) $< $(CHECKOUT,v) RCS/%,v RCS/% $(GET) $(GFLAGS) $(SCCS_OUTPUT_OPTION) $< SCCS/s.% $(AR) $(ARFLAGS) $@ $< %.out @rm -f $@ cp $< $@ %.w %.ch $(CTANGLE) $^ $@ %.tex $(CWEAVE) $^ $@ INTERNAL: readdir: %s # Directories # %s: could not be stat'd. # %s (device %ld, inode %ld): could not be opened. # %s (device %ld, inode %ld): files, impossibilities so far. impossibilities in %lu directories. unterminated variable reference warning: undefined variable '%.*s' Recursive variable '%s' references itself (eventually) %s: Field '%s' not cached: %s name hname vpath stem Recipe was specified for file '%s' at %s:%lu, Recipe for file '%s' was found by implicit rule search, but '%s' is now considered the same file as '%s'. Recipe for '%s' will be ignored in favor of the one for '%s'. can't rename single-colon '%s' to double-colon '%s' can't rename double-colon '%s' to single-colon '%s' *** Deleting intermediate file '%s' Removing intermediate files... unlink: .SUFFIXES .PRECIOUS .LOW_RESOLUTION_TIME .PHONY .INTERMEDIATE .SECONDARY .EXPORT_ALL_VARIABLES .IGNORE .SILENT .NOTPARALLEL %04d-%02d-%02d %02d:%02d:%02d .%09d Current time %s: Timestamp out of range; substituting %s | %s .RECIPEPREFIX = # Not a target: %s:%s # Precious file (prerequisite of .PRECIOUS). # Phony target (prerequisite of .PHONY). # Command line target. # A default, MAKEFILES, or -include/sinclude makefile. # Builtin rule # Implicit rule search has been done. # Implicit rule search has not been done. # Implicit/static pattern stem: '%s' # File is an intermediate prerequisite. # Also makes: # Modification time never checked. # File does not exist. # File is very old. # Last modified %s # File has been updated. # File has not been updated. # Recipe currently running (THIS IS A BUG). # Dependencies recipe running (THIS IS A BUG). # Successfully updated. # Needs to be updated (-q is set). # Failed to be updated. # Files # files hash-table stats: insufficient number of arguments (%d) to function '%s' unimplemented on this platform: function '%s' open: %s: %s write: %s: %s Invalid file operation: %s Internal error: func_error: '%s' warning: undefined variable '%.*s' undefined default environment file environment override command line override automatic recursive simple %s: '%s' non-numeric first argument to 'wordlist' function non-numeric second argument to 'wordlist' function invalid first argument to 'wordlist' function: '%d' non-numeric first argument to 'word' function first argument to 'word' function must be greater than 0 %s:%lu: pipe fork Cleaning up temporary batch file %s unterminated call to function '%s': missing '%c' Empty function name Invalid function name: %s Function name too long: %s Invalid minimum argument count (%d) for function %s Invalid maximum argument count (%d) for function %s abspath addprefix addsuffix basename notdir subst suffix filter filter-out findstring firstword flavor join lastword patsubst realpath shell sort strip wildcard word wordlist words origin foreach call info error warning value eval POSIXLY_CORRECT %s: option '%s' is ambiguous %s: option '--%s' doesn't allow an argument %s: option '%c%s' doesn't allow an argument %s: option '%s' requires an argument %s: unrecognized option '--%s' %s: unrecognized option '%c%s' %s: illegal option -- %c %s: invalid option -- %c %s: option requires an argument -- %c %s: option '-W %s' is ambiguous %s: option '-W %s' doesn't allow an argument Avoiding implicit rule recursion. Stem too long: '%.*s'. Trying pattern rule with stem '%.*s'. Rejecting impossible rule prerequisite '%s'. Rejecting impossible implicit prerequisite '%s'. Trying rule prerequisite '%s'. Trying implicit prerequisite '%s'. Found prerequisite '%s' as VPATH '%s' Looking for a rule with intermediate file '%s'. Looking for an implicit rule for '%s'. Looking for archive-member implicit rule for '%s'. *** (core dumped) (ignored) %s:%lu %s: recipe for target '%s' failed %s[%s] Error %d%s %s[%s] %s%s%s INTERNAL: Freeing child %p (%s) but no tokens left! write jobserver Released token for child %p (%s). %s (line %d) Bad shell context (!unixy && !batch_mode_shell) /netrel/src/make-4.0-2/job.c %s: Command not found SHELL %s: Shell program not found execvp: $(SHELL) $(.SHELLFLAGS) $(IFS) fork *** Waiting for unfinished jobs.... (remote) Live child %p (%s) PID %s %s remote_status wait Reaping losing child %p PID %s %s Reaping winning child %p PID %s %s Cleaning up temp batch file %s Cleaning up temp batch file %s failed (%d) .DELETE_ON_ERROR Removing child %p PID %s%s from chain. cannot enforce load limits on this operating system cannot enforce load limit: getloadavg Estimated system load = %f (actual = %f) (max requested = %f) Putting child %p (%s) PID %s%s on the chain. don't Need a job token; we %shave children Duplicate the job FD INTERNAL: no children as we go to sleep on read Obtained token for child %p (%s). read jobs pipe Read returned EBADF. %s: target '%s' does not exist %s: update target '%s' due to: %s break case continue eval exec exit export login logout read readonly shift switch test times trap ulimit umask unset while bash rksh dash Empty symbol name for load: %s $(.LOADED) Loading symbol %s from %s Failed to open global symbol table: %s plugin_is_GPL_compatible Loaded object %s is not declared to be GPL compatible Failed to load symbol %s from %s: %s .LOADED dlclose %sGNU Make %s %sBuilt for %s %sBuilt for %s (%s) %sCopyright (C) 1988-2013 Free Software Foundation, Inc. %sLicense GPLv3+: GNU GPL version 3 or later %sThis is free software: you are free to change and redistribute it. %sThere is NO WARRANTY, to the extent permitted by law. empty string invalid as file name MAKECMDGOALS # Make data base, printed on %s # Finished Make data base on %s INTERNAL: Exiting with %u jobserver tokens (should be 0)! write INTERNAL: Exiting with %u jobserver tokens available; should be %u! MFLAGS MAKEFLAGS the '%s%s' option requires a non-empty string argument the '-%c' option requires a positive integer argument Usage: %s [options] [target] ... This program built for %s This program built for %s (%s) Report bugs to unknown debug level specification '%s' none line target recurse unknown output-sync type '%s' internal error: multiple --sync-mutex options /tmp /usr/share/locale make getcwd .VARIABLES .RECIPEPREFIX .SHELLFLAGS target-specific order-only second-expansion else-if shortest-stem undefine oneshell archives jobserver output-sync check-symlink load .FEATURES MAKE_RESTARTS SHELL GNUMAKEFLAGS MAKELEVEL internal error: multiple --jobserver-fds options %d,%d internal error: invalid --jobserver-fds string '%s' Jobserver client (fds %d,%d) warning: -jN forced in submake: disabling jobserver mode. dup jobserver warning: jobserver unavailable: using -j1. Add '+' to parent make rule. MAKE_COMMAND $(MAKE_COMMAND) MAKE -*-command-variables-*- ${-*-command-variables-*-} MAKEOVERRIDES CURDIR .DEFAULT .DEFAULT_GOAL Makefile from standard input specified twice. TMPDIR fopen (temporary file) fwrite (temporary file) -*-eval-flags-*- SUFFIXES creating jobs pipe init jobserver pipe Updating makefiles.... Makefile '%s' might loop; not remaking it. Failed to remake makefile '%s'. Included makefile '%s' was not found. Makefile '%s' was not found chdir Re-executing[%u]: MAKELEVEL= %s=%u MAKE_RESTARTS= MAKE_RESTARTS=%s%u unlink (temporary file): .DEFAULT_GOAL contains more than one target No targets specified and no makefile found No targets Updating goal targets.... warning: Clock skew detected. Your build may be incomplete. Couldn't change back to original directory. quiet stop new-file assume-new assume-old max-load dry-run recon makefile always-make environment-overrides help ignore-errors keep-going check-symlink-times just-print print-data-base question no-builtin-rules no-builtin-variables silent no-keep-going touch version print-directory directory file include-dir jobs load-average old-file output-sync what-if basic debug jobserver-fds trace no-print-directory warn-undefined-variables eval sync-mutex Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. -d Print lots of debugging information. --debug[=FLAGS] Print various types of debugging information. -e, --environment-overrides Environment variables override makefiles. --eval=STRING Evaluate STRING as a makefile statement. -f FILE, --file=FILE, --makefile=FILE Read FILE as a makefile. -h, --help Print this message and exit. -i, --ignore-errors Ignore errors from recipes. -I DIRECTORY, --include-dir=DIRECTORY Search DIRECTORY for included makefiles. -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. -k, --keep-going Keep going when some targets can't be made. -l [N], --load-average[=N], --max-load[=N] Don't start multiple jobs unless load is below N. -L, --check-symlink-times Use the latest mtime between symlinks and target. -n, --just-print, --dry-run, --recon Don't actually run any recipe; just print them. -o FILE, --old-file=FILE, --assume-old=FILE Consider FILE to be very old and don't remake it. -O[TYPE], --output-sync[=TYPE] Synchronize output of parallel jobs by TYPE. -p, --print-data-base Print make's internal database. -q, --question Run no recipe; exit status says if up to date. -r, --no-builtin-rules Disable the built-in implicit rules. -R, --no-builtin-variables Disable the built-in variable settings. -s, --silent, --quiet Don't echo recipes. -S, --no-keep-going, --stop Turns off -k. -t, --touch Touch targets instead of remaking them. --trace Print tracing information. -v, --version Print the version number of make and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE Consider FILE to be infinitely new. --warn-undefined-variables Warn when an undefined variable is referenced. virtual memory exhausted lseek() read() fwrite() %s: Entering an unknown directory %s: Leaving an unknown directory %s: Entering directory '%s' %s: Leaving directory '%s' %s[%u]: Entering an unknown directory %s[%u]: Leaving an unknown directory %s[%u]: Entering directory '%s' %s[%u]: Leaving directory '%s' fcntl() %s: %s tmpfile %s: %s[%u]: %s:%lu: write error: %s write error %s%s: %s %s:%lu: *** %s: *** %s[%u]: *** . Stop. ifdef ifndef ifeq ifneq else endif extraneous text after '%s' directive extraneous '%s' only one 'else' per conditional warning: NUL character seen; rest of line ignored export override private undefine define prerequisites cannot be defined in recipes mixed implicit and static pattern rules mixed implicit and normal rules .POSIX .SHELLFLAGS ARFLAGS CFLAGS fort77 -O 1 FFLAGS SCCSGETFLAGS .SECONDEXPANSION .ONESHELL target '%s' doesn't match the target pattern target file '%s' has both : and :: entries target '%s' given more than once in the same rule warning: overriding recipe for target '%s' warning: ignoring old recipe for target '%s' $(HOME) HOME .INCLUDE_DIRS virtual memory exhausted Skipping UTF-8 BOM in makefile '%s' Skipping UTF-8 BOM in makefile buffer empty variable name extraneous text after 'define' directive missing 'endef', unterminated 'define' endef extraneous text after 'endef' directive invalid syntax in conditional unexport vpath include -include sinclude %s: %s load -load %s: failed to load recipe commences before first target missing rule before recipe (did you mean TAB instead of 8 spaces?) missing separator%s Malformed target-specific variable definition missing target pattern multiple target patterns target pattern contains no '%%' missing 'endif' .DEFAULT_GOAL Reading makefile '%s' (no default goal) (search path) (don't care) (no ~ expansion) MAKEFILE_LIST Reading makefiles... $(MAKEFILES) GNUmakefile makefile Makefile /usr/include /usr/gnu/include /usr/local/include stat: lstat: readlink: *** %sNo rule to make target '%s'%s %sNo rule to make target '%s', needed by '%s'%s $(.LIBPATTERNS) .LIBPATTERNS element '%s' is not a pattern %s/%s %.2g Warning: File '%s' has modification time %s s in the future touch %s touch: open: touch: fstat: touch: read: touch: lseek: touch: write: Found an implicit rule for '%s'. No implicit rule found for '%s'. Using default commands for '%s'. Circular %s <- %s dependency dropped. Pruning file '%s'. Considering target file '%s'. Recently tried and failed to update file '%s'. File '%s' was considered already. Still updating file '%s'. Finished updating file '%s'. File '%s' does not exist. *** Warning: .LOW_RESOLUTION_TIME file '%s' has a high resolution time stamp Using default recipe for '%s'. Finished prerequisites of target file '%s'. The prerequisites of '%s' are being made. Giving up on target file '%s'. Target '%s' not remade because of errors. Prerequisite '%s' is order-only for target '%s'. Prerequisite '%s' of target '%s' does not exist. Prerequisite '%s' is newer than target '%s'. Prerequisite '%s' is older than target '%s'. Target '%s' is double-colon and has no prerequisites. No recipe for '%s' and no prerequisites actually changed. Making '%s' due to always-make flag. No need to remake target '%s' ; using VPATH name '%s' Must remake target '%s'. Ignoring VPATH name '%s'. Recipe of '%s' is being run. Failed to remake target file '%s'. Successfully remade target file '%s'. Target file '%s' needs to be remade under -q. Nothing to be done for '%s'. '%s' is up to date. /lib /usr/lib (%.o) # Implicit Rules # No implicit rules. # %u implicit rules, %u (%.1f%%) terminal. BUG: num_pattern_rules is wrong! %u != %u %s No strcache buffers %s strcache buffers: %lu (%lu) / strings = %lu / storage = %lu B / avg = %lu B %s current buf: size = %hu B / used = %hu B / count = %hu / avg = %hu B %s other used: total = %lu B / count = %lu / avg = %lu B %s other free: total = %lu B / max = %lu B / min = %lu B / avg = %hu B %s strcache performance: lookups = %lu / hit rate = %lu%% # hash-table stats: automatic default environment makefile environment under -e command line 'override' directive private (from '%s', line %lu) define %s endef %s %s= $(subst ,,%s) .RECIPEPREFIX .VARIABLES MAKELEVEL %s%s%s MAKE_VERSION MAKE_HOST SHELL MAKEFILES $(patsubst %/,%,$(dir $@)) $(patsubst %/,%,$(dir $%)) $(patsubst %/,%,$(dir $*)) $(patsubst %/,%,$(dir $<)) $(patsubst %/,%,$(dir $?)) $(patsubst %/,%,$(dir $^)) $(patsubst %/,%,$(dir $+)) $(notdir $@) $(notdir $%) $(notdir $*) $(notdir $<) $(notdir $?) $(notdir $^) $(notdir $+) %s=%u empty variable name # variable set hash-table stats: # Variables # Pattern-specific Variable Values # No pattern-specific variable values. %s : # %u pattern-specific variable values x86_64-pc-cygwin $(strip $(VPATH)) $(strip $(GPATH)) # VPATH Search Paths # No 'vpath' search paths. vpath %s %s%c # %u 'vpath' search paths. # No general ('VPATH' variable) search path. # General ('VPATH' variable) search path: can't allocate %lu bytes for hash table: memory exhausted Load=%ld/%ld=%.0f%%, Rehash=%d, Collisions=%ld/%ld=%.0f%% Y at POSIXLY_CORRECT alnum alpha blank cntrl digit graph lower print punct space upper xdigit HOME next != NULL /netrel/src/make-4.0-2/glob/glob.c glob GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) GCC: (GNU) 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) __assert_func __ctype_ptr__ __errno __getreent __main _dll_crt0 _exit _impure_ptr abort alarm atexit atof atoi atol calloc chdir clock_gettime close closedir ctime cygwin_detach_dll cygwin_internal dlclose dlerror dll_dllcrt0 dlopen dlsym dup2 environ execvp exit fclose fcntl fdopen fflush fgets fileno fopen fork fprintf fputc fputs fread free fstat ftruncate fwrite getcwd getenv getlogin getpid getpwnam getrlimit kill localtime lseek lstat malloc memcmp memcpy memmove memset mkstemp open opendir perror pipe printf putc putenv puts qsort read readdir readlink realloc realpath remove setrlimit setvbuf sigaction sigaddset sigemptyset signal sigprocmask sprintf sscanf stat stpcpy strchr strcmp strcpy strdup strerror strlen strncmp strncpy strndup strpbrk strrchr strsignal strstr time tmpfile tolower unlink vsnprintf wait waitpid write libintl_bindtextdomain libintl_gettext libintl_setlocale libintl_textdomain GetModuleHandleA GetProcAddress cygwin1.dll cygintl-8.dll KERNEL32.dll make.exe.dbg Defined make macro "OMAKE " to "/usr/bin/make --no-print-directory" Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC})" and code [] Defined make rule "libcu" with dependencies "${LIBNAME}(${OBJSCU})" and code [] Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} module multiprocessing found 12 cores: using make_np = 5 Defined make macro "MAKE_NP" to "5" ================================================================================ TEST configureMkdir from config.programs(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/programs.py:111) TESTING: configureMkdir from config.programs(config/BuildSystem/config/programs.py:111) Make sure we can have mkdir automatically make intermediate directories Checking for program /usr/local/bin/mkdir...not found Checking for program /usr/bin/mkdir...found sh: /usr/bin/mkdir -p .conftest/tmp Executing: /usr/bin/mkdir -p .conftest/tmp sh: Adding -p flag to /usr/bin/mkdir -p to automatically create directories Defined make macro "MKDIR" to "/usr/bin/mkdir -p" ================================================================================ TEST configurePrograms from config.programs(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/programs.py:133) TESTING: configurePrograms from config.programs(config/BuildSystem/config/programs.py:133) Check for the programs needed to build and run PETSc Checking for program /usr/local/bin/sh...not found Checking for program /usr/bin/sh...found Defined make macro "SHELL" to "/usr/bin/sh" Checking for program /usr/local/bin/sed...not found Checking for program /usr/bin/sed...found Defined make macro "SED" to "/usr/bin/sed" All intermediate test results are stored in /tmp/petsc-_gMCR8 All intermediate test results are stored in /tmp/petsc-_gMCR8/config.programs sh: /usr/bin/sed -i s/sed/sd/g "/tmp/petsc-_gMCR8/config.programs/sed1" Executing: /usr/bin/sed -i s/sed/sd/g "/tmp/petsc-_gMCR8/config.programs/sed1" sh: Adding SEDINPLACE cmd: /usr/bin/sed -i Defined make macro "SEDINPLACE" to "/usr/bin/sed -i" Checking for program /usr/local/bin/mv...not found Checking for program /usr/bin/mv...found Defined make macro "MV" to "/usr/bin/mv" Checking for program /usr/local/bin/cp...not found Checking for program /usr/bin/cp...found Defined make macro "CP" to "/usr/bin/cp" Checking for program /usr/local/bin/grep...not found Checking for program /usr/bin/grep...found Defined make macro "GREP" to "/usr/bin/grep" Checking for program /usr/local/bin/rm...not found Checking for program /usr/bin/rm...found Defined make macro "RM" to "/usr/bin/rm -f" Checking for program /usr/local/bin/diff...not found Checking for program /usr/bin/diff...found sh: "/usr/bin/diff" -w "/tmp/petsc-_gMCR8/config.programs/diff1" "/tmp/petsc-_gMCR8/config.programs/diff2" Executing: "/usr/bin/diff" -w "/tmp/petsc-_gMCR8/config.programs/diff1" "/tmp/petsc-_gMCR8/config.programs/diff2" sh: Defined make macro "DIFF" to "/usr/bin/diff -w" Checking for program /usr/ucb/ps...not found Checking for program /usr/usb/ps...not found Checking for program /home/dsu/ps...not found Checking for program /usr/local/bin/gzip...not found Checking for program /usr/bin/gzip...found Defined make macro "GZIP" to "/usr/bin/gzip" Defined "HAVE_GZIP" to "1" Defined make macro "PYTHON" to "/usr/bin/python" ================================================================================ TEST configureGit from config.sourceControl(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/sourceControl.py:24) TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /usr/local/bin/git...not found Checking for program /usr/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/git...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/git...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/git...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/git...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/git...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/git...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/git...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/git...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/git...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/git...not found Checking for program /cygdrive/c/Windows/system32/git...not found Checking for program /cygdrive/c/Windows/git...not found Checking for program /cygdrive/c/Windows/System32/Wbem/git...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/git...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/git...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/git...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/git...not found Checking for program /usr/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/git...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/git...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/git...not found Checking for program /home/dsu/git...not found ================================================================================ TEST configureMercurial from config.sourceControl(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/sourceControl.py:35) TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /usr/local/bin/hg...not found Checking for program /usr/bin/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/hg...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/hg...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/hg...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/hg...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/hg...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/hg...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/hg...not found Checking for program /cygdrive/c/Windows/system32/hg...not found Checking for program /cygdrive/c/Windows/hg...not found Checking for program /cygdrive/c/Windows/System32/Wbem/hg...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/hg...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/hg...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/hg...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/hg...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/hg...not found Checking for program /usr/bin/hg...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/hg...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/hg...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/hg...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/hg...not found Checking for program /home/dsu/hg...not found ================================================================================ TEST configureCVS from config.sourceControl(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/sourceControl.py:46) TESTING: configureCVS from config.sourceControl(config/BuildSystem/config/sourceControl.py:46) Find the CVS executable Checking for program /usr/local/bin/cvs...not found Checking for program /usr/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/cvs...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/cvs...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/cvs...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/cvs...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/cvs...not found Checking for program /cygdrive/c/Windows/system32/cvs...not found Checking for program /cygdrive/c/Windows/cvs...not found Checking for program /cygdrive/c/Windows/System32/Wbem/cvs...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/cvs...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/cvs...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/cvs...not found Checking for program /usr/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/cvs...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/cvs...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/cvs...not found Checking for program /home/dsu/cvs...not found ================================================================================ TEST configureSubversion from config.sourceControl(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/sourceControl.py:55) TESTING: configureSubversion from config.sourceControl(config/BuildSystem/config/sourceControl.py:55) Find the Subversion executable Checking for program /usr/local/bin/svn...not found Checking for program /usr/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/svn...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/svn...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/svn...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/svn...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/svn...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/svn...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/svn...not found Checking for program /cygdrive/c/Windows/system32/svn...not found Checking for program /cygdrive/c/Windows/svn...not found Checking for program /cygdrive/c/Windows/System32/Wbem/svn...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/svn...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/svn...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/svn...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/svn...not found Checking for program /usr/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/svn...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/svn...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/svn...found Defined make macro "SVN" to "svn" sh: svn --version -q Executing: svn --version -q sh: 1.8.3 ================================================================================ TEST configureDirectories from PETSc.utilities.petscdir(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/petscdir.py:28) TESTING: configureDirectories from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:28) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 1 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 4 #define PETSC_VERSION_SUBMINOR 3 #define PETSC_VERSION_PATCH 0 #define PETSC_VERSION_DATE "Oct, 15, 2013" #define PETSC_VERSION_GIT "e9715d0b55579104fb4321f3f4f3f0e2ce2d7d6d" #define PETSC_VERSION_DATE_GIT "2013-10-15 11:50:31 -0500" #define PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ Defined make macro "DIR" to "/cygdrive/c/cygwin64/packages/petsc-3.4.3" Defined "DIR" to ""/cygdrive/c/cygwin64/packages/petsc-3.4.3"" ================================================================================ TEST configureExternalPackagesDir from PETSc.utilities.petscdir(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/petscdir.py:77) TESTING: configureExternalPackagesDir from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:77) ================================================================================ TEST configureInstallationMethod from PETSc.utilities.petscdir(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/petscdir.py:84) TESTING: configureInstallationMethod from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:84) This is a tarball installation ================================================================================ TEST configureETags from PETSc.utilities.Etags(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/Etags.py:27) TESTING: configureETags from PETSc.utilities.Etags(config/PETSc/utilities/Etags.py:27) Determine if etags files exist and try to create otherwise Found etags file ================================================================================ TEST getDatafilespath from PETSc.utilities.dataFilesPath(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/dataFilesPath.py:29) TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(config/PETSc/utilities/dataFilesPath.py:29) Checks what DATAFILESPATH should be Defined make macro "DATAFILESPATH" to "None" ================================================================================ TEST printEnvVariables from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1504) TESTING: printEnvVariables from config.setCompilers(config/BuildSystem/config/setCompilers.py:1504) **** printenv **** BIN_ROOT=C:\Program Files (x86)\Intel\Composer XE 2013\bin\ LIB=C:\Program Files (x86)\Intel\Composer XE 2013\compiler\lib;C:\Program Files (x86)\Intel\Composer XE 2013\compiler\lib\intel64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\x64;C:\Program Files (x86)\Intel\Composer XE 2013\mkl\lib\intel64;C:\Program Files (x86)\Intel\Composer XE 2013\compiler\lib\intel64; VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\ COMPUTERNAME=NWMOP SCRIPT_NAME=compilervars_arch.bat ADVISOR_XE_2013_DIR=C:\Program Files (x86)\Intel\Advisor XE 2013\.\ !C:=C:\Program Files (x86)\Intel\Composer XE 2013 WIN_TITLE_ARCH=Intel(R) 64 PRODUCT_NAME=Intel Composer XE 2013 CCP_INC=C:\MSHPC\MSHPC2008R2SDK\Include\ INFOPATH=/usr/local/info:/usr/share/info:/usr/info: SHELL=/bin/bash CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files USERDOMAIN=nwmop FrameworkVersion64=v4.0.30319 MANPATH=/usr/local/man:/usr/share/man:/usr/man: FrameworkDir=C:\Windows\Microsoft.NET\Framework64 CCP_LIB64=C:\MSHPC\MSHPC2008R2SDK\Lib\amd64\ ARCH_PATH_MPI=em64t KMP_AFFINITY=verbose,granularity=thread,compact COMSPEC=C:\Windows\system32\cmd.exe WIN_TITLE_VS=Visual Studio 2010 ARCH_PATH=intel64 TARGET_ARCH=intel64 MOZ_PLUGIN_PATH=C:\Program Files (x86)\PDFlite\ HOMEDRIVE=C: MKLROOT=C:\Program Files (x86)\Intel\Composer XE 2013\mkl FrameworkVersion=v4.0.30319 SYSTEMDRIVE=C: HOSTNAME=nwmop PETSC_ARCH=arch-mswin-c-optimized-hypre PROCESSOR_LEVEL=6 OS=Windows_NT C_INCLUDE_PATH=C:\MinGW\include PRODUCT_NAME_FULL=Intel(R) Composer XE 2013 Update 5 (package 198) TARGET_VS=vs2010 INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\ IFORT_COMPILER14=C:\Program Files (x86)\Intel\Composer XE 2013 SP1\ CommandPromptType=Native USER=dsu IFORT_COMPILER13=C:\Program Files (x86)\Intel\Composer XE 2013\ SYSTEMROOT=C:\Windows PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ tmp=C:\Users\dsu\AppData\Local\Temp TEMP=/tmp SHLVL=1 VISUALSVN_SERVER=C:\Program Files (x86)\VisualSVN Server\ PETSC_DIR=/cygdrive/c/cygwin64/packages/petsc-3.4.3 HOMEPATH=\Users\dsu WindowsSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\ ROOT=C:\Program Files (x86)\Intel\Composer XE 2013 LOGONSERVER=\\NWMOP CCP_JOBTEMPLATE=Default C_TARGET_ARCH=intel64 MSVS_VAR_SCRIPT="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\..\..\VC\vcvarsall.bat" PRINTER=Microsoft XPS Document Writer (redirected 1) INSPECTOR_2013_DIR=C:\Program Files (x86)\Intel\Inspector XE 2013\ SESSIONNAME=RDP-Tcp#0 INCLUDE=C:\Program Files (x86)\Intel\Composer XE 2013\compiler\include;C:\Program Files (x86)\Intel\Composer XE 2013\compiler\include\intel64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include;C:\Program Files (x86)\Intel\Composer XE 2013\mkl\include; CLIENTNAME=DSU-PC APPDATA=C:\Users\dsu\AppData\Roaming OMP_NUM_THREADS=6 VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ CCP_HOME=C:\MSHPC\MSHPC2008R2\ TMP=/tmp PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\Intel\Licenses COMMONPROGRAMFILES=C:\Program Files\Common Files HOME=/home/dsu MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic LANG=en_US.UTF-8 LIBRARY_PATH=C:\MinGW\lib ProgramData=C:\ProgramData PROCESSOR_ARCHITECTURE=AMD64 ALLUSERSPROFILE=C:\ProgramData PATH_PHAST=C:\Program Files (x86)\USGS\phast-2.4.1-7430\\bin BUNDLE_NAME=Intel(R) Parallel Studio XE 2013 ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files USERNAME=dsu FrameworkDIR64=C:\Windows\Microsoft.NET\Framework64 PROMPT=$P$G PETSC_DIR3=/cygdrive/c/cygwin64/packages/petsc-dev PETSC_ARCH3=arch-mswin-c-optimized PETSC_ARCH2=arch-mswin-c-debug INSPECTOR_XE_2013_DIR=C:\Program Files (x86)\Intel\Inspector XE 2013\ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC CommonProgramW6432=C:\Program Files\Common Files WINDIR=C:\Windows Framework35Version=v3.5 temp=C:\Users\dsu\AppData\Local\Temp Platform=X64 NUMBER_OF_PROCESSORS=12 CCP_LIB32=C:\MSHPC\MSHPC2008R2SDK\Lib\i386\ WIN_TITLE=Intel Composer XE 2013 Intel(R) 64 Visual Studio 2010 TARGET_VS_ARCH=amd64 MSMPI_INC=C:\MSHPC\MSHPC2008R2\Inc\ PUBLIC=C:\Users\Public USERPROFILE=C:\Users\dsu _=./configure LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB\amd64; PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 45 Stepping 7, GenuineIntel PROGRAMFILES=C:\Program Files PROCESSOR_REVISION=2d07 PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64:/cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64:/cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319:/cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin:/cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl:/cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler:/cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32:/cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32:/cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32:/cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64:/cygdrive/c/MSHPC/MSHPC2008R2/Bin:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/TEC100/BIN:/cygdrive/c/Program Files (x86)/CMake 2.8/bin:/cygdrive/c/Program Files/doxygen/bin:/cygdrive/c/Program Files (x86)/Graphviz 2.28/bin:/cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin:/usr/bin:/cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program Files (x86)/VisualSVN/bin:/cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt TERM=cygwin TZ=America/Vancouver CCP_SDK=C:\MSHPC\MSHPC2008R2SDK\ VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 10.0\ VTUNE_AMPLIFIER_XE_2013_DIR=C:\Program Files (x86)\Intel\VTune Amplifier XE 2013\ LOCALAPPDATA=C:\Users\dsu\AppData\Local MSMPI_LIB64=C:\MSHPC\MSHPC2008R2\Lib\amd64\ TEC100HOME=C:\Program Files\TEC100 FP_NO_HOST_CHECK=NO OLDPWD=/home/dsu PWD=/cygdrive/c/cygwin64/packages/petsc-3.4.3 MSMPI_LIB32=C:\MSHPC\MSHPC2008R2\Lib\i386\ VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ ================================================================================ TEST resetEnvCompilers from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1511) TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1511) ================================================================================ TEST checkMPICompilerOverride from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1476) TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:1476) 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(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1495) TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:1495) OpenMPI wrappers require LD_LIBRARY_PATH set ================================================================================ TEST checkVendor from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:399) TESTING: checkVendor from config.setCompilers(config/BuildSystem/config/setCompilers.py:399) Determine the compiler vendor Compiler vendor is "" ================================================================================ TEST checkInitialFlags from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:409) TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:409) 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(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:525) TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:525) Locate a functional C compiler Checking for program /usr/local/bin/win32fe...not found Checking for program /usr/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/win32fe...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/win32fe...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/win32fe...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/win32fe...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/win32fe...not found Checking for program /cygdrive/c/Windows/system32/win32fe...not found Checking for program /cygdrive/c/Windows/win32fe...not found Checking for program /cygdrive/c/Windows/System32/Wbem/win32fe...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/win32fe...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/win32fe...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/win32fe...not found Checking for program /usr/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/win32fe...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/win32fe...not found Checking for program /home/dsu/win32fe...not found Checking for program /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe...found Defined make macro "CC" to "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl" Pushing language C All intermediate test results are stored in /tmp/petsc-_gMCR8/config.setCompilers sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: 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 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: Popping language C ================================================================================ TEST checkCPreprocessor from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:560) TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:560) Locate a functional C preprocessor Checking for program /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe...found Defined make macro "CPP" to "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E" Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.SET\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\confdefs.h" #line 17 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.SET\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.SET\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\stdlib.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Popping language C ================================================================================ TEST checkCUDACompiler from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:594) TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:594) Locate a functional CUDA compiler Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/nvcc...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/nvcc...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/nvcc...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/nvcc...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/nvcc...not found Checking for program /cygdrive/c/Windows/system32/nvcc...not found Checking for program /cygdrive/c/Windows/nvcc...not found Checking for program /cygdrive/c/Windows/System32/Wbem/nvcc...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/nvcc...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/nvcc...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/nvcc...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/nvcc...not found Checking for program /home/dsu/nvcc...not found Checking for program /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/nvcc...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/nvcc...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/nvcc...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/nvcc...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/nvcc...not found Checking for program /cygdrive/c/Windows/system32/nvcc...not found Checking for program /cygdrive/c/Windows/nvcc...not found Checking for program /cygdrive/c/Windows/System32/Wbem/nvcc...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/nvcc...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/nvcc...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/nvcc...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/nvcc...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/nvcc...not found Checking for program /home/dsu/nvcc...not found Checking for program /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/nvcc...not found ================================================================================ TEST checkCUDAPreprocessor from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:632) TESTING: checkCUDAPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:632) Locate a functional CUDA preprocessor ================================================================================ TEST checkCxxCompiler from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:735) TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:735) Locate a functional Cxx compiler Checking for program /usr/local/bin/win32fe...not found Checking for program /usr/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/win32fe...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/win32fe...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/win32fe...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/win32fe...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/win32fe...not found Checking for program /cygdrive/c/Windows/system32/win32fe...not found Checking for program /cygdrive/c/Windows/win32fe...not found Checking for program /cygdrive/c/Windows/System32/Wbem/win32fe...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/win32fe...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/win32fe...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/win32fe...not found Checking for program /usr/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/win32fe...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/win32fe...not found Checking for program /home/dsu/win32fe...not found Checking for program /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe...found Defined make macro "CXX" to "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl" Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: 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 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: Popping language Cxx ================================================================================ TEST checkCxxPreprocessor from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:773) TESTING: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:773) Locate a functional Cxx preprocessor Checking for program /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe...found Defined make macro "CXXCPP" to "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E" Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.SET\\conftest.cc" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\confdefs.h" #line 17 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.SET\\conftest.cc" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\conffix.h" extern "C" { } #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.setcompilers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.SET\\conftest.cc" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\cstdlib" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\yvals.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" namespace vc_attributes { #line 55 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum YesNoMaybe { No = 0x0fff0001, Maybe = 0x0fff0010, Yes = 0x0fff0100 }; typedef enum YesNoMaybe YesNoMaybe; enum AccessType { NoAccess = 0, Read = 1, Write = 2, ReadWrite = 3 }; typedef enum AccessType AccessType; [repeatable] [source_annotation_attribute( Parameter )] struct PreAttribute { PreAttribute(); #line 85 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" unsigned int Deref; YesNoMaybe Valid; YesNoMaybe Null; YesNoMaybe Tainted; AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; YesNoMaybe NullTerminated; const wchar_t* Condition; }; [repeatable] [source_annotation_attribute( Parameter|ReturnValue )] struct PostAttribute { PostAttribute(); #line 116 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" unsigned int Deref; YesNoMaybe Valid; YesNoMaybe Null; YesNoMaybe Tainted; AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; YesNoMaybe NullTerminated; YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( Parameter )] struct FormatStringAttribute { FormatStringAttribute(); #line 147 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [repeatable] [source_annotation_attribute( ReturnValue )] struct InvalidCheckAttribute { InvalidCheckAttribute(); #line 159 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" long Value; }; [source_annotation_attribute( Method )] struct SuccessAttribute { SuccessAttribute(); #line 169 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" const wchar_t* Condition; }; [repeatable] [source_annotation_attribute( Parameter )] struct PreBoundAttribute { PreBoundAttribute(); #line 180 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" unsigned int Deref; }; [repeatable] [source_annotation_attribute( Parameter|ReturnValue )] struct PostBoundAttribute { PostBoundAttribute(); #line 190 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" unsigned int Deref; }; [repeatable] [source_annotation_attribute( Parameter )] struct PreRangeAttribute { PreRangeAttribute(); #line 200 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" unsigned int Deref; const char* MinVal; const char* MaxVal; }; [repeatable] [source_annotation_attribute( Parameter|ReturnValue )] struct PostRangeAttribute { PostRangeAttribute(); #line 212 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" }; #line 222 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef ::vc_attributes::YesNoMaybe SA_YesNoMaybe; const ::vc_attributes::YesNoMaybe SA_Yes = ::vc_attributes::Yes; const ::vc_attributes::YesNoMaybe SA_No = ::vc_attributes::No; const ::vc_attributes::YesNoMaybe SA_Maybe = ::vc_attributes::Maybe; typedef ::vc_attributes::AccessType SA_AccessType; const ::vc_attributes::AccessType SA_NoAccess = ::vc_attributes::NoAccess; const ::vc_attributes::AccessType SA_Read = ::vc_attributes::Read; const ::vc_attributes::AccessType SA_Write = ::vc_attributes::Write; const ::vc_attributes::AccessType SA_ReadWrite = ::vc_attributes::ReadWrite; typedef ::vc_attributes::PreAttribute SA_Pre; typedef ::vc_attributes::PostAttribute SA_Post; typedef ::vc_attributes::FormatStringAttribute SA_FormatString; typedef ::vc_attributes::InvalidCheckAttribute SA_InvalidCheck; typedef ::vc_attributes::SuccessAttribute SA_Success; typedef ::vc_attributes::PreBoundAttribute SA_PreBound; typedef ::vc_attributes::PostBoundAttribute SA_PostBound; typedef ::vc_attributes::PreRangeAttribute SA_PreRange; typedef ::vc_attributes::PostRangeAttribute SA_PostRange; #line 266 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Popping language Cxx ================================================================================ TEST checkFortranCompiler from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:882) TESTING: checkFortranCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:882) Locate a functional Fortran compiler Checking for program /usr/local/bin/win32fe...not found Checking for program /usr/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/bin/intel64/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/amd64/win32fe...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/win32fe...not found Checking for program /cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/HTML Help Workshop/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools/x64/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/x64/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mkl/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/compiler/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Advisor XE 2013/bin32/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/VTune Amplifier XE 2013/bin32/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Inspector XE 2013/bin32/win32fe...not found Checking for program /cygdrive/d/dsu/ResearchAtUBC/Dropbox/ParallelDevelop/MIN3P_THCm/Branch_PETSc_Solver/src/project/visualstudio_p/x64/win32fe...not found Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/Bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/mpirt/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/mpirt/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler/win32fe...not found Checking for program /cygdrive/c/Windows/system32/win32fe...not found Checking for program /cygdrive/c/Windows/win32fe...not found Checking for program /cygdrive/c/Windows/System32/Wbem/win32fe...not found Checking for program /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/win32fe...not found Checking for program /cygdrive/c/Program Files/TEC100/BIN/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/CMake 2.8/bin/win32fe...not found Checking for program /cygdrive/c/Program Files/doxygen/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Graphviz 2.28/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/USGS/phast-2.4.1-7430/bin/win32fe...not found Checking for program /usr/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/HDF_Group/HDF5/1.8.11/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/win32fe...not found Checking for program /cygdrive/c/Program Files/TortoiseSVN/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/VisualSVN/bin/win32fe...not found Checking for program /cygdrive/c/Program Files (x86)/Intel/Composer XE 2013/redist/intel64/mpirt/win32fe...not found Checking for program /home/dsu/win32fe...not found Checking for program /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe...found Defined make macro "FC" to "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort" Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: 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 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: Popping language FC ================================================================================ TEST checkFortranComments from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:901) TESTING: checkFortranComments from config.setCompilers(config/BuildSystem/config/setCompilers.py:901) Make sure fortran comment "!" works Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: ! comment program main end Fortran comments can use ! in column 1 Popping language FC ================================================================================ TEST checkPIC from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:964) TESTING: checkPIC from config.setCompilers(config/BuildSystem/config/setCompilers.py:964) Determine the PIC option for each compiler - There needs to be a test that checks that the functionality is actually working Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib Trying C compiler flag -PIC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -PIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -PIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-PIC' Rejecting C linker flag -PIC due to cl : Command line warning D9002 : ignoring unknown option '-PIC' Rejected C compiler flag -PIC because linker cannot handle it Trying C compiler flag -fPIC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -fPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -fPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-fPIC' Rejecting C linker flag -fPIC due to cl : Command line warning D9002 : ignoring unknown option '-fPIC' Rejected C compiler flag -fPIC because linker cannot handle it Trying C compiler flag -KPIC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -KPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -KPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-KPIC' Rejecting C linker flag -KPIC due to cl : Command line warning D9002 : ignoring unknown option '-KPIC' Rejected C compiler flag -KPIC because linker cannot handle it Trying C compiler flag -qpic sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -qpic /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -qpic /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-qpic' Rejecting C linker flag -qpic due to cl : Command line warning D9002 : ignoring unknown option '-qpic' Rejected C compiler flag -qpic because linker cannot handle it Popping language C Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib Trying Cxx compiler flag -PIC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -PIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -PIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-PIC' Rejecting Cxx linker flag -PIC due to cl : Command line warning D9002 : ignoring unknown option '-PIC' Rejected Cxx compiler flag -PIC because linker cannot handle it Trying Cxx compiler flag -fPIC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -fPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -fPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-fPIC' Rejecting Cxx linker flag -fPIC due to cl : Command line warning D9002 : ignoring unknown option '-fPIC' Rejected Cxx compiler flag -fPIC because linker cannot handle it Trying Cxx compiler flag -KPIC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -KPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -KPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-KPIC' Rejecting Cxx linker flag -KPIC due to cl : Command line warning D9002 : ignoring unknown option '-KPIC' Rejected Cxx compiler flag -KPIC because linker cannot handle it Trying Cxx compiler flag -qpic sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -qpic /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -qpic /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-qpic' Rejecting Cxx linker flag -qpic due to cl : Command line warning D9002 : ignoring unknown option '-qpic' Rejected Cxx compiler flag -qpic because linker cannot handle it Popping language Cxx Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= icl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.198 Build 20130607 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. Intel(R) Fortran Compiler Help ============================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: ifort [options] file1 [file2 ...] [/link linker_options] where options represents zero or more compiler options fileN is a Fortran source (.f .for .ftn .f90 .fpp .i .i90), assembly (.asm), object (.obj), static library (.lib), or other linkable file linker_options represents zero or more linker options Notes ----- 1. Many FL32 options are supported; a warning is printed for unsupported options. 2. Intel Fortran compiler options may be placed in your ifort.cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ /O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit /O2 optimize for maximum speed (DEFAULT) /O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs /Ox enable maximum optimizations (same as /O2) /Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit (overrides /Ot) /Ot enable speed optimizations (overrides /Os) /Od disable optimizations /Oy[-] enable/disable using EBP as a general purpose register (no frame pointer) (i32 only) /fast enable /QxHOST /O3 /Qipo /Qprec-div- options set by /fast cannot be overridden with the exception of /QxHOST, list options separately to change behavior /Oa[-] assume no aliasing in program /Ow[-] assume no aliasing within functions, but assume aliasing across calls Code Generation --------------- /Qx generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. Optimizes for a future Intel processor. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. Optimizes for a future Intel processor. SSSE3_ATOM May generate MOVBE instructions for Intel processors, depending on the setting of option /Qinstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor and Intel(R) Centrino(R) Atom(TM) Processor Technology. /QxHost generate instructions for the highest instruction set and processor available on the compilation host machine /Qax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. /arch: generate specialized code to optimize for processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions SSE3 May generate Intel(R) SSE3, SSE2 and SSE instructions SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2 and SSE instructions SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions AVX May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions /Qinstruction: Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with SSSE3_ATOM (requires /QxSSSE3_ATOM) /Qextend-arguments:[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. Interprocedural Optimization (IPO) ---------------------------------- /Qip[-] enable(DEFAULT)/disable single-file IP optimization within files /Qipo[n] enable multi-file IP optimization between files /Qipo-c generate a multi-file object file (ipo_out.obj) /Qipo-S generate a multi-file assembly file (ipo_out.asm) /Qip-no-inlining disable full and partial inlining /Qip-no-pinlining disable partial inlining /Qipo-separate create one object file for every source file (overrides /Qipo[n]) /Qipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- /Qunroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller /Qunroll-aggressive[-] enables more aggressive unrolling heuristics /Qscalar-rep[-] enable(DEFAULT)/disable scalar replacement (requires /O3) /Qpad[-] enable/disable(DEFAULT) changing variable and array memory layout /Qsafe-cray-ptr Cray pointers do not alias with other variables /Qansi-alias[-] enable/disable(DEFAULT) use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules /Qcomplex-limited-range[-] enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. /reentrancy: specify whether the threaded, reentrant run-time support should be used Keywords: none (same as /noreentrancy), threaded, async /noreentrancy do not use threaded, reentrant run-time support /heap-arrays[:n] temporary arrays of minimum size n (in kilobytes) are allocated in heap memory rather than on the stack. If n is not specified, all temporary arrays are allocated in heap memory. /heap-arrays- temporary arrays are allocated on the stack (DEFAULT) /Qopt-multi-version-aggressive[-] enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement /Qopt-ra-region-strategy[:] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option /Qvec[-] enables(DEFAULT)/disables vectorization /Qvec-guard-write[-] enables cache/bandwidth optimization for stores under conditionals within vector loops /Qvec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel /Qopt-malloc-options:{0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory /Qopt-jump-tables: control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use /Qopt-jump-tables- to lower switch statements as chains of if-then-else constructs /Qopt-block-factor: specify blocking factor for loop blocking /Qopt-streaming-stores: specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores /Qmkl[:] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when /Qmkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries /Qimsl link to the International Mathematics and Statistics Library* (IMSL* library) /Qopt-subscript-in-range[-] assumes no overflows in the intermediate computation of the subscripts /Qcoarray[:shared|distributed] enable/disable(DEFAULT) coarray syntax for data parallel programming. The default is shared-memory; distributed memory is only valid with the Intel(R) Cluster Toolkit /Qcoarray-num-images:n set default number of coarray images /Qopt-matmul[-] replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at /O3 /Qparallel) /Qsimd[-] enables(DEFAULT)/disables vectorization using SIMD directive /Qguide-opts: tells the compiler to analyze certain code and generate recommendations that may improve optimizations /Qguide-file[:] causes the results of guide to be output to a file /Qguide-file-append[:] causes the results of guide to be appended to a file /Qguide[:] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) /Qguide-data-trans[:] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) /Qguide-par[:] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) /Qguide-vec[:] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) /Qguide-profile:<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the /Qguide option /Qopt-mem-layout-trans[:] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as /Qopt-mem-layout-trans-) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations /Qopt-prefetch[:n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. /Qopt-prefetch- disable(DEFAULT) prefetch insertion. Equivalent to /Qopt-prefetch:0 Profile Guided Optimization (PGO) --------------------------------- /Qprof-dir specify directory for profiling output files (*.dyn and *.dpi) /Qprof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory /Qprof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory /Qprof-src-dir[-] specify whether directory names of sources should be considered when looking up profile records within the .dpi file /Qprof-file specify file name for profiling summary file /Qprof-data-order[-] enable/disable(DEFAULT) static data ordering with profiling /Qprof-func-order[-] enable/disable(DEFAULT) function ordering with profiling /Qprof-gen[:keyword] instrument program for profiling. Optional keyword may be srcpos or globdata /Qprof-gen- disable profiling instrumentation /Qprof-use[:] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool /Qprof-use- disable use of profiling information during optimization /Qcov-gen instrument program for profiling /Qcov-dir specify directory for profiling output files (*.dyn and *.dpi) /Qcov-file specify file name for profiling summary file /Qinstrument-functions[-] determine whether function entry and exit points are instrumented /Qprof-hotness-threshold: set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires /Qprof-use and /Qprof-func-order /Qprof-value-profiling:[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites /Qprofile-functions enable instrumentation in generated code for collecting function execution time profiles /Qprofile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops /Qprofile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- /Qvec-report[n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops /Qopt-report[:n] generate an optimization report to stderr 0 disable optimization report output 1 minimum report output 2 medium output (DEFAULT when enabled) 3 maximum report output /Qopt-report-file: specify the filename for the generated report /Qopt-report-phase: specify the phase that reports are generated against /Qopt-report-routine: reports on routines containing the given name /Qopt-report-help display the optimization phases available for reporting /Qtcheck[:mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level /Qtcollect[:] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library .lib is linked in the default being VT.lib (requires Intel(R) Trace Collector) /Qtcollect-filter:file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ /Qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as /openmp) /Qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) /Qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level /Qopenmp-lib: choose which OpenMP library version to link with compat - use the Microsoft compatible OpenMP run-time libraries (DEFAULT) /Qopenmp-threadprivate: choose which threadprivate implementation to use compat - use the Microsoft compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) /Qparallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel /Qpar-report{0|1|2|3} control the auto-parallelizer diagnostic level /Qpar-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 /Qpar-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode /Qpar-schedule-static[:n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. /Qpar-schedule-static_balanced[:n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. /Qpar-schedule-static-steal[:n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads /Qpar-schedule-dynamic[:n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. /Qpar-schedule-guided[:n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. /Qpar-schedule-guided-analytical[:n] Divides iterations by using exponential distribution or dynamic distributions. /Qpar-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. /Qpar-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. /Qpar-adjust-stack perform fiber-based main thread stack adjustment /Qpar-affinity=[,...][,][,] tune application performance by setting different thread affinity /Qpar-num-threads= tune application performance by setting different number of threads /Qparallel-source-info[:n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as /Qparallel-source-info-) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information /Qpar same as /Qparallel Floating Point -------------- /fp: enable floating point model variation except[-] - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision strict - enables /fp:precise /fp:except, disables contractions and enables pragma stdc fenv_access /Qfp-speculation: enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations /Qpc32 set internal FPU precision to 24 bit significand /Qprec improve floating-point precision (speed impact less than /Op) /Qprec-sqrt[-] determine if certain square root optimizations are enabled /Qprec-div[-] improve precision of FP divides (some speed impact) /Qfast-transcendentals[-] generate a faster version of the transcendental functions /Qfp-port[-] round fp results at assignments and casts (some speed impact) /Qfp-stack-check enable fp stack checking after every function/procedure call /Qrcd rounding mode to enable fast float-to-int conversions /rounding-mode:chopped set internal FPU rounding control to truncate /Qftz[-] enable/disable flush denormal results to zero /fpe:{0|1|3} specifies program-wide behavior on floating point exceptions /fpe-all:{0|1|3} specifies floating point exception behavior on all functions and subroutines. Also sets /assume:ieee_fpe_flags /[no]fltconsistency specify that improved floating-point consistency should be used /Qfma[-] enable/disable the combining of floating point multiplies and add/subtract operations /[no]recursive compile all procedures for possible recursive execution Inlining -------- /Ob control inline expansion: n=0 disable inlining (same as /inline:none) n=1 inline functions declared with ATTRIBUTES INLINE or FORCEINLINE n=2 inline any function, at the compiler's discretion /Qinline-min-size: set size limit for inlining small routines /Qinline-min-size- no size limit for inlining small routines /Qinline-max-size: set size limit for inlining large routines /Qinline-max-size- no size limit for inlining large routines /Qinline-max-total-size: maximum increase in size for inline function expansion /Qinline-max-total-size- no size limit for inline function expansion /Qinline-max-per-routine: maximum number of inline instances in any function /Qinline-max-per-routine- no maximum number of inline instances in any function /Qinline-max-per-compile: maximum number of inline instances in the current compilation /Qinline-max-per-compile- no maximum number of inline instances in the current compilation /Qinline-factor: set inlining upper limits by n percentage /Qinline-factor- do not set set inlining upper limits /Qinline-forceinline treat inline routines as forceinline /Qinline-dllimport allow(DEFAULT)/disallow functions declared DEC$ ATTRIBUTES DLLIMPORT to be inlined /Qinline-calloc directs the compiler to inline calloc() calls as malloc()/memset() /inline[:keyword] Specifies the level of inline function expansion keywords: all (same as /Ob2 /Ot), size (same as /Ob2 /Os) speed (same as /Ob2 /Ot), none or manual (same as /Ob0) Output, Debug, PCH ------------------ /c compile to object (.obj) only, do not link /nolink, /compile-only same as /c /S compile to assembly (.asm) only, do not link /FAs produce assembly file with optional source annotations /FAc produce assembly file with optional code annotations /FA produce assembly file /Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) /Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) /Fe[file] name executable file or directory /object: specify the name of the object file, or the directory to which object file(s) should be written. (e.g. /object:MYOBJ or /object:MYDIR\) /exe: specifies the name to be used for the built program (.exe) or dynamic-link (.dll) library /map: specify that a link map file should be generated /list: specify that a listing file should be generated /list-line-len:# overrides the default line length (80) in a listing file /list-page-len:# overrides the default page length (66) in a listing file /show: controls the contents of the listing file keywords: all, none, [no]include, [no]map, [no]options /Zi, /ZI, /Z7 produce symbolic debug information in object file (implies /Od when another optimization option is not explicitly set) /debug[:keyword] enable debug information and control output of enhanced debug information keywords: all, full, minimal, none, [no]inline-debug-info /nodebug do not enable debug information /debug-parameters[:keyword] control output of debug information for PARAMETERS keywords: all, used, none (same as /nodebug-parameters) /nodebug-parameters do not output debug information for PARAMETERS /Qd-lines, /[no]d-lines compile debug statements (indicated by D in column 1) /pdbfile[:filename] specify that debug related information should be generated to a program database file /nopdbfile do not generate debug related information to a program database file /Qtrapuv trap uninitialized variables /RTCu report use of variable that was not initialized /Qmap-opts enable option mapping tool Preprocessor ------------ /D[{=|#}] define macro /define:symbol[=] same as /D /nodefines specifies that any /D macros go to the preprocessor only, and not to the compiler /U remove predefined macro /undefine: remove predefined macro (same as /U) /allow:nofpp-comments If a Fortran end-of-line comment is seen within a #define, treat it as part of the definition. Default is allow:fpp-comments /E preprocess to stdout /EP preprocess to stdout, omitting #line directives /EP /P preprocess to file, omitting #line directives /P preprocess to file /preprocess-only same as /P /[no]keep keep/remove preprocessed file generated by preprocessor as input to compiler stage. Not affected by /Qsave-temps. Default is /nokeep /fpp[n], /[no]fpp run Fortran preprocessor on source files prior to compilation n=0 disable running the preprocessor, equivalent to nofpp n=1,2,3 run preprocessor /module:path specify path where mod files should be placed and first location to look for mod files /u remove all predefined macros /I add directory to include file search path /[no]include: same as /I /X remove standard directories from include file search path /[no]gen-dep[:filename] generate dependency information. If no filename is specified, output to stdout /gen-depformat:keyword generate dependency information in the specified format. One of: make, nmake Component Control ----------------- /Qoption,, pass options to tool specified by /Qlocation,, set as the location of tool specified by Language -------- /[no]altparam specify if alternate form of parameter constant declarations (without parenthesis) is recognized. Default is to recognize /assume: specify assumptions made by the optimizer and code generator keywords: none, [no]byterecl, [no]buffered_io, [no]bscc (nobscc same as /nbs), [no]cc_omp, [no]minus0, [no]dummy_aliases (same as /Qcommon-args), [no]ieee_fpe_flags, [no]fpe_summary, [no]old_boz, [no]old_complex_align, [no]old_logical_ldio, [no]old_ldout_format, [no]old_maxminloc, [no]old_unit_star, [no]old_xor, [no]protect_constants, [no]protect_parens, [no]realloc_lhs, [no]2underscore, [no]underscore (same as /us), [no]std_intent_in, [no]std_mod_proc_name, [no]source_include, [no]split_common,[no]writeable_strings /ccdefault: specify default carriage control for units 6 and * keywords: default, fortran, list or none /[no]check: check run-time conditions. Default is /nocheck keywords: all (same as /4Yb, /C), none (same as /nocheck, /4Nb), [no]arg_temp_created, [no]bounds (same as /CB), [no]format, [no]output_conversion, [no]pointer (same as /CA), [no]uninit (same as /CU), [no]stack /Qcommon-args assume "by reference" subprogram arguments may alias one another. Same as /assume:dummy_aliases /[no]extend-source[:] specify rightmost column for fixed form sources keywords: 72 (same as /noextend-source and /4L72), 80 (same as /4L80), 132 (same as /4L132. Default if you specify /extend-source without a keyword.) /fixed specify source files are in fixed format. Same as /FI and /4Nf /nofixed indicates free format /free specify source files are in free format. Same as /FR and /4Yf /nofree indicates fixed format /names: specify how source code identifiers and external names are interpreted. keywords: as_is, lowercase, uppercase /[no]pad-source, /Qpad-source[-] make compiler acknowledge blanks at the end of a line /stand[:] specifies level of conformance with ANSI standard to check for. If keyword is not specified, level of conformance is f03 keywords: f90 (same as /4Ys), f95, f03, none (same as /nostand) /standard-semantics sets assume keywords to conform to the semantics of the f03 standard. May result in performance loss. assume keywords set by /standard-semantics: byterecl, fpe_summary, minus0, noold_maxminloc, noold_unit_star, noold_xor, protect_parens, realloc_lhs, std_intent_in, std_mod_proc_name, noold_ldout_format /syntax-only, /Zs perform syntax and semantic checking only (no object file produced) Compiler Diagnostics -------------------- /w disable all warnings /W disable warnings (n = 0) or show warnings (n = 1 DEFAULT, same as /warn:general) /warn: specifies the level of warning messages issued keywords: all, none (same as /nowarn) [no]alignments, [no]declarations, [no]errors, [no]general, [no]ignore_loc, [no]interfaces, [no]stderrors, [no]truncated_source, [no]uncalled, [no]unused, [no]usage /nowarn suppress all warning messages /WB turn a compile-time bounds check into a warning /[no]traceback specify whether the compiler generates PC correlation data used to display a symbolic traceback rather than a hexadecimal traceback at runtime failure /[no]gen-interfaces [[no]source] generate interface blocks for all routines in the file. Can be checked using -warn interfaces nosource indicates temporary source files should not be saved /error-limit: specify the maximum number of error-level or fatal-level compiler errors allowed /noerror-limit set no maximum number on error-level or fatal-level error messages /Qdiag-enable:[,,...] enable the specified diagnostics or diagnostic groups /Qdiag-disable:[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: sc[n] - perform source code analysis: n=1 for critical errors, n=2 for all errors and n=3 for all errors and warnings sc- {full|concise|precise} - perform static analysis and determine the analysis mode. Full mode - attempts to find all program weaknesses, even at the expense of more false positives. Concise mode - attempts to reduce false positives somewhat more than reducing false negatives. Precise mode - attempts to avoid all false positives Default: full if /Qdiag-enable:sc{[1|2|3]} is present; otherwise None (static analysis diagnostics are disabled). sc-include - perform source code analysis on include files sc-single-file - This option tells static analysis to process each file individually. Default: OFF sc-enums - This option tells static analysis to treat enumeration variables as known values equal to any one of the associated enumeration literals. Default: OFF sc-parallel[n] - perform analysis of parallelization in source code: n=1 for critical errors, n=2 for errors, n=3 for all errors and warnings warn - diagnostic messages that have "warning" severity level. error - diagnostic messages that have "error" severity level. remark - diagnostic messages that are remarks or comments. vec - diagnostic messages issued by the vectorizer. par - diagnostic messages issued by the auto-parallelizer openmp - diagnostic messages issued by the OpenMP* parallelizer. cpu-dispatch Specifies the CPU dispatch remarks. /Qdiag-error:[,,...] output the specified diagnostics or diagnostic groups as errors /Qdiag-warning:[,,...] output the specified diagnostics or diagnostic groups as warnings /Qdiag-remark:[,,...] output the the specified diagnostics or diagnostic groups as remarks /Qdiag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. /Qdiag-sc-dir: directory where diagnostics from static analysis are created, rather than current working directory. /Qdiag-file[:] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr /Qdiag-file-append[:] where diagnostics are emitted to. When already exists, output is appended to the file /Qdiag-id-numbers[-] enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form /Qdiag-error-limit: specify the maximum number of errors emitted Miscellaneous ------------- /[no]logo display compiler version information. /nologo disables the output /Qsox[:[,keyword]] enable saving of compiler options, version and additional information in the executable. Use /Qsox- to disable(DEFAULT) profile - include profiling data inline - include inlining information /bintext: place the string specified into the object file and executable /Qsave-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default /what display detailed compiler version information /watch: tells the driver to output processing information keywords: all, none (same as /nowatch), [no]source, [no]cmd [no]mic-cmd /nowatch suppress processing information output (DEFAULT) /Tf compile file as Fortran source /extfor: specify extension of file to be recognized as a Fortran file /extfpp: specify extension of file to be recognized as a preprocessor file /libdir[:keyword] control the library names that should be emitted into the object file keywords: all, none (same as /nolibdir), [no]automatic, [no]user /nolibdir no library names should be emitted into the object file /MP[] create multiple processes that can be used to compile large numbers of source files at the same time /bigobj generate objects with increased address capacity Data ---- /4I{2|4|8} set default KIND of integer and logical variables to 2, 4, or 8 /integer-size: specifies the default size of integer and logical variables size: 16, 32, 64 /4R{8|16} set default size of real to 8 or 16 bytes /real-size: specify the size of REAL and COMPLEX declarations, constants, functions, and intrinsics size: 32, 64, 128 /Qautodouble same as /real-size:64 or /4R8 /double-size: defines the size of DOUBLE PRECISION and DOUBLE COMPLEX declarations, constants, functions, and intrinsics size: 64, 128 /[no]fpconstant extends the precision of single precision constants assigned to double precision variables to double precision /[no]intconstant use Fortran 77 semantics, rather than Fortran 90/95, to determine kind of integer constants /auto make all local variables AUTOMATIC /Qauto-scalar make scalar local variables AUTOMATIC (DEFAULT) /Qsave save all variables (static allocation) (same as /noauto, opposite of /auto) /Qzero[-] enable/disable(DEFAULT) implicit initialization to zero of local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized /Qdyncom make given common blocks dynamically-allocated /Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 /Zp16 DEFAULT) /[no]align analyze and reorder memory layout for variables and arrays /align: specify how data items are aligned keywords: all (same as /align), none (same as /noalign), [no]commons, [no]dcommons, [no]qcommons, [no]zcommons, rec1byte, rec2byte, rec4byte, rec8byte, rec16byte, rec32byte, array8byte, array16byte, array32byte, array64byte, array128byte, array256byte, [no]records, [no]sequence /GS enable overflow security checks. /GS- disables (DEFAULT) /Qpatchable-addresses generate code such that references to statically assigned addresses can be patched with arbitrary 64-bit addresses. /Qfnalign[-] align the start of functions to an optimal machine-dependent value. When disabled (DEFAULT) align on a 2-byte boundary /Qfnalign:[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary /Qglobal-hoist[-] enable(DEFAULT)/disable external globals are load safe /Qkeep-static-consts[-] enable/disable(DEFAULT) emission of static const variables even when not referenced /Qnobss-init disable placement of zero-initialized variables in BSS (use DATA) /Qzero-initialized-in-bss[-] put explicitly zero initialized variables into the DATA section instead of the BSS section /convert: specify the format of unformatted files containing numeric data keywords: big_endian, cray, ibm, little_endian, native, vaxd, vaxg /Qimf-absolute-error:value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-accuracy-bits:bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-arch-consistency:value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-max-error:ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-precision:value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied Compatibility ------------- /fpscomp[:] specify the level of compatibility to adhere to with Fortran PowerStation keywords: all, none (same as /nofpscomp), [no]filesfromcmd, [no]general, [no]ioformat, [no]ldio_spacing, [no]libs, [no]logicals /nofpscomp no specific level of compatibility with Fortran PowerStation /f66 allow extensions that enhance FORTRAN-66 compatibility /f77rtl specify that the Fortran 77 specific run-time support should be used /nof77rtl disables /vms enable VMS I/O statement extensions /Qvc enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility Linking/Linker -------------- /link specify that all options following '/link' are for the linker /extlnk: specify extension of file to be passed directly to linker /F set the stack reserve amount specified to the linker /dbglibs use the debug version of runtime libraries, when appropriate /libs: specifies which type of run-time library to link to. keywords: static, dll, qwin, qwins /LD[d] produce a DLL instead of an EXE ('d' = debug version) /dll same as /LD /MD[d] use dynamically-loaded, multithread C runtime /MDs[d] use dynamically-loaded, singlethread Fortran runtime, and multithread C runtime /MT[d] use statically-linked, multithread C runtime (DEFAULT with Microsoft Visual Studio 2005 and later) /ML[d] use statically-linked, single thread C runtime (only valid in Microsoft Visual Studio 2003 environment) /MG, /winapp use Windows API runtime libraries /Zl omit library names from object file /threads specify that multi-threaded libraries should be linked against /nothreads disables multi-threaded libraries Deprecated Options ------------------ /Qinline-debug-info use /debug:inline-debug-info /Gf use /GF /ML[d] upgrade to /MT[d] /Quse-asm No replacement /Qprof-genx use /Qprof-gen:srcpos /Qdiag-enable:sv[] use /Qdiag-enable:sc[] /Qdiag-enable:sv-include use /Qdiag-enable:sc-include /Qdiag-sv use /Qdiag-enable:sc[] /Qdiag-sv-error use /Qdiag-disable:warning /Qdiag-sv-include use /Qdiag-enable:sc-include /Qdiag-sv-level No replacement /Qdiag-sv-sup use /Qdiag-disable:[,,...] /Qtprofile No replacement /arch:SSE use /arch:IA32 /QxK upgrade to /arch:SSE2 /QaxK upgrade to /arch:SSE2 /QxW use /arch:SSE2 /QaxW use /arch:SSE2 /QxN use /QxSSE2 /QaxN use /QaxSSE2 /QxP use /QxSSE3 /QaxP use /QaxSSE3 /QxT use /QxSSSE3 /QaxT use /QaxSSSE3 /QxS use /QxSSE4.1 /QaxS use /QaxSSE4.1 /QxH use /QxSSE4.2 /QaxH use /QaxSSE4.2 /QxO use /arch:SSE3 /Qvc7.1 No replacement /QIfist use /Qrcd /QxSSE3_ATOM use /QxSSSE3_ATOM /Qrct No replacement /Op use /fltconsistency /debug:partial No replacement /tune: use /Qx /architecture: use /arch: /1, /Qonetrip use /f66 /Fm use /map /Qcpp, /Qfpp use /fpp /Qdps use /altparam /Qextend-source use /extend-source /Qlowercase use /names:lowercase /Quppercase use /names:uppercase /Qvms use /vms /asmattr:keyword use /FA[c|s|cs] /noasmattr,/asmattr:none use /FA /asmfile use /Fa /automatic use /auto /cm use /warn:nousage /optimize:0 use /Od /optimize:1,2 use /O1 /optimize:3,4 use /O2 /optimize:5 use /O3 /source use /Tf /unix No replacement /us use /assume:underscore /unroll use /Qunroll /w90, /w95 No replacement /Zd use /debug:minimal /help, /? [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2013, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Trying FC compiler flag -PIC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -PIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -PIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line warning #10006: ignoring unknown option '/PIC' Rejecting FC linker flag -PIC due to ifort: command line warning #10006: ignoring unknown option '/PIC' Rejected FC compiler flag -PIC because linker cannot handle it Trying FC compiler flag -fPIC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -fPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -fPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line warning #10006: ignoring unknown option '/fPIC' Rejecting FC linker flag -fPIC due to ifort: command line warning #10006: ignoring unknown option '/fPIC' Rejected FC compiler flag -fPIC because linker cannot handle it Trying FC compiler flag -KPIC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -KPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -KPIC /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line warning #10006: ignoring unknown option '/KPIC' Rejecting FC linker flag -KPIC due to ifort: command line warning #10006: ignoring unknown option '/KPIC' Rejected FC compiler flag -KPIC because linker cannot handle it Trying FC compiler flag -qpic sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -qpic /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -qpic /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line warning #10006: ignoring unknown option '/qpic' Rejecting FC linker flag -qpic due to ifort: command line warning #10006: ignoring unknown option '/qpic' Rejected FC compiler flag -qpic because linker cannot handle it Popping language FC ================================================================================ TEST checkLargeFileIO from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:998) TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:998) ================================================================================ TEST checkArchiver from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1097) TESTING: checkArchiver from config.setCompilers(config/BuildSystem/config/setCompilers.py:1097) Check that the archiver exists and can make a library usable by the compiler Pushing language C sh: ar -V Executing: ar -V sh: GNU ar (GNU Binutils) 2.23.52.20130604 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. sh: ar -V Executing: ar -V sh: GNU ar (GNU Binutils) 2.23.52.20130604 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } 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 /usr/local/bin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib -c" sh: /usr/bin/ar cr /tmp/petsc-_gMCR8/config.setCompilers/libconf1.a /tmp/petsc-_gMCR8/config.setCompilers/conf1.o Executing: /usr/bin/ar cr /tmp/petsc-_gMCR8/config.setCompilers/libconf1.a /tmp/petsc-_gMCR8/config.setCompilers/conf1.o sh: sh: /usr/bin/ranlib -c /tmp/petsc-_gMCR8/config.setCompilers/libconf1.a Executing: /usr/bin/ranlib -c /tmp/petsc-_gMCR8/config.setCompilers/libconf1.a sh: Possible ERROR while running ranlib: error message = {/usr/bin/ranlib: invalid option -- c } Ranlib is not functional with your archiver. Try --with-ranlib=true if ranlib is unnecessary. sh: ar -V Executing: ar -V sh: GNU ar (GNU Binutils) 2.23.52.20130604 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. sh: ar -V Executing: ar -V sh: GNU ar (GNU Binutils) 2.23.52.20130604 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } 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 /usr/local/bin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib" sh: /usr/bin/ar cr /tmp/petsc-_gMCR8/config.setCompilers/libconf1.a /tmp/petsc-_gMCR8/config.setCompilers/conf1.o Executing: /usr/bin/ar cr /tmp/petsc-_gMCR8/config.setCompilers/libconf1.a /tmp/petsc-_gMCR8/config.setCompilers/conf1.o sh: sh: /usr/bin/ranlib /tmp/petsc-_gMCR8/config.setCompilers/libconf1.a Executing: /usr/bin/ranlib /tmp/petsc-_gMCR8/config.setCompilers/libconf1.a sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: 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 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/tmp/petsc-_gMCR8/config.setCompilers -lconf1 Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/tmp/petsc-_gMCR8/config.setCompilers -lconf1 sh: LINK : fatal error LNK1181: cannot open input file 'libconf1.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'libconf1.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/tmp/petsc-_gMCR8/config.setCompilers -lconf1 Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); if (b); ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: 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 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/tmp/petsc-_gMCR8/config.setCompilers -lconf1 Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/tmp/petsc-_gMCR8/config.setCompilers -lconf1 sh: Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "lib" Popping language C ================================================================================ TEST checkSharedLinker from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1212) TESTING: checkSharedLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1212) Check that the linker can produce shared libraries sh: uname -s Executing: uname -s sh: CYGWIN_NT-6.1 Checking shared linker /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl using flags ['-shared'] Checking for program /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe...found Defined make macro "LD_SHARED" to "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -shared /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -shared /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-shared' Rejecting C linker flag -shared due to cl : Command line warning D9002 : ignoring unknown option '-shared' sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/libconftest.so /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/libconftest.so /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol main referenced in function __tmainCRTStartup C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\libconftest.so : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol main referenced in function __tmainCRTStartup C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\libconftest.so : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Deleting "LD_SHARED" Checking shared linker /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl using flags ['-dynamic'] Checking for program /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe...found Defined make macro "LD_SHARED" to "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -dynamic /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -dynamic /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-dynamic' Rejecting C linker flag -dynamic due to cl : Command line warning D9002 : ignoring unknown option '-dynamic' sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/libconftest.so /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/libconftest.so /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol main referenced in function __tmainCRTStartup C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\libconftest.so : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol main referenced in function __tmainCRTStartup C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\libconftest.so : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Deleting "LD_SHARED" Checking shared linker /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl using flags ['-qmkshrobj'] Checking for program /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe...found Defined make macro "LD_SHARED" to "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -qmkshrobj /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -qmkshrobj /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-qmkshrobj' Rejecting C linker flag -qmkshrobj due to cl : Command line warning D9002 : ignoring unknown option '-qmkshrobj' sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/libconftest.so /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/libconftest.so /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol main referenced in function __tmainCRTStartup C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\libconftest.so : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol main referenced in function __tmainCRTStartup C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\libconftest.so : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Deleting "LD_SHARED" sh: uname -s Executing: uname -s sh: CYGWIN_NT-6.1 Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Checking shared linker /usr/bin/ar using flags [] Checking for program /usr/bin/ar...found Defined make macro "LD_SHARED" to "/usr/bin/ar" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C sh: /usr/bin/ar cr /tmp/petsc-_gMCR8/config.setCompilers/libconftest.lib /tmp/petsc-_gMCR8/config.setCompilers/conftest.o ; /usr/bin/ranlib /tmp/petsc-_gMCR8/config.setCompilers/libconftest.lib Executing: /usr/bin/ar cr /tmp/petsc-_gMCR8/config.setCompilers/libconftest.lib /tmp/petsc-_gMCR8/config.setCompilers/conftest.o ; /usr/bin/ranlib /tmp/petsc-_gMCR8/config.setCompilers/libconftest.lib sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: 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 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/tmp/petsc-_gMCR8/config.setCompilers -lconftest Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/tmp/petsc-_gMCR8/config.setCompilers -lconftest sh: Using shared linker /usr/bin/ar with flags [] and library extension lib sh: uname -s Executing: uname -s sh: CYGWIN_NT-6.1 ================================================================================ TEST checkSharedLinkerPaths from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1290) TESTING: checkSharedLinkerPaths from config.setCompilers(config/BuildSystem/config/setCompilers.py:1290) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Pushing language C sh: uname -s Executing: uname -s sh: CYGWIN_NT-6.1 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -V Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -V sh: cl : Command line error D8004 : '/V' requires an argument Trying C linker flag -Wl,-rpath, sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line error D8021 : invalid numeric argument '/Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3' Possible ERROR while running linker: output: cl : Command line error D8021 : invalid numeric argument '/Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting linker flag -Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3 due to nonzero status from link Rejected C linker flag -Wl,-rpath, Trying C linker flag -R sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -R/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -R/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-R/cygdrive/c/cygwin64/packages/petsc-3.4.3' Rejecting C linker flag -R/cygdrive/c/cygwin64/packages/petsc-3.4.3 due to cl : Command line warning D9002 : ignoring unknown option '-R/cygdrive/c/cygwin64/packages/petsc-3.4.3' Rejected C linker flag -R Trying C linker flag -rpath sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-rpath' cl : Command line warning D9024 : unrecognized source file type 'C:\cygwin64\packages\petsc-3.4.3', object file assumed LINK : fatal error LNK1104: cannot open file 'C:\cygwin64\packages\petsc-3.4.3' Possible ERROR while running linker: output: cl : Command line warning D9002 : ignoring unknown option '-rpath' cl : Command line warning D9024 : unrecognized source file type 'C:\cygwin64\packages\petsc-3.4.3', object file assumed LINK : fatal error LNK1104: cannot open file 'C:\cygwin64\packages\petsc-3.4.3' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting linker flag -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 due to nonzero status from link Rejecting C linker flag -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 due to cl : Command line warning D9002 : ignoring unknown option '-rpath' cl : Command line warning D9024 : unrecognized source file type 'C:\cygwin64\packages\petsc-3.4.3', object file assumed LINK : fatal error LNK1104: cannot open file 'C:\cygwin64\packages\petsc-3.4.3' Rejected C linker flag -rpath Trying C linker flag -Wl,-R, sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line error D8021 : invalid numeric argument '/Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3' Possible ERROR while running linker: output: cl : Command line error D8021 : invalid numeric argument '/Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting linker flag -Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3 due to nonzero status from link Rejected C linker flag -Wl,-R, Popping language C Pushing language Cxx sh: uname -s Executing: uname -s sh: CYGWIN_NT-6.1 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -V Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -V sh: cl : Command line error D8004 : '/V' requires an argument Trying Cxx linker flag -Wl,-rpath, sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line error D8021 : invalid numeric argument '/Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3' Possible ERROR while running linker: output: cl : Command line error D8021 : invalid numeric argument '/Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3' ret = 512 Pushing language CXX Popping language CXX in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting linker flag -Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3 due to nonzero status from link Rejected Cxx linker flag -Wl,-rpath, Trying Cxx linker flag -R sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -R/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -R/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-R/cygdrive/c/cygwin64/packages/petsc-3.4.3' Rejecting Cxx linker flag -R/cygdrive/c/cygwin64/packages/petsc-3.4.3 due to cl : Command line warning D9002 : ignoring unknown option '-R/cygdrive/c/cygwin64/packages/petsc-3.4.3' Rejected Cxx linker flag -R Trying Cxx linker flag -rpath sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-rpath' cl : Command line warning D9024 : unrecognized source file type 'C:\cygwin64\packages\petsc-3.4.3', object file assumed LINK : fatal error LNK1104: cannot open file 'C:\cygwin64\packages\petsc-3.4.3' Possible ERROR while running linker: output: cl : Command line warning D9002 : ignoring unknown option '-rpath' cl : Command line warning D9024 : unrecognized source file type 'C:\cygwin64\packages\petsc-3.4.3', object file assumed LINK : fatal error LNK1104: cannot open file 'C:\cygwin64\packages\petsc-3.4.3' ret = 512 Pushing language CXX Popping language CXX in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting linker flag -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 due to nonzero status from link Rejecting Cxx linker flag -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 due to cl : Command line warning D9002 : ignoring unknown option '-rpath' cl : Command line warning D9024 : unrecognized source file type 'C:\cygwin64\packages\petsc-3.4.3', object file assumed LINK : fatal error LNK1104: cannot open file 'C:\cygwin64\packages\petsc-3.4.3' Rejected Cxx linker flag -rpath Trying Cxx linker flag -Wl,-R, sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line error D8021 : invalid numeric argument '/Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3' Possible ERROR while running linker: output: cl : Command line error D8021 : invalid numeric argument '/Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3' ret = 512 Pushing language CXX Popping language CXX in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting linker flag -Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3 due to nonzero status from link Rejected Cxx linker flag -Wl,-R, Popping language Cxx Pushing language FC sh: uname -s Executing: uname -s sh: CYGWIN_NT-6.1 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -V Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -V sh: cl : Command line error D8004 : '/V' requires an argument Trying FC linker flag -Wl,-rpath, sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line warning #10157: ignoring option '/W'; argument is of wrong type Rejecting FC linker flag -Wl,-rpath,/cygdrive/c/cygwin64/packages/petsc-3.4.3 due to ifort: command line warning #10157: ignoring option '/W'; argument is of wrong type Rejected FC linker flag -Wl,-rpath, Trying FC linker flag -R sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -R/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -R/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line warning #10006: ignoring unknown option '/R/cygdrive/c/cygwin64/packages/petsc-3.4.3' Rejecting FC linker flag -R/cygdrive/c/cygwin64/packages/petsc-3.4.3 due to ifort: command line warning #10006: ignoring unknown option '/R/cygdrive/c/cygwin64/packages/petsc-3.4.3' Rejected FC linker flag -R Trying FC linker flag -rpath sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line warning #10006: ignoring unknown option '/rpath' ifort: command line warning #10161: unrecognized source type 'C:\cygwin64\packages\petsc-3.4.3'; object file assumed ipo: error #11018: Cannot open C:\cygwin64\packages\petsc-3.4.3 LINK : fatal error LNK1104: cannot open file 'C:\cygwin64\packages\petsc-3.4.3' Possible ERROR while running linker: output: ifort: command line warning #10006: ignoring unknown option '/rpath' ifort: command line warning #10161: unrecognized source type 'C:\cygwin64\packages\petsc-3.4.3'; object file assumed ipo: error #11018: Cannot open C:\cygwin64\packages\petsc-3.4.3 LINK : fatal error LNK1104: cannot open file 'C:\cygwin64\packages\petsc-3.4.3' ret = 20480 Pushing language FC Popping language FC in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Source: program main end Rejecting linker flag -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 due to nonzero status from link Rejecting FC linker flag -rpath /cygdrive/c/cygwin64/packages/petsc-3.4.3 due to ifort: command line warning #10006: ignoring unknown option '/rpath' ifort: command line warning #10161: unrecognized source type 'C:\cygwin64\packages\petsc-3.4.3'; object file assumed ipo: error #11018: Cannot open C:\cygwin64\packages\petsc-3.4.3 LINK : fatal error LNK1104: cannot open file 'C:\cygwin64\packages\petsc-3.4.3' Rejected FC linker flag -rpath Trying FC linker flag -Wl,-R, sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line warning #10157: ignoring option '/W'; argument is of wrong type Rejecting FC linker flag -Wl,-R,/cygdrive/c/cygwin64/packages/petsc-3.4.3 due to ifort: command line warning #10157: ignoring option '/W'; argument is of wrong type Rejected FC linker flag -Wl,-R, Popping language FC ================================================================================ TEST checkLibC from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1325) TESTING: checkLibC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1325) 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(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1374) TESTING: checkDynamicLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1374) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h All intermediate test results are stored in /tmp/petsc-_gMCR8/config.headers sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 17 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'dlfcn.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include Dynamic loading disabled since dlfcn.h was missing ================================================================================ TEST output from config.setCompilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1420) TESTING: output from config.setCompilers(config/BuildSystem/config/setCompilers.py:1420) Output module data as defines and substitutions Substituting "CC" with "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl" Substituting "CFLAGS" with "" Defined make macro "CC_LINKER_SLFLAG" to "-L" Substituting "CPP" with "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E" Substituting "CPPFLAGS" with "" Substituting "CXX" with "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl" Substituting "CXX_CXXFLAGS" with "" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-L" Substituting "CXXCPP" with "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E" Substituting "CXXCPPFLAGS" with "" Substituting "FC" with "/cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort" Substituting "FFLAGS" with "" Defined make macro "FC_LINKER_SLFLAG" to "-L" Substituting "LDFLAGS" with "" Substituting "LIBS" with "" Substituting "SHARED_LIBRARY_FLAG" with "" ================================================================================ TEST configureCompilerFlags from config.compilerFlags(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilerFlags.py:65) TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:65) Get the default compiler flags Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --version Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --version sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 getCompilerVersion: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 \nMicrosoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib Trying C compiler flag -MT sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -MT Trying C compiler flag -wd4996 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -wd4996 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib Trying C compiler flag -O2 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -O2 Trying C compiler flag -QxW sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: cl : Command line warning D9002 : ignoring unknown option '-QxW' conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -QxW due to cl : Command line warning D9002 : ignoring unknown option '-QxW' conftest.c Rejected C compiler flag -QxW Popping language C Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --version Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --version sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 getCompilerVersion: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 \nMicrosoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib Trying Cxx compiler flag -MT sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -MT Trying Cxx compiler flag -GR sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -GR Trying Cxx compiler flag -EHsc sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -EHsc sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib Trying Cxx compiler flag -O2 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -O2 Trying Cxx compiler flag -QxW sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: cl : Command line warning D9002 : ignoring unknown option '-QxW' conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag -QxW due to cl : Command line warning D9002 : ignoring unknown option '-QxW' conftest.cc Rejected Cxx compiler flag -QxW Trying Cxx compiler flag -Zm200 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Zm200 Popping language Cxx Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --version Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --version sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.198 Build 20130607 getCompilerVersion: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 \nIntel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.198 Build 20130607 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= icl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.198 Build 20130607 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. Intel(R) Fortran Compiler Help ============================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: ifort [options] file1 [file2 ...] [/link linker_options] where options represents zero or more compiler options fileN is a Fortran source (.f .for .ftn .f90 .fpp .i .i90), assembly (.asm), object (.obj), static library (.lib), or other linkable file linker_options represents zero or more linker options Notes ----- 1. Many FL32 options are supported; a warning is printed for unsupported options. 2. Intel Fortran compiler options may be placed in your ifort.cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ /O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit /O2 optimize for maximum speed (DEFAULT) /O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs /Ox enable maximum optimizations (same as /O2) /Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit (overrides /Ot) /Ot enable speed optimizations (overrides /Os) /Od disable optimizations /Oy[-] enable/disable using EBP as a general purpose register (no frame pointer) (i32 only) /fast enable /QxHOST /O3 /Qipo /Qprec-div- options set by /fast cannot be overridden with the exception of /QxHOST, list options separately to change behavior /Oa[-] assume no aliasing in program /Ow[-] assume no aliasing within functions, but assume aliasing across calls Code Generation --------------- /Qx generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. Optimizes for a future Intel processor. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. Optimizes for a future Intel processor. SSSE3_ATOM May generate MOVBE instructions for Intel processors, depending on the setting of option /Qinstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor and Intel(R) Centrino(R) Atom(TM) Processor Technology. /QxHost generate instructions for the highest instruction set and processor available on the compilation host machine /Qax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. /arch: generate specialized code to optimize for processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions SSE3 May generate Intel(R) SSE3, SSE2 and SSE instructions SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2 and SSE instructions SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions AVX May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions /Qinstruction: Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with SSSE3_ATOM (requires /QxSSSE3_ATOM) /Qextend-arguments:[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. Interprocedural Optimization (IPO) ---------------------------------- /Qip[-] enable(DEFAULT)/disable single-file IP optimization within files /Qipo[n] enable multi-file IP optimization between files /Qipo-c generate a multi-file object file (ipo_out.obj) /Qipo-S generate a multi-file assembly file (ipo_out.asm) /Qip-no-inlining disable full and partial inlining /Qip-no-pinlining disable partial inlining /Qipo-separate create one object file for every source file (overrides /Qipo[n]) /Qipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- /Qunroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller /Qunroll-aggressive[-] enables more aggressive unrolling heuristics /Qscalar-rep[-] enable(DEFAULT)/disable scalar replacement (requires /O3) /Qpad[-] enable/disable(DEFAULT) changing variable and array memory layout /Qsafe-cray-ptr Cray pointers do not alias with other variables /Qansi-alias[-] enable/disable(DEFAULT) use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules /Qcomplex-limited-range[-] enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. /reentrancy: specify whether the threaded, reentrant run-time support should be used Keywords: none (same as /noreentrancy), threaded, async /noreentrancy do not use threaded, reentrant run-time support /heap-arrays[:n] temporary arrays of minimum size n (in kilobytes) are allocated in heap memory rather than on the stack. If n is not specified, all temporary arrays are allocated in heap memory. /heap-arrays- temporary arrays are allocated on the stack (DEFAULT) /Qopt-multi-version-aggressive[-] enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement /Qopt-ra-region-strategy[:] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option /Qvec[-] enables(DEFAULT)/disables vectorization /Qvec-guard-write[-] enables cache/bandwidth optimization for stores under conditionals within vector loops /Qvec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel /Qopt-malloc-options:{0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory /Qopt-jump-tables: control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use /Qopt-jump-tables- to lower switch statements as chains of if-then-else constructs /Qopt-block-factor: specify blocking factor for loop blocking /Qopt-streaming-stores: specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores /Qmkl[:] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when /Qmkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries /Qimsl link to the International Mathematics and Statistics Library* (IMSL* library) /Qopt-subscript-in-range[-] assumes no overflows in the intermediate computation of the subscripts /Qcoarray[:shared|distributed] enable/disable(DEFAULT) coarray syntax for data parallel programming. The default is shared-memory; distributed memory is only valid with the Intel(R) Cluster Toolkit /Qcoarray-num-images:n set default number of coarray images /Qopt-matmul[-] replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at /O3 /Qparallel) /Qsimd[-] enables(DEFAULT)/disables vectorization using SIMD directive /Qguide-opts: tells the compiler to analyze certain code and generate recommendations that may improve optimizations /Qguide-file[:] causes the results of guide to be output to a file /Qguide-file-append[:] causes the results of guide to be appended to a file /Qguide[:] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) /Qguide-data-trans[:] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) /Qguide-par[:] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) /Qguide-vec[:] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) /Qguide-profile:<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the /Qguide option /Qopt-mem-layout-trans[:] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as /Qopt-mem-layout-trans-) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations /Qopt-prefetch[:n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. /Qopt-prefetch- disable(DEFAULT) prefetch insertion. Equivalent to /Qopt-prefetch:0 Profile Guided Optimization (PGO) --------------------------------- /Qprof-dir specify directory for profiling output files (*.dyn and *.dpi) /Qprof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory /Qprof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory /Qprof-src-dir[-] specify whether directory names of sources should be considered when looking up profile records within the .dpi file /Qprof-file specify file name for profiling summary file /Qprof-data-order[-] enable/disable(DEFAULT) static data ordering with profiling /Qprof-func-order[-] enable/disable(DEFAULT) function ordering with profiling /Qprof-gen[:keyword] instrument program for profiling. Optional keyword may be srcpos or globdata /Qprof-gen- disable profiling instrumentation /Qprof-use[:] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool /Qprof-use- disable use of profiling information during optimization /Qcov-gen instrument program for profiling /Qcov-dir specify directory for profiling output files (*.dyn and *.dpi) /Qcov-file specify file name for profiling summary file /Qinstrument-functions[-] determine whether function entry and exit points are instrumented /Qprof-hotness-threshold: set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires /Qprof-use and /Qprof-func-order /Qprof-value-profiling:[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites /Qprofile-functions enable instrumentation in generated code for collecting function execution time profiles /Qprofile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops /Qprofile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- /Qvec-report[n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops /Qopt-report[:n] generate an optimization report to stderr 0 disable optimization report output 1 minimum report output 2 medium output (DEFAULT when enabled) 3 maximum report output /Qopt-report-file: specify the filename for the generated report /Qopt-report-phase: specify the phase that reports are generated against /Qopt-report-routine: reports on routines containing the given name /Qopt-report-help display the optimization phases available for reporting /Qtcheck[:mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level /Qtcollect[:] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library .lib is linked in the default being VT.lib (requires Intel(R) Trace Collector) /Qtcollect-filter:file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ /Qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as /openmp) /Qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) /Qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level /Qopenmp-lib: choose which OpenMP library version to link with compat - use the Microsoft compatible OpenMP run-time libraries (DEFAULT) /Qopenmp-threadprivate: choose which threadprivate implementation to use compat - use the Microsoft compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) /Qparallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel /Qpar-report{0|1|2|3} control the auto-parallelizer diagnostic level /Qpar-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 /Qpar-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode /Qpar-schedule-static[:n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. /Qpar-schedule-static_balanced[:n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. /Qpar-schedule-static-steal[:n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads /Qpar-schedule-dynamic[:n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. /Qpar-schedule-guided[:n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. /Qpar-schedule-guided-analytical[:n] Divides iterations by using exponential distribution or dynamic distributions. /Qpar-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. /Qpar-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. /Qpar-adjust-stack perform fiber-based main thread stack adjustment /Qpar-affinity=[,...][,][,] tune application performance by setting different thread affinity /Qpar-num-threads= tune application performance by setting different number of threads /Qparallel-source-info[:n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as /Qparallel-source-info-) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information /Qpar same as /Qparallel Floating Point -------------- /fp: enable floating point model variation except[-] - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision strict - enables /fp:precise /fp:except, disables contractions and enables pragma stdc fenv_access /Qfp-speculation: enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations /Qpc32 set internal FPU precision to 24 bit significand /Qprec improve floating-point precision (speed impact less than /Op) /Qprec-sqrt[-] determine if certain square root optimizations are enabled /Qprec-div[-] improve precision of FP divides (some speed impact) /Qfast-transcendentals[-] generate a faster version of the transcendental functions /Qfp-port[-] round fp results at assignments and casts (some speed impact) /Qfp-stack-check enable fp stack checking after every function/procedure call /Qrcd rounding mode to enable fast float-to-int conversions /rounding-mode:chopped set internal FPU rounding control to truncate /Qftz[-] enable/disable flush denormal results to zero /fpe:{0|1|3} specifies program-wide behavior on floating point exceptions /fpe-all:{0|1|3} specifies floating point exception behavior on all functions and subroutines. Also sets /assume:ieee_fpe_flags /[no]fltconsistency specify that improved floating-point consistency should be used /Qfma[-] enable/disable the combining of floating point multiplies and add/subtract operations /[no]recursive compile all procedures for possible recursive execution Inlining -------- /Ob control inline expansion: n=0 disable inlining (same as /inline:none) n=1 inline functions declared with ATTRIBUTES INLINE or FORCEINLINE n=2 inline any function, at the compiler's discretion /Qinline-min-size: set size limit for inlining small routines /Qinline-min-size- no size limit for inlining small routines /Qinline-max-size: set size limit for inlining large routines /Qinline-max-size- no size limit for inlining large routines /Qinline-max-total-size: maximum increase in size for inline function expansion /Qinline-max-total-size- no size limit for inline function expansion /Qinline-max-per-routine: maximum number of inline instances in any function /Qinline-max-per-routine- no maximum number of inline instances in any function /Qinline-max-per-compile: maximum number of inline instances in the current compilation /Qinline-max-per-compile- no maximum number of inline instances in the current compilation /Qinline-factor: set inlining upper limits by n percentage /Qinline-factor- do not set set inlining upper limits /Qinline-forceinline treat inline routines as forceinline /Qinline-dllimport allow(DEFAULT)/disallow functions declared DEC$ ATTRIBUTES DLLIMPORT to be inlined /Qinline-calloc directs the compiler to inline calloc() calls as malloc()/memset() /inline[:keyword] Specifies the level of inline function expansion keywords: all (same as /Ob2 /Ot), size (same as /Ob2 /Os) speed (same as /Ob2 /Ot), none or manual (same as /Ob0) Output, Debug, PCH ------------------ /c compile to object (.obj) only, do not link /nolink, /compile-only same as /c /S compile to assembly (.asm) only, do not link /FAs produce assembly file with optional source annotations /FAc produce assembly file with optional code annotations /FA produce assembly file /Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) /Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) /Fe[file] name executable file or directory /object: specify the name of the object file, or the directory to which object file(s) should be written. (e.g. /object:MYOBJ or /object:MYDIR\) /exe: specifies the name to be used for the built program (.exe) or dynamic-link (.dll) library /map: specify that a link map file should be generated /list: specify that a listing file should be generated /list-line-len:# overrides the default line length (80) in a listing file /list-page-len:# overrides the default page length (66) in a listing file /show: controls the contents of the listing file keywords: all, none, [no]include, [no]map, [no]options /Zi, /ZI, /Z7 produce symbolic debug information in object file (implies /Od when another optimization option is not explicitly set) /debug[:keyword] enable debug information and control output of enhanced debug information keywords: all, full, minimal, none, [no]inline-debug-info /nodebug do not enable debug information /debug-parameters[:keyword] control output of debug information for PARAMETERS keywords: all, used, none (same as /nodebug-parameters) /nodebug-parameters do not output debug information for PARAMETERS /Qd-lines, /[no]d-lines compile debug statements (indicated by D in column 1) /pdbfile[:filename] specify that debug related information should be generated to a program database file /nopdbfile do not generate debug related information to a program database file /Qtrapuv trap uninitialized variables /RTCu report use of variable that was not initialized /Qmap-opts enable option mapping tool Preprocessor ------------ /D[{=|#}] define macro /define:symbol[=] same as /D /nodefines specifies that any /D macros go to the preprocessor only, and not to the compiler /U remove predefined macro /undefine: remove predefined macro (same as /U) /allow:nofpp-comments If a Fortran end-of-line comment is seen within a #define, treat it as part of the definition. Default is allow:fpp-comments /E preprocess to stdout /EP preprocess to stdout, omitting #line directives /EP /P preprocess to file, omitting #line directives /P preprocess to file /preprocess-only same as /P /[no]keep keep/remove preprocessed file generated by preprocessor as input to compiler stage. Not affected by /Qsave-temps. Default is /nokeep /fpp[n], /[no]fpp run Fortran preprocessor on source files prior to compilation n=0 disable running the preprocessor, equivalent to nofpp n=1,2,3 run preprocessor /module:path specify path where mod files should be placed and first location to look for mod files /u remove all predefined macros /I add directory to include file search path /[no]include: same as /I /X remove standard directories from include file search path /[no]gen-dep[:filename] generate dependency information. If no filename is specified, output to stdout /gen-depformat:keyword generate dependency information in the specified format. One of: make, nmake Component Control ----------------- /Qoption,, pass options to tool specified by /Qlocation,, set as the location of tool specified by Language -------- /[no]altparam specify if alternate form of parameter constant declarations (without parenthesis) is recognized. Default is to recognize /assume: specify assumptions made by the optimizer and code generator keywords: none, [no]byterecl, [no]buffered_io, [no]bscc (nobscc same as /nbs), [no]cc_omp, [no]minus0, [no]dummy_aliases (same as /Qcommon-args), [no]ieee_fpe_flags, [no]fpe_summary, [no]old_boz, [no]old_complex_align, [no]old_logical_ldio, [no]old_ldout_format, [no]old_maxminloc, [no]old_unit_star, [no]old_xor, [no]protect_constants, [no]protect_parens, [no]realloc_lhs, [no]2underscore, [no]underscore (same as /us), [no]std_intent_in, [no]std_mod_proc_name, [no]source_include, [no]split_common,[no]writeable_strings /ccdefault: specify default carriage control for units 6 and * keywords: default, fortran, list or none /[no]check: check run-time conditions. Default is /nocheck keywords: all (same as /4Yb, /C), none (same as /nocheck, /4Nb), [no]arg_temp_created, [no]bounds (same as /CB), [no]format, [no]output_conversion, [no]pointer (same as /CA), [no]uninit (same as /CU), [no]stack /Qcommon-args assume "by reference" subprogram arguments may alias one another. Same as /assume:dummy_aliases /[no]extend-source[:] specify rightmost column for fixed form sources keywords: 72 (same as /noextend-source and /4L72), 80 (same as /4L80), 132 (same as /4L132. Default if you specify /extend-source without a keyword.) /fixed specify source files are in fixed format. Same as /FI and /4Nf /nofixed indicates free format /free specify source files are in free format. Same as /FR and /4Yf /nofree indicates fixed format /names: specify how source code identifiers and external names are interpreted. keywords: as_is, lowercase, uppercase /[no]pad-source, /Qpad-source[-] make compiler acknowledge blanks at the end of a line /stand[:] specifies level of conformance with ANSI standard to check for. If keyword is not specified, level of conformance is f03 keywords: f90 (same as /4Ys), f95, f03, none (same as /nostand) /standard-semantics sets assume keywords to conform to the semantics of the f03 standard. May result in performance loss. assume keywords set by /standard-semantics: byterecl, fpe_summary, minus0, noold_maxminloc, noold_unit_star, noold_xor, protect_parens, realloc_lhs, std_intent_in, std_mod_proc_name, noold_ldout_format /syntax-only, /Zs perform syntax and semantic checking only (no object file produced) Compiler Diagnostics -------------------- /w disable all warnings /W disable warnings (n = 0) or show warnings (n = 1 DEFAULT, same as /warn:general) /warn: specifies the level of warning messages issued keywords: all, none (same as /nowarn) [no]alignments, [no]declarations, [no]errors, [no]general, [no]ignore_loc, [no]interfaces, [no]stderrors, [no]truncated_source, [no]uncalled, [no]unused, [no]usage /nowarn suppress all warning messages /WB turn a compile-time bounds check into a warning /[no]traceback specify whether the compiler generates PC correlation data used to display a symbolic traceback rather than a hexadecimal traceback at runtime failure /[no]gen-interfaces [[no]source] generate interface blocks for all routines in the file. Can be checked using -warn interfaces nosource indicates temporary source files should not be saved /error-limit: specify the maximum number of error-level or fatal-level compiler errors allowed /noerror-limit set no maximum number on error-level or fatal-level error messages /Qdiag-enable:[,,...] enable the specified diagnostics or diagnostic groups /Qdiag-disable:[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: sc[n] - perform source code analysis: n=1 for critical errors, n=2 for all errors and n=3 for all errors and warnings sc- {full|concise|precise} - perform static analysis and determine the analysis mode. Full mode - attempts to find all program weaknesses, even at the expense of more false positives. Concise mode - attempts to reduce false positives somewhat more than reducing false negatives. Precise mode - attempts to avoid all false positives Default: full if /Qdiag-enable:sc{[1|2|3]} is present; otherwise None (static analysis diagnostics are disabled). sc-include - perform source code analysis on include files sc-single-file - This option tells static analysis to process each file individually. Default: OFF sc-enums - This option tells static analysis to treat enumeration variables as known values equal to any one of the associated enumeration literals. Default: OFF sc-parallel[n] - perform analysis of parallelization in source code: n=1 for critical errors, n=2 for errors, n=3 for all errors and warnings warn - diagnostic messages that have "warning" severity level. error - diagnostic messages that have "error" severity level. remark - diagnostic messages that are remarks or comments. vec - diagnostic messages issued by the vectorizer. par - diagnostic messages issued by the auto-parallelizer openmp - diagnostic messages issued by the OpenMP* parallelizer. cpu-dispatch Specifies the CPU dispatch remarks. /Qdiag-error:[,,...] output the specified diagnostics or diagnostic groups as errors /Qdiag-warning:[,,...] output the specified diagnostics or diagnostic groups as warnings /Qdiag-remark:[,,...] output the the specified diagnostics or diagnostic groups as remarks /Qdiag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. /Qdiag-sc-dir: directory where diagnostics from static analysis are created, rather than current working directory. /Qdiag-file[:] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr /Qdiag-file-append[:] where diagnostics are emitted to. When already exists, output is appended to the file /Qdiag-id-numbers[-] enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form /Qdiag-error-limit: specify the maximum number of errors emitted Miscellaneous ------------- /[no]logo display compiler version information. /nologo disables the output /Qsox[:[,keyword]] enable saving of compiler options, version and additional information in the executable. Use /Qsox- to disable(DEFAULT) profile - include profiling data inline - include inlining information /bintext: place the string specified into the object file and executable /Qsave-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default /what display detailed compiler version information /watch: tells the driver to output processing information keywords: all, none (same as /nowatch), [no]source, [no]cmd [no]mic-cmd /nowatch suppress processing information output (DEFAULT) /Tf compile file as Fortran source /extfor: specify extension of file to be recognized as a Fortran file /extfpp: specify extension of file to be recognized as a preprocessor file /libdir[:keyword] control the library names that should be emitted into the object file keywords: all, none (same as /nolibdir), [no]automatic, [no]user /nolibdir no library names should be emitted into the object file /MP[] create multiple processes that can be used to compile large numbers of source files at the same time /bigobj generate objects with increased address capacity Data ---- /4I{2|4|8} set default KIND of integer and logical variables to 2, 4, or 8 /integer-size: specifies the default size of integer and logical variables size: 16, 32, 64 /4R{8|16} set default size of real to 8 or 16 bytes /real-size: specify the size of REAL and COMPLEX declarations, constants, functions, and intrinsics size: 32, 64, 128 /Qautodouble same as /real-size:64 or /4R8 /double-size: defines the size of DOUBLE PRECISION and DOUBLE COMPLEX declarations, constants, functions, and intrinsics size: 64, 128 /[no]fpconstant extends the precision of single precision constants assigned to double precision variables to double precision /[no]intconstant use Fortran 77 semantics, rather than Fortran 90/95, to determine kind of integer constants /auto make all local variables AUTOMATIC /Qauto-scalar make scalar local variables AUTOMATIC (DEFAULT) /Qsave save all variables (static allocation) (same as /noauto, opposite of /auto) /Qzero[-] enable/disable(DEFAULT) implicit initialization to zero of local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized /Qdyncom make given common blocks dynamically-allocated /Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 /Zp16 DEFAULT) /[no]align analyze and reorder memory layout for variables and arrays /align: specify how data items are aligned keywords: all (same as /align), none (same as /noalign), [no]commons, [no]dcommons, [no]qcommons, [no]zcommons, rec1byte, rec2byte, rec4byte, rec8byte, rec16byte, rec32byte, array8byte, array16byte, array32byte, array64byte, array128byte, array256byte, [no]records, [no]sequence /GS enable overflow security checks. /GS- disables (DEFAULT) /Qpatchable-addresses generate code such that references to statically assigned addresses can be patched with arbitrary 64-bit addresses. /Qfnalign[-] align the start of functions to an optimal machine-dependent value. When disabled (DEFAULT) align on a 2-byte boundary /Qfnalign:[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary /Qglobal-hoist[-] enable(DEFAULT)/disable external globals are load safe /Qkeep-static-consts[-] enable/disable(DEFAULT) emission of static const variables even when not referenced /Qnobss-init disable placement of zero-initialized variables in BSS (use DATA) /Qzero-initialized-in-bss[-] put explicitly zero initialized variables into the DATA section instead of the BSS section /convert: specify the format of unformatted files containing numeric data keywords: big_endian, cray, ibm, little_endian, native, vaxd, vaxg /Qimf-absolute-error:value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-accuracy-bits:bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-arch-consistency:value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-max-error:ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-precision:value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied Compatibility ------------- /fpscomp[:] specify the level of compatibility to adhere to with Fortran PowerStation keywords: all, none (same as /nofpscomp), [no]filesfromcmd, [no]general, [no]ioformat, [no]ldio_spacing, [no]libs, [no]logicals /nofpscomp no specific level of compatibility with Fortran PowerStation /f66 allow extensions that enhance FORTRAN-66 compatibility /f77rtl specify that the Fortran 77 specific run-time support should be used /nof77rtl disables /vms enable VMS I/O statement extensions /Qvc enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility Linking/Linker -------------- /link specify that all options following '/link' are for the linker /extlnk: specify extension of file to be passed directly to linker /F set the stack reserve amount specified to the linker /dbglibs use the debug version of runtime libraries, when appropriate /libs: specifies which type of run-time library to link to. keywords: static, dll, qwin, qwins /LD[d] produce a DLL instead of an EXE ('d' = debug version) /dll same as /LD /MD[d] use dynamically-loaded, multithread C runtime /MDs[d] use dynamically-loaded, singlethread Fortran runtime, and multithread C runtime /MT[d] use statically-linked, multithread C runtime (DEFAULT with Microsoft Visual Studio 2005 and later) /ML[d] use statically-linked, single thread C runtime (only valid in Microsoft Visual Studio 2003 environment) /MG, /winapp use Windows API runtime libraries /Zl omit library names from object file /threads specify that multi-threaded libraries should be linked against /nothreads disables multi-threaded libraries Deprecated Options ------------------ /Qinline-debug-info use /debug:inline-debug-info /Gf use /GF /ML[d] upgrade to /MT[d] /Quse-asm No replacement /Qprof-genx use /Qprof-gen:srcpos /Qdiag-enable:sv[] use /Qdiag-enable:sc[] /Qdiag-enable:sv-include use /Qdiag-enable:sc-include /Qdiag-sv use /Qdiag-enable:sc[] /Qdiag-sv-error use /Qdiag-disable:warning /Qdiag-sv-include use /Qdiag-enable:sc-include /Qdiag-sv-level No replacement /Qdiag-sv-sup use /Qdiag-disable:[,,...] /Qtprofile No replacement /arch:SSE use /arch:IA32 /QxK upgrade to /arch:SSE2 /QaxK upgrade to /arch:SSE2 /QxW use /arch:SSE2 /QaxW use /arch:SSE2 /QxN use /QxSSE2 /QaxN use /QaxSSE2 /QxP use /QxSSE3 /QaxP use /QaxSSE3 /QxT use /QxSSSE3 /QaxT use /QaxSSSE3 /QxS use /QxSSE4.1 /QaxS use /QaxSSE4.1 /QxH use /QxSSE4.2 /QaxH use /QaxSSE4.2 /QxO use /arch:SSE3 /Qvc7.1 No replacement /QIfist use /Qrcd /QxSSE3_ATOM use /QxSSSE3_ATOM /Qrct No replacement /Op use /fltconsistency /debug:partial No replacement /tune: use /Qx /architecture: use /arch: /1, /Qonetrip use /f66 /Fm use /map /Qcpp, /Qfpp use /fpp /Qdps use /altparam /Qextend-source use /extend-source /Qlowercase use /names:lowercase /Quppercase use /names:uppercase /Qvms use /vms /asmattr:keyword use /FA[c|s|cs] /noasmattr,/asmattr:none use /FA /asmfile use /Fa /automatic use /auto /cm use /warn:nousage /optimize:0 use /Od /optimize:1,2 use /O1 /optimize:3,4 use /O2 /optimize:5 use /O3 /source use /Tf /unix No replacement /us use /assume:underscore /unroll use /Qunroll /w90, /w95 No replacement /Zd use /debug:minimal /help, /? [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2013, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= icl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.198 Build 20130607 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. Intel(R) Fortran Compiler Help ============================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: ifort [options] file1 [file2 ...] [/link linker_options] where options represents zero or more compiler options fileN is a Fortran source (.f .for .ftn .f90 .fpp .i .i90), assembly (.asm), object (.obj), static library (.lib), or other linkable file linker_options represents zero or more linker options Notes ----- 1. Many FL32 options are supported; a warning is printed for unsupported options. 2. Intel Fortran compiler options may be placed in your ifort.cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ /O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit /O2 optimize for maximum speed (DEFAULT) /O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs /Ox enable maximum optimizations (same as /O2) /Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit (overrides /Ot) /Ot enable speed optimizations (overrides /Os) /Od disable optimizations /Oy[-] enable/disable using EBP as a general purpose register (no frame pointer) (i32 only) /fast enable /QxHOST /O3 /Qipo /Qprec-div- options set by /fast cannot be overridden with the exception of /QxHOST, list options separately to change behavior /Oa[-] assume no aliasing in program /Ow[-] assume no aliasing within functions, but assume aliasing across calls Code Generation --------------- /Qx generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. Optimizes for a future Intel processor. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. Optimizes for a future Intel processor. SSSE3_ATOM May generate MOVBE instructions for Intel processors, depending on the setting of option /Qinstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor and Intel(R) Centrino(R) Atom(TM) Processor Technology. /QxHost generate instructions for the highest instruction set and processor available on the compilation host machine /Qax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. /arch: generate specialized code to optimize for processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions SSE3 May generate Intel(R) SSE3, SSE2 and SSE instructions SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2 and SSE instructions SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions AVX May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions /Qinstruction: Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with SSSE3_ATOM (requires /QxSSSE3_ATOM) /Qextend-arguments:[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. Interprocedural Optimization (IPO) ---------------------------------- /Qip[-] enable(DEFAULT)/disable single-file IP optimization within files /Qipo[n] enable multi-file IP optimization between files /Qipo-c generate a multi-file object file (ipo_out.obj) /Qipo-S generate a multi-file assembly file (ipo_out.asm) /Qip-no-inlining disable full and partial inlining /Qip-no-pinlining disable partial inlining /Qipo-separate create one object file for every source file (overrides /Qipo[n]) /Qipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- /Qunroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller /Qunroll-aggressive[-] enables more aggressive unrolling heuristics /Qscalar-rep[-] enable(DEFAULT)/disable scalar replacement (requires /O3) /Qpad[-] enable/disable(DEFAULT) changing variable and array memory layout /Qsafe-cray-ptr Cray pointers do not alias with other variables /Qansi-alias[-] enable/disable(DEFAULT) use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules /Qcomplex-limited-range[-] enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. /reentrancy: specify whether the threaded, reentrant run-time support should be used Keywords: none (same as /noreentrancy), threaded, async /noreentrancy do not use threaded, reentrant run-time support /heap-arrays[:n] temporary arrays of minimum size n (in kilobytes) are allocated in heap memory rather than on the stack. If n is not specified, all temporary arrays are allocated in heap memory. /heap-arrays- temporary arrays are allocated on the stack (DEFAULT) /Qopt-multi-version-aggressive[-] enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement /Qopt-ra-region-strategy[:] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option /Qvec[-] enables(DEFAULT)/disables vectorization /Qvec-guard-write[-] enables cache/bandwidth optimization for stores under conditionals within vector loops /Qvec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel /Qopt-malloc-options:{0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory /Qopt-jump-tables: control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use /Qopt-jump-tables- to lower switch statements as chains of if-then-else constructs /Qopt-block-factor: specify blocking factor for loop blocking /Qopt-streaming-stores: specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores /Qmkl[:] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when /Qmkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries /Qimsl link to the International Mathematics and Statistics Library* (IMSL* library) /Qopt-subscript-in-range[-] assumes no overflows in the intermediate computation of the subscripts /Qcoarray[:shared|distributed] enable/disable(DEFAULT) coarray syntax for data parallel programming. The default is shared-memory; distributed memory is only valid with the Intel(R) Cluster Toolkit /Qcoarray-num-images:n set default number of coarray images /Qopt-matmul[-] replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at /O3 /Qparallel) /Qsimd[-] enables(DEFAULT)/disables vectorization using SIMD directive /Qguide-opts: tells the compiler to analyze certain code and generate recommendations that may improve optimizations /Qguide-file[:] causes the results of guide to be output to a file /Qguide-file-append[:] causes the results of guide to be appended to a file /Qguide[:] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) /Qguide-data-trans[:] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) /Qguide-par[:] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) /Qguide-vec[:] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) /Qguide-profile:<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the /Qguide option /Qopt-mem-layout-trans[:] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as /Qopt-mem-layout-trans-) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations /Qopt-prefetch[:n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. /Qopt-prefetch- disable(DEFAULT) prefetch insertion. Equivalent to /Qopt-prefetch:0 Profile Guided Optimization (PGO) --------------------------------- /Qprof-dir specify directory for profiling output files (*.dyn and *.dpi) /Qprof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory /Qprof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory /Qprof-src-dir[-] specify whether directory names of sources should be considered when looking up profile records within the .dpi file /Qprof-file specify file name for profiling summary file /Qprof-data-order[-] enable/disable(DEFAULT) static data ordering with profiling /Qprof-func-order[-] enable/disable(DEFAULT) function ordering with profiling /Qprof-gen[:keyword] instrument program for profiling. Optional keyword may be srcpos or globdata /Qprof-gen- disable profiling instrumentation /Qprof-use[:] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool /Qprof-use- disable use of profiling information during optimization /Qcov-gen instrument program for profiling /Qcov-dir specify directory for profiling output files (*.dyn and *.dpi) /Qcov-file specify file name for profiling summary file /Qinstrument-functions[-] determine whether function entry and exit points are instrumented /Qprof-hotness-threshold: set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires /Qprof-use and /Qprof-func-order /Qprof-value-profiling:[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites /Qprofile-functions enable instrumentation in generated code for collecting function execution time profiles /Qprofile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops /Qprofile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- /Qvec-report[n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops /Qopt-report[:n] generate an optimization report to stderr 0 disable optimization report output 1 minimum report output 2 medium output (DEFAULT when enabled) 3 maximum report output /Qopt-report-file: specify the filename for the generated report /Qopt-report-phase: specify the phase that reports are generated against /Qopt-report-routine: reports on routines containing the given name /Qopt-report-help display the optimization phases available for reporting /Qtcheck[:mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level /Qtcollect[:] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library .lib is linked in the default being VT.lib (requires Intel(R) Trace Collector) /Qtcollect-filter:file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ /Qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as /openmp) /Qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) /Qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level /Qopenmp-lib: choose which OpenMP library version to link with compat - use the Microsoft compatible OpenMP run-time libraries (DEFAULT) /Qopenmp-threadprivate: choose which threadprivate implementation to use compat - use the Microsoft compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) /Qparallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel /Qpar-report{0|1|2|3} control the auto-parallelizer diagnostic level /Qpar-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 /Qpar-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode /Qpar-schedule-static[:n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. /Qpar-schedule-static_balanced[:n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. /Qpar-schedule-static-steal[:n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads /Qpar-schedule-dynamic[:n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. /Qpar-schedule-guided[:n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. /Qpar-schedule-guided-analytical[:n] Divides iterations by using exponential distribution or dynamic distributions. /Qpar-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. /Qpar-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. /Qpar-adjust-stack perform fiber-based main thread stack adjustment /Qpar-affinity=[,...][,][,] tune application performance by setting different thread affinity /Qpar-num-threads= tune application performance by setting different number of threads /Qparallel-source-info[:n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as /Qparallel-source-info-) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information /Qpar same as /Qparallel Floating Point -------------- /fp: enable floating point model variation except[-] - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision strict - enables /fp:precise /fp:except, disables contractions and enables pragma stdc fenv_access /Qfp-speculation: enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations /Qpc32 set internal FPU precision to 24 bit significand /Qprec improve floating-point precision (speed impact less than /Op) /Qprec-sqrt[-] determine if certain square root optimizations are enabled /Qprec-div[-] improve precision of FP divides (some speed impact) /Qfast-transcendentals[-] generate a faster version of the transcendental functions /Qfp-port[-] round fp results at assignments and casts (some speed impact) /Qfp-stack-check enable fp stack checking after every function/procedure call /Qrcd rounding mode to enable fast float-to-int conversions /rounding-mode:chopped set internal FPU rounding control to truncate /Qftz[-] enable/disable flush denormal results to zero /fpe:{0|1|3} specifies program-wide behavior on floating point exceptions /fpe-all:{0|1|3} specifies floating point exception behavior on all functions and subroutines. Also sets /assume:ieee_fpe_flags /[no]fltconsistency specify that improved floating-point consistency should be used /Qfma[-] enable/disable the combining of floating point multiplies and add/subtract operations /[no]recursive compile all procedures for possible recursive execution Inlining -------- /Ob control inline expansion: n=0 disable inlining (same as /inline:none) n=1 inline functions declared with ATTRIBUTES INLINE or FORCEINLINE n=2 inline any function, at the compiler's discretion /Qinline-min-size: set size limit for inlining small routines /Qinline-min-size- no size limit for inlining small routines /Qinline-max-size: set size limit for inlining large routines /Qinline-max-size- no size limit for inlining large routines /Qinline-max-total-size: maximum increase in size for inline function expansion /Qinline-max-total-size- no size limit for inline function expansion /Qinline-max-per-routine: maximum number of inline instances in any function /Qinline-max-per-routine- no maximum number of inline instances in any function /Qinline-max-per-compile: maximum number of inline instances in the current compilation /Qinline-max-per-compile- no maximum number of inline instances in the current compilation /Qinline-factor: set inlining upper limits by n percentage /Qinline-factor- do not set set inlining upper limits /Qinline-forceinline treat inline routines as forceinline /Qinline-dllimport allow(DEFAULT)/disallow functions declared DEC$ ATTRIBUTES DLLIMPORT to be inlined /Qinline-calloc directs the compiler to inline calloc() calls as malloc()/memset() /inline[:keyword] Specifies the level of inline function expansion keywords: all (same as /Ob2 /Ot), size (same as /Ob2 /Os) speed (same as /Ob2 /Ot), none or manual (same as /Ob0) Output, Debug, PCH ------------------ /c compile to object (.obj) only, do not link /nolink, /compile-only same as /c /S compile to assembly (.asm) only, do not link /FAs produce assembly file with optional source annotations /FAc produce assembly file with optional code annotations /FA produce assembly file /Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) /Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) /Fe[file] name executable file or directory /object: specify the name of the object file, or the directory to which object file(s) should be written. (e.g. /object:MYOBJ or /object:MYDIR\) /exe: specifies the name to be used for the built program (.exe) or dynamic-link (.dll) library /map: specify that a link map file should be generated /list: specify that a listing file should be generated /list-line-len:# overrides the default line length (80) in a listing file /list-page-len:# overrides the default page length (66) in a listing file /show: controls the contents of the listing file keywords: all, none, [no]include, [no]map, [no]options /Zi, /ZI, /Z7 produce symbolic debug information in object file (implies /Od when another optimization option is not explicitly set) /debug[:keyword] enable debug information and control output of enhanced debug information keywords: all, full, minimal, none, [no]inline-debug-info /nodebug do not enable debug information /debug-parameters[:keyword] control output of debug information for PARAMETERS keywords: all, used, none (same as /nodebug-parameters) /nodebug-parameters do not output debug information for PARAMETERS /Qd-lines, /[no]d-lines compile debug statements (indicated by D in column 1) /pdbfile[:filename] specify that debug related information should be generated to a program database file /nopdbfile do not generate debug related information to a program database file /Qtrapuv trap uninitialized variables /RTCu report use of variable that was not initialized /Qmap-opts enable option mapping tool Preprocessor ------------ /D[{=|#}] define macro /define:symbol[=] same as /D /nodefines specifies that any /D macros go to the preprocessor only, and not to the compiler /U remove predefined macro /undefine: remove predefined macro (same as /U) /allow:nofpp-comments If a Fortran end-of-line comment is seen within a #define, treat it as part of the definition. Default is allow:fpp-comments /E preprocess to stdout /EP preprocess to stdout, omitting #line directives /EP /P preprocess to file, omitting #line directives /P preprocess to file /preprocess-only same as /P /[no]keep keep/remove preprocessed file generated by preprocessor as input to compiler stage. Not affected by /Qsave-temps. Default is /nokeep /fpp[n], /[no]fpp run Fortran preprocessor on source files prior to compilation n=0 disable running the preprocessor, equivalent to nofpp n=1,2,3 run preprocessor /module:path specify path where mod files should be placed and first location to look for mod files /u remove all predefined macros /I add directory to include file search path /[no]include: same as /I /X remove standard directories from include file search path /[no]gen-dep[:filename] generate dependency information. If no filename is specified, output to stdout /gen-depformat:keyword generate dependency information in the specified format. One of: make, nmake Component Control ----------------- /Qoption,, pass options to tool specified by /Qlocation,, set as the location of tool specified by Language -------- /[no]altparam specify if alternate form of parameter constant declarations (without parenthesis) is recognized. Default is to recognize /assume: specify assumptions made by the optimizer and code generator keywords: none, [no]byterecl, [no]buffered_io, [no]bscc (nobscc same as /nbs), [no]cc_omp, [no]minus0, [no]dummy_aliases (same as /Qcommon-args), [no]ieee_fpe_flags, [no]fpe_summary, [no]old_boz, [no]old_complex_align, [no]old_logical_ldio, [no]old_ldout_format, [no]old_maxminloc, [no]old_unit_star, [no]old_xor, [no]protect_constants, [no]protect_parens, [no]realloc_lhs, [no]2underscore, [no]underscore (same as /us), [no]std_intent_in, [no]std_mod_proc_name, [no]source_include, [no]split_common,[no]writeable_strings /ccdefault: specify default carriage control for units 6 and * keywords: default, fortran, list or none /[no]check: check run-time conditions. Default is /nocheck keywords: all (same as /4Yb, /C), none (same as /nocheck, /4Nb), [no]arg_temp_created, [no]bounds (same as /CB), [no]format, [no]output_conversion, [no]pointer (same as /CA), [no]uninit (same as /CU), [no]stack /Qcommon-args assume "by reference" subprogram arguments may alias one another. Same as /assume:dummy_aliases /[no]extend-source[:] specify rightmost column for fixed form sources keywords: 72 (same as /noextend-source and /4L72), 80 (same as /4L80), 132 (same as /4L132. Default if you specify /extend-source without a keyword.) /fixed specify source files are in fixed format. Same as /FI and /4Nf /nofixed indicates free format /free specify source files are in free format. Same as /FR and /4Yf /nofree indicates fixed format /names: specify how source code identifiers and external names are interpreted. keywords: as_is, lowercase, uppercase /[no]pad-source, /Qpad-source[-] make compiler acknowledge blanks at the end of a line /stand[:] specifies level of conformance with ANSI standard to check for. If keyword is not specified, level of conformance is f03 keywords: f90 (same as /4Ys), f95, f03, none (same as /nostand) /standard-semantics sets assume keywords to conform to the semantics of the f03 standard. May result in performance loss. assume keywords set by /standard-semantics: byterecl, fpe_summary, minus0, noold_maxminloc, noold_unit_star, noold_xor, protect_parens, realloc_lhs, std_intent_in, std_mod_proc_name, noold_ldout_format /syntax-only, /Zs perform syntax and semantic checking only (no object file produced) Compiler Diagnostics -------------------- /w disable all warnings /W disable warnings (n = 0) or show warnings (n = 1 DEFAULT, same as /warn:general) /warn: specifies the level of warning messages issued keywords: all, none (same as /nowarn) [no]alignments, [no]declarations, [no]errors, [no]general, [no]ignore_loc, [no]interfaces, [no]stderrors, [no]truncated_source, [no]uncalled, [no]unused, [no]usage /nowarn suppress all warning messages /WB turn a compile-time bounds check into a warning /[no]traceback specify whether the compiler generates PC correlation data used to display a symbolic traceback rather than a hexadecimal traceback at runtime failure /[no]gen-interfaces [[no]source] generate interface blocks for all routines in the file. Can be checked using -warn interfaces nosource indicates temporary source files should not be saved /error-limit: specify the maximum number of error-level or fatal-level compiler errors allowed /noerror-limit set no maximum number on error-level or fatal-level error messages /Qdiag-enable:[,,...] enable the specified diagnostics or diagnostic groups /Qdiag-disable:[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: sc[n] - perform source code analysis: n=1 for critical errors, n=2 for all errors and n=3 for all errors and warnings sc- {full|concise|precise} - perform static analysis and determine the analysis mode. Full mode - attempts to find all program weaknesses, even at the expense of more false positives. Concise mode - attempts to reduce false positives somewhat more than reducing false negatives. Precise mode - attempts to avoid all false positives Default: full if /Qdiag-enable:sc{[1|2|3]} is present; otherwise None (static analysis diagnostics are disabled). sc-include - perform source code analysis on include files sc-single-file - This option tells static analysis to process each file individually. Default: OFF sc-enums - This option tells static analysis to treat enumeration variables as known values equal to any one of the associated enumeration literals. Default: OFF sc-parallel[n] - perform analysis of parallelization in source code: n=1 for critical errors, n=2 for errors, n=3 for all errors and warnings warn - diagnostic messages that have "warning" severity level. error - diagnostic messages that have "error" severity level. remark - diagnostic messages that are remarks or comments. vec - diagnostic messages issued by the vectorizer. par - diagnostic messages issued by the auto-parallelizer openmp - diagnostic messages issued by the OpenMP* parallelizer. cpu-dispatch Specifies the CPU dispatch remarks. /Qdiag-error:[,,...] output the specified diagnostics or diagnostic groups as errors /Qdiag-warning:[,,...] output the specified diagnostics or diagnostic groups as warnings /Qdiag-remark:[,,...] output the the specified diagnostics or diagnostic groups as remarks /Qdiag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. /Qdiag-sc-dir: directory where diagnostics from static analysis are created, rather than current working directory. /Qdiag-file[:] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr /Qdiag-file-append[:] where diagnostics are emitted to. When already exists, output is appended to the file /Qdiag-id-numbers[-] enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form /Qdiag-error-limit: specify the maximum number of errors emitted Miscellaneous ------------- /[no]logo display compiler version information. /nologo disables the output /Qsox[:[,keyword]] enable saving of compiler options, version and additional information in the executable. Use /Qsox- to disable(DEFAULT) profile - include profiling data inline - include inlining information /bintext: place the string specified into the object file and executable /Qsave-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default /what display detailed compiler version information /watch: tells the driver to output processing information keywords: all, none (same as /nowatch), [no]source, [no]cmd [no]mic-cmd /nowatch suppress processing information output (DEFAULT) /Tf compile file as Fortran source /extfor: specify extension of file to be recognized as a Fortran file /extfpp: specify extension of file to be recognized as a preprocessor file /libdir[:keyword] control the library names that should be emitted into the object file keywords: all, none (same as /nolibdir), [no]automatic, [no]user /nolibdir no library names should be emitted into the object file /MP[] create multiple processes that can be used to compile large numbers of source files at the same time /bigobj generate objects with increased address capacity Data ---- /4I{2|4|8} set default KIND of integer and logical variables to 2, 4, or 8 /integer-size: specifies the default size of integer and logical variables size: 16, 32, 64 /4R{8|16} set default size of real to 8 or 16 bytes /real-size: specify the size of REAL and COMPLEX declarations, constants, functions, and intrinsics size: 32, 64, 128 /Qautodouble same as /real-size:64 or /4R8 /double-size: defines the size of DOUBLE PRECISION and DOUBLE COMPLEX declarations, constants, functions, and intrinsics size: 64, 128 /[no]fpconstant extends the precision of single precision constants assigned to double precision variables to double precision /[no]intconstant use Fortran 77 semantics, rather than Fortran 90/95, to determine kind of integer constants /auto make all local variables AUTOMATIC /Qauto-scalar make scalar local variables AUTOMATIC (DEFAULT) /Qsave save all variables (static allocation) (same as /noauto, opposite of /auto) /Qzero[-] enable/disable(DEFAULT) implicit initialization to zero of local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized /Qdyncom make given common blocks dynamically-allocated /Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 /Zp16 DEFAULT) /[no]align analyze and reorder memory layout for variables and arrays /align: specify how data items are aligned keywords: all (same as /align), none (same as /noalign), [no]commons, [no]dcommons, [no]qcommons, [no]zcommons, rec1byte, rec2byte, rec4byte, rec8byte, rec16byte, rec32byte, array8byte, array16byte, array32byte, array64byte, array128byte, array256byte, [no]records, [no]sequence /GS enable overflow security checks. /GS- disables (DEFAULT) /Qpatchable-addresses generate code such that references to statically assigned addresses can be patched with arbitrary 64-bit addresses. /Qfnalign[-] align the start of functions to an optimal machine-dependent value. When disabled (DEFAULT) align on a 2-byte boundary /Qfnalign:[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary /Qglobal-hoist[-] enable(DEFAULT)/disable external globals are load safe /Qkeep-static-consts[-] enable/disable(DEFAULT) emission of static const variables even when not referenced /Qnobss-init disable placement of zero-initialized variables in BSS (use DATA) /Qzero-initialized-in-bss[-] put explicitly zero initialized variables into the DATA section instead of the BSS section /convert: specify the format of unformatted files containing numeric data keywords: big_endian, cray, ibm, little_endian, native, vaxd, vaxg /Qimf-absolute-error:value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-accuracy-bits:bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-arch-consistency:value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-max-error:ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-precision:value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied Compatibility ------------- /fpscomp[:] specify the level of compatibility to adhere to with Fortran PowerStation keywords: all, none (same as /nofpscomp), [no]filesfromcmd, [no]general, [no]ioformat, [no]ldio_spacing, [no]libs, [no]logicals /nofpscomp no specific level of compatibility with Fortran PowerStation /f66 allow extensions that enhance FORTRAN-66 compatibility /f77rtl specify that the Fortran 77 specific run-time support should be used /nof77rtl disables /vms enable VMS I/O statement extensions /Qvc enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility Linking/Linker -------------- /link specify that all options following '/link' are for the linker /extlnk: specify extension of file to be passed directly to linker /F set the stack reserve amount specified to the linker /dbglibs use the debug version of runtime libraries, when appropriate /libs: specifies which type of run-time library to link to. keywords: static, dll, qwin, qwins /LD[d] produce a DLL instead of an EXE ('d' = debug version) /dll same as /LD /MD[d] use dynamically-loaded, multithread C runtime /MDs[d] use dynamically-loaded, singlethread Fortran runtime, and multithread C runtime /MT[d] use statically-linked, multithread C runtime (DEFAULT with Microsoft Visual Studio 2005 and later) /ML[d] use statically-linked, single thread C runtime (only valid in Microsoft Visual Studio 2003 environment) /MG, /winapp use Windows API runtime libraries /Zl omit library names from object file /threads specify that multi-threaded libraries should be linked against /nothreads disables multi-threaded libraries Deprecated Options ------------------ /Qinline-debug-info use /debug:inline-debug-info /Gf use /GF /ML[d] upgrade to /MT[d] /Quse-asm No replacement /Qprof-genx use /Qprof-gen:srcpos /Qdiag-enable:sv[] use /Qdiag-enable:sc[] /Qdiag-enable:sv-include use /Qdiag-enable:sc-include /Qdiag-sv use /Qdiag-enable:sc[] /Qdiag-sv-error use /Qdiag-disable:warning /Qdiag-sv-include use /Qdiag-enable:sc-include /Qdiag-sv-level No replacement /Qdiag-sv-sup use /Qdiag-disable:[,,...] /Qtprofile No replacement /arch:SSE use /arch:IA32 /QxK upgrade to /arch:SSE2 /QaxK upgrade to /arch:SSE2 /QxW use /arch:SSE2 /QaxW use /arch:SSE2 /QxN use /QxSSE2 /QaxN use /QaxSSE2 /QxP use /QxSSE3 /QaxP use /QaxSSE3 /QxT use /QxSSSE3 /QaxT use /QaxSSSE3 /QxS use /QxSSE4.1 /QaxS use /QaxSSE4.1 /QxH use /QxSSE4.2 /QaxH use /QaxSSE4.2 /QxO use /arch:SSE3 /Qvc7.1 No replacement /QIfist use /Qrcd /QxSSE3_ATOM use /QxSSSE3_ATOM /Qrct No replacement /Op use /fltconsistency /debug:partial No replacement /tune: use /Qx /architecture: use /arch: /1, /Qonetrip use /f66 /Fm use /map /Qcpp, /Qfpp use /fpp /Qdps use /altparam /Qextend-source use /extend-source /Qlowercase use /names:lowercase /Quppercase use /names:uppercase /Qvms use /vms /asmattr:keyword use /FA[c|s|cs] /noasmattr,/asmattr:none use /FA /asmfile use /Fa /automatic use /auto /cm use /warn:nousage /optimize:0 use /Od /optimize:1,2 use /O1 /optimize:3,4 use /O2 /optimize:5 use /O3 /source use /Tf /unix No replacement /us use /assume:underscore /unroll use /Qunroll /w90, /w95 No replacement /Zd use /debug:minimal /help, /? [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2013, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Trying FC compiler flag -MT sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end Added FC compiler flag -MT sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= icl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.198 Build 20130607 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. Intel(R) Fortran Compiler Help ============================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: ifort [options] file1 [file2 ...] [/link linker_options] where options represents zero or more compiler options fileN is a Fortran source (.f .for .ftn .f90 .fpp .i .i90), assembly (.asm), object (.obj), static library (.lib), or other linkable file linker_options represents zero or more linker options Notes ----- 1. Many FL32 options are supported; a warning is printed for unsupported options. 2. Intel Fortran compiler options may be placed in your ifort.cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ /O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit /O2 optimize for maximum speed (DEFAULT) /O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs /Ox enable maximum optimizations (same as /O2) /Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit (overrides /Ot) /Ot enable speed optimizations (overrides /Os) /Od disable optimizations /Oy[-] enable/disable using EBP as a general purpose register (no frame pointer) (i32 only) /fast enable /QxHOST /O3 /Qipo /Qprec-div- options set by /fast cannot be overridden with the exception of /QxHOST, list options separately to change behavior /Oa[-] assume no aliasing in program /Ow[-] assume no aliasing within functions, but assume aliasing across calls Code Generation --------------- /Qx generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. Optimizes for a future Intel processor. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. Optimizes for a future Intel processor. SSSE3_ATOM May generate MOVBE instructions for Intel processors, depending on the setting of option /Qinstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor and Intel(R) Centrino(R) Atom(TM) Processor Technology. /QxHost generate instructions for the highest instruction set and processor available on the compilation host machine /Qax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. /arch: generate specialized code to optimize for processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions SSE3 May generate Intel(R) SSE3, SSE2 and SSE instructions SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2 and SSE instructions SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions AVX May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions /Qinstruction: Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with SSSE3_ATOM (requires /QxSSSE3_ATOM) /Qextend-arguments:[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. Interprocedural Optimization (IPO) ---------------------------------- /Qip[-] enable(DEFAULT)/disable single-file IP optimization within files /Qipo[n] enable multi-file IP optimization between files /Qipo-c generate a multi-file object file (ipo_out.obj) /Qipo-S generate a multi-file assembly file (ipo_out.asm) /Qip-no-inlining disable full and partial inlining /Qip-no-pinlining disable partial inlining /Qipo-separate create one object file for every source file (overrides /Qipo[n]) /Qipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- /Qunroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller /Qunroll-aggressive[-] enables more aggressive unrolling heuristics /Qscalar-rep[-] enable(DEFAULT)/disable scalar replacement (requires /O3) /Qpad[-] enable/disable(DEFAULT) changing variable and array memory layout /Qsafe-cray-ptr Cray pointers do not alias with other variables /Qansi-alias[-] enable/disable(DEFAULT) use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules /Qcomplex-limited-range[-] enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. /reentrancy: specify whether the threaded, reentrant run-time support should be used Keywords: none (same as /noreentrancy), threaded, async /noreentrancy do not use threaded, reentrant run-time support /heap-arrays[:n] temporary arrays of minimum size n (in kilobytes) are allocated in heap memory rather than on the stack. If n is not specified, all temporary arrays are allocated in heap memory. /heap-arrays- temporary arrays are allocated on the stack (DEFAULT) /Qopt-multi-version-aggressive[-] enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement /Qopt-ra-region-strategy[:] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option /Qvec[-] enables(DEFAULT)/disables vectorization /Qvec-guard-write[-] enables cache/bandwidth optimization for stores under conditionals within vector loops /Qvec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel /Qopt-malloc-options:{0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory /Qopt-jump-tables: control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use /Qopt-jump-tables- to lower switch statements as chains of if-then-else constructs /Qopt-block-factor: specify blocking factor for loop blocking /Qopt-streaming-stores: specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores /Qmkl[:] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when /Qmkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries /Qimsl link to the International Mathematics and Statistics Library* (IMSL* library) /Qopt-subscript-in-range[-] assumes no overflows in the intermediate computation of the subscripts /Qcoarray[:shared|distributed] enable/disable(DEFAULT) coarray syntax for data parallel programming. The default is shared-memory; distributed memory is only valid with the Intel(R) Cluster Toolkit /Qcoarray-num-images:n set default number of coarray images /Qopt-matmul[-] replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at /O3 /Qparallel) /Qsimd[-] enables(DEFAULT)/disables vectorization using SIMD directive /Qguide-opts: tells the compiler to analyze certain code and generate recommendations that may improve optimizations /Qguide-file[:] causes the results of guide to be output to a file /Qguide-file-append[:] causes the results of guide to be appended to a file /Qguide[:] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) /Qguide-data-trans[:] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) /Qguide-par[:] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) /Qguide-vec[:] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) /Qguide-profile:<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the /Qguide option /Qopt-mem-layout-trans[:] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as /Qopt-mem-layout-trans-) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations /Qopt-prefetch[:n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. /Qopt-prefetch- disable(DEFAULT) prefetch insertion. Equivalent to /Qopt-prefetch:0 Profile Guided Optimization (PGO) --------------------------------- /Qprof-dir specify directory for profiling output files (*.dyn and *.dpi) /Qprof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory /Qprof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory /Qprof-src-dir[-] specify whether directory names of sources should be considered when looking up profile records within the .dpi file /Qprof-file specify file name for profiling summary file /Qprof-data-order[-] enable/disable(DEFAULT) static data ordering with profiling /Qprof-func-order[-] enable/disable(DEFAULT) function ordering with profiling /Qprof-gen[:keyword] instrument program for profiling. Optional keyword may be srcpos or globdata /Qprof-gen- disable profiling instrumentation /Qprof-use[:] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool /Qprof-use- disable use of profiling information during optimization /Qcov-gen instrument program for profiling /Qcov-dir specify directory for profiling output files (*.dyn and *.dpi) /Qcov-file specify file name for profiling summary file /Qinstrument-functions[-] determine whether function entry and exit points are instrumented /Qprof-hotness-threshold: set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires /Qprof-use and /Qprof-func-order /Qprof-value-profiling:[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites /Qprofile-functions enable instrumentation in generated code for collecting function execution time profiles /Qprofile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops /Qprofile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- /Qvec-report[n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops /Qopt-report[:n] generate an optimization report to stderr 0 disable optimization report output 1 minimum report output 2 medium output (DEFAULT when enabled) 3 maximum report output /Qopt-report-file: specify the filename for the generated report /Qopt-report-phase: specify the phase that reports are generated against /Qopt-report-routine: reports on routines containing the given name /Qopt-report-help display the optimization phases available for reporting /Qtcheck[:mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level /Qtcollect[:] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library .lib is linked in the default being VT.lib (requires Intel(R) Trace Collector) /Qtcollect-filter:file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ /Qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as /openmp) /Qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) /Qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level /Qopenmp-lib: choose which OpenMP library version to link with compat - use the Microsoft compatible OpenMP run-time libraries (DEFAULT) /Qopenmp-threadprivate: choose which threadprivate implementation to use compat - use the Microsoft compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) /Qparallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel /Qpar-report{0|1|2|3} control the auto-parallelizer diagnostic level /Qpar-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 /Qpar-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode /Qpar-schedule-static[:n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. /Qpar-schedule-static_balanced[:n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. /Qpar-schedule-static-steal[:n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads /Qpar-schedule-dynamic[:n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. /Qpar-schedule-guided[:n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. /Qpar-schedule-guided-analytical[:n] Divides iterations by using exponential distribution or dynamic distributions. /Qpar-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. /Qpar-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. /Qpar-adjust-stack perform fiber-based main thread stack adjustment /Qpar-affinity=[,...][,][,] tune application performance by setting different thread affinity /Qpar-num-threads= tune application performance by setting different number of threads /Qparallel-source-info[:n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as /Qparallel-source-info-) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information /Qpar same as /Qparallel Floating Point -------------- /fp: enable floating point model variation except[-] - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision strict - enables /fp:precise /fp:except, disables contractions and enables pragma stdc fenv_access /Qfp-speculation: enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations /Qpc32 set internal FPU precision to 24 bit significand /Qprec improve floating-point precision (speed impact less than /Op) /Qprec-sqrt[-] determine if certain square root optimizations are enabled /Qprec-div[-] improve precision of FP divides (some speed impact) /Qfast-transcendentals[-] generate a faster version of the transcendental functions /Qfp-port[-] round fp results at assignments and casts (some speed impact) /Qfp-stack-check enable fp stack checking after every function/procedure call /Qrcd rounding mode to enable fast float-to-int conversions /rounding-mode:chopped set internal FPU rounding control to truncate /Qftz[-] enable/disable flush denormal results to zero /fpe:{0|1|3} specifies program-wide behavior on floating point exceptions /fpe-all:{0|1|3} specifies floating point exception behavior on all functions and subroutines. Also sets /assume:ieee_fpe_flags /[no]fltconsistency specify that improved floating-point consistency should be used /Qfma[-] enable/disable the combining of floating point multiplies and add/subtract operations /[no]recursive compile all procedures for possible recursive execution Inlining -------- /Ob control inline expansion: n=0 disable inlining (same as /inline:none) n=1 inline functions declared with ATTRIBUTES INLINE or FORCEINLINE n=2 inline any function, at the compiler's discretion /Qinline-min-size: set size limit for inlining small routines /Qinline-min-size- no size limit for inlining small routines /Qinline-max-size: set size limit for inlining large routines /Qinline-max-size- no size limit for inlining large routines /Qinline-max-total-size: maximum increase in size for inline function expansion /Qinline-max-total-size- no size limit for inline function expansion /Qinline-max-per-routine: maximum number of inline instances in any function /Qinline-max-per-routine- no maximum number of inline instances in any function /Qinline-max-per-compile: maximum number of inline instances in the current compilation /Qinline-max-per-compile- no maximum number of inline instances in the current compilation /Qinline-factor: set inlining upper limits by n percentage /Qinline-factor- do not set set inlining upper limits /Qinline-forceinline treat inline routines as forceinline /Qinline-dllimport allow(DEFAULT)/disallow functions declared DEC$ ATTRIBUTES DLLIMPORT to be inlined /Qinline-calloc directs the compiler to inline calloc() calls as malloc()/memset() /inline[:keyword] Specifies the level of inline function expansion keywords: all (same as /Ob2 /Ot), size (same as /Ob2 /Os) speed (same as /Ob2 /Ot), none or manual (same as /Ob0) Output, Debug, PCH ------------------ /c compile to object (.obj) only, do not link /nolink, /compile-only same as /c /S compile to assembly (.asm) only, do not link /FAs produce assembly file with optional source annotations /FAc produce assembly file with optional code annotations /FA produce assembly file /Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) /Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) /Fe[file] name executable file or directory /object: specify the name of the object file, or the directory to which object file(s) should be written. (e.g. /object:MYOBJ or /object:MYDIR\) /exe: specifies the name to be used for the built program (.exe) or dynamic-link (.dll) library /map: specify that a link map file should be generated /list: specify that a listing file should be generated /list-line-len:# overrides the default line length (80) in a listing file /list-page-len:# overrides the default page length (66) in a listing file /show: controls the contents of the listing file keywords: all, none, [no]include, [no]map, [no]options /Zi, /ZI, /Z7 produce symbolic debug information in object file (implies /Od when another optimization option is not explicitly set) /debug[:keyword] enable debug information and control output of enhanced debug information keywords: all, full, minimal, none, [no]inline-debug-info /nodebug do not enable debug information /debug-parameters[:keyword] control output of debug information for PARAMETERS keywords: all, used, none (same as /nodebug-parameters) /nodebug-parameters do not output debug information for PARAMETERS /Qd-lines, /[no]d-lines compile debug statements (indicated by D in column 1) /pdbfile[:filename] specify that debug related information should be generated to a program database file /nopdbfile do not generate debug related information to a program database file /Qtrapuv trap uninitialized variables /RTCu report use of variable that was not initialized /Qmap-opts enable option mapping tool Preprocessor ------------ /D[{=|#}] define macro /define:symbol[=] same as /D /nodefines specifies that any /D macros go to the preprocessor only, and not to the compiler /U remove predefined macro /undefine: remove predefined macro (same as /U) /allow:nofpp-comments If a Fortran end-of-line comment is seen within a #define, treat it as part of the definition. Default is allow:fpp-comments /E preprocess to stdout /EP preprocess to stdout, omitting #line directives /EP /P preprocess to file, omitting #line directives /P preprocess to file /preprocess-only same as /P /[no]keep keep/remove preprocessed file generated by preprocessor as input to compiler stage. Not affected by /Qsave-temps. Default is /nokeep /fpp[n], /[no]fpp run Fortran preprocessor on source files prior to compilation n=0 disable running the preprocessor, equivalent to nofpp n=1,2,3 run preprocessor /module:path specify path where mod files should be placed and first location to look for mod files /u remove all predefined macros /I add directory to include file search path /[no]include: same as /I /X remove standard directories from include file search path /[no]gen-dep[:filename] generate dependency information. If no filename is specified, output to stdout /gen-depformat:keyword generate dependency information in the specified format. One of: make, nmake Component Control ----------------- /Qoption,, pass options to tool specified by /Qlocation,, set as the location of tool specified by Language -------- /[no]altparam specify if alternate form of parameter constant declarations (without parenthesis) is recognized. Default is to recognize /assume: specify assumptions made by the optimizer and code generator keywords: none, [no]byterecl, [no]buffered_io, [no]bscc (nobscc same as /nbs), [no]cc_omp, [no]minus0, [no]dummy_aliases (same as /Qcommon-args), [no]ieee_fpe_flags, [no]fpe_summary, [no]old_boz, [no]old_complex_align, [no]old_logical_ldio, [no]old_ldout_format, [no]old_maxminloc, [no]old_unit_star, [no]old_xor, [no]protect_constants, [no]protect_parens, [no]realloc_lhs, [no]2underscore, [no]underscore (same as /us), [no]std_intent_in, [no]std_mod_proc_name, [no]source_include, [no]split_common,[no]writeable_strings /ccdefault: specify default carriage control for units 6 and * keywords: default, fortran, list or none /[no]check: check run-time conditions. Default is /nocheck keywords: all (same as /4Yb, /C), none (same as /nocheck, /4Nb), [no]arg_temp_created, [no]bounds (same as /CB), [no]format, [no]output_conversion, [no]pointer (same as /CA), [no]uninit (same as /CU), [no]stack /Qcommon-args assume "by reference" subprogram arguments may alias one another. Same as /assume:dummy_aliases /[no]extend-source[:] specify rightmost column for fixed form sources keywords: 72 (same as /noextend-source and /4L72), 80 (same as /4L80), 132 (same as /4L132. Default if you specify /extend-source without a keyword.) /fixed specify source files are in fixed format. Same as /FI and /4Nf /nofixed indicates free format /free specify source files are in free format. Same as /FR and /4Yf /nofree indicates fixed format /names: specify how source code identifiers and external names are interpreted. keywords: as_is, lowercase, uppercase /[no]pad-source, /Qpad-source[-] make compiler acknowledge blanks at the end of a line /stand[:] specifies level of conformance with ANSI standard to check for. If keyword is not specified, level of conformance is f03 keywords: f90 (same as /4Ys), f95, f03, none (same as /nostand) /standard-semantics sets assume keywords to conform to the semantics of the f03 standard. May result in performance loss. assume keywords set by /standard-semantics: byterecl, fpe_summary, minus0, noold_maxminloc, noold_unit_star, noold_xor, protect_parens, realloc_lhs, std_intent_in, std_mod_proc_name, noold_ldout_format /syntax-only, /Zs perform syntax and semantic checking only (no object file produced) Compiler Diagnostics -------------------- /w disable all warnings /W disable warnings (n = 0) or show warnings (n = 1 DEFAULT, same as /warn:general) /warn: specifies the level of warning messages issued keywords: all, none (same as /nowarn) [no]alignments, [no]declarations, [no]errors, [no]general, [no]ignore_loc, [no]interfaces, [no]stderrors, [no]truncated_source, [no]uncalled, [no]unused, [no]usage /nowarn suppress all warning messages /WB turn a compile-time bounds check into a warning /[no]traceback specify whether the compiler generates PC correlation data used to display a symbolic traceback rather than a hexadecimal traceback at runtime failure /[no]gen-interfaces [[no]source] generate interface blocks for all routines in the file. Can be checked using -warn interfaces nosource indicates temporary source files should not be saved /error-limit: specify the maximum number of error-level or fatal-level compiler errors allowed /noerror-limit set no maximum number on error-level or fatal-level error messages /Qdiag-enable:[,,...] enable the specified diagnostics or diagnostic groups /Qdiag-disable:[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: sc[n] - perform source code analysis: n=1 for critical errors, n=2 for all errors and n=3 for all errors and warnings sc- {full|concise|precise} - perform static analysis and determine the analysis mode. Full mode - attempts to find all program weaknesses, even at the expense of more false positives. Concise mode - attempts to reduce false positives somewhat more than reducing false negatives. Precise mode - attempts to avoid all false positives Default: full if /Qdiag-enable:sc{[1|2|3]} is present; otherwise None (static analysis diagnostics are disabled). sc-include - perform source code analysis on include files sc-single-file - This option tells static analysis to process each file individually. Default: OFF sc-enums - This option tells static analysis to treat enumeration variables as known values equal to any one of the associated enumeration literals. Default: OFF sc-parallel[n] - perform analysis of parallelization in source code: n=1 for critical errors, n=2 for errors, n=3 for all errors and warnings warn - diagnostic messages that have "warning" severity level. error - diagnostic messages that have "error" severity level. remark - diagnostic messages that are remarks or comments. vec - diagnostic messages issued by the vectorizer. par - diagnostic messages issued by the auto-parallelizer openmp - diagnostic messages issued by the OpenMP* parallelizer. cpu-dispatch Specifies the CPU dispatch remarks. /Qdiag-error:[,,...] output the specified diagnostics or diagnostic groups as errors /Qdiag-warning:[,,...] output the specified diagnostics or diagnostic groups as warnings /Qdiag-remark:[,,...] output the the specified diagnostics or diagnostic groups as remarks /Qdiag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. /Qdiag-sc-dir: directory where diagnostics from static analysis are created, rather than current working directory. /Qdiag-file[:] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr /Qdiag-file-append[:] where diagnostics are emitted to. When already exists, output is appended to the file /Qdiag-id-numbers[-] enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form /Qdiag-error-limit: specify the maximum number of errors emitted Miscellaneous ------------- /[no]logo display compiler version information. /nologo disables the output /Qsox[:[,keyword]] enable saving of compiler options, version and additional information in the executable. Use /Qsox- to disable(DEFAULT) profile - include profiling data inline - include inlining information /bintext: place the string specified into the object file and executable /Qsave-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default /what display detailed compiler version information /watch: tells the driver to output processing information keywords: all, none (same as /nowatch), [no]source, [no]cmd [no]mic-cmd /nowatch suppress processing information output (DEFAULT) /Tf compile file as Fortran source /extfor: specify extension of file to be recognized as a Fortran file /extfpp: specify extension of file to be recognized as a preprocessor file /libdir[:keyword] control the library names that should be emitted into the object file keywords: all, none (same as /nolibdir), [no]automatic, [no]user /nolibdir no library names should be emitted into the object file /MP[] create multiple processes that can be used to compile large numbers of source files at the same time /bigobj generate objects with increased address capacity Data ---- /4I{2|4|8} set default KIND of integer and logical variables to 2, 4, or 8 /integer-size: specifies the default size of integer and logical variables size: 16, 32, 64 /4R{8|16} set default size of real to 8 or 16 bytes /real-size: specify the size of REAL and COMPLEX declarations, constants, functions, and intrinsics size: 32, 64, 128 /Qautodouble same as /real-size:64 or /4R8 /double-size: defines the size of DOUBLE PRECISION and DOUBLE COMPLEX declarations, constants, functions, and intrinsics size: 64, 128 /[no]fpconstant extends the precision of single precision constants assigned to double precision variables to double precision /[no]intconstant use Fortran 77 semantics, rather than Fortran 90/95, to determine kind of integer constants /auto make all local variables AUTOMATIC /Qauto-scalar make scalar local variables AUTOMATIC (DEFAULT) /Qsave save all variables (static allocation) (same as /noauto, opposite of /auto) /Qzero[-] enable/disable(DEFAULT) implicit initialization to zero of local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized /Qdyncom make given common blocks dynamically-allocated /Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 /Zp16 DEFAULT) /[no]align analyze and reorder memory layout for variables and arrays /align: specify how data items are aligned keywords: all (same as /align), none (same as /noalign), [no]commons, [no]dcommons, [no]qcommons, [no]zcommons, rec1byte, rec2byte, rec4byte, rec8byte, rec16byte, rec32byte, array8byte, array16byte, array32byte, array64byte, array128byte, array256byte, [no]records, [no]sequence /GS enable overflow security checks. /GS- disables (DEFAULT) /Qpatchable-addresses generate code such that references to statically assigned addresses can be patched with arbitrary 64-bit addresses. /Qfnalign[-] align the start of functions to an optimal machine-dependent value. When disabled (DEFAULT) align on a 2-byte boundary /Qfnalign:[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary /Qglobal-hoist[-] enable(DEFAULT)/disable external globals are load safe /Qkeep-static-consts[-] enable/disable(DEFAULT) emission of static const variables even when not referenced /Qnobss-init disable placement of zero-initialized variables in BSS (use DATA) /Qzero-initialized-in-bss[-] put explicitly zero initialized variables into the DATA section instead of the BSS section /convert: specify the format of unformatted files containing numeric data keywords: big_endian, cray, ibm, little_endian, native, vaxd, vaxg /Qimf-absolute-error:value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-accuracy-bits:bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-arch-consistency:value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-max-error:ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-precision:value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied Compatibility ------------- /fpscomp[:] specify the level of compatibility to adhere to with Fortran PowerStation keywords: all, none (same as /nofpscomp), [no]filesfromcmd, [no]general, [no]ioformat, [no]ldio_spacing, [no]libs, [no]logicals /nofpscomp no specific level of compatibility with Fortran PowerStation /f66 allow extensions that enhance FORTRAN-66 compatibility /f77rtl specify that the Fortran 77 specific run-time support should be used /nof77rtl disables /vms enable VMS I/O statement extensions /Qvc enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility Linking/Linker -------------- /link specify that all options following '/link' are for the linker /extlnk: specify extension of file to be passed directly to linker /F set the stack reserve amount specified to the linker /dbglibs use the debug version of runtime libraries, when appropriate /libs: specifies which type of run-time library to link to. keywords: static, dll, qwin, qwins /LD[d] produce a DLL instead of an EXE ('d' = debug version) /dll same as /LD /MD[d] use dynamically-loaded, multithread C runtime /MDs[d] use dynamically-loaded, singlethread Fortran runtime, and multithread C runtime /MT[d] use statically-linked, multithread C runtime (DEFAULT with Microsoft Visual Studio 2005 and later) /ML[d] use statically-linked, single thread C runtime (only valid in Microsoft Visual Studio 2003 environment) /MG, /winapp use Windows API runtime libraries /Zl omit library names from object file /threads specify that multi-threaded libraries should be linked against /nothreads disables multi-threaded libraries Deprecated Options ------------------ /Qinline-debug-info use /debug:inline-debug-info /Gf use /GF /ML[d] upgrade to /MT[d] /Quse-asm No replacement /Qprof-genx use /Qprof-gen:srcpos /Qdiag-enable:sv[] use /Qdiag-enable:sc[] /Qdiag-enable:sv-include use /Qdiag-enable:sc-include /Qdiag-sv use /Qdiag-enable:sc[] /Qdiag-sv-error use /Qdiag-disable:warning /Qdiag-sv-include use /Qdiag-enable:sc-include /Qdiag-sv-level No replacement /Qdiag-sv-sup use /Qdiag-disable:[,,...] /Qtprofile No replacement /arch:SSE use /arch:IA32 /QxK upgrade to /arch:SSE2 /QaxK upgrade to /arch:SSE2 /QxW use /arch:SSE2 /QaxW use /arch:SSE2 /QxN use /QxSSE2 /QaxN use /QaxSSE2 /QxP use /QxSSE3 /QaxP use /QaxSSE3 /QxT use /QxSSSE3 /QaxT use /QaxSSSE3 /QxS use /QxSSE4.1 /QaxS use /QaxSSE4.1 /QxH use /QxSSE4.2 /QaxH use /QaxSSE4.2 /QxO use /arch:SSE3 /Qvc7.1 No replacement /QIfist use /Qrcd /QxSSE3_ATOM use /QxSSSE3_ATOM /Qrct No replacement /Op use /fltconsistency /debug:partial No replacement /tune: use /Qx /architecture: use /arch: /1, /Qonetrip use /f66 /Fm use /map /Qcpp, /Qfpp use /fpp /Qdps use /altparam /Qextend-source use /extend-source /Qlowercase use /names:lowercase /Quppercase use /names:uppercase /Qvms use /vms /asmattr:keyword use /FA[c|s|cs] /noasmattr,/asmattr:none use /FA /asmfile use /Fa /automatic use /auto /cm use /warn:nousage /optimize:0 use /Od /optimize:1,2 use /O1 /optimize:3,4 use /O2 /optimize:5 use /O3 /source use /Tf /unix No replacement /us use /assume:underscore /unroll use /Qunroll /w90, /w95 No replacement /Zd use /debug:minimal /help, /? [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2013, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= icl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.1.3.198 Build 20130607 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. Intel(R) Fortran Compiler Help ============================== Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Compiler are reserved for Intel microprocessors. For a detailed description of these compiler options, including the instructions they implicate, please refer to "Intel(R) Compiler User and Reference Guides > Compiler Options." usage: ifort [options] file1 [file2 ...] [/link linker_options] where options represents zero or more compiler options fileN is a Fortran source (.f .for .ftn .f90 .fpp .i .i90), assembly (.asm), object (.obj), static library (.lib), or other linkable file linker_options represents zero or more linker options Notes ----- 1. Many FL32 options are supported; a warning is printed for unsupported options. 2. Intel Fortran compiler options may be placed in your ifort.cfg file. Some options listed are only available on a specific system i32 indicates the feature is available on systems based on IA-32 architecture i64em indicates the feature is available on systems using Intel(R) 64 architecture Compiler Option List -------------------- Optimization ------------ /O1 optimize for maximum speed, but disable some optimizations which increase code size for a small speed benefit /O2 optimize for maximum speed (DEFAULT) /O3 optimize for maximum speed and enable more aggressive optimizations that may not improve performance on some programs /Ox enable maximum optimizations (same as /O2) /Os enable speed optimizations, but disable some optimizations which increase code size for small speed benefit (overrides /Ot) /Ot enable speed optimizations (overrides /Os) /Od disable optimizations /Oy[-] enable/disable using EBP as a general purpose register (no frame pointer) (i32 only) /fast enable /QxHOST /O3 /Qipo /Qprec-div- options set by /fast cannot be overridden with the exception of /QxHOST, list options separately to change behavior /Oa[-] assume no aliasing in program /Ow[-] assume no aliasing within functions, but assume aliasing across calls Code Generation --------------- /Qx generate specialized code to run exclusively on processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. Optimizes for the Intel NetBurst(R) microarchitecture. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the enhanced Pentium(R) M processor microarchitecture and Intel NetBurst(R) microarchitecture. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Core(TM) microarchitecture. SSE4.1 May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator instructions for Intel processors. May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for Intel(R) 45nm Hi-k next generation Intel Core(TM) microarchitecture. SSE4.2 May generate Intel(R) SSE4 Efficient Accelerated String and Text Processing instructions supported by Intel(R) Core(TM) i7 processors. May generate Intel(R) SSE4 Vectorizing Compiler and Media Accelerator, Intel(R) SSSE3, SSE3, SSE2, and SSE instructions and it may optimize for the Intel(R) Core(TM) processor family. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. Optimizes for a future Intel processor. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. Optimizes for a future Intel processor. SSSE3_ATOM May generate MOVBE instructions for Intel processors, depending on the setting of option /Qinstruction. May also generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. Optimizes for the Intel(R) Atom(TM) processor and Intel(R) Centrino(R) Atom(TM) Processor Technology. /QxHost generate instructions for the highest instruction set and processor available on the compilation host machine /Qax[,,...] generate code specialized for processors specified by while also generating generic IA-32 instructions. includes one or more of the following: SSE2 May generate Intel(R) SSE2 and SSE instructions for Intel processors. SSE3 May generate Intel(R) SSE3, SSE2, and SSE instructions for Intel processors. SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel processors. AVX May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX2 May generate Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2), Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. CORE-AVX-I May generate Intel(R) Advanced Vector Extensions (Intel(R) AVX), including instructions in Intel(R) Core 2(TM) processors in process technology smaller than 32nm, Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2, and SSE instructions for Intel(R) processors. /arch: generate specialized code to optimize for processors indicated by as described below SSE2 May generate Intel(R) SSE2 and SSE instructions SSE3 May generate Intel(R) SSE3, SSE2 and SSE instructions SSSE3 May generate Intel(R) SSSE3, SSE3, SSE2 and SSE instructions SSE4.1 May generate Intel(R) SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions SSE4.2 May generate Intel(R) SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions AVX May generate Intel(R) AVX, SSE4.2, SSE4.1, SSSE3, SSE3, SSE2 and SSE instructions /Qinstruction: Refine instruction set output for the selected target processor [no]movbe - Do/do not generate MOVBE instructions with SSSE3_ATOM (requires /QxSSSE3_ATOM) /Qextend-arguments:[32|64] By default, unprototyped scalar integer arguments are passed in 32-bits (sign-extended if necessary). On Intel(R) 64, unprototyped scalar integer arguments may be extended to 64-bits. Interprocedural Optimization (IPO) ---------------------------------- /Qip[-] enable(DEFAULT)/disable single-file IP optimization within files /Qipo[n] enable multi-file IP optimization between files /Qipo-c generate a multi-file object file (ipo_out.obj) /Qipo-S generate a multi-file assembly file (ipo_out.asm) /Qip-no-inlining disable full and partial inlining /Qip-no-pinlining disable partial inlining /Qipo-separate create one object file for every source file (overrides /Qipo[n]) /Qipo-jobs specify the number of jobs to be executed simultaneously during the IPO link phase Advanced Optimizations ---------------------- /Qunroll[n] set maximum number of times to unroll loops. Omit n to use default heuristics. Use n=0 to disable the loop unroller /Qunroll-aggressive[-] enables more aggressive unrolling heuristics /Qscalar-rep[-] enable(DEFAULT)/disable scalar replacement (requires /O3) /Qpad[-] enable/disable(DEFAULT) changing variable and array memory layout /Qsafe-cray-ptr Cray pointers do not alias with other variables /Qansi-alias[-] enable/disable(DEFAULT) use of ANSI aliasing rules optimizations; user asserts that the program adheres to these rules /Qcomplex-limited-range[-] enable/disable(DEFAULT) the use of the basic algebraic expansions of some complex arithmetic operations. This can allow for some performance improvement in programs which use a lot of complex arithmetic at the loss of some exponent range. /reentrancy: specify whether the threaded, reentrant run-time support should be used Keywords: none (same as /noreentrancy), threaded, async /noreentrancy do not use threaded, reentrant run-time support /heap-arrays[:n] temporary arrays of minimum size n (in kilobytes) are allocated in heap memory rather than on the stack. If n is not specified, all temporary arrays are allocated in heap memory. /heap-arrays- temporary arrays are allocated on the stack (DEFAULT) /Qopt-multi-version-aggressive[-] enables more aggressive multi-versioning to check for pointer aliasing and scalar replacement /Qopt-ra-region-strategy[:] select the method that the register allocator uses to partition each routine into regions routine - one region per routine block - one region per block trace - one region per trace loop - one region per loop default - compiler selects best option /Qvec[-] enables(DEFAULT)/disables vectorization /Qvec-guard-write[-] enables cache/bandwidth optimization for stores under conditionals within vector loops /Qvec-threshold[n] sets a threshold for the vectorization of loops based on the probability of profitable execution of the vectorized loop in parallel /Qopt-malloc-options:{0|1|2|3|4} specify malloc configuration parameters. Specifying a non-zero value will cause alternate configuration parameters to be set for how malloc allocates and frees memory /Qopt-jump-tables: control the generation of jump tables default - let the compiler decide when a jump table, a series of if-then-else constructs or a combination is generated large - generate jump tables up to a certain pre-defined size (64K entries) - generate jump tables up to in size use /Qopt-jump-tables- to lower switch statements as chains of if-then-else constructs /Qopt-block-factor: specify blocking factor for loop blocking /Qopt-streaming-stores: specifies whether streaming stores are generated always - enables generation of streaming stores under the assumption that the application is memory bound auto - compiler decides when streaming stores are used (DEFAULT) never - disables generation of streaming stores /Qmkl[:] link to the Intel(R) Math Kernel Library (Intel(R) MKL) and bring in the associated headers parallel - link using the threaded Intel(R) MKL libraries. This is the default when /Qmkl is specified sequential - link using the non-threaded Intel(R) MKL libraries cluster - link using the Intel(R) MKL Cluster libraries plus the sequential Intel(R) MKL libraries /Qimsl link to the International Mathematics and Statistics Library* (IMSL* library) /Qopt-subscript-in-range[-] assumes no overflows in the intermediate computation of the subscripts /Qcoarray[:shared|distributed] enable/disable(DEFAULT) coarray syntax for data parallel programming. The default is shared-memory; distributed memory is only valid with the Intel(R) Cluster Toolkit /Qcoarray-num-images:n set default number of coarray images /Qopt-matmul[-] replace matrix multiplication with calls to intrinsics and threading libraries for improved performance (DEFAULT at /O3 /Qparallel) /Qsimd[-] enables(DEFAULT)/disables vectorization using SIMD directive /Qguide-opts: tells the compiler to analyze certain code and generate recommendations that may improve optimizations /Qguide-file[:] causes the results of guide to be output to a file /Qguide-file-append[:] causes the results of guide to be appended to a file /Qguide[:] lets you set a level (1 - 4) of guidance for auto-vectorization, auto-parallelization, and data transformation (DEFAULT is 4 when the option is specified) /Qguide-data-trans[:] lets you set a level (1 - 4) of guidance for data transformation (DEFAULT is 4 when the option is specified) /Qguide-par[:] lets you set a level (1 - 4) of guidance for auto-parallelization (DEFAULT is 4 when the option is specified) /Qguide-vec[:] lets you set a level (1 - 4) of guidance for auto-vectorization (DEFAULT is 4 when the option is specified) /Qguide-profile:<[file|dir]>[,[file|dir],...] specify a loop profiler data file (or set of files in a directory) when using the /Qguide option /Qopt-mem-layout-trans[:] controls the level of memory layout transformations performed by the compiler 0 - disable memory layout transformations (same as /Qopt-mem-layout-trans-) 1 - enable basic memory layout transformations 2 - enable more memory layout transformations (DEFAULT when the option is specified) 3 - enable aggressive memory layout transformations /Qopt-prefetch[:n] enable levels of prefetch insertion, where 0 disables. n may be 0 through 4 inclusive. Default is 2. /Qopt-prefetch- disable(DEFAULT) prefetch insertion. Equivalent to /Qopt-prefetch:0 Profile Guided Optimization (PGO) --------------------------------- /Qprof-dir specify directory for profiling output files (*.dyn and *.dpi) /Qprof-src-root specify project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory /Qprof-src-root-cwd specify the current directory as the project root directory for application source files to enable relative path resolution during profile feedback on sources below that directory /Qprof-src-dir[-] specify whether directory names of sources should be considered when looking up profile records within the .dpi file /Qprof-file specify file name for profiling summary file /Qprof-data-order[-] enable/disable(DEFAULT) static data ordering with profiling /Qprof-func-order[-] enable/disable(DEFAULT) function ordering with profiling /Qprof-gen[:keyword] instrument program for profiling. Optional keyword may be srcpos or globdata /Qprof-gen- disable profiling instrumentation /Qprof-use[:] enable use of profiling information during optimization weighted - invokes profmerge with -weighted option to scale data based on run durations [no]merge - enable(default)/disable the invocation of the profmerge tool /Qprof-use- disable use of profiling information during optimization /Qcov-gen instrument program for profiling /Qcov-dir specify directory for profiling output files (*.dyn and *.dpi) /Qcov-file specify file name for profiling summary file /Qinstrument-functions[-] determine whether function entry and exit points are instrumented /Qprof-hotness-threshold: set the hotness threshold for function grouping and function ordering val indicates percentage of functions to be placed in hot region. This option requires /Qprof-use and /Qprof-func-order /Qprof-value-profiling:[,,...] limit value profiling none - inhibit all types of value profiling nodivide - inhibit value profiling of non-compile time constants used in division or remainder operations noindcall - inhibit value profiling of function addresses at indirect call sites /Qprofile-functions enable instrumentation in generated code for collecting function execution time profiles /Qprofile-loops: enable instrumentation in generated code for collecting loop execution time profiles inner - instrument inner loops outer - instrument outer loops all - instrument all loops /Qprofile-loops-report: Control the level of instrumentation inserted for reporting loop execution profiles 1 - report loop times 2 - report loop times and iteration counts Optimization Reports -------------------- /Qvec-report[n] control amount of vectorizer diagnostic information n=0 no diagnostic information n=1 indicate vectorized loops (DEFAULT when enabled) n=2 indicate vectorized/non-vectorized loops n=3 indicate vectorized/non-vectorized loops and prohibiting data dependence information n=4 indicate non-vectorized loops n=5 indicate non-vectorized loops and prohibiting data dependence information n=6 indicate vectorized/non-vectorized loops with greater details and prohibiting data dependence information n=7 indicate vector code quality message ids and data values for vectorized loops /Qopt-report[:n] generate an optimization report to stderr 0 disable optimization report output 1 minimum report output 2 medium output (DEFAULT when enabled) 3 maximum report output /Qopt-report-file: specify the filename for the generated report /Qopt-report-phase: specify the phase that reports are generated against /Qopt-report-routine: reports on routines containing the given name /Qopt-report-help display the optimization phases available for reporting /Qtcheck[:mode] enable analysis of threaded applications (requires Intel(R) Thread Checker; cannot be used with compiler alone) tci - instruments a program to perform a thread-count-independent analysis tcd - instruments a program to perform a thread-count-dependent analysis (DEFAULT when mode is not used) api - instruments a program at the api-imports level /Qtcollect[:] inserts instrumentation probes calling the Intel(R) Trace Collector API. The library .lib is linked in the default being VT.lib (requires Intel(R) Trace Collector) /Qtcollect-filter:file Enable or disable the instrumentation of specified functions. (requires Intel(R) Trace Collector) OpenMP* and Parallel Processing ------------------------------ /Qopenmp enable the compiler to generate multi-threaded code based on the OpenMP* directives (same as /openmp) /Qopenmp-stubs enables the user to compile OpenMP programs in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked (sequential) /Qopenmp-report{0|1|2} control the OpenMP parallelizer diagnostic level /Qopenmp-lib: choose which OpenMP library version to link with compat - use the Microsoft compatible OpenMP run-time libraries (DEFAULT) /Qopenmp-threadprivate: choose which threadprivate implementation to use compat - use the Microsoft compatible thread local storage legacy - use the Intel compatible implementation (DEFAULT) /Qparallel enable the auto-parallelizer to generate multi-threaded code for loops that can be safely executed in parallel /Qpar-report{0|1|2|3} control the auto-parallelizer diagnostic level /Qpar-threshold[n] set threshold for the auto-parallelization of loops where n is an integer from 0 to 100 /Qpar-runtime-control[n] Control parallelizer to generate runtime check code for effective automatic parallelization. n=0 no runtime check based auto-parallelization n=1 generate runtime check code under conservative mode (DEFAULT when enabled) n=2 generate runtime check code under heuristic mode n=3 generate runtime check code under aggressive mode /Qpar-schedule-static[:n] Specifies a scheduling algorithm for DO loop iteration. Divides iterations into contiguous pieces. Size n if specified, equal sized pieces if not. /Qpar-schedule-static_balanced[:n] Divides iterations into even-sized chunks. Size n if specified, equal sized pieces if not. /Qpar-schedule-static-steal[:n] Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads /Qpar-schedule-dynamic[:n] Specifies a scheduling algorithm for DO loop iteration. Assigns iterations to threads in chunks dynamically. Chunk size is n iterations if specified, otherwise 1. /Qpar-schedule-guided[:n] Specifies a scheduling algorithm for DO loop iteration. Indicates a minimum number of iterations. If specified, n is the minimum number, otherwise 1. /Qpar-schedule-guided-analytical[:n] Divides iterations by using exponential distribution or dynamic distributions. /Qpar-schedule-runtime Specifies a scheduling algorithm for DO loop iteration. Defers the scheduling decision until runtime. /Qpar-schedule-auto Lets the compiler or run-time system determine the scheduling algorithm. /Qpar-adjust-stack perform fiber-based main thread stack adjustment /Qpar-affinity=[,...][,][,] tune application performance by setting different thread affinity /Qpar-num-threads= tune application performance by setting different number of threads /Qparallel-source-info[:n] enable(DEFAULT)/disable the emission of source location information for parallel code generation with OpenMP and auto-parallelization 0 - disable (same as /Qparallel-source-info-) 1 - emit routine name and line information (DEFAULT) 2 - emit path, file, routine name and line information /Qpar same as /Qparallel Floating Point -------------- /fp: enable floating point model variation except[-] - enable/disable floating point semantics fast[=1|2] - enables more aggressive floating point optimizations precise - allows value-safe optimizations source - enables intermediates in source precision strict - enables /fp:precise /fp:except, disables contractions and enables pragma stdc fenv_access /Qfp-speculation: enable floating point speculations with the following conditions: fast - speculate floating point operations (DEFAULT) safe - speculate only when safe strict - same as off off - disables speculation of floating-point operations /Qpc32 set internal FPU precision to 24 bit significand /Qprec improve floating-point precision (speed impact less than /Op) /Qprec-sqrt[-] determine if certain square root optimizations are enabled /Qprec-div[-] improve precision of FP divides (some speed impact) /Qfast-transcendentals[-] generate a faster version of the transcendental functions /Qfp-port[-] round fp results at assignments and casts (some speed impact) /Qfp-stack-check enable fp stack checking after every function/procedure call /Qrcd rounding mode to enable fast float-to-int conversions /rounding-mode:chopped set internal FPU rounding control to truncate /Qftz[-] enable/disable flush denormal results to zero /fpe:{0|1|3} specifies program-wide behavior on floating point exceptions /fpe-all:{0|1|3} specifies floating point exception behavior on all functions and subroutines. Also sets /assume:ieee_fpe_flags /[no]fltconsistency specify that improved floating-point consistency should be used /Qfma[-] enable/disable the combining of floating point multiplies and add/subtract operations /[no]recursive compile all procedures for possible recursive execution Inlining -------- /Ob control inline expansion: n=0 disable inlining (same as /inline:none) n=1 inline functions declared with ATTRIBUTES INLINE or FORCEINLINE n=2 inline any function, at the compiler's discretion /Qinline-min-size: set size limit for inlining small routines /Qinline-min-size- no size limit for inlining small routines /Qinline-max-size: set size limit for inlining large routines /Qinline-max-size- no size limit for inlining large routines /Qinline-max-total-size: maximum increase in size for inline function expansion /Qinline-max-total-size- no size limit for inline function expansion /Qinline-max-per-routine: maximum number of inline instances in any function /Qinline-max-per-routine- no maximum number of inline instances in any function /Qinline-max-per-compile: maximum number of inline instances in the current compilation /Qinline-max-per-compile- no maximum number of inline instances in the current compilation /Qinline-factor: set inlining upper limits by n percentage /Qinline-factor- do not set set inlining upper limits /Qinline-forceinline treat inline routines as forceinline /Qinline-dllimport allow(DEFAULT)/disallow functions declared DEC$ ATTRIBUTES DLLIMPORT to be inlined /Qinline-calloc directs the compiler to inline calloc() calls as malloc()/memset() /inline[:keyword] Specifies the level of inline function expansion keywords: all (same as /Ob2 /Ot), size (same as /Ob2 /Os) speed (same as /Ob2 /Ot), none or manual (same as /Ob0) Output, Debug, PCH ------------------ /c compile to object (.obj) only, do not link /nolink, /compile-only same as /c /S compile to assembly (.asm) only, do not link /FAs produce assembly file with optional source annotations /FAc produce assembly file with optional code annotations /FA produce assembly file /Fa[file] name assembly file (or directory for multiple files; i.e. /FaMYDIR\) /Fo[file] name object file (or directory for multiple files; i.e. /FoMYDIR\) /Fe[file] name executable file or directory /object: specify the name of the object file, or the directory to which object file(s) should be written. (e.g. /object:MYOBJ or /object:MYDIR\) /exe: specifies the name to be used for the built program (.exe) or dynamic-link (.dll) library /map: specify that a link map file should be generated /list: specify that a listing file should be generated /list-line-len:# overrides the default line length (80) in a listing file /list-page-len:# overrides the default page length (66) in a listing file /show: controls the contents of the listing file keywords: all, none, [no]include, [no]map, [no]options /Zi, /ZI, /Z7 produce symbolic debug information in object file (implies /Od when another optimization option is not explicitly set) /debug[:keyword] enable debug information and control output of enhanced debug information keywords: all, full, minimal, none, [no]inline-debug-info /nodebug do not enable debug information /debug-parameters[:keyword] control output of debug information for PARAMETERS keywords: all, used, none (same as /nodebug-parameters) /nodebug-parameters do not output debug information for PARAMETERS /Qd-lines, /[no]d-lines compile debug statements (indicated by D in column 1) /pdbfile[:filename] specify that debug related information should be generated to a program database file /nopdbfile do not generate debug related information to a program database file /Qtrapuv trap uninitialized variables /RTCu report use of variable that was not initialized /Qmap-opts enable option mapping tool Preprocessor ------------ /D[{=|#}] define macro /define:symbol[=] same as /D /nodefines specifies that any /D macros go to the preprocessor only, and not to the compiler /U remove predefined macro /undefine: remove predefined macro (same as /U) /allow:nofpp-comments If a Fortran end-of-line comment is seen within a #define, treat it as part of the definition. Default is allow:fpp-comments /E preprocess to stdout /EP preprocess to stdout, omitting #line directives /EP /P preprocess to file, omitting #line directives /P preprocess to file /preprocess-only same as /P /[no]keep keep/remove preprocessed file generated by preprocessor as input to compiler stage. Not affected by /Qsave-temps. Default is /nokeep /fpp[n], /[no]fpp run Fortran preprocessor on source files prior to compilation n=0 disable running the preprocessor, equivalent to nofpp n=1,2,3 run preprocessor /module:path specify path where mod files should be placed and first location to look for mod files /u remove all predefined macros /I add directory to include file search path /[no]include: same as /I /X remove standard directories from include file search path /[no]gen-dep[:filename] generate dependency information. If no filename is specified, output to stdout /gen-depformat:keyword generate dependency information in the specified format. One of: make, nmake Component Control ----------------- /Qoption,, pass options to tool specified by /Qlocation,, set as the location of tool specified by Language -------- /[no]altparam specify if alternate form of parameter constant declarations (without parenthesis) is recognized. Default is to recognize /assume: specify assumptions made by the optimizer and code generator keywords: none, [no]byterecl, [no]buffered_io, [no]bscc (nobscc same as /nbs), [no]cc_omp, [no]minus0, [no]dummy_aliases (same as /Qcommon-args), [no]ieee_fpe_flags, [no]fpe_summary, [no]old_boz, [no]old_complex_align, [no]old_logical_ldio, [no]old_ldout_format, [no]old_maxminloc, [no]old_unit_star, [no]old_xor, [no]protect_constants, [no]protect_parens, [no]realloc_lhs, [no]2underscore, [no]underscore (same as /us), [no]std_intent_in, [no]std_mod_proc_name, [no]source_include, [no]split_common,[no]writeable_strings /ccdefault: specify default carriage control for units 6 and * keywords: default, fortran, list or none /[no]check: check run-time conditions. Default is /nocheck keywords: all (same as /4Yb, /C), none (same as /nocheck, /4Nb), [no]arg_temp_created, [no]bounds (same as /CB), [no]format, [no]output_conversion, [no]pointer (same as /CA), [no]uninit (same as /CU), [no]stack /Qcommon-args assume "by reference" subprogram arguments may alias one another. Same as /assume:dummy_aliases /[no]extend-source[:] specify rightmost column for fixed form sources keywords: 72 (same as /noextend-source and /4L72), 80 (same as /4L80), 132 (same as /4L132. Default if you specify /extend-source without a keyword.) /fixed specify source files are in fixed format. Same as /FI and /4Nf /nofixed indicates free format /free specify source files are in free format. Same as /FR and /4Yf /nofree indicates fixed format /names: specify how source code identifiers and external names are interpreted. keywords: as_is, lowercase, uppercase /[no]pad-source, /Qpad-source[-] make compiler acknowledge blanks at the end of a line /stand[:] specifies level of conformance with ANSI standard to check for. If keyword is not specified, level of conformance is f03 keywords: f90 (same as /4Ys), f95, f03, none (same as /nostand) /standard-semantics sets assume keywords to conform to the semantics of the f03 standard. May result in performance loss. assume keywords set by /standard-semantics: byterecl, fpe_summary, minus0, noold_maxminloc, noold_unit_star, noold_xor, protect_parens, realloc_lhs, std_intent_in, std_mod_proc_name, noold_ldout_format /syntax-only, /Zs perform syntax and semantic checking only (no object file produced) Compiler Diagnostics -------------------- /w disable all warnings /W disable warnings (n = 0) or show warnings (n = 1 DEFAULT, same as /warn:general) /warn: specifies the level of warning messages issued keywords: all, none (same as /nowarn) [no]alignments, [no]declarations, [no]errors, [no]general, [no]ignore_loc, [no]interfaces, [no]stderrors, [no]truncated_source, [no]uncalled, [no]unused, [no]usage /nowarn suppress all warning messages /WB turn a compile-time bounds check into a warning /[no]traceback specify whether the compiler generates PC correlation data used to display a symbolic traceback rather than a hexadecimal traceback at runtime failure /[no]gen-interfaces [[no]source] generate interface blocks for all routines in the file. Can be checked using -warn interfaces nosource indicates temporary source files should not be saved /error-limit: specify the maximum number of error-level or fatal-level compiler errors allowed /noerror-limit set no maximum number on error-level or fatal-level error messages /Qdiag-enable:[,,...] enable the specified diagnostics or diagnostic groups /Qdiag-disable:[,,...] disable the specified diagnostics or diagnostic groups where may be individual diagnostic numbers or group names. where group names include: sc[n] - perform source code analysis: n=1 for critical errors, n=2 for all errors and n=3 for all errors and warnings sc- {full|concise|precise} - perform static analysis and determine the analysis mode. Full mode - attempts to find all program weaknesses, even at the expense of more false positives. Concise mode - attempts to reduce false positives somewhat more than reducing false negatives. Precise mode - attempts to avoid all false positives Default: full if /Qdiag-enable:sc{[1|2|3]} is present; otherwise None (static analysis diagnostics are disabled). sc-include - perform source code analysis on include files sc-single-file - This option tells static analysis to process each file individually. Default: OFF sc-enums - This option tells static analysis to treat enumeration variables as known values equal to any one of the associated enumeration literals. Default: OFF sc-parallel[n] - perform analysis of parallelization in source code: n=1 for critical errors, n=2 for errors, n=3 for all errors and warnings warn - diagnostic messages that have "warning" severity level. error - diagnostic messages that have "error" severity level. remark - diagnostic messages that are remarks or comments. vec - diagnostic messages issued by the vectorizer. par - diagnostic messages issued by the auto-parallelizer openmp - diagnostic messages issued by the OpenMP* parallelizer. cpu-dispatch Specifies the CPU dispatch remarks. /Qdiag-error:[,,...] output the specified diagnostics or diagnostic groups as errors /Qdiag-warning:[,,...] output the specified diagnostics or diagnostic groups as warnings /Qdiag-remark:[,,...] output the the specified diagnostics or diagnostic groups as remarks /Qdiag-dump display the currently enabled diagnostic messages to stdout or to a specified diagnostic output file. /Qdiag-sc-dir: directory where diagnostics from static analysis are created, rather than current working directory. /Qdiag-file[:] where diagnostics are emitted to. Not specifying this causes messages to be output to stderr /Qdiag-file-append[:] where diagnostics are emitted to. When already exists, output is appended to the file /Qdiag-id-numbers[-] enable(DEFAULT)/disable the diagnostic specifiers to be output in numeric form /Qdiag-error-limit: specify the maximum number of errors emitted Miscellaneous ------------- /[no]logo display compiler version information. /nologo disables the output /Qsox[:[,keyword]] enable saving of compiler options, version and additional information in the executable. Use /Qsox- to disable(DEFAULT) profile - include profiling data inline - include inlining information /bintext: place the string specified into the object file and executable /Qsave-temps store the intermediate files in current directory and name them based on the source file. Only saves files that are generated by default /what display detailed compiler version information /watch: tells the driver to output processing information keywords: all, none (same as /nowatch), [no]source, [no]cmd [no]mic-cmd /nowatch suppress processing information output (DEFAULT) /Tf compile file as Fortran source /extfor: specify extension of file to be recognized as a Fortran file /extfpp: specify extension of file to be recognized as a preprocessor file /libdir[:keyword] control the library names that should be emitted into the object file keywords: all, none (same as /nolibdir), [no]automatic, [no]user /nolibdir no library names should be emitted into the object file /MP[] create multiple processes that can be used to compile large numbers of source files at the same time /bigobj generate objects with increased address capacity Data ---- /4I{2|4|8} set default KIND of integer and logical variables to 2, 4, or 8 /integer-size: specifies the default size of integer and logical variables size: 16, 32, 64 /4R{8|16} set default size of real to 8 or 16 bytes /real-size: specify the size of REAL and COMPLEX declarations, constants, functions, and intrinsics size: 32, 64, 128 /Qautodouble same as /real-size:64 or /4R8 /double-size: defines the size of DOUBLE PRECISION and DOUBLE COMPLEX declarations, constants, functions, and intrinsics size: 64, 128 /[no]fpconstant extends the precision of single precision constants assigned to double precision variables to double precision /[no]intconstant use Fortran 77 semantics, rather than Fortran 90/95, to determine kind of integer constants /auto make all local variables AUTOMATIC /Qauto-scalar make scalar local variables AUTOMATIC (DEFAULT) /Qsave save all variables (static allocation) (same as /noauto, opposite of /auto) /Qzero[-] enable/disable(DEFAULT) implicit initialization to zero of local scalar variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are saved and not initialized /Qdyncom make given common blocks dynamically-allocated /Zp[n] specify alignment constraint for structures (n=1,2,4,8,16 /Zp16 DEFAULT) /[no]align analyze and reorder memory layout for variables and arrays /align: specify how data items are aligned keywords: all (same as /align), none (same as /noalign), [no]commons, [no]dcommons, [no]qcommons, [no]zcommons, rec1byte, rec2byte, rec4byte, rec8byte, rec16byte, rec32byte, array8byte, array16byte, array32byte, array64byte, array128byte, array256byte, [no]records, [no]sequence /GS enable overflow security checks. /GS- disables (DEFAULT) /Qpatchable-addresses generate code such that references to statically assigned addresses can be patched with arbitrary 64-bit addresses. /Qfnalign[-] align the start of functions to an optimal machine-dependent value. When disabled (DEFAULT) align on a 2-byte boundary /Qfnalign:[2|16] align the start of functions on a 2 (DEFAULT) or 16 byte boundary /Qglobal-hoist[-] enable(DEFAULT)/disable external globals are load safe /Qkeep-static-consts[-] enable/disable(DEFAULT) emission of static const variables even when not referenced /Qnobss-init disable placement of zero-initialized variables in BSS (use DATA) /Qzero-initialized-in-bss[-] put explicitly zero initialized variables into the DATA section instead of the BSS section /convert: specify the format of unformatted files containing numeric data keywords: big_endian, cray, ibm, little_endian, native, vaxd, vaxg /Qimf-absolute-error:value[:funclist] define the maximum allowable absolute error for math library function results value - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-accuracy-bits:bits[:funclist] define the relative error, measured by the number of correct bits, for math library function results bits - a positive, floating-point number funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-arch-consistency:value[:funclist] ensures that the math library functions produce consistent results across different implementations of the same architecture value - true or false funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-max-error:ulps[:funclist] defines the maximum allowable relative error, measured in ulps, for math library function results ulps - a positive, floating-point number conforming to the format [digits][.digits][{e|E}[sign]digits] funclist - optional comma separated list of one or more math library functions to which the attribute should be applied /Qimf-precision:value[:funclist] defines the accuracy (precision) for math library functions value - defined as one of the following values high - equivalent to max-error = 0.6 medium - equivalent to max-error = 4 (DEFAULT) low - equivalent to accuracy-bits = 11 (single precision); accuracy-bits = 26 (double precision) funclist - optional comma separated list of one or more math library functions to which the attribute should be applied Compatibility ------------- /fpscomp[:] specify the level of compatibility to adhere to with Fortran PowerStation keywords: all, none (same as /nofpscomp), [no]filesfromcmd, [no]general, [no]ioformat, [no]ldio_spacing, [no]libs, [no]logicals /nofpscomp no specific level of compatibility with Fortran PowerStation /f66 allow extensions that enhance FORTRAN-66 compatibility /f77rtl specify that the Fortran 77 specific run-time support should be used /nof77rtl disables /vms enable VMS I/O statement extensions /Qvc enable compatibility with a specific Microsoft* Visual Studio version 9 - Microsoft* Visual Studio 2008 compatibility 10 - Microsoft* Visual Studio 2010 compatibility 11 - Microsoft* Visual Studio 2012 compatibility Linking/Linker -------------- /link specify that all options following '/link' are for the linker /extlnk: specify extension of file to be passed directly to linker /F set the stack reserve amount specified to the linker /dbglibs use the debug version of runtime libraries, when appropriate /libs: specifies which type of run-time library to link to. keywords: static, dll, qwin, qwins /LD[d] produce a DLL instead of an EXE ('d' = debug version) /dll same as /LD /MD[d] use dynamically-loaded, multithread C runtime /MDs[d] use dynamically-loaded, singlethread Fortran runtime, and multithread C runtime /MT[d] use statically-linked, multithread C runtime (DEFAULT with Microsoft Visual Studio 2005 and later) /ML[d] use statically-linked, single thread C runtime (only valid in Microsoft Visual Studio 2003 environment) /MG, /winapp use Windows API runtime libraries /Zl omit library names from object file /threads specify that multi-threaded libraries should be linked against /nothreads disables multi-threaded libraries Deprecated Options ------------------ /Qinline-debug-info use /debug:inline-debug-info /Gf use /GF /ML[d] upgrade to /MT[d] /Quse-asm No replacement /Qprof-genx use /Qprof-gen:srcpos /Qdiag-enable:sv[] use /Qdiag-enable:sc[] /Qdiag-enable:sv-include use /Qdiag-enable:sc-include /Qdiag-sv use /Qdiag-enable:sc[] /Qdiag-sv-error use /Qdiag-disable:warning /Qdiag-sv-include use /Qdiag-enable:sc-include /Qdiag-sv-level No replacement /Qdiag-sv-sup use /Qdiag-disable:[,,...] /Qtprofile No replacement /arch:SSE use /arch:IA32 /QxK upgrade to /arch:SSE2 /QaxK upgrade to /arch:SSE2 /QxW use /arch:SSE2 /QaxW use /arch:SSE2 /QxN use /QxSSE2 /QaxN use /QaxSSE2 /QxP use /QxSSE3 /QaxP use /QaxSSE3 /QxT use /QxSSSE3 /QaxT use /QaxSSSE3 /QxS use /QxSSE4.1 /QaxS use /QaxSSE4.1 /QxH use /QxSSE4.2 /QaxH use /QaxSSE4.2 /QxO use /arch:SSE3 /Qvc7.1 No replacement /QIfist use /Qrcd /QxSSE3_ATOM use /QxSSSE3_ATOM /Qrct No replacement /Op use /fltconsistency /debug:partial No replacement /tune: use /Qx /architecture: use /arch: /1, /Qonetrip use /f66 /Fm use /map /Qcpp, /Qfpp use /fpp /Qdps use /altparam /Qextend-source use /extend-source /Qlowercase use /names:lowercase /Quppercase use /names:uppercase /Qvms use /vms /asmattr:keyword use /FA[c|s|cs] /noasmattr,/asmattr:none use /FA /asmfile use /Fa /automatic use /auto /cm use /warn:nousage /optimize:0 use /Od /optimize:1,2 use /O1 /optimize:3,4 use /O2 /optimize:5 use /O3 /source use /Tf /unix No replacement /us use /assume:underscore /unroll use /Qunroll /w90, /w95 No replacement /Zd use /debug:minimal /help, /? [category] print full or category help message Valid categories include advanced - Advanced Optimizations codegen - Code Generation compatibility - Compatibility component - Component Control data - Data deprecated - Deprecated Options diagnostics - Compiler Diagnostics float - Floating Point help - Help inline - Inlining ipo - Interprocedural Optimization (IPO) language - Language link - Linking/Linker misc - Miscellaneous opt - Optimization output - Output pgo - Profile Guided Optimization (PGO) preproc - Preprocessor reports - Optimization Reports openmp - OpenMP and Parallel Processing Copyright (C) 1985-2013, Intel Corporation. All rights reserved. * Other names and brands may be claimed as the property of others. Trying FC compiler flag -O3 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: Successful compile: Source: program main end Added FC compiler flag -O3 Trying FC compiler flag -QxW sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main end Added FC compiler flag -QxW Popping language FC ================================================================================ TEST configureDebugging from PETSc.utilities.debugging(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/debugging.py:25) TESTING: configureDebugging from PETSc.utilities.debugging(config/PETSc/utilities/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 configureArchitecture from PETSc.utilities.arch(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/arch.py:32) TESTING: configureArchitecture from PETSc.utilities.arch(config/PETSc/utilities/arch.py:32) Checks PETSC_ARCH and sets if not set Defined "ARCH" to ""arch-mswin-c-optimized-hypre"" ================================================================================ TEST checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/sharedLibraries.py:42) TESTING: checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:42) ================================================================================ TEST configureSharedLibraries from PETSc.utilities.sharedLibraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/sharedLibraries.py:63) TESTING: configureSharedLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:63) 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.utilities.sharedLibraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/sharedLibraries.py:102) TESTING: configureDynamicLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:102) Checks whether dynamic loading should be used, for which you must - Specify --with-dynamic-loading - Have found a working dynamic linker (with dlfcn.h and libdl) Defines PETSC_USE_DYNAMIC_LIBRARIES if they are used Dynamic loading - disabled ================================================================================ TEST configureBmakeDir from PETSc.utilities.bmakeDir(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/bmakeDir.py:26) TESTING: configureBmakeDir from PETSc.utilities.bmakeDir(config/PETSc/utilities/bmakeDir.py:26) Makes $PETSC_ARCH and subdirectories if it does not exist Changed persistence directory to arch-mswin-c-optimized-hypre/conf sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib ================================================================================ TEST checkRestrict from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:134) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:134) Check for the C/CXX restrict keyword Pushing language C All intermediate test results are stored in /tmp/petsc-_gMCR8/config.compilers sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'x' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(5) : error C2065: 'x' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'x' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(5) : error C2065: 'x' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'x' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(5) : error C2065: 'x' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'x' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(5) : error C2065: 'x' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict__ x;; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c sh: 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(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:306) TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:306) Activate format string checking if using the GNU compilers ================================================================================ TEST checkCStaticInline from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:105) TESTING: checkCStaticInline from config.compilers(config/BuildSystem/config/compilers.py:105) Check for C keyword: static inline Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(3) : error C2054: expected '(' to follow 'inline' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(3) : error C2085: 'foo' : not in formal parameter list C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(3) : error C2143: syntax error : missing ';' before '{' Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(3) : error C2054: expected '(' to follow 'inline' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(3) : error C2085: 'foo' : not in formal parameter list C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.c(3) : error C2143: syntax error : missing ';' before '{' ret = 512 Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { int i = foo(1);; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" static __inline int foo(int a) {return a;} int main() { int i = 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(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:317) TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:317) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does ================================================================================ TEST checkCLibraries from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:161) TESTING: checkCLibraries from config.compilers(config/BuildSystem/config/compilers.py:161) Determines the libraries needed to link with C Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -v -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -v -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-v' Popping language C compilers: Checking arg cl compilers: Unknown arg cl compilers: Checking arg : compilers: Unknown arg : compilers: Checking arg Command compilers: Unknown arg Command compilers: Checking arg line compilers: Unknown arg line compilers: Checking arg warning compilers: Unknown arg warning compilers: Checking arg D9002 compilers: Unknown arg D9002 compilers: Checking arg : compilers: Unknown arg : compilers: Checking arg ignoring compilers: Unknown arg ignoring compilers: Checking arg unknown compilers: Unknown arg unknown compilers: Checking arg option compilers: Unknown arg option compilers: Libraries needed to link C code with another linker: [] compilers: Check that C libraries can be used from Fortran Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main end sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: Popping language FC ================================================================================ TEST checkDependencyGenerationFlag from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:1282) TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1282) Check if -MMD works for dependency generation, and add it if it does Pushing language C Trying C compiler flag -MMD sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MMD -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MMD -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-MMD' Rejecting C linker flag -MMD due to cl : Command line warning D9002 : ignoring unknown option '-MMD' Rejected C compiler flag -MMD because linker cannot handle it Trying C compiler flag -M sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -M -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -M -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-M' Rejecting C linker flag -M due to cl : Command line warning D9002 : ignoring unknown option '-M' Rejected C compiler flag -M because linker cannot handle it Popping language C Pushing language Cxx Trying Cxx compiler flag -MMD sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MMD -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MMD -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-MMD' Rejecting Cxx linker flag -MMD due to cl : Command line warning D9002 : ignoring unknown option '-MMD' Rejected Cxx compiler flag -MMD because linker cannot handle it Trying Cxx compiler flag -M sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -M -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -M -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-M' Rejecting Cxx linker flag -M due to cl : Command line warning D9002 : ignoring unknown option '-M' Rejected Cxx compiler flag -M because linker cannot handle it Popping language Cxx Pushing language FC Trying FC compiler flag -MMD sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MMD -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MMD -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line warning #10006: ignoring unknown option '/MMD' ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Rejecting FC linker flag -MMD due to ifort: command line warning #10006: ignoring unknown option '/MMD' ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Rejected FC compiler flag -MMD because linker cannot handle it Trying FC compiler flag -M sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -M -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -M -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line error: option '/M' is ambiguous Possible ERROR while running linker: output: ifort: command line error: option '/M' is ambiguous ret = 256 Pushing language FC Popping language FC in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -M -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Source: program main end Rejecting linker flag -M due to nonzero status from link Rejected FC compiler flag -M because linker cannot handle it Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl --help sh: Win32 Development Tool Front End, version 1.10.1 Wed Oct 19 20:45:06 CDT 2011 Usage: win32fe -- - must be the first argument to win32fe : {cl,icl,df,f90,ifl,bcc32,lib,tlib} cl: Microsoft 32-bit C/C++ Optimizing Compiler icl: Intel C/C++ Optimizing Compiler df: Compaq Visual Fortran Optimizing Compiler f90: Compaq Visual Fortran90 Optimizing Compiler ifl: Intel Fortran Optimizing Compiler ifort: Intel Fortran Optimizing Compiler nvcc: NVIDIA CUDA Compiler Driver bcc32: Borland C++ for Win32 lib: Microsoft Library Manager tlib: Borland Library Manager : --help: Output this help message and help for --autodetect: Attempt automatic detection of installation --path : specifies an addition to the PATH that is required (ex. the location of a required .dll) --use : specifies the variant of to use --verbose: Echo to stdout the translated commandline and other diagnostic information --version: Output version info for win32fe and --wait_for_debugger: Inserts an infinite wait after creation of and outputs PID so one can manually attach a debugger to the current process. In the debugger, one must set: tool::waitfordebugger = 0 to continue the execution normally. --win-l: For compilers, define -lfoo to link foo.lib instead of libfoo.lib --woff: Suppress win32fe specific warning messages ================================================================================= For compilers: win32fe will map the following to their native options: -c: Compile Only, generates an object file with .o extension This will invoke the compiler once for each file listed. -l: Link the file lib.lib or if using --win-l also, .lib -o : Output= context dependent -D: Define -I: Add to the include path -L: Add to the link path -g: Generate debug symbols in objects when specified for compilation, and in executables when specified for linking (some compilers specification at both times for full debugging support). -O: Enable compiletime and/or linktime optimizations. Ex: win32fe cl -g -c foo.c --verbose -Iinclude Note: win32fe will automatically find the system library paths and system include paths, relieving the user of the need to invoke a particular shell. ========================================================================= cl specific help: win32fe uses -nologo by default for nonverbose output. Use the flag: -logo to disable this feature. -g is identical to -Z7. -O is identical to -O2. ========================================================================= Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C/C++ COMPILER OPTIONS -OPTIMIZATION- /O1 minimize space /O2 maximize speed /Ob inline expansion (default n=0) /Od disable optimizations (default) /Og enable global optimization /Oi[-] enable intrinsic functions /Os favor code space /Ot favor code speed /Ox maximum optimizations /favor: select processor to optimize for, one of: blend - a combination of optimizations for several different x64 processors AMD64 - 64-bit AMD processors INTEL64 - Intel(R)64 architecture processors -CODE GENERATION- /GF enable read-only string pooling /Gm[-] enable minimal rebuild /Gy[-] separate functions for linker /GS[-] enable security checks /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc) /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions) /EHc extern "C" defaults to nothrow /fp: choose floating-point model: except[-] - consider floating-point exceptions when generating code fast - "fast" floating-point model; results are less predictable precise - "precise" floating-point model; results are predictable strict - "strict" floating-point model (implies /fp:except) /Qfast_transcendentals generate inline FP intrinsics even with /fp:except /GL[-] enable link-time code generation /GA optimize for Windows Application /Ge force stack checking for all funcs /Gs[num] control stack checking calls /Gh enable _penter function call /GH enable _pexit function call /GT generate fiber-safe TLS accesses /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks /clr[:option] compile for common language runtime, where option is: pure - produce IL-only output file (no native executable code) safe - produce IL-only verifiable output file oldSyntax - accept the Managed Extensions syntax from Visual C++ 2002/2003 initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002 noAssembly - do not produce an assembly /homeparams Force parameters passed in registers to be written to the stack /GZ Enable stack checks (/RTCs) /arch:AVX enable use of Intel(R) Advanced Vector Extensions instructions -OUTPUT FILES- /Fa[file] name assembly listing file /FA[scu] configure assembly listing /Fd[file] name .PDB file /Fe name executable file /Fm[file] name map file /Fo name object file /Fp name precompiled header file /Fr[file] name source browser file /FR[file] name extended .SBR file /Fi[file] name preprocessed file /doc[file] process XML documentation comments and optionally name the .xdc file -PREPROCESSOR- /AI add to assembly search path /FU forced using assembly/module /C don't strip comments /D{=|#} define macro /E preprocess to stdout /EP preprocess to stdout, no #line /P preprocess to file /Fx merge injected code to file /FI name forced include file /U remove predefined macro /u remove all predefined macros /I add to include search path /X ignore "standard places" -LANGUAGE- /Zi enable debugging information /Z7 enable old-style debug info /Zp[n] pack structs on n-byte boundary /Za disable extensions /Ze enable extensions (default) /Zl omit default library name in .OBJ /Zg generate function prototypes /Zs syntax check only /vd{0|1|2} disable/enable vtordisp /vm type of pointers to members /Zc:arg1[,arg2] C++ language conformance, where arguments can be: forScope[-] - enforce Standard C++ for scoping rules wchar_t[-] - wchar_t is the native type, not a typedef auto[-] - enforce the new Standard C++ meaning for auto trigraphs[-] - enable trigraphs (off by default) /openmp enable OpenMP 2.0 language extensions -MISCELLANEOUS- @ options response file /?, /help print this help message /bigobj generate extended object format /c compile only, no link /errorReport:option Report internal compiler errors to Microsoft none - do not send report prompt - prompt to immediately send report queue - at next admin logon, prompt to send report (default) send - send report automatically /FC use full pathnames in diagnostics /H max external name length /J default char type is unsigned /MP[n] use up to 'n' processes for compilation /nologo suppress copyright message /showIncludes show include file names /Tc compile file as .c /Tp compile file as .cpp /TC compile all files as .c /TP compile all files as .cpp /V set version string /w disable all warnings /wd disable warning n /we treat warning n as an error /wo issue warning n once /w set warning level 1-4 for n /W set warning level (default n=1) /Wall enable all warnings /WL enable one line diagnostics /WX treat warnings as errors /Yc[file] create .PCH file /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib /Yu[file] use .PCH file /Y- disable all PCH options /Zm max memory alloc (% of default) /Wp64 enable 64 bit porting warnings -LINKING- /LD Create .DLL /LDd Create .DLL debug library /LN Create a .netmodule /F set stack size /link [linker options and libraries] /MD link with MSVCRT.LIB /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib /MTd link with LIBCMTD.LIB debug lib ================================================================================ TEST checkRestrict from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:134) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:134) Check for the C/CXX restrict keyword Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.cc sh: conftest.cc C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.cc(5) : error C2146: syntax error : missing ';' before identifier 'x' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.cc(5) : error C2065: 'x' : undeclared identifier Possible ERROR while running compiler: conftest.cc C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.cc(5) : error C2146: syntax error : missing ';' before identifier 'x' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.cc(5) : error C2065: 'x' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.cc sh: conftest.cc C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.cc(5) : error C2146: syntax error : missing ';' before identifier 'x' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.cc(5) : error C2065: 'x' : undeclared identifier Possible ERROR while running compiler: conftest.cc C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.cc(5) : error C2146: syntax error : missing ';' before identifier 'x' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.cc(5) : error C2065: 'x' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict__ x;; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.cc sh: 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(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:355) TESTING: checkCxxNamespace from config.compilers(config/BuildSystem/config/compilers.py:355) Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" namespace petsc {int dummy;} int main() { ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.cc sh: 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(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:330) TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:330) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'class' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'somename' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'somename' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2143: syntax error : missing ';' before '{' Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'class' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'somename' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'somename' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2143: syntax error : missing ';' before '{' ret = 512 Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Rejecting compiler flag due to nonzero status from link Rejecting compiler flag due to conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'class' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'somename' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'somename' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2143: syntax error : missing ';' before '{' PETSc Error: No output file produced sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -+ /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -+ /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: cl : Command line warning D9002 : ignoring unknown option '-+' conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'class' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'somename' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'somename' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2143: syntax error : missing ';' before '{' Possible ERROR while running compiler: cl : Command line warning D9002 : ignoring unknown option '-+' conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'class' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'somename' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'somename' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2143: syntax error : missing ';' before '{' ret = 512 Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Rejecting compiler flag -+ due to nonzero status from link Rejecting compiler flag -+ due to cl : Command line warning D9002 : ignoring unknown option '-+' conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'class' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'somename' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'somename' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2143: syntax error : missing ';' before '{' PETSc Error: No output file produced sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -x cxx -tlocal /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -x cxx -tlocal /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: Error: win32fe: Input File Not Found: C:\cygwin64\packages\PETSC-~1.3\cxx Possible ERROR while running compiler: Error: win32fe: Input File Not Found: C:\cygwin64\packages\PETSC-~1.3\cxx ret = 32512 Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Rejecting compiler flag -x cxx -tlocal due to nonzero status from link Rejecting compiler flag -x cxx -tlocal due to Error: win32fe: Input File Not Found: C:\cygwin64\packages\PETSC-~1.3\cxx PETSc Error: No output file produced sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -Kc++ /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -Kc++ /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: cl : Command line warning D9002 : ignoring unknown option '-Kc++' conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'class' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'somename' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'somename' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2143: syntax error : missing ';' before '{' Possible ERROR while running compiler: cl : Command line warning D9002 : ignoring unknown option '-Kc++' conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'class' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'somename' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'somename' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2143: syntax error : missing ';' before '{' ret = 512 Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Rejecting compiler flag -Kc++ due to nonzero status from link Rejecting compiler flag -Kc++ due to cl : Command line warning D9002 : ignoring unknown option '-Kc++' conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'class' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2146: syntax error : missing ';' before identifier 'somename' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2065: 'somename' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.c(5) : error C2143: syntax error : missing ';' before '{' PETSc Error: No output file produced sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Added Cxx compiler flag -TP Popping language Cxx ================================================================================ TEST checkCxxStaticInline from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:119) TESTING: checkCxxStaticInline from config.compilers(config/BuildSystem/config/compilers.py:119) Check for C++ keyword: static inline Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.compilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.compilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { int i = foo(1);; return 0; } compilers: Set Cxx StaticInline keyword to static inline Popping language Cxx Defined "CXX_STATIC_INLINE" to "static inline" ================================================================================ TEST checkCxxLibraries from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:370) TESTING: checkCxxLibraries from config.compilers(config/BuildSystem/config/compilers.py:370) Determines the libraries needed to link with C++ Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.compilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.compilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -v -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -v -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.compilers/conftest.o sh: cl : Command line warning D9002 : ignoring unknown option '-v' Popping language Cxx compilers: Checking arg cl compilers: Unknown arg cl compilers: Checking arg : compilers: Unknown arg : compilers: Checking arg Command compilers: Unknown arg Command compilers: Checking arg line compilers: Unknown arg line compilers: Checking arg warning compilers: Unknown arg warning compilers: Checking arg D9002 compilers: Unknown arg D9002 compilers: Checking arg : compilers: Unknown arg : compilers: Checking arg ignoring compilers: Unknown arg ignoring compilers: Checking arg unknown compilers: Unknown arg unknown compilers: Checking arg option compilers: Unknown arg option compilers: Libraries needed to link Cxx code with another linker: [] compilers: Check that Cxx libraries can be used from C Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: Popping language C compilers: Check that Cxx libraries can be used from Fortran Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main end sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: Popping language FC ================================================================================ TEST checkFortranTypeSizes from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:528) TESTING: checkFortranTypeSizes from config.compilers(config/BuildSystem/config/compilers.py:528) Check whether real*8 is supported and suggest flags which will allow support Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main real*8 variable end Popping language FC ================================================================================ TEST checkFortranNameMangling from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:587) TESTING: checkFortranNameMangling from config.compilers(config/BuildSystem/config/compilers.py:587) 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 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} Popping language C Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/confc.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/confc.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' conftest.obj : error LNK2019: unresolved external symbol D1CHK referenced in function MAIN__ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' conftest.obj : error LNK2019: unresolved external symbol D1CHK referenced in function MAIN__ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 24576 Pushing language FC Popping language FC in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/confc.o Source: program main call d1chk() end Popping language FC Testing Fortran mangling type unchanged with code void d1chk(void){return;} Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk(void){return;} Popping language C Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/confc.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/confc.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' conftest.obj : error LNK2019: unresolved external symbol D1CHK referenced in function MAIN__ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' conftest.obj : error LNK2019: unresolved external symbol D1CHK referenced in function MAIN__ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 24576 Pushing language FC Popping language FC in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/confc.o Source: program main call d1chk() end Popping language FC Testing Fortran mangling type caps with code void D1CHK(void){return;} Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void D1CHK(void){return;} Popping language C Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/confc.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/confc.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Popping language FC compilers: Fortran name mangling is caps Defined "HAVE_FORTRAN_CAPS" to "1" ================================================================================ TEST checkFortranNameManglingDouble from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:624) TESTING: checkFortranNameManglingDouble from config.compilers(config/BuildSystem/config/compilers.py:624) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.compilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} Popping language C Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main call d1_chk() end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/confc.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/confc.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' conftest.obj : error LNK2019: unresolved external symbol D1_CHK referenced in function MAIN__ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' conftest.obj : error LNK2019: unresolved external symbol D1_CHK referenced in function MAIN__ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 24576 Pushing language FC Popping language FC in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/confc.o Source: program main call d1_chk() end Popping language FC ================================================================================ TEST checkFortranPreprocessor from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:634) TESTING: checkFortranPreprocessor from config.compilers(config/BuildSystem/config/compilers.py:634) Determine if Fortran handles preprocessing properly Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) Possible ERROR while running compiler: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) ret = 256 Source: program main #define dummy dummy #ifndef dummy fooey #endif end Rejecting compiler flag due to nonzero status from link Rejecting compiler flag due to ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) PETSc Error: No output file produced sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -cpp /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -cpp /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10006: ignoring unknown option '/cpp' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) Possible ERROR while running compiler: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10006: ignoring unknown option '/cpp' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) ret = 256 Source: program main #define dummy dummy #ifndef dummy fooey #endif end Rejecting compiler flag -cpp due to nonzero status from link Rejecting compiler flag -cpp due to ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10006: ignoring unknown option '/cpp' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) PETSc Error: No output file produced sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -xpp=cpp /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -xpp=cpp /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10006: ignoring unknown option '/xpp=cpp' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) Possible ERROR while running compiler: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10006: ignoring unknown option '/xpp=cpp' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) ret = 256 Source: program main #define dummy dummy #ifndef dummy fooey #endif end Rejecting compiler flag -xpp=cpp due to nonzero status from link Rejecting compiler flag -xpp=cpp due to ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10006: ignoring unknown option '/xpp=cpp' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) PETSc Error: No output file produced sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -F /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -F /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line error: option '/F' is ambiguous Possible ERROR while running compiler: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line error: option '/F' is ambiguous ret = 256 Source: program main #define dummy dummy #ifndef dummy fooey #endif end Rejecting compiler flag -F due to nonzero status from link Rejecting compiler flag -F due to ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line error: option '/F' is ambiguous PETSc Error: No output file produced sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -Cpp /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -Cpp /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10006: ignoring unknown option '/Cpp' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) Possible ERROR while running compiler: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10006: ignoring unknown option '/Cpp' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) ret = 256 Source: program main #define dummy dummy #ifndef dummy fooey #endif end Rejecting compiler flag -Cpp due to nonzero status from link Rejecting compiler flag -Cpp due to ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10006: ignoring unknown option '/Cpp' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(2): warning #5117: Bad # preprocessor line #define dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(4): warning #5117: Bad # preprocessor line #ifndef dummy -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(3): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => dummy ----------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(6): warning #5117: Bad # preprocessor line #endif -^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( % [ : . = => fooey ------------^ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F(5): error #6218: This statement is positioned incorrectly and/or has syntax errors. fooey ------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.SET\conftest.F (code 1) PETSc Error: No output file produced sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Added FC compiler flag -fpp Popping language FC compilers: Fortran uses CPP preprocessor ================================================================================ TEST checkFortranDefineCompilerOption from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:655) TESTING: checkFortranDefineCompilerOption from config.compilers(config/BuildSystem/config/compilers.py:655) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp -DTesting /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp -DTesting /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Popping language FC compilers: Fortran uses -D for defining macro ================================================================================ TEST checkFortranLibraries from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:671) TESTING: checkFortranLibraries from config.compilers(config/BuildSystem/config/compilers.py:671) Substitutes for FLIBS the libraries needed to link with Fortran This macro is intended to be used in those situations when it is necessary to mix, e.g. C++ and Fortran 77, source code into a single program or shared library. For example, if object files from a C++ and Fortran 77 compiler must be linked together, then the C++ compiler/linker must be used for linking (since special C++-ish things need to happen at link time like calling global constructors, instantiating templates, enabling exception support, etc.). However, the Fortran 77 intrinsic and run-time libraries must be linked in as well, but the C++ compiler/linker does not know how to add these Fortran 77 libraries. This code was translated from the autoconf macro which was packaged in its current form by Matthew D. Langston . However, nearly all of this macro came from the OCTAVE_FLIBS macro in octave-2.0.13/aclocal.m4, and full credit should go to John W. Eaton for writing this extremely useful macro. Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -V Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -V sh: ifort: command line error: no files specified; for help type "ifort /help" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -v -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -v -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.o sh: ifort: command line warning #10006: ignoring unknown option '/v' ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' C:\PROGRA~2\Intel\COMPOS~1\bin\intel64\fortcom -mP1OPT_version=13.1-intel64 -mGLOB_diag_file=C:\cygwin64\tmp\conftest.diag -mGLOB_source_language=GLOB_SOURCE_LANGUAGE_F90 -mGLOB_tune_for_fort -mGLOB_use_fort_dope_vector -mP2OPT_static_promotion -mP1OPT_print_version=FALSE -mGLOB_microsoft_version=1600 "-mGLOB_options_string=-v -MT -O3 -QxW -fpp -nologo -FeC:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe" -mGLOB_cxx_limited_range=FALSE -mCG_extend_parms=FALSE -mGLOB_compiler_bin_directory=C:\PROGRA~2\Intel\COMPOS~1\bin\intel64 -mP3OPT_defaultlibs_omit=FALSE -mP3OPT_defaultlibs=P3OPT_DEFAULTLIBS_STATIC_MULTITHREAD -mP3OPT_defaultlibs_select=P3OPT_DEFAULTLIBS_SELECT_F90_IVF -mP3OPT_defaultlibs_f90_port -mP1OPT_check_stack -mP3OPT_inline_alloca -mGLOB_routine_pointer_size_64 -mGLOB_split_functions=0 -mIPOPT_activate -mGLOB_machine_model=GLOB_MACHINE_MODEL_EFI2 -mGLOB_product_id_code=0x22006d92 -mCG_bnl_movbe=T -mGLOB_extended_instructions=0x8 -mP3OPT_use_mspp_call_convention -mP2OPT_subs_out_of_bound=FALSE -mGLOB_ansi_alias -mPGOPTI_value_profile_use=T -mP2OPT_il0_array_sections=TRUE -mGLOB_offload_mode=0 -mP2OPT_offload_unique_var_string=4528247722 -mGLOB_opt_level=3 -mP2OPT_hlo_level=3 -mP2OPT_hlo -mP2OPT_hpo_rtt_control=0 -mIPOPT_args_in_regs=0 -mP2OPT_disam_assume_nonstd_intent_in=FALSE -mGLOB_imf_mapping_library=C:\PROGRA~2\Intel\COMPOS~1\bin\intel64\libiml_attr.dll -mIPOPT_link -mIPOPT_ipo_activate -mIPOPT_mo_activate -mIPOPT_source_files_list=C:\cygwin64\tmp\4528slis4 -mIPOPT_mo_global_data "-mIPOPT_cmdline_link="-out:C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe" "-subsystem:console" "-nologo" "C:\cygwin64\tmp\conftest.obj"" -mIPOPT_il_in_obj -mIPOPT_ipo_activate_warn=FALSE -mIPOPT_obj_output_file_name=C:\cygwin64\tmp\ipo_4528.obj -mGLOB_routine_pointer_size_64 -mGLOB_driver_tempfile_name=C:\cygwin64\tmp\4528tempfile2 -mGLOB_os_target=GLOB_OS_TARGET_WINNT -mP3OPT_asm_target=P3OPT_ASM_TARGET_MASM5 -mP3OPT_obj_target=P3OPT_OBJ_TARGET_NTCOFF -mGLOB_obj_output_file=C:\cygwin64\tmp\ipo_4528.obj -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE -mP1OPT_source_file_name=ipo_out.f -mP2OPT_symtab_type_copy=true C:\cygwin64\tmp\conftest.obj -mIPOPT_object_files=T -mIPOPT_assembly_files=C:\cygwin64\tmp\4528alis3 link -out:C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe -subsystem:console -nologo C:\cygwin64\tmp\conftest.obj Popping language FC compilers: Checking arg ifort: compilers: Unknown arg ifort: compilers: Checking arg command compilers: Unknown arg command compilers: Checking arg line compilers: Unknown arg line compilers: Checking arg warning compilers: Unknown arg warning compilers: Checking arg #10006: compilers: Unknown arg #10006: compilers: Checking arg ignoring compilers: Unknown arg ignoring compilers: Checking arg unknown compilers: Unknown arg unknown compilers: Checking arg option compilers: Unknown arg option compilers: Checking arg ifort: compilers: Unknown arg ifort: compilers: Checking arg command compilers: Unknown arg command compilers: Checking arg line compilers: Unknown arg line compilers: Checking arg remark compilers: Unknown arg remark compilers: Checking arg #10279: compilers: Unknown arg #10279: compilers: Checking arg option compilers: Unknown arg option compilers: Checking arg is compilers: Unknown arg is compilers: Checking arg deprecated compilers: Unknown arg deprecated compilers: Checking arg and compilers: Unknown arg and compilers: Checking arg will compilers: Unknown arg will compilers: Checking arg be compilers: Unknown arg be compilers: Checking arg removed compilers: Unknown arg removed compilers: Checking arg in compilers: Unknown arg in compilers: Checking arg a compilers: Unknown arg a compilers: Checking arg future compilers: Unknown arg future compilers: Checking arg release. compilers: Unknown arg release. compilers: Checking arg See compilers: Unknown arg See compilers: Checking arg C:\PROGRA~2\Intel\COMPOS~1\bin\intel64\fortcom compilers: Unknown arg C:\PROGRA~2\Intel\COMPOS~1\bin\intel64\fortcom compilers: Checking arg -mP1OPT_version=13.1-intel64 compilers: Unknown arg -mP1OPT_version=13.1-intel64 compilers: Checking arg -mGLOB_diag_file=C:\cygwin64\tmp\conftest.diag compilers: Unknown arg -mGLOB_diag_file=C:\cygwin64\tmp\conftest.diag compilers: Checking arg -mGLOB_source_language=GLOB_SOURCE_LANGUAGE_F90 compilers: Unknown arg -mGLOB_source_language=GLOB_SOURCE_LANGUAGE_F90 compilers: Checking arg -mGLOB_tune_for_fort compilers: Unknown arg -mGLOB_tune_for_fort compilers: Checking arg -mGLOB_use_fort_dope_vector compilers: Unknown arg -mGLOB_use_fort_dope_vector compilers: Checking arg -mP2OPT_static_promotion compilers: Unknown arg -mP2OPT_static_promotion compilers: Checking arg -mP1OPT_print_version=FALSE compilers: Unknown arg -mP1OPT_print_version=FALSE compilers: Checking arg -mGLOB_microsoft_version=1600 compilers: Unknown arg -mGLOB_microsoft_version=1600 compilers: Checking arg "-mGLOB_options_string=-v compilers: Unknown arg "-mGLOB_options_string=-v compilers: Checking arg -MT compilers: Unknown arg -MT compilers: Checking arg -O3 compilers: Unknown arg -O3 compilers: Checking arg -QxW compilers: Unknown arg -QxW compilers: Checking arg -fpp compilers: Unknown arg -fpp compilers: Checking arg -nologo compilers: Unknown arg -nologo compilers: Checking arg -FeC:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe" compilers: Unknown arg -FeC:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe compilers: Checking arg -mGLOB_cxx_limited_range=FALSE compilers: Unknown arg -mGLOB_cxx_limited_range=FALSE compilers: Checking arg -mCG_extend_parms=FALSE compilers: Unknown arg -mCG_extend_parms=FALSE compilers: Checking arg -mGLOB_compiler_bin_directory=C:\PROGRA~2\Intel\COMPOS~1\bin\intel64 compilers: Handling HPUX list of directories: \PROGRA~2\Intel\COMPOS~1\bin\intel64 compilers: Checking arg -mP3OPT_defaultlibs_omit=FALSE compilers: Unknown arg -mP3OPT_defaultlibs_omit=FALSE compilers: Checking arg -mP3OPT_defaultlibs=P3OPT_DEFAULTLIBS_STATIC_MULTITHREAD compilers: Unknown arg -mP3OPT_defaultlibs=P3OPT_DEFAULTLIBS_STATIC_MULTITHREAD compilers: Checking arg -mP3OPT_defaultlibs_select=P3OPT_DEFAULTLIBS_SELECT_F90_IVF compilers: Unknown arg -mP3OPT_defaultlibs_select=P3OPT_DEFAULTLIBS_SELECT_F90_IVF compilers: Checking arg -mP3OPT_defaultlibs_f90_port compilers: Unknown arg -mP3OPT_defaultlibs_f90_port compilers: Checking arg -mP1OPT_check_stack compilers: Unknown arg -mP1OPT_check_stack compilers: Checking arg -mP3OPT_inline_alloca compilers: Unknown arg -mP3OPT_inline_alloca compilers: Checking arg -mGLOB_routine_pointer_size_64 compilers: Unknown arg -mGLOB_routine_pointer_size_64 compilers: Checking arg -mGLOB_split_functions=0 compilers: Unknown arg -mGLOB_split_functions=0 compilers: Checking arg -mIPOPT_activate compilers: Unknown arg -mIPOPT_activate compilers: Checking arg -mGLOB_machine_model=GLOB_MACHINE_MODEL_EFI2 compilers: Unknown arg -mGLOB_machine_model=GLOB_MACHINE_MODEL_EFI2 compilers: Checking arg -mGLOB_product_id_code=0x22006d92 compilers: Unknown arg -mGLOB_product_id_code=0x22006d92 compilers: Checking arg -mCG_bnl_movbe=T compilers: Unknown arg -mCG_bnl_movbe=T compilers: Checking arg -mGLOB_extended_instructions=0x8 compilers: Unknown arg -mGLOB_extended_instructions=0x8 compilers: Checking arg -mP3OPT_use_mspp_call_convention compilers: Unknown arg -mP3OPT_use_mspp_call_convention compilers: Checking arg -mP2OPT_subs_out_of_bound=FALSE compilers: Unknown arg -mP2OPT_subs_out_of_bound=FALSE compilers: Checking arg -mGLOB_ansi_alias compilers: Unknown arg -mGLOB_ansi_alias compilers: Checking arg -mPGOPTI_value_profile_use=T compilers: Unknown arg -mPGOPTI_value_profile_use=T compilers: Checking arg -mP2OPT_il0_array_sections=TRUE compilers: Unknown arg -mP2OPT_il0_array_sections=TRUE compilers: Checking arg -mGLOB_offload_mode=0 compilers: Unknown arg -mGLOB_offload_mode=0 compilers: Checking arg -mP2OPT_offload_unique_var_string=4528247722 compilers: Unknown arg -mP2OPT_offload_unique_var_string=4528247722 compilers: Checking arg -mGLOB_opt_level=3 compilers: Unknown arg -mGLOB_opt_level=3 compilers: Checking arg -mP2OPT_hlo_level=3 compilers: Unknown arg -mP2OPT_hlo_level=3 compilers: Checking arg -mP2OPT_hlo compilers: Unknown arg -mP2OPT_hlo compilers: Checking arg -mP2OPT_hpo_rtt_control=0 compilers: Unknown arg -mP2OPT_hpo_rtt_control=0 compilers: Checking arg -mIPOPT_args_in_regs=0 compilers: Unknown arg -mIPOPT_args_in_regs=0 compilers: Checking arg -mP2OPT_disam_assume_nonstd_intent_in=FALSE compilers: Unknown arg -mP2OPT_disam_assume_nonstd_intent_in=FALSE compilers: Checking arg -mGLOB_imf_mapping_library=C:\PROGRA~2\Intel\COMPOS~1\bin\intel64\libiml_attr.dll compilers: Unknown arg -mGLOB_imf_mapping_library=C:\PROGRA~2\Intel\COMPOS~1\bin\intel64\libiml_attr.dll compilers: Checking arg -mIPOPT_link compilers: Unknown arg -mIPOPT_link compilers: Checking arg -mIPOPT_ipo_activate compilers: Unknown arg -mIPOPT_ipo_activate compilers: Checking arg -mIPOPT_mo_activate compilers: Unknown arg -mIPOPT_mo_activate compilers: Checking arg -mIPOPT_source_files_list=C:\cygwin64\tmp\4528slis4 compilers: Unknown arg -mIPOPT_source_files_list=C:\cygwin64\tmp\4528slis4 compilers: Checking arg -mIPOPT_mo_global_data compilers: Unknown arg -mIPOPT_mo_global_data compilers: Checking arg "-mIPOPT_cmdline_link="-out:C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe" compilers: Unknown arg -mIPOPT_cmdline_link="-out:C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe compilers: Checking arg "-subsystem:console" compilers: Unknown arg -subsystem:console compilers: Checking arg "-nologo" compilers: Unknown arg -nologo compilers: Checking arg "C:\cygwin64\tmp\conftest.obj"" compilers: Unknown arg C:\cygwin64\tmp\conftest.obj compilers: Checking arg -mIPOPT_il_in_obj compilers: Unknown arg -mIPOPT_il_in_obj compilers: Checking arg -mIPOPT_ipo_activate_warn=FALSE compilers: Unknown arg -mIPOPT_ipo_activate_warn=FALSE compilers: Checking arg -mIPOPT_obj_output_file_name=C:\cygwin64\tmp\ipo_4528.obj compilers: Unknown arg -mIPOPT_obj_output_file_name=C:\cygwin64\tmp\ipo_4528.obj compilers: Checking arg -mGLOB_routine_pointer_size_64 compilers: Unknown arg -mGLOB_routine_pointer_size_64 compilers: Checking arg -mGLOB_driver_tempfile_name=C:\cygwin64\tmp\4528tempfile2 compilers: Unknown arg -mGLOB_driver_tempfile_name=C:\cygwin64\tmp\4528tempfile2 compilers: Checking arg -mGLOB_os_target=GLOB_OS_TARGET_WINNT compilers: Unknown arg -mGLOB_os_target=GLOB_OS_TARGET_WINNT compilers: Checking arg -mP3OPT_asm_target=P3OPT_ASM_TARGET_MASM5 compilers: Unknown arg -mP3OPT_asm_target=P3OPT_ASM_TARGET_MASM5 compilers: Checking arg -mP3OPT_obj_target=P3OPT_OBJ_TARGET_NTCOFF compilers: Unknown arg -mP3OPT_obj_target=P3OPT_OBJ_TARGET_NTCOFF compilers: Checking arg -mGLOB_obj_output_file=C:\cygwin64\tmp\ipo_4528.obj compilers: Unknown arg -mGLOB_obj_output_file=C:\cygwin64\tmp\ipo_4528.obj compilers: Checking arg -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE compilers: Unknown arg -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_NONE compilers: Checking arg -mP1OPT_source_file_name=ipo_out.f compilers: Unknown arg -mP1OPT_source_file_name=ipo_out.f compilers: Checking arg -mP2OPT_symtab_type_copy=true compilers: Unknown arg -mP2OPT_symtab_type_copy=true compilers: Checking arg C:\cygwin64\tmp\conftest.obj compilers: Unknown arg C:\cygwin64\tmp\conftest.obj compilers: Checking arg -mIPOPT_object_files=T compilers: Unknown arg -mIPOPT_object_files=T compilers: Checking arg -mIPOPT_assembly_files=C:\cygwin64\tmp\4528alis3 compilers: Unknown arg -mIPOPT_assembly_files=C:\cygwin64\tmp\4528alis3 compilers: Checking arg link compilers: Unknown arg link compilers: Checking arg -out:C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe compilers: Unknown arg -out:C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.exe compilers: Checking arg -subsystem:console compilers: Unknown arg -subsystem:console compilers: Checking arg -nologo compilers: Unknown arg -nologo compilers: Checking arg C:\cygwin64\tmp\conftest.obj compilers: Unknown arg C:\cygwin64\tmp\conftest.obj compilers: Libraries needed to link Fortran code with the C linker: ['-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] compilers: Libraries needed to link Fortran main with the C linker: [] compilers: Check that Fortran libraries can be used from C Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: Popping language C compilers: Check that Fortran libraries can be used from C++ Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.setCompilers/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe Executing: /tmp/petsc-_gMCR8/config.setCompilers/conftest.exe sh: Popping language Cxx compilers: Fortran libraries can be used from C++ ================================================================================ TEST checkFortranLinkingCxx from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:1016) TESTING: checkFortranLinkingCxx from config.compilers(config/BuildSystem/config/compilers.py:1016) Check that Fortran can be linked against C++ Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.compilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.compilers/conftest.cc sh: 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 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.compilers/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.compilers/conftest.cc sh: 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 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/cxxobj.o /tmp/petsc-_gMCR8/config.compilers/confc.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/cxxobj.o /tmp/petsc-_gMCR8/config.compilers/confc.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Popping language FC compilers: Fortran can link C++ functions ================================================================================ TEST checkFortran90 from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:1051) TESTING: checkFortran90 from config.compilers(config/BuildSystem/config/compilers.py:1051) Determine whether the Fortran compiler handles F90 Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8) INTEGER (KIND=int) :: ierr ierr = 1 end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Defined "USING_F90" to "1" Fortran compiler supports F90 Popping language FC ================================================================================ TEST checkFortran2003 from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:1064) TESTING: checkFortran2003 from config.compilers(config/BuildSystem/config/compilers.py:1064) Determine whether the Fortran compiler handles F2003 Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main use,intrinsic :: iso_c_binding Type(C_Ptr),Dimension(:),Pointer :: CArray character(kind=c_char),pointer :: nullc => null() character(kind=c_char,len=5),dimension(:),pointer::list1 allocate(list1(5)) CArray = (/(c_loc(list1(i)),i=1,5),c_loc(nullc)/) end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Defined "USING_F2003" to "1" Fortran compiler supports F2003 Popping language FC ================================================================================ TEST checkFortran90Array from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:1084) TESTING: checkFortran90Array from config.compilers(config/BuildSystem/config/compilers.py:1084) Check for F90 array interfaces sh: uname -s Executing: uname -s sh: CYGWIN_NT-6.1 Cygwin detected: ignoring HAVE_F90_2PTR_ARG test ================================================================================ TEST checkFortranModuleInclude from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:1171) TESTING: checkFortranModuleInclude from config.compilers(config/BuildSystem/config/compilers.py:1171) Figures out what flag is used to specify the include path for Fortran modules Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main use configtest write(*,*) testint end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -I/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/configtest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.compilers/conftest.exe -I/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.o /tmp/petsc-_gMCR8/config.compilers/configtest.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' compilers: Fortran module include flag -I found Popping language FC ================================================================================ TEST checkFortranModuleOutput from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:1237) TESTING: checkFortranModuleOutput from config.compilers(config/BuildSystem/config/compilers.py:1237) Figures out what flag is used to specify the include path for Fortran modules Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -module /tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -module /tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line warning #10155: ignoring option '/module'; argument required ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10161: unrecognized source type 'C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\confdir'; object file assumed ifort: warning #10145: no action performed for file 'C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\confdir' ifort: command line warning #10155: ignoring option '/module'; argument required ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module failed sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -module:/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -module:/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.F(1): error #7001: Error in creating the compiled module file. [CONFIGTEST] module configtest -------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.F (code 1) Possible ERROR while running compiler: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.F(1): error #7001: Error in creating the compiled module file. [CONFIGTEST] module configtest -------------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.COM\conftest.F (code 1) ret = 256 Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module: compile failed sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -fmod=/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -fmod=/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line warning #10006: ignoring unknown option '/fmod=/tmp/petsc-_gMCR8/config.compilers/confdir' ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -fmod= failed sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -J/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -J/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line warning #10006: ignoring unknown option '/J/tmp/petsc-_gMCR8/config.compilers/confdir' ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -J failed sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -M/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -M/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line warning #10006: ignoring unknown option '/M/tmp/petsc-_gMCR8/config.compilers/confdir' ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -M failed sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -p/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -p/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line warning #10006: ignoring unknown option '/p/tmp/petsc-_gMCR8/config.compilers/confdir' ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -p failed sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -qmoddir=/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -qmoddir=/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line warning #10006: ignoring unknown option '/qmoddir=/tmp/petsc-_gMCR8/config.compilers/confdir' ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -qmoddir= failed sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -moddir=/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.compilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -moddir=/tmp/petsc-_gMCR8/config.compilers/confdir -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.compilers/conftest.F sh: ifort: command line warning #10006: ignoring unknown option '/moddir=/tmp/petsc-_gMCR8/config.compilers/confdir' ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -moddir= failed Popping language FC ================================================================================ TEST setupFrameworkCompilers from config.compilers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/compilers.py:1364) TESTING: setupFrameworkCompilers from config.compilers(config/BuildSystem/config/compilers.py:1364) ================================================================================ TEST configureFortranCPP from PETSc.utilities.fortranCPP(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/fortranCPP.py:27) TESTING: configureFortranCPP from PETSc.utilities.fortranCPP(config/PETSc/utilities/fortranCPP.py:27) Handle case where Fortran cannot preprocess properly Defined make rule ".f.o .f90.o .f95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} -o $@ $<'] Defined make rule ".f.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o'] Defined make rule ".F.o .F90.o .F95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} ${FCPPFLAGS} -o $@ $<'] Defined make rule ".F.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} ${FCPPFLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o'] ================================================================================ TEST checkStdC from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:105) TESTING: checkStdC from config.headers(config/BuildSystem/config/headers.py:105) sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 61 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\string.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 61 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\stdlib.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main() { int i; for(i = 0; i < 256; i++) if (XOR(islower(i), ISLOWER(i)) || toupper(i) != TOUPPER(i)) exit(2); exit(0); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.headers/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.headers/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.headers/conftest.exe sh: /tmp/petsc-_gMCR8/config.headers/conftest.exe Executing: /tmp/petsc-_gMCR8/config.headers/conftest.exe sh: Defined "STDC_HEADERS" to "1" ================================================================================ TEST checkStat from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:138) TESTING: checkStat from config.headers(config/BuildSystem/config/headers.py:138) Checks whether stat file-mode macros are broken, and defines STAT_MACROS_BROKEN if they are sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 65 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #pragma once #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 29 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 31 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 32 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef long __time32_t; #line 43 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef __int64 __time64_t; #line 48 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef __time64_t time_t; #line 55 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 57 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef unsigned short _ino_t; typedef unsigned short ino_t; #line 67 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 70 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef unsigned int _dev_t; typedef unsigned int dev_t; #line 80 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 83 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef long _off_t; typedef long off_t; #line 93 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 96 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 98 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 5 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/stat.h" #pragma once #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/stat.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" ================================================================================ TEST checkSysWait from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:173) TESTING: checkSysWait from config.headers(config/BuildSystem/config/headers.py:173) Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(5) : fatal error C1083: Cannot open include file: 'sys/wait.h': No such file or directory Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(5) : fatal error C1083: Cannot open include file: 'sys/wait.h': No such file or directory ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include #include #ifndef WEXITSTATUS #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main() { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } ================================================================================ TEST checkTime from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:195) TESTING: checkTime from config.headers(config/BuildSystem/config/headers.py:195) Checks if you can safely include both and , and if so defines TIME_WITH_SYS_TIME Checking for header: time.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 65 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\time.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_TIME_H" to "1" Checking for header: sys/time.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 69 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(4) : fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(4) : fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { struct tm *tp = 0; if (tp); ; return 0; } ================================================================================ TEST checkMath from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:203) TESTING: checkMath from config.headers(config/BuildSystem/config/headers.py:203) Checks for the math headers and defines Checking for header: math.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 69 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\math.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_MATH_H" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(6) : error C2065: 'M_PI' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(6) : error C2065: 'M_PI' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { double pi = M_PI; if (pi); ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _USE_MATH_DEFINES 1 #include int main() { double pi = M_PI; if (pi); ; return 0; } Defined "_USE_MATH_DEFINES" to "1" Activated Windows math #defines, like M_PI ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/socket.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 77 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/types.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 77 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #pragma once #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 29 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 31 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 32 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef long __time32_t; #line 43 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef __int64 __time64_t; #line 48 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef __time64_t time_t; #line 55 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 57 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef unsigned short _ino_t; typedef unsigned short ino_t; #line 67 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 70 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef unsigned int _dev_t; typedef unsigned int dev_t; #line 80 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 83 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef long _off_t; typedef long off_t; #line 93 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 96 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 98 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 4 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" Defined "HAVE_SYS_TYPES_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 81 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\malloc.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_MALLOC_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 85 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\time.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_TIME_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Direct.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 85 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\Direct.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_DIRECT_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 89 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\Ws2tcpip.h" #pragma once #line 25 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\Ws2tcpip.h" #line 1 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\winsock2.h" #pragma once #line 49 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\winsock2.h" #line 57 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\winsock2.h" #line 61 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\winsock2.h" #line 1 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 1 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #pragma warning(push) #line 22 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #pragma warning(disable:4001) #line 24 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #pragma once #line 181 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 194 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 195 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 199 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 207 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 208 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 216 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 217 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 224 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 226 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 228 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 230 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 232 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 235 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 236 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 245 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 249 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 253 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 257 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 261 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 265 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 267 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #pragma warning(pop) #line 274 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 275 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 277 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\sdkddkver.h" #line 22 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #pragma once #line 29 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 79 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 100 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 104 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 108 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 112 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 116 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 122 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 127 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 128 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #pragma warning(disable:4116) #line 135 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 136 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 137 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #pragma warning(disable:4514) #pragma warning(disable:4103) #line 144 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #pragma warning(push) #line 147 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #pragma warning(disable:4001) #pragma warning(disable:4201) #pragma warning(disable:4214) #line 151 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\windows.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\excpt.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; Defined "HAVE_WS2TCPIP_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: endian.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 93 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'endian.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 93 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'ieeefp.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 93 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'strings.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sched.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 93 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sched.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: cxxabi.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 93 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'cxxabi.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/systeminfo.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 93 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sys/systeminfo.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 93 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\dos.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_DOS_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 97 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\WindowsX.h" #pragma once #line 17 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\WindowsX.h" #line 35 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\WindowsX.h" #line 36 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\WindowsX.h" #line 37 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\WindowsX.h" #line 57 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\WindowsX.h" #line 79 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\WindowsX.h" #line 88 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\WindowsX.h" #line 103 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\WindowsX.h" #line 145 "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include\\WindowsX.h" Defined "HAVE_WINDOWSX_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/sysinfo.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 101 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sys/sysinfo.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/wait.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 101 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sys/wait.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdlib.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 101 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\stdlib.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_STDLIB_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pthread.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 105 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 105 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\setjmp.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_SETJMP_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/utsname.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 109 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sys/utsname.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: machine/endian.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 109 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'machine/endian.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: limits.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 109 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\limits.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_LIMITS_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 113 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\fcntl.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_FCNTL_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: string.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 117 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\string.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_STRING_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: memory.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 121 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\memory.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_MEMORY_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/times.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 125 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sys/times.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 125 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\io.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_IO_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 129 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\stdint.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\yvals.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_STDINT_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 133 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'pwd.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 133 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\float.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_FLOAT_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/param.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 137 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sys/param.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 137 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'netdb.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: search.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 137 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\search.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute { long Value; }; [source_annotation_attribute( SA_Method )] struct SuccessAttribute { const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct PreBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostBoundAttribute { unsigned int Deref; }; [source_annotation_attribute( SA_Parameter )] struct PreRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostRangeAttribute { unsigned int Deref; const char* MinVal; const char* MaxVal; }; #line 218 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef struct PreAttribute SA_Pre; typedef struct PreAttribute PreAttribute; typedef struct PostAttribute SA_Post; typedef struct PostAttribute PostAttribute; typedef struct FormatStringAttribute SA_FormatString; typedef struct InvalidCheckAttribute SA_InvalidCheck; typedef struct SuccessAttribute SA_Success; typedef struct PreBoundAttribute SA_PreBound; typedef struct PostBoundAttribute SA_PostBound; typedef struct PreRangeAttribute SA_PreRange; typedef struct PostRangeAttribute SA_PostRange; #line 282 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 284 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 305 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 308 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 161 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 162 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" Defined "HAVE_SEARCH_H" to "1" ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: mathimf.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 141 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'mathimf.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/procfs.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 141 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sys/procfs.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/resource.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 141 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sys/resource.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 141 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netinet/in.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 141 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'netinet/in.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST checkRecursiveMacros from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:218) TESTING: checkRecursiveMacros from config.headers(config/BuildSystem/config/headers.py:218) Checks that the preprocessor allows recursive macros, and if not defines HAVE_BROKEN_RECURSIVE_MACRO sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.headers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void a(int i, int j) {} #define a(b) a(b,__LINE__) int main() { a(0); ; return 0; } ================================================================================ TEST configureCacheDetails from PETSc.utilities.cacheDetails(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/cacheDetails.py:78) TESTING: configureCacheDetails from PETSc.utilities.cacheDetails(config/PETSc/utilities/cacheDetails.py:78) Try to determine the size and associativity of the cache. Pushing language C All intermediate test results are stored in /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.c(3) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.c(3) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include long getconf_LEVEL1_DCACHE_SIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_SIZE); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.c(4) : warning C4047: 'initializing' : 'FILE *' differs in levels of indirection from 'int' Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include long getconf_LEVEL1_DCACHE_SIZE() { long val=-1; FILE *f = popen("getconf LEVEL1_DCACHE_SIZE","r"); fscanf(f,"%ld",&val); pclose(f); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { ; return 0; } Popping language C Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.c(5) : warning C4047: 'initializing' : 'FILE *' differs in levels of indirection from 'int' Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_SIZE() { long val=-1; FILE *f = popen("getconf LEVEL1_DCACHE_SIZE","r"); fscanf(f,"%ld",&val); pclose(f); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_SIZE()); fclose(output);; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol pclose referenced in function getconf_LEVEL1_DCACHE_SIZE conftest.obj : error LNK2019: unresolved external symbol popen referenced in function getconf_LEVEL1_DCACHE_SIZE C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.exe : fatal error LNK1120: 2 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol pclose referenced in function getconf_LEVEL1_DCACHE_SIZE conftest.obj : error LNK2019: unresolved external symbol popen referenced in function getconf_LEVEL1_DCACHE_SIZE C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.exe : fatal error LNK1120: 2 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_SIZE() { long val=-1; FILE *f = popen("getconf LEVEL1_DCACHE_SIZE","r"); fscanf(f,"%ld",&val); pclose(f); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_SIZE()); fclose(output);; return 0; } Could not determine LEVEL1_DCACHE_SIZE, using default 32768 Popping language C Defined "LEVEL1_DCACHE_SIZE" to "32768" Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.c(5) : warning C4047: 'initializing' : 'FILE *' differs in levels of indirection from 'int' Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val=-1; FILE *f = popen("getconf LEVEL1_DCACHE_LINESIZE","r"); fscanf(f,"%ld",&val); pclose(f); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_LINESIZE()); fclose(output);; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol pclose referenced in function getconf_LEVEL1_DCACHE_LINESIZE conftest.obj : error LNK2019: unresolved external symbol popen referenced in function getconf_LEVEL1_DCACHE_LINESIZE C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.exe : fatal error LNK1120: 2 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol pclose referenced in function getconf_LEVEL1_DCACHE_LINESIZE conftest.obj : error LNK2019: unresolved external symbol popen referenced in function getconf_LEVEL1_DCACHE_LINESIZE C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.exe : fatal error LNK1120: 2 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val=-1; FILE *f = popen("getconf LEVEL1_DCACHE_LINESIZE","r"); fscanf(f,"%ld",&val); pclose(f); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_LINESIZE()); fclose(output);; return 0; } Could not determine LEVEL1_DCACHE_LINESIZE, using default 32 Popping language C Defined "LEVEL1_DCACHE_LINESIZE" to "32" Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.c(5) : warning C4047: 'initializing' : 'FILE *' differs in levels of indirection from 'int' Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_ASSOC() { long val=-1; FILE *f = popen("getconf LEVEL1_DCACHE_ASSOC","r"); fscanf(f,"%ld",&val); pclose(f); return (0 <= val && val <= 2147483647) ? val : 2; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_ASSOC()); fclose(output);; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol pclose referenced in function getconf_LEVEL1_DCACHE_ASSOC conftest.obj : error LNK2019: unresolved external symbol popen referenced in function getconf_LEVEL1_DCACHE_ASSOC C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.exe : fatal error LNK1120: 2 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol pclose referenced in function getconf_LEVEL1_DCACHE_ASSOC conftest.obj : error LNK2019: unresolved external symbol popen referenced in function getconf_LEVEL1_DCACHE_ASSOC C:\cygwin64\tmp\PETSC-~3\PETSCU~1.CAC\conftest.exe : fatal error LNK1120: 2 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails/conftest.o Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_ASSOC() { long val=-1; FILE *f = popen("getconf LEVEL1_DCACHE_ASSOC","r"); fscanf(f,"%ld",&val); pclose(f); return (0 <= val && val <= 2147483647) ? val : 2; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_ASSOC()); fclose(output);; return 0; } Could not determine LEVEL1_DCACHE_ASSOC, using default 2 Popping language C Defined "LEVEL1_DCACHE_ASSOC" to "2" ================================================================================ TEST checkMemcmp from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:78) TESTING: checkMemcmp from config.functions(config/BuildSystem/config/functions.py:78) Check for 8-bit clean memcmp All intermediate test results are stored in /tmp/petsc-_gMCR8/config.functions sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void exit(int); int main() { char c0 = 0x40; char c1 = (char) 0x80; char c2 = (char) 0x81; exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.functions/conftest.exe sh: /tmp/petsc-_gMCR8/config.functions/conftest.exe Executing: /tmp/petsc-_gMCR8/config.functions/conftest.exe sh: ================================================================================ TEST checkSysinfo from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:102) TESTING: checkSysinfo from config.functions(config/BuildSystem/config/functions.py:102) Check whether sysinfo takes three arguments, and if it does define HAVE_SYSINFO_3ARG Checking for function sysinfo sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sysinfo(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysinfo(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sysinfo) || defined (__stub___sysinfo) choke me #else sysinfo(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol sysinfo referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol sysinfo referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sysinfo(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysinfo(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sysinfo) || defined (__stub___sysinfo) choke me #else sysinfo(); #endif ; return 0; } ================================================================================ TEST checkVPrintf from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:125) TESTING: checkVPrintf from config.functions(config/BuildSystem/config/functions.py:125) Checks whether vprintf requires a char * last argument, and if it does defines HAVE_VPRINTF_CHAR Checking for function vprintf sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char vprintf(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vprintf(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_vprintf) || defined (__stub___vprintf) choke me #else vprintf(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE_VPRINTF" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c c:\cygwin64\tmp\petsc-_gmcr8\config.functions\conftest.c(8) : warning C4700: uninitialized local variable 'Argp' used Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vprintf( "%d", Argp ); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: ================================================================================ TEST checkVFPrintf from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:132) TESTING: checkVFPrintf from config.functions(config/BuildSystem/config/functions.py:132) Checks whether vfprintf requires a char * last argument, and if it does defines HAVE_VFPRINTF_CHAR Checking for function vfprintf sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char vfprintf(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vfprintf(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_vfprintf) || defined (__stub___vfprintf) choke me #else vfprintf(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE_VFPRINTF" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c c:\cygwin64\tmp\petsc-_gmcr8\config.functions\conftest.c(8) : warning C4700: uninitialized local variable 'Argp' used Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vfprintf(stdout, "%d", Argp ); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: ================================================================================ TEST checkVSNPrintf from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:139) TESTING: checkVSNPrintf from config.functions(config/BuildSystem/config/functions.py:139) Checks whether vsnprintf requires a char * last argument, and if it does defines HAVE_VSNPRINTF_CHAR Checking for function _vsnprintf sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _vsnprintf(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _vsnprintf(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__vsnprintf) || defined (__stub____vsnprintf) choke me #else _vsnprintf(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE__VSNPRINTF" to "1" Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.functions -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.functions/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.functions -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.functions/conftest.cc sh: conftest.cc c:\cygwin64\tmp\petsc-_gmcr8\config.functions\conftest.cc(8) : warning C4700: uninitialized local variable 'Argp' used Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp;char str[6]; _vsnprintf(str,5, "%d", Argp ); ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Popping language Cxx ================================================================================ TEST checkNanosleep from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:183) TESTING: checkNanosleep from config.functions(config/BuildSystem/config/functions.py:183) Check for functional nanosleep() - as time.h behaves differently for different compiler flags - like -std=c89 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(6) : error C2079: 'tp' uses undefined struct 'timespec' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(7) : error C2224: left of '.tv_sec' must have struct/union type C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(8) : error C2224: left of '.tv_nsec' must have struct/union type Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(6) : error C2079: 'tp' uses undefined struct 'timespec' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(7) : error C2224: left of '.tv_sec' must have struct/union type C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(8) : error C2224: left of '.tv_nsec' must have struct/union type ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { struct timespec tp; tp.tv_sec = 0; tp.tv_nsec = (long)(1e9); nanosleep(&tp,0); ; return 0; } Compile failed inside link ================================================================================ TEST checkSignalHandlerType from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:159) TESTING: checkSignalHandlerType from config.functions(config/BuildSystem/config/functions.py:159) Checks the type of C++ signals handlers, and defines SIGNAL_CAST to the correct value Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.functions -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.functions/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.functions -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.functions/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include static void myhandler(int sig) {} int main() { signal(SIGFPE,myhandler); ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "SIGNAL_CAST" to " " Popping language Cxx ================================================================================ TEST checkFreeReturnType from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:169) TESTING: checkFreeReturnType from config.functions(config/BuildSystem/config/functions.py:169) Checks whether free returns void or int, and defines HAVE_FREE_RETURN_INT sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(6) : error C2120: 'void' illegal with all types Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(6) : error C2120: 'void' illegal with all types ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ierr; void *p; ierr = free(p); return 0; ; return 0; } Compile failed inside link ================================================================================ TEST checkVariableArgumentLists from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:175) TESTING: checkVariableArgumentLists from config.functions(config/BuildSystem/config/functions.py:175) Checks whether the variable argument list functionality is working sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c c:\cygwin64\tmp\petsc-_gmcr8\config.functions\conftest.c(7) : warning C4700: uninitialized local variable 'l2' used c:\cygwin64\tmp\petsc-_gmcr8\config.functions\conftest.c(7) : warning C4700: uninitialized local variable 'l1' used Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; va_copy(l1, l2); return 0; ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol va_copy referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol va_copy referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; va_copy(l1, l2); return 0; ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c c:\cygwin64\tmp\petsc-_gmcr8\config.functions\conftest.c(7) : warning C4700: uninitialized local variable 'l2' used c:\cygwin64\tmp\petsc-_gmcr8\config.functions\conftest.c(7) : warning C4700: uninitialized local variable 'l1' used Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; __va_copy(l1, l2); return 0; ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol __va_copy referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol __va_copy referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; __va_copy(l1, l2); return 0; ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function rand sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char rand(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_rand) || defined (__stub___rand) choke me #else rand(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE_RAND" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function getdomainname sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getdomainname(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getdomainname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getdomainname) || defined (__stub___getdomainname) choke me #else getdomainname(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol getdomainname referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol getdomainname referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getdomainname(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getdomainname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getdomainname) || defined (__stub___getdomainname) choke me #else getdomainname(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function _sleep sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _sleep(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _sleep(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__sleep) || defined (__stub____sleep) choke me #else _sleep(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE__SLEEP" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function snprintf sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char snprintf(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snprintf(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_snprintf) || defined (__stub___snprintf) choke me #else snprintf(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol snprintf referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol snprintf referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char snprintf(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snprintf(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_snprintf) || defined (__stub___snprintf) choke me #else snprintf(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function realpath sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char realpath(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char realpath(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_realpath) || defined (__stub___realpath) choke me #else realpath(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol realpath referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol realpath referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char realpath(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char realpath(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_realpath) || defined (__stub___realpath) choke me #else realpath(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function dlsym sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlsym(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlsym(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlsym) || defined (__stub___dlsym) choke me #else dlsym(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol dlsym referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol dlsym referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlsym(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlsym(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlsym) || defined (__stub___dlsym) choke me #else dlsym(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function bzero sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bzero(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bzero(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_bzero) || defined (__stub___bzero) choke me #else bzero(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol bzero referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol bzero referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bzero(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bzero(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_bzero) || defined (__stub___bzero) choke me #else bzero(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function _getcwd sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _getcwd(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _getcwd(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__getcwd) || defined (__stub____getcwd) choke me #else _getcwd(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE__GETCWD" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function getwd sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getwd(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getwd(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getwd) || defined (__stub___getwd) choke me #else getwd(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol getwd referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol getwd referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getwd(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getwd(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getwd) || defined (__stub___getwd) choke me #else getwd(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function uname sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char uname(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char uname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_uname) || defined (__stub___uname) choke me #else uname(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol uname referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol uname referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char uname(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char uname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_uname) || defined (__stub___uname) choke me #else uname(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function _lseek sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _lseek(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _lseek(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__lseek) || defined (__stub____lseek) choke me #else _lseek(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE__LSEEK" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function sleep sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sleep(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sleep(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sleep) || defined (__stub___sleep) choke me #else sleep(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol sleep referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol sleep referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sleep(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sleep(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sleep) || defined (__stub___sleep) choke me #else sleep(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function _access sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _access(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _access(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__access) || defined (__stub____access) choke me #else _access(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE__ACCESS" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function lseek sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char lseek(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char lseek(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_lseek) || defined (__stub___lseek) choke me #else lseek(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE_LSEEK" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function usleep sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char usleep(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char usleep(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_usleep) || defined (__stub___usleep) choke me #else usleep(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol usleep referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol usleep referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char usleep(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char usleep(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_usleep) || defined (__stub___usleep) choke me #else usleep(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function _intel_fast_memset sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _intel_fast_memset(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _intel_fast_memset(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__intel_fast_memset) || defined (__stub____intel_fast_memset) choke me #else _intel_fast_memset(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol _intel_fast_memset referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol _intel_fast_memset referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _intel_fast_memset(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _intel_fast_memset(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__intel_fast_memset) || defined (__stub____intel_fast_memset) choke me #else _intel_fast_memset(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function dlclose sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlclose(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlclose(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlclose) || defined (__stub___dlclose) choke me #else dlclose(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol dlclose referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol dlclose referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlclose(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlclose(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlclose) || defined (__stub___dlclose) choke me #else dlclose(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function gethostname sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostname(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_gethostname) || defined (__stub___gethostname) choke me #else gethostname(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol gethostname referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol gethostname referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostname(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_gethostname) || defined (__stub___gethostname) choke me #else gethostname(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function clock sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char clock(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char clock(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_clock) || defined (__stub___clock) choke me #else clock(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE_CLOCK" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function get_nprocs sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char get_nprocs(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char get_nprocs(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_get_nprocs) || defined (__stub___get_nprocs) choke me #else get_nprocs(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol get_nprocs referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol get_nprocs referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char get_nprocs(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char get_nprocs(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_get_nprocs) || defined (__stub___get_nprocs) choke me #else get_nprocs(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function access sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char access(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char access(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_access) || defined (__stub___access) choke me #else access(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE_ACCESS" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function _snprintf sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _snprintf(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _snprintf(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__snprintf) || defined (__stub____snprintf) choke me #else _snprintf(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE__SNPRINTF" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function dlerror sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlerror(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlerror(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlerror) || defined (__stub___dlerror) choke me #else dlerror(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol dlerror referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol dlerror referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlerror(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlerror(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlerror) || defined (__stub___dlerror) choke me #else dlerror(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function mkstemp sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char mkstemp(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mkstemp(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_mkstemp) || defined (__stub___mkstemp) choke me #else mkstemp(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol mkstemp referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol mkstemp referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char mkstemp(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mkstemp(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_mkstemp) || defined (__stub___mkstemp) choke me #else mkstemp(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function fork sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char fork(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fork(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_fork) || defined (__stub___fork) choke me #else fork(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol fork referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol fork referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char fork(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fork(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_fork) || defined (__stub___fork) choke me #else fork(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function getpagesize sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getpagesize(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getpagesize(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getpagesize) || defined (__stub___getpagesize) choke me #else getpagesize(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol getpagesize referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol getpagesize referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getpagesize(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getpagesize(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getpagesize) || defined (__stub___getpagesize) choke me #else getpagesize(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function sbreak sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sbreak(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sbreak(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sbreak) || defined (__stub___sbreak) choke me #else sbreak(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol sbreak referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol sbreak referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sbreak(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sbreak(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sbreak) || defined (__stub___sbreak) choke me #else sbreak(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function memalign sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char memalign(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char memalign(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_memalign) || defined (__stub___memalign) choke me #else memalign(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol memalign referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol memalign referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char memalign(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char memalign(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_memalign) || defined (__stub___memalign) choke me #else memalign(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function sigset sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sigset(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sigset(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sigset) || defined (__stub___sigset) choke me #else sigset(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol sigset referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol sigset referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sigset(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sigset(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sigset) || defined (__stub___sigset) choke me #else sigset(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function getcwd sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getcwd(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getcwd(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getcwd) || defined (__stub___getcwd) choke me #else getcwd(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE_GETCWD" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function gethostbyname sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostbyname(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostbyname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else gethostbyname(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol gethostbyname referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol gethostbyname referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostbyname(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostbyname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else gethostbyname(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function gettimeofday sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gettimeofday(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gettimeofday(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) choke me #else gettimeofday(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol gettimeofday referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol gettimeofday referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gettimeofday(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gettimeofday(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) choke me #else gettimeofday(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function readlink sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char readlink(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char readlink(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_readlink) || defined (__stub___readlink) choke me #else readlink(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol readlink referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol readlink referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char readlink(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char readlink(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_readlink) || defined (__stub___readlink) choke me #else readlink(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function PXFGETARG sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char PXFGETARG(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) choke me #else PXFGETARG(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol PXFGETARG referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol PXFGETARG referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char PXFGETARG(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) choke me #else PXFGETARG(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function sigaction sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sigaction(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sigaction(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sigaction) || defined (__stub___sigaction) choke me #else sigaction(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol sigaction referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol sigaction referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sigaction(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sigaction(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sigaction) || defined (__stub___sigaction) choke me #else sigaction(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function strcasecmp sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char strcasecmp(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char strcasecmp(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) choke me #else strcasecmp(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol strcasecmp referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol strcasecmp referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char strcasecmp(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char strcasecmp(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) choke me #else strcasecmp(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function dlopen sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else dlopen(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol dlopen referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol dlopen referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else dlopen(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function drand48 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char drand48(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char drand48(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_drand48) || defined (__stub___drand48) choke me #else drand48(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol drand48 referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol drand48 referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char drand48(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char drand48(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_drand48) || defined (__stub___drand48) choke me #else drand48(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function socket sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char socket(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_socket) || defined (__stub___socket) choke me #else socket(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol socket referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol socket referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char socket(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_socket) || defined (__stub___socket) choke me #else socket(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function memmove sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char memmove(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char memmove(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_memmove) || defined (__stub___memmove) choke me #else memmove(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE_MEMMOVE" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function signal sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char signal(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char signal(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_signal) || defined (__stub___signal) choke me #else signal(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE_SIGNAL" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function popen sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char popen(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char popen(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_popen) || defined (__stub___popen) choke me #else popen(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol popen referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol popen referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char popen(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char popen(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_popen) || defined (__stub___popen) choke me #else popen(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function getrusage sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getrusage(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getrusage(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getrusage) || defined (__stub___getrusage) choke me #else getrusage(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol getrusage referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol getrusage referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getrusage(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getrusage(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getrusage) || defined (__stub___getrusage) choke me #else getrusage(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function times sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char times(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char times(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_times) || defined (__stub___times) choke me #else times(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol times referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol times referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char times(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char times(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_times) || defined (__stub___times) choke me #else times(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function _intel_fast_memcpy sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _intel_fast_memcpy(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _intel_fast_memcpy(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__intel_fast_memcpy) || defined (__stub____intel_fast_memcpy) choke me #else _intel_fast_memcpy(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol _intel_fast_memcpy referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol _intel_fast_memcpy referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _intel_fast_memcpy(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _intel_fast_memcpy(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__intel_fast_memcpy) || defined (__stub____intel_fast_memcpy) choke me #else _intel_fast_memcpy(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function time sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char time(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char time(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_time) || defined (__stub___time) choke me #else time(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE_TIME" to "1" ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function sysctlbyname sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sysctlbyname(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysctlbyname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sysctlbyname) || defined (__stub___sysctlbyname) choke me #else sysctlbyname(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol sysctlbyname referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol sysctlbyname referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char sysctlbyname(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysctlbyname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_sysctlbyname) || defined (__stub___sysctlbyname) choke me #else sysctlbyname(); #endif ; return 0; } ================================================================================ TEST check from config.functions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/functions.py:29) TESTING: check from config.functions(config/BuildSystem/config/functions.py:29) Checks for the function "funcName", and if found defines HAVE_"funcName" Checking for function stricmp sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char stricmp(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char stricmp(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_stricmp) || defined (__stub___stricmp) choke me #else stricmp(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o sh: Defined "HAVE_STRICMP" to "1" ================================================================================ TEST configureMemorySize from PETSc.utilities.getResidentSetSize(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/getResidentSetSize.py:31) TESTING: configureMemorySize from PETSc.utilities.getResidentSetSize(config/PETSc/utilities/getResidentSetSize.py:31) Try to determine how to measure the memory usage Defined "USE_PROC_FOR_SIZE" to "1" Using /proc for PetscMemoryGetCurrentUsage() ================================================================================ TEST configureFPTrap from PETSc.utilities.FPTrap(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/FPTrap.py:27) TESTING: configureFPTrap from PETSc.utilities.FPTrap(config/PETSc/utilities/FPTrap.py:27) Checking the handling of floating point traps Checking for header: sigfpe.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 143 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 147 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 151 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 155 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 159 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 163 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 167 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 171 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 175 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 179 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 183 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 187 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 191 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 195 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 199 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 203 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 207 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 211 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 215 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 219 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 223 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 227 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 229 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'sigfpe.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include Checking for header: fpxcp.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 143 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 147 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 151 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 155 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 159 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 163 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 167 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 171 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 175 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 179 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 183 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 187 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 191 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 195 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 199 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 203 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 207 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 211 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 215 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 219 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 223 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 227 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 229 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'fpxcp.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include Checking for header: floatingpoint.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 143 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 147 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 151 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 155 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 159 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 163 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 167 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 171 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 175 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 179 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 183 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 187 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 191 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 195 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 199 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 203 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 207 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 211 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 215 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 219 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 223 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 227 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 229 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 8 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 9 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 10 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'floatingpoint.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check_siginfo_t from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:46) TESTING: check_siginfo_t from config.types(config/BuildSystem/config/types.py:46) Checks if siginfo_t exists in signal.h. This check is for windows, and C89 check. Checking for type: siginfo_t All intermediate test results are stored in /tmp/petsc-_gMCR8/config.types sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'siginfo_t' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2146: syntax error : missing ';' before identifier 'a' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'a' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'siginfo_t' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2146: syntax error : missing ';' before identifier 'a' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'a' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { siginfo_t a;; return 0; } siginfo_t found ================================================================================ TEST check__int64 from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:52) TESTING: check__int64 from config.types(config/BuildSystem/config/types.py:52) Checks if __int64 exists. This is primarily for windows. Checking for type: __int64 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { __int64 a;; return 0; } __int64 found Defined "HAVE___INT64" to "1" ================================================================================ TEST checkSizeTypes from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:58) TESTING: checkSizeTypes from config.types(config/BuildSystem/config/types.py:58) Checks for types associated with sizes, such as size_t. Checking for type: size_t sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { size_t a;; return 0; } size_t found ================================================================================ TEST checkFileTypes from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:68) TESTING: checkFileTypes from config.types(config/BuildSystem/config/types.py:68) Checks for types associated with files, such as mode_t, off_t, etc. Checking for type: mode_t sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'mode_t' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2146: syntax error : missing ';' before identifier 'a' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'a' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'mode_t' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2146: syntax error : missing ';' before identifier 'a' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'a' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { mode_t a;; return 0; } Typedefed "int" to "mode_t" Checking for type: off_t sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { off_t a;; return 0; } off_t found ================================================================================ TEST checkIntegerTypes from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:63) TESTING: checkIntegerTypes from config.types(config/BuildSystem/config/types.py:63) Checks for types associated with integers, such as int32_t. Checking for type: int32_t sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'int32_t' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2146: syntax error : missing ';' before identifier 'a' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'a' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'int32_t' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2146: syntax error : missing ';' before identifier 'a' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'a' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { int32_t a;; return 0; } Typedefed "int" to "int32_t" ================================================================================ TEST checkPID from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:74) TESTING: checkPID from config.types(config/BuildSystem/config/types.py:74) Checks for pid_t, and defines it if necessary Checking for type: pid_t sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'pid_t' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2146: syntax error : missing ';' before identifier 'a' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'a' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'pid_t' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2146: syntax error : missing ';' before identifier 'a' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'a' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { pid_t a;; return 0; } Typedefed "int" to "pid_t" ================================================================================ TEST checkUID from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:78) TESTING: checkUID from config.types(config/BuildSystem/config/types.py:78) Checks for uid_t and gid_t, and defines them if necessary sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/config.types /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/config.types /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.TYP\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 143 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 147 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 151 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 155 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 159 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 163 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 167 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 171 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 175 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 179 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 183 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 187 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 191 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 195 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 199 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 203 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 207 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 211 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 215 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 219 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 223 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 227 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 231 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 233 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.TYP\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\conffix.h" typedef int int32_t; typedef int mode_t; typedef int pid_t; #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\conffix.h" #line 12 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\conffix.h" #line 13 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.types\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.TYP\\conftest.c" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #pragma once #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 29 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 31 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 32 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef long __time32_t; #line 43 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef __int64 __time64_t; #line 48 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef __time64_t time_t; #line 55 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 57 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef unsigned short _ino_t; typedef unsigned short ino_t; #line 67 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 70 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef unsigned int _dev_t; typedef unsigned int dev_t; #line 80 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 83 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" typedef long _off_t; typedef long off_t; #line 93 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 96 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 98 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sys/types.h" #line 4 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.TYP\\conftest.c" Defined "uid_t" to "int" Defined "gid_t" to "int" ================================================================================ TEST checkSignal from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:85) TESTING: checkSignal from config.types(config/BuildSystem/config/types.py:85) Checks the return type of signal() and defines RETSIGTYPE to that type name sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifdef signal #undef signal #endif #ifdef __cplusplus extern "C" void (*signal (int, void(*)(int)))(int); #else void (*signal())(); #endif int main() { ; return 0; } Defined "RETSIGTYPE" to "void" ================================================================================ TEST checkC99Complex from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:106) TESTING: checkC99Complex from config.types(config/BuildSystem/config/types.py:106) Check for complex numbers in in C99 std sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(3) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(3) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { double complex x; x = I; ; return 0; } Compile failed inside link ================================================================================ TEST checkCxxComplex from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:115) TESTING: checkCxxComplex from config.types(config/BuildSystem/config/types.py:115) Check for complex numbers in namespace std Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.functions -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.types/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.functions -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/config.types/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::complex x; ; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Defined "HAVE_CXX_COMPLEX" to "1" Popping language Cxx ================================================================================ TEST checkFortranKind from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:136) TESTING: checkFortranKind from config.types(config/BuildSystem/config/types.py:136) Checks whether selected_int_kind etc work USE_FORTRANKIND Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.types/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.types/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main integer(kind=selected_int_kind(10)) i real(kind=selected_real_kind(10)) d end Defined "USE_FORTRANKIND" to "1" Popping language FC ================================================================================ TEST checkFortranDReal from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:148) TESTING: checkFortranDReal from config.types(config/BuildSystem/config/types.py:148) Checks whether dreal is provided in Fortran, and if not defines MISSING_DREAL Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.types/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.types/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.F(3): warning #7319: This argument's data type is incompatible with this intrinsic procedure; procedure assumed EXTERNAL. [DREAL] d = dreal(3.0) ----------------^ Successful compile: Source: program main double precision d d = dreal(3.0) end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.types/conftest.o sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' conftest.obj : error LNK2019: unresolved external symbol DREAL referenced in function MAIN__ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' conftest.obj : error LNK2019: unresolved external symbol DREAL referenced in function MAIN__ C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 24576 Pushing language FC Popping language FC in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.types/conftest.o Source: program main double precision d d = dreal(3.0) end Defined "MISSING_DREAL" to "1" Popping language FC ================================================================================ TEST checkConst from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:156) TESTING: checkConst from config.types(config/BuildSystem/config/types.py:156) Checks for working const, and if not found defines it to empty string sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c c:\cygwin64\tmp\petsc-_gmcr8\config.types\conftest.c(25) : warning C4700: uninitialized local variable 'x' used c:\cygwin64\tmp\petsc-_gmcr8\config.types\conftest.c(30) : warning C4700: uninitialized local variable 't' used c:\cygwin64\tmp\petsc-_gmcr8\config.types\conftest.c(46) : warning C4700: uninitialized local variable 'b' used Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; /* This section avoids unused variable warnings */ if (zero.x); if (x[0]); { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (*s); } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; /* Get rid of unused variable warning */ if (foo); } ; return 0; } ================================================================================ TEST checkEndian from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:212) TESTING: checkEndian from config.types(config/BuildSystem/config/types.py:212) If the machine is big endian, defines WORDS_BIGENDIAN sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(11) : error C2065: 'bogus' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(11) : error C2146: syntax error : missing ';' before identifier 'endian' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(11) : error C2065: 'endian' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(11) : error C2146: syntax error : missing ';' before identifier 'macros' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'macros' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(11) : error C2065: 'bogus' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(11) : error C2146: syntax error : missing ';' before identifier 'endian' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(11) : error C2065: 'endian' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(11) : error C2146: syntax error : missing ';' before identifier 'macros' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.TYP\conftest.c(13) : error C2065: 'macros' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include #ifdef HAVE_SYS_PARAM_H #include #endif int main() { #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN bogus endian macros #endif ; return 0; } Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { /* Are we little or big endian? From Harbison&Steele. */ union { long l; char c[sizeof(long)]; } u; u.l = 1; exit(u.c[sizeof(long) - 1] == 1); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:265) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:265) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: char Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(char)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C Defined "SIZEOF_CHAR" to "1" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:265) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:265) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: void * Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(void *)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C Defined "SIZEOF_VOID_P" to "8" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:265) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:265) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: short Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(short)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C Defined "SIZEOF_SHORT" to "2" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:265) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:265) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: int Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(int)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C Defined "SIZEOF_INT" to "4" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:265) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:265) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(long)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C Defined "SIZEOF_LONG" to "4" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:265) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:265) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long long Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(long long)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C Defined "SIZEOF_LONG_LONG" to "8" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:265) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:265) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: float Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(float)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C Defined "SIZEOF_FLOAT" to "4" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:265) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:265) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: double Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(double)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C Defined "SIZEOF_DOUBLE" to "8" ================================================================================ TEST checkSizeof from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:265) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:265) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: size_t Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(size_t)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C Defined "SIZEOF_SIZE_T" to "8" ================================================================================ TEST checkBitsPerByte from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:316) TESTING: checkBitsPerByte from config.types(config/BuildSystem/config/types.py:316) Determine the nubmer of bits per byte and define BITS_PER_BYTE sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if STDC_HEADERS #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); char val[2]; int i = 0; if (!f) exit(1); val[0]='\1'; val[1]='\0'; while(val[0]) {val[0] <<= 1; i++;} fprintf(f, "%d\n", i); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Defined "BITS_PER_BYTE" to "8" ================================================================================ TEST checkVisibility from config.types(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/types.py:362) TESTING: checkVisibility from config.types(config/BuildSystem/config/types.py:362) ================================================================================ TEST configureMemAlign from PETSc.utilities.memAlign(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/memAlign.py:30) TESTING: configureMemAlign from PETSc.utilities.memAlign(config/PETSc/utilities/memAlign.py:30) Choose alignment Defined "MEMALIGN" to "16" Memory alignment is 16 ================================================================================ TEST configureCHUD from PETSc.utilities.CHUD(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/CHUD.py:25) TESTING: configureCHUD from PETSc.utilities.CHUD(config/PETSc/utilities/CHUD.py:25) Determines if the Apple CHUD hardware monitoring utilities are available sh: uname -s Executing: uname -s sh: CYGWIN_NT-6.1 ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function socket in library ['socket', 'nsl'] [] Pushing language C All intermediate test results are stored in /tmp/petsc-_gMCR8/config.libraries sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); int main() { socket() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lsocket -lnsl Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lsocket -lnsl sh: LINK : fatal error LNK1181: cannot open input file 'libsocket.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'libsocket.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lsocket -lnsl Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); int main() { socket() ; return 0; } Popping language C ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function handle_sigfpes in library ['fpe'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); int main() { handle_sigfpes() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lfpe Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lfpe sh: LINK : fatal error LNK1181: cannot open input file 'libfpe.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'libfpe.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lfpe Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); int main() { handle_sigfpes() ; return 0; } Popping language C ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function socket in library ['socket', 'nsl'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); int main() { socket() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lsocket -lnsl Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lsocket -lnsl sh: LINK : fatal error LNK1181: cannot open input file 'libsocket.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'libsocket.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lsocket -lnsl Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); int main() { socket() ; return 0; } Popping language C ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function handle_sigfpes in library ['fpe'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); int main() { handle_sigfpes() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lfpe Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lfpe sh: LINK : fatal error LNK1181: cannot open input file 'libfpe.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'libfpe.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lfpe Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); int main() { handle_sigfpes() ; return 0; } Popping language C ================================================================================ TEST checkMath from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:224) TESTING: checkMath from config.libraries(config/BuildSystem/config/libraries.py:224) Check for sin() in libm, the math library Checking for function sin in library [''] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double sin(double); int main() { double x = 0,y; y = sin(x); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o sh: Popping language C Checking for function floor in library [''] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double floor(double); int main() { double x = 0,y; y = floor(x); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o sh: Popping language C Checking for function log10 in library [''] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double log10(double); int main() { double x = 0,y; y = log10(x); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o sh: Popping language C Checking for function pow in library [''] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double pow(double, double); int main() { double x = 0,y ; y = pow(x, x); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o sh: Popping language C Math functions are linked in by default ================================================================================ TEST checkMathErf from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:240) TESTING: checkMathErf from config.libraries(config/BuildSystem/config/libraries.py:240) Check for erf() in libm, the math library Checking for function erf in library [] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double erf(double); int main() { double x = 0,y; y = erf(x); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol erf referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol erf referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double erf(double); int main() { double x = 0,y; y = erf(x); ; return 0; } Popping language C Warning: erf() not found ================================================================================ TEST checkMathTgamma from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:249) TESTING: checkMathTgamma from config.libraries(config/BuildSystem/config/libraries.py:249) Check for tgama() in libm, the math library Checking for function tgamma in library [] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double tgamma(double); int main() { double x = 0,y; y = tgamma(x); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol tgamma referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol tgamma referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double tgamma(double); int main() { double x = 0,y; y = tgamma(x); ; return 0; } Popping language C Warning: tgamma() not found ================================================================================ TEST checkMathFenv from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:258) TESTING: checkMathFenv from config.libraries(config/BuildSystem/config/libraries.py:258) Checks if can be used with FE_DFL_ENV Checking for function fesetenv in library [] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(4) : fatal error C1083: Cannot open include file: 'fenv.h': No such file or directory Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(4) : fatal error C1083: Cannot open include file: 'fenv.h': No such file or directory ret = 512 Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include int main() { fesetenv(FE_DFL_ENV);; return 0; } Compile failed inside link Popping language C Warning: with FE_DFL_ENV not found ================================================================================ TEST checkCompression from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:266) TESTING: checkCompression from config.libraries(config/BuildSystem/config/libraries.py:266) Check for libz, the compression library Checking for function compress in library [''] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); int main() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol compress referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol compress referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); int main() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; return 0; } Popping language C Checking for function compress in library ['z'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); int main() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lz Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lz sh: LINK : fatal error LNK1181: cannot open input file 'libz.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'libz.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lz Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); int main() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; return 0; } Popping language C Checking for function compress in library ['zlib.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); int main() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o zlib.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o zlib.lib sh: LINK : fatal error LNK1181: cannot open input file 'zlib.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'zlib.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o zlib.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); int main() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; return 0; } Popping language C Warning: No compression library found ================================================================================ TEST checkRealtime from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:287) TESTING: checkRealtime from config.libraries(config/BuildSystem/config/libraries.py:287) Check for presence of clock_gettime() in realtime library (POSIX Realtime extensions) Checking for function clock_gettime in library [''] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(7) : error C2079: 'tp' uses undefined struct 'timespec' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(7) : error C2065: 'CLOCK_REALTIME' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(7) : error C2079: 'tp' uses undefined struct 'timespec' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(7) : error C2065: 'CLOCK_REALTIME' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include int main() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; return 0; } Compile failed inside link Popping language C Checking for function clock_gettime in library ['rt'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(7) : error C2079: 'tp' uses undefined struct 'timespec' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(7) : error C2065: 'CLOCK_REALTIME' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(7) : error C2079: 'tp' uses undefined struct 'timespec' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(7) : error C2065: 'CLOCK_REALTIME' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include int main() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; return 0; } Compile failed inside link Popping language C Warning: No realtime library found ================================================================================ TEST checkDynamic from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:303) TESTING: checkDynamic from config.libraries(config/BuildSystem/config/libraries.py:303) Check for the header and libraries necessary for dynamic library manipulation ================================================================================ TEST configureTimers from PETSc.utilities.timer(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/timer.py:35) TESTING: configureTimers from PETSc.utilities.timer(config/PETSc/utilities/timer.py:35) Sets PETSC_HAVE_FAST_MPI_WTIME PETSC_USE_READ_REAL_TIME PETSC_USE_MICROSOFT_TIME. Checking for function MPI_CRAY_barrier in library [''] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_CRAY_barrier(); int main() { MPI_CRAY_barrier() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o sh: conftest.obj : error LNK2019: unresolved external symbol MPI_CRAY_barrier referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol MPI_CRAY_barrier referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_CRAY_barrier(); int main() { MPI_CRAY_barrier() ; return 0; } Popping language C Cray-MPI test failure ================================================================================ TEST configureMissingDefines from PETSc.utilities.missing(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/missing.py:35) TESTING: configureMissingDefines from PETSc.utilities.missing(config/PETSc/utilities/missing.py:35) Checks for limits All intermediate test results are stored in /tmp/petsc-_gMCR8/PETSc.utilities.missing sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_LIMITS_H #include #endif int main() { int i=INT_MAX; if (i); ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_FLOAT_H #include #endif int main() { double d=DBL_MAX; if (d); ; return 0; } ================================================================================ TEST configureMissingUtypeTypedefs from PETSc.utilities.missing(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/missing.py:45) TESTING: configureMissingUtypeTypedefs from PETSc.utilities.missing(config/PETSc/utilities/missing.py:45) Checks if u_short is undefined sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'u_short' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2146: syntax error : missing ';' before identifier 'foo' C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'foo' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'u_short' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2146: syntax error : missing ';' before identifier 'foo' C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'foo' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { u_short foo; ; return 0; } Defined "NEEDS_UTYPE_TYPEDEFS" to "1" ================================================================================ TEST configureMissingFunctions from PETSc.utilities.missing(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/missing.py:51) TESTING: configureMissingFunctions from PETSc.utilities.missing(config/PETSc/utilities/missing.py:51) Checks for SOCKETS Checking for function socket in library ['Ws2_32.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include int main() { socket(0,0,0);; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Ws2_32.lib sh: Defined "HAVE_LIBWS2_32" to "1" Popping language C Adding ['Ws2_32.lib'] to LIBS Defined "HAVE_WINSOCK2_H" to "1" Defined "HAVE_SOCKET" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { closesocket(0); return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o Ws2_32.lib sh: Defined "HAVE_CLOSESOCKET" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { WSAGetLastError(); return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o Ws2_32.lib sh: Defined "HAVE_WSAGETLASTERROR" to "1" ================================================================================ TEST configureMissingSignals from PETSc.utilities.missing(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/missing.py:71) TESTING: configureMissingSignals from PETSc.utilities.missing(config/PETSc/utilities/missing.py:71) Check for missing signals, and define MISSING_ if necessary sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGABRT; if (i); ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGALRM' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGALRM' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGALRM; if (i); ; return 0; } Defined "MISSING_SIGALRM" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGBUS' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGBUS' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGBUS; if (i); ; return 0; } Defined "MISSING_SIGBUS" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGCHLD' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGCHLD' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCHLD; if (i); ; return 0; } Defined "MISSING_SIGCHLD" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGCONT' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGCONT' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCONT; if (i); ; return 0; } Defined "MISSING_SIGCONT" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGFPE; if (i); ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGHUP' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGHUP' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGHUP; if (i); ; return 0; } Defined "MISSING_SIGHUP" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGILL; if (i); ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGINT; if (i); ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGKILL' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGKILL' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGKILL; if (i); ; return 0; } Defined "MISSING_SIGKILL" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGPIPE' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGPIPE' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGPIPE; if (i); ; return 0; } Defined "MISSING_SIGPIPE" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGQUIT' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGQUIT' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGQUIT; if (i); ; return 0; } Defined "MISSING_SIGQUIT" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSEGV; if (i); ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGSTOP' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGSTOP' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSTOP; if (i); ; return 0; } Defined "MISSING_SIGSTOP" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGSYS' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGSYS' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSYS; if (i); ; return 0; } Defined "MISSING_SIGSYS" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTERM; if (i); ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGTRAP' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGTRAP' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTRAP; if (i); ; return 0; } Defined "MISSING_SIGTRAP" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGTSTP' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGTSTP' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTSTP; if (i); ; return 0; } Defined "MISSING_SIGTSTP" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGURG' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGURG' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGURG; if (i); ; return 0; } Defined "MISSING_SIGURG" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGUSR1' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGUSR1' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR1; if (i); ; return 0; } Defined "MISSING_SIGUSR1" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGUSR2' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.c(6) : error C2065: 'SIGUSR2' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR2; if (i); ; return 0; } Defined "MISSING_SIGUSR2" to "1" ================================================================================ TEST configureMissingGetdomainnamePrototype from PETSc.utilities.missing(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/missing.py:88) TESTING: configureMissingGetdomainnamePrototype from PETSc.utilities.missing(config/PETSc/utilities/missing.py:88) sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { char test[10]; int err = getdomainname(test,10); ; return 0; } Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.cc sh: conftest.cc C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.cc(14) : error C3861: 'getdomainname': identifier not found Possible ERROR while running compiler: conftest.cc C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.cc(14) : error C3861: 'getdomainname': identifier not found ret = 512 Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { char test[10]; int err = getdomainname(test,10); ; return 0; } Compile failed inside link Added prototype int getdomainname(char *, int); to language extern C Popping language Cxx ================================================================================ TEST configureMissingSrandPrototype from PETSc.utilities.missing(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/missing.py:110) TESTING: configureMissingSrandPrototype from PETSc.utilities.missing(config/PETSc/utilities/missing.py:110) sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif int main() { double a; long b=10; srand(b); a=drand48(); ; return 0; } Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -GR -EHsc -O2 -Zm200 -TP /tmp/petsc-_gMCR8/PETSc.utilities.missing/conftest.cc sh: conftest.cc C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.cc(13) : error C3861: 'drand48': identifier not found Possible ERROR while running compiler: conftest.cc C:\cygwin64\tmp\PETSC-~3\PETSCU~1.MIS\conftest.cc(13) : error C3861: 'drand48': identifier not found ret = 512 Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif int main() { double a; long b=10; srand(b); a=drand48(); ; return 0; } Compile failed inside link Added prototype double drand48(); to language extern C Added prototype void srand48(long); to language extern C Popping language Cxx ================================================================================ TEST configureMissingIntelFastPrototypes from PETSc.utilities.missing(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/missing.py:134) TESTING: configureMissingIntelFastPrototypes from PETSc.utilities.missing(config/PETSc/utilities/missing.py:134) ================================================================================ TEST configureScalarType from PETSc.utilities.scalarTypes(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/scalarTypes.py:37) TESTING: configureScalarType from PETSc.utilities.scalarTypes(config/PETSc/utilities/scalarTypes.py:37) Choose between real and complex numbers Defined "USE_SCALAR_REAL" to "1" Scalar type is real Pushing language C All intermediate test results are stored in /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnan(b); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol isnan referenced in function main C:\cygwin64\tmp\PETSC-~3\PETSCU~1.SCA\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol isnan referenced in function main C:\cygwin64\tmp\PETSC-~3\PETSCU~1.SCA\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnan(b); ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isinf(b); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol isinf referenced in function main C:\cygwin64\tmp\PETSC-~3\PETSCU~1.SCA\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol isinf referenced in function main C:\cygwin64\tmp\PETSC-~3\PETSCU~1.SCA\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isinf(b); ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0;int a = _isnan(b); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o Ws2_32.lib sh: Defined "HAVE__ISNAN" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0;int a = _finite(b); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes/conftest.o Ws2_32.lib sh: Defined "HAVE__FINITE" to "1" Popping language C ================================================================================ TEST configurePrecision from PETSc.utilities.scalarTypes(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/scalarTypes.py:73) TESTING: configurePrecision from PETSc.utilities.scalarTypes(config/PETSc/utilities/scalarTypes.py:73) Set the default real number precision for PETSc objects Defined "USE_REAL_DOUBLE" to "1" Precision is double ================================================================================ TEST configureLibraryOptions from PETSc.utilities.libraryOptions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/libraryOptions.py:48) TESTING: configureLibraryOptions from PETSc.utilities.libraryOptions(config/PETSc/utilities/libraryOptions.py:48) Sets PETSC_USE_DEBUG, PETSC_USE_INFO, PETSC_USE_LOG, PETSC_USE_CTABLE and PETSC_USE_FORTRAN_KERNELS Defined "USE_LOG" to "1" Defined "USE_INFO" to "1" Defined "USE_CTABLE" to "1" **********Checking if running on BGL/IBM detected Checking for function bgl_perfctr_void in library [''] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char bgl_perfctr_void(); int main() { bgl_perfctr_void() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol bgl_perfctr_void referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol bgl_perfctr_void referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char bgl_perfctr_void(); int main() { bgl_perfctr_void() ; return 0; } Popping language C Checking for function ADIOI_BGL_Open in library [''] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ADIOI_BGL_Open(); int main() { ADIOI_BGL_Open() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol ADIOI_BGL_Open referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol ADIOI_BGL_Open referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ADIOI_BGL_Open(); int main() { ADIOI_BGL_Open() ; return 0; } Popping language C *********BGL/IBM test failure Defined "USE_BACKWARD_LOOP" to "1" Defined "Alignx(a,b)" to " " ================================================================================ TEST configureISColorValueType from PETSc.utilities.libraryOptions(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/libraryOptions.py:92) TESTING: configureISColorValueType from PETSc.utilities.libraryOptions(config/PETSc/utilities/libraryOptions.py:92) Sets PETSC_IS_COLOR_VALUE_TYPE, MPIU_COLORING_VALUE, IS_COLORING_MAX required by ISColor Defined "MPIU_COLORING_VALUE" to "MPI_UNSIGNED_SHORT" Defined "IS_COLORING_MAX" to "65535" Defined "IS_COLOR_VALUE_TYPE" to "short" ================================================================================ TEST configureFortranCommandLine from PETSc.utilities.fortranCommandLine(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/fortranCommandLine.py:27) TESTING: configureFortranCommandLine from PETSc.utilities.fortranCommandLine(config/PETSc/utilities/fortranCommandLine.py:27) Check for the mechanism to retrieve command line arguments in Fortran Pushing language FC Checking for function in library [''] [] Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.types -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.libraries/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.types -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.libraries/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main integer i character*(80) arg call get_command_argument(i,arg) end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.libraries/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.libraries/conftest.o Ws2_32.lib sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Popping language FC Defined "HAVE_FORTRAN_GET_COMMAND_ARGUMENT" to "1" Popping language FC Pushing language C Checking for function GET_COMMAND_ARGUMENT in library [''] ['-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char GET_COMMAND_ARGUMENT(); int main() { GET_COMMAND_ARGUMENT() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol GET_COMMAND_ARGUMENT referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol GET_COMMAND_ARGUMENT referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char GET_COMMAND_ARGUMENT(); int main() { GET_COMMAND_ARGUMENT() ; return 0; } Popping language C Checking for function GETARG in library [''] ['-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char GETARG(); int main() { GETARG() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol GETARG referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol GETARG referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char GETARG(); int main() { GETARG() ; return 0; } Popping language C Checking for function ipxfargc_ sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char ipxfargc_(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ipxfargc_(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_ipxfargc_) || defined (__stub___ipxfargc_) choke me #else ipxfargc_(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol ipxfargc_ referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol ipxfargc_ referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char ipxfargc_(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ipxfargc_(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_ipxfargc_) || defined (__stub___ipxfargc_) choke me #else ipxfargc_(); #endif ; return 0; } Checking for function f90_unix_MP_iargc sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char f90_unix_MP_iargc(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char f90_unix_MP_iargc(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_f90_unix_MP_iargc) || defined (__stub___f90_unix_MP_iargc) choke me #else f90_unix_MP_iargc(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol f90_unix_MP_iargc referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol f90_unix_MP_iargc referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char f90_unix_MP_iargc(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char f90_unix_MP_iargc(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_f90_unix_MP_iargc) || defined (__stub___f90_unix_MP_iargc) choke me #else f90_unix_MP_iargc(); #endif ; return 0; } Checking for function PXFGETARG sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char PXFGETARG(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) choke me #else PXFGETARG(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol PXFGETARG referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol PXFGETARG referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char PXFGETARG(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) choke me #else PXFGETARG(); #endif ; return 0; } Checking for function iargc_ sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char iargc_(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char iargc_(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_iargc_) || defined (__stub___iargc_) choke me #else iargc_(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol iargc_ referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol iargc_ referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char iargc_(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char iargc_(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_iargc_) || defined (__stub___iargc_) choke me #else iargc_(); #endif ; return 0; } Checking for function GETARG at 16 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(10) : error C2018: unknown character '0x40' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(10) : error C2143: syntax error : missing '{' before 'constant' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(10) : error C2059: syntax error : '' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(17) : error C2004: expected 'defined(id)' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(17) : fatal error C1012: unmatched parenthesis : missing ')' Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(10) : error C2018: unknown character '0x40' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(10) : error C2143: syntax error : missing '{' before 'constant' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(10) : error C2059: syntax error : '' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(17) : error C2004: expected 'defined(id)' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.c(17) : fatal error C1012: unmatched parenthesis : missing ')' ret = 512 Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char GETARG at 16(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char GETARG at 16(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_GETARG at 16) || defined (__stub___GETARG at 16) choke me #else GETARG at 16(); #endif ; return 0; } Compile failed inside link Checking for function _gfortran_iargc sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.functions/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _gfortran_iargc(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _gfortran_iargc(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__gfortran_iargc) || defined (__stub____gfortran_iargc) choke me #else _gfortran_iargc(); #endif ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol _gfortran_iargc referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol _gfortran_iargc referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.FUN\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.functions/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.functions/conftest.o Ws2_32.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _gfortran_iargc(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _gfortran_iargc(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__gfortran_iargc) || defined (__stub____gfortran_iargc) choke me #else _gfortran_iargc(); #endif ; return 0; } Popping language C Pushing language C ================================================================================ TEST configureLibrary from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:744) TESTING: configureLibrary from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:744) Calls the regular package configureLibrary and then does an additional test needed by MPI ================================================================================== Checking for a functional MPI Checking for library in User specified MPI libraries: ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] Contents: ['Bin', 'Inc', 'Lib', 'License'] ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function MPI_Init in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Init(); int main() { MPI_Init() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Checking for function MPI_Comm_create in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Comm_create(); int main() { MPI_Comm_create() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Checking for headers User specified MPI libraries: ['/cygdrive/c/MSHPC/MSHPC2008R2/Inc'] Pushing language C ================================================================================ TEST checkInclude from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['mpi.h'] in ['/cygdrive/c/MSHPC/MSHPC2008R2/Inc'] Checking include with compiler flags var CPPFLAGS ['/cygdrive/c/MSHPC/MSHPC2008R2/Inc'] sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 143 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 147 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 151 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 155 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 159 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 163 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 167 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 171 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 175 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 179 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 183 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 187 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 191 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 195 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 199 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 203 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 207 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 211 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 215 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 219 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 223 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 227 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 231 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 235 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 239 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 243 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 247 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 251 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 255 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 259 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 263 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 267 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 271 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 275 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 279 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 283 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 287 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 291 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 295 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 299 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 303 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 307 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 311 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 315 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 319 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 323 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 327 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 331 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 335 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 339 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 343 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 347 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 351 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 355 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 359 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 363 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 367 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 371 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 375 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 379 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 383 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 387 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 391 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 395 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 399 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 403 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 407 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 411 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 415 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 419 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 423 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 427 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 431 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 435 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 439 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 443 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 445 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" typedef int int32_t; typedef int mode_t; typedef int pid_t; #line 14 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 16 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\MSHPC\\MSHPC2~1\\Inc\\mpi.h" #line 13 "C:\\MSHPC\\MSHPC2~1\\Inc\\mpi.h" #line 18 "C:\\MSHPC\\MSHPC2~1\\Inc\\mpi.h" #line 49 "C:\\MSHPC\\MSHPC2~1\\Inc\\mpi.h" typedef __int64 MPI_Aint; #line 133 "C:\\MSHPC\\MSHPC2~1\\Inc\\mpi.h" typedef int MPI_Fint; typedef __int64 MPI_Offset; typedef int MPI_Datatype; typedef int MPI_Comm; typedef int MPI_Win; typedef struct ADIOI_FileD* MPI_File; typedef int MPI_Op; typedef int MPI_Info; typedef int MPI_Request; typedef int MPI_Group; typedef int MPI_Errhandler; typedef struct MPI_Status { int count; int cancelled; int MPI_SOURCE; int MPI_TAG; int MPI_ERROR; } MPI_Status; int __stdcall MPI_Send( void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm ); int __stdcall PMPI_Send( void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm ); int __stdcall MPI_Recv( void* buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status* status ); int __stdcall PMPI_Recv( void* buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status* status ); int __stdcall MPI_Get_count( MPI_Status* status, MPI_Datatype datatype, int* count ); int __stdcall PMPI_Get_count( MPI_Status* status, MPI_Datatype datatype, int* count ); int __stdcall MPI_Bsend( void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm ); int __stdcall PMPI_Bsend( void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm ); int __stdcall MPI_Ssend( void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm ); int __stdcall PMPI_Ssend( void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm ); int __stdcall MPI_Rsend( void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm ); int __stdcall PMPI_Rsend( void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm ); #line 479 "C:\\MSHPC\\MSHPC2~1\\Inc\\mpi.h" #line 481 "C:\\MSHPC\\MSHPC2~1\\Inc\\mpi.h" int __stdcall MPI_Buffer_attach( void* buffer, int size ); int __stdcall PMPI_Buffer_attach( void* buffer, int size ); int __stdcall MPI_Buffer_detach( void* buffer_addr, int* size ); int __stdcall PMPI_Buffer_detach( void* buffer_addr, int* size ); int __stdcall MPI_Isend( void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request ); int __stdcall PMPI_Isend( void* buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request* request ); Found header files ['mpi.h'] in ['/cygdrive/c/MSHPC/MSHPC2008R2/Inc'] Popping language C ================================================================================ TEST configureConversion from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:214) TESTING: configureConversion from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:214) Check for the functions which convert communicators between C and Fortran - Define HAVE_MPI_COMM_F2C and HAVE_MPI_COMM_C2F if they are present - Some older MPI 1 implementations are missing these All intermediate test results are stored in /tmp/petsc-_gMCR8/config.packages.MPI sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_f2c((MPI_Fint)0)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_MPI_COMM_F2C" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_c2f(MPI_COMM_WORLD)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_MPI_COMM_C2F" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Fint a; ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_MPI_FINT" to "1" ================================================================================ TEST configureMPI2 from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:182) TESTING: configureMPI2 from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:182) Check for functions added to the interface in MPI-2 sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int flag;if (MPI_Finalized(&flag)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_MPI_FINALIZED" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Allreduce(MPI_IN_PLACE,0, 1, MPI_INT, MPI_SUM, MPI_COMM_SELF)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_MPI_IN_PLACE" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int count=2; int blocklens[2]={0,1}; MPI_Aint indices[2]={0,1}; MPI_Datatype old_types[2]={0,1}; MPI_Datatype *newtype = 0; if (MPI_Type_create_struct(count, blocklens, indices, old_types, newtype)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm_errhandler_fn * p_err_fun = 0; MPI_Errhandler * p_errhandler = 0; if (MPI_Comm_create_errhandler(p_err_fun,p_errhandler)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_set_errhandler(MPI_COMM_WORLD,MPI_ERRORS_RETURN)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: ================================================================================ TEST configureTypes from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:234) TESTING: configureTypes from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:234) Checking for MPI types Checking for size of type: MPI_Comm Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif #define MPICH_IGNORE_CXX_SEEK #define MPICH_SKIP_MPICXX 1 #define OMPI_SKIP_MPICXX 1 #include int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(MPI_Comm)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Ws2_32.lib sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C Defined "SIZEOF_MPI_COMM" to "4" Checking for size of type: MPI_Fint Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.types/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.types/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.types/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif #define MPICH_IGNORE_CXX_SEEK #define MPICH_SKIP_MPICXX 1 #define OMPI_SKIP_MPICXX 1 #include int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(MPI_Fint)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.types/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.types/conftest.o Ws2_32.lib sh: Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: /tmp/petsc-_gMCR8/config.types/conftest.exe Executing: /tmp/petsc-_gMCR8/config.types/conftest.exe sh: Popping language C Defined "SIZEOF_MPI_FINT" to "4" ================================================================================ TEST configureMPITypes from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:246) TESTING: configureMPITypes from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:246) Checking for MPI Datatype handles sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_LONG_DOUBLE, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_LONG_DOUBLE, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Executing: /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe sh: /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe Executing: /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe sh: Defined "HAVE_MPI_LONG_DOUBLE" to "1" Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.MPI\conftest.c(12) : error C2065: 'MPI_C_DOUBLE_COMPLEX' : undeclared identifier Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.MPI\conftest.c(12) : error C2065: 'MPI_C_DOUBLE_COMPLEX' : undeclared identifier ret = 512 Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_C_DOUBLE_COMPLEX, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } ================================================================================ TEST configureMissingPrototypes from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:319) TESTING: configureMissingPrototypes from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:319) Checks for missing prototypes, which it adds to petscfix.h ================================================================================ TEST SGIMPICheck from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:630) TESTING: SGIMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:630) Returns true if SGI MPI is used Checking for function MPI_SGI_barrier in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_SGI_barrier(); int main() { MPI_SGI_barrier() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol MPI_SGI_barrier referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol MPI_SGI_barrier referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_SGI_barrier(); int main() { MPI_SGI_barrier() ; return 0; } Popping language C SGI MPI test failure ================================================================================ TEST CxxMPICheck from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:640) TESTING: CxxMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:640) Make sure C++ can compile and link Pushing language Cxx Checking for header mpi.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -GR -EHsc -O2 -Zm200 -TP -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.libraries/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -MT -GR -EHsc -O2 -Zm200 -TP -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.libraries/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { ; return 0; } Checking for C++ MPI_Finalize() Checking for function MPI_Finalize in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language Cxx sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.libraries -MT -GR -EHsc -O2 -Zm200 -TP -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.libraries/conftest.cc Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.libraries -MT -GR -EHsc -O2 -Zm200 -TP -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.libraries/conftest.cc sh: conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include int main() { int ierr; ierr = MPI_Finalize();; return 0; } Pushing language CXX Popping language CXX sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -GR -EHsc -O2 -Zm200 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language Cxx Popping language Cxx ================================================================================ TEST FortranMPICheck from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:658) TESTING: FortranMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:658) Make sure fortran include [mpif.h] and library symbols are found Pushing language FC Checking for header mpif.h sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -O3 -QxW -fpp -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.libraries/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -O3 -QxW -fpp -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.libraries/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main include 'mpif.h' end Checking for fortran mpi_init() Checking for function in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -O3 -QxW -fpp -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.libraries/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -O3 -QxW -fpp -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.libraries/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Successful compile: Source: program main include 'mpif.h' integer ierr call mpi_init(ierr) end Pushing language FC Popping language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -O3 -QxW -fpp /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language FC Checking for mpi.mod Checking for function in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -O3 -QxW -fpp -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.libraries/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -MT -O3 -QxW -fpp -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.libraries/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.F(2): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MPI] use mpi -----------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.F (code 1) Possible ERROR while running compiler: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.F(2): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MPI] use mpi -----------^ compilation aborted for C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.F (code 1) ret = 256 Source: program main use mpi integer ierr,rank call mpi_init(ierr) call mpi_comm_rank(MPI_COMM_WORLD,rank,ierr) end Compile failed inside link Popping language FC Popping language FC ================================================================================ TEST configureIO from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:683) TESTING: configureIO from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:683) Check for the functions in MPI/IO - Define HAVE_MPIIO if they are present - Some older MPI 1 implementations are missing these sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Aint lb, extent; if (MPI_Type_get_extent(MPI_INT, &lb, &extent)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c c:\cygwin64\tmp\petsc-_gmcr8\config.packages.mpi\conftest.c(9) : warning C4700: uninitialized local variable 'buf' used c:\cygwin64\tmp\petsc-_gmcr8\config.packages.mpi\conftest.c(9) : warning C4700: uninitialized local variable 'fh' used Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_File fh; void *buf; MPI_Status status; if (MPI_File_write_all(fh, buf, 1, MPI_INT, &status)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c c:\cygwin64\tmp\petsc-_gmcr8\config.packages.mpi\conftest.c(9) : warning C4700: uninitialized local variable 'buf' used c:\cygwin64\tmp\petsc-_gmcr8\config.packages.mpi\conftest.c(9) : warning C4700: uninitialized local variable 'fh' used Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_File fh; void *buf; MPI_Status status; if (MPI_File_read_all(fh, buf, 1, MPI_INT, &status)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c c:\cygwin64\tmp\petsc-_gmcr8\config.packages.mpi\conftest.c(9) : warning C4700: uninitialized local variable 'info' used c:\cygwin64\tmp\petsc-_gmcr8\config.packages.mpi\conftest.c(9) : warning C4700: uninitialized local variable 'disp' used c:\cygwin64\tmp\petsc-_gmcr8\config.packages.mpi\conftest.c(9) : warning C4700: uninitialized local variable 'fh' used Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_File fh; MPI_Offset disp; MPI_Info info; if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c c:\cygwin64\tmp\petsc-_gmcr8\config.packages.mpi\conftest.c(8) : warning C4700: uninitialized local variable 'info' used Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_File fh; MPI_Info info; if (MPI_File_open(MPI_COMM_SELF, "", 0, info, &fh)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_File fh; MPI_Info info; if (MPI_File_close(&fh)); ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_MPIIO" to "1" ================================================================================ TEST findMPIInc from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:720) TESTING: findMPIInc from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:720) Find MPI include paths from "mpicc -show" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -show Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -show sh: cl : Command line warning D9002 : ignoring unknown option '-show' cl : Command line error D8003 : missing source filename Checking for function MPI_Alltoallw in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Alltoallw(); int main() { MPI_Alltoallw() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Checking for function MPI_Type_create_indexed_block in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Type_create_indexed_block(); int main() { MPI_Type_create_indexed_block() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Defined "HAVE_MPI_ALLTOALLW" to "1" Checking for function MPI_Win_create in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Win_create(); int main() { MPI_Win_create() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Defined "HAVE_MPI_WIN_CREATE" to "1" Defined "HAVE_MPI_REPLACE" to "1" Checking for function MPI_Comm_spawn in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Comm_spawn(); int main() { MPI_Comm_spawn() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Defined "HAVE_MPI_COMM_SPAWN" to "1" Checking for function MPI_Type_get_envelope in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Type_get_envelope(); int main() { MPI_Type_get_envelope() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Defined "HAVE_MPI_TYPE_GET_ENVELOPE" to "1" Checking for function MPI_Type_get_extent in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Type_get_extent(); int main() { MPI_Type_get_extent() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Defined "HAVE_MPI_TYPE_GET_EXTENT" to "1" Checking for function MPI_Type_dup in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Type_dup(); int main() { MPI_Type_dup() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Defined "HAVE_MPI_TYPE_DUP" to "1" Checking for function MPI_Init_thread in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Init_thread(); int main() { MPI_Init_thread() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Defined "HAVE_MPI_INIT_THREAD" to "1" Checking for function MPIX_Iallreduce in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPIX_Iallreduce(); int main() { MPIX_Iallreduce() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol MPIX_Iallreduce referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol MPIX_Iallreduce referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPIX_Iallreduce(); int main() { MPIX_Iallreduce() ; return 0; } Popping language C Checking for function MPI_Iallreduce in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Iallreduce(); int main() { MPI_Iallreduce() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol MPI_Iallreduce referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol MPI_Iallreduce referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Iallreduce(); int main() { MPI_Iallreduce() ; return 0; } Popping language C Checking for function MPI_Ibarrier in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Ibarrier(); int main() { MPI_Ibarrier() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol MPI_Ibarrier referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol MPI_Ibarrier referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Ibarrier(); int main() { MPI_Ibarrier() ; return 0; } Popping language C Checking for function MPI_Finalized in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Finalized(); int main() { MPI_Finalized() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Defined "HAVE_MPI_FINALIZED" to "1" Checking for function MPI_Exscan in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Exscan(); int main() { MPI_Exscan() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: Defined "HAVE_LIBMSMPIFEC" to "1" Defined "HAVE_LIBMSMPI" to "1" Popping language C Defined "HAVE_MPI_EXSCAN" to "1" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int combiner = MPI_COMBINER_DUP;; return 0; } Defined "HAVE_MPI_COMBINER_DUP" to "1" Checking for function MPIDI_CH3I_sock_set in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPIDI_CH3I_sock_set(); int main() { MPIDI_CH3I_sock_set() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol MPIDI_CH3I_sock_set referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol MPIDI_CH3I_sock_set referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPIDI_CH3I_sock_set(); int main() { MPIDI_CH3I_sock_set() ; return 0; } Popping language C Checking for function MPIDI_CH3I_sock_fixed_nbc_progress in library ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPIDI_CH3I_sock_fixed_nbc_progress(); int main() { MPIDI_CH3I_sock_fixed_nbc_progress() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol MPIDI_CH3I_sock_fixed_nbc_progress referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol MPIDI_CH3I_sock_fixed_nbc_progress referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPIDI_CH3I_sock_fixed_nbc_progress(); int main() { MPIDI_CH3I_sock_fixed_nbc_progress() ; return 0; } Popping language C ================================================================================ TEST checkSharedLibrary from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:132) TESTING: checkSharedLibrary from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:132) Sets flag indicating if MPI libraries are shared or not and determines if MPI libraries CANNOT be used by shared libraries ================================================================================ TEST configureMPIEXEC from config.packages.MPI(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/MPI.py:145) TESTING: configureMPIEXEC from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:145) Checking for mpiexec Pushing language C Popping language C Checking for program /cygdrive/c/MSHPC/MSHPC2008R2/bin/mpiexec...found Defined make macro "MPIEXEC" to "/cygdrive/c/MSHPC/MSHPC2008R2/bin/mpiexec" sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #ifdef __cplusplus extern "C" #endif int init(int argc, char *argv[]) { int isInitialized; MPI_Init(&argc, &argv); MPI_Initialized(&isInitialized); return (int) isInitialized; } Pushing language C Popping language C sh: /usr/bin/ar cr /tmp/petsc-_gMCR8/config.packages.MPI/libconftest.lib /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o ; /usr/bin/ranlib /tmp/petsc-_gMCR8/config.packages.MPI/libconftest.lib Executing: /usr/bin/ar cr /tmp/petsc-_gMCR8/config.packages.MPI/libconftest.lib /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o ; /usr/bin/ranlib /tmp/petsc-_gMCR8/config.packages.MPI/libconftest.lib sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 -I/cygdrive/c/MSHPC/MSHPC2008R2/Inc /tmp/petsc-_gMCR8/config.packages.MPI/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #ifdef __cplusplus extern "C" #endif int checkInit(void) { int isInitialized; MPI_Initialized(&isInitialized); if (isInitialized) MPI_Finalize(); return (int) isInitialized; } Pushing language C Popping language C sh: /usr/bin/ar cr /tmp/petsc-_gMCR8/config.packages.MPI/libconftest.lib /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o ; /usr/bin/ranlib /tmp/petsc-_gMCR8/config.packages.MPI/libconftest.lib Executing: /usr/bin/ar cr /tmp/petsc-_gMCR8/config.packages.MPI/libconftest.lib /tmp/petsc-_gMCR8/config.packages.MPI/conftest.o ; /usr/bin/ranlib /tmp/petsc-_gMCR8/config.packages.MPI/libconftest.lib sh: sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(19) : error C2065: 'RTLD_LAZY' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(19) : warning C4047: '=' : 'void *' differs in levels of indirection from 'int' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(33) : error C2065: 'RTLD_LAZY' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(33) : warning C4047: '=' : 'void *' differs in levels of indirection from 'int' Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(19) : error C2065: 'RTLD_LAZY' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(19) : warning C4047: '=' : 'void *' differs in levels of indirection from 'int' C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(33) : error C2065: 'RTLD_LAZY' : undeclared identifier C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.c(33) : warning C4047: '=' : 'void *' differs in levels of indirection from 'int' ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include #include #ifdef PETSC_HAVE_DLFCN_H #include #endif int main() { int argc = 1; char *argv[2] = {(char *) "conftest", NULL}; void *lib; int (*init)(int, char **); int (*checkInit)(void); lib = dlopen("/tmp/petsc-_gMCR8/config.libraries/lib1.lib", RTLD_LAZY); if (!lib) { fprintf(stderr, "Could not open lib1.so: %s\n", dlerror()); exit(1); } init = (int (*)(int, char **)) dlsym(lib, "init"); if (!init) { fprintf(stderr, "Could not find initialization function\n"); exit(1); } if (!(*init)(argc, argv)) { fprintf(stderr, "Could not initialize library\n"); exit(1); } lib = dlopen("/tmp/petsc-_gMCR8/config.libraries/lib2.lib", RTLD_LAZY); if (!lib) { fprintf(stderr, "Could not open lib2.so: %s\n", dlerror()); exit(1); } checkInit = (int (*)(void)) dlsym(lib, "checkInit"); if (!checkInit) { fprintf(stderr, "Could not find initialization check function\n"); exit(1); } if (!(*checkInit)()) { fprintf(stderr, "Did not link with shared library\n"); exit(2); } ; return 0; } Compile failed inside link Library was not shared Popping language C ================================================================================ TEST alternateConfigureLibrary from config.packages.hdf5(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.hdf5(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.netcdf(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.netcdf(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.netcdf-cxx(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.netcdf-cxx(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.MOAB(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.MOAB(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.exodusii(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.exodusii(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default Pushing language C ================================================================================ TEST configureLibrary from PETSc.packages.valgrind(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:464) TESTING: configureLibrary from PETSc.packages.valgrind(config/BuildSystem/config/package.py:464) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional valgrind Not checking for library in Package specific search directory VALGRIND: [] because no functions given to check for ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for headers Package specific search directory VALGRIND: [] Pushing language C ================================================================================ TEST checkInclude from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['valgrind/valgrind.h'] in [] Checking include with compiler flags var CPPFLAGS [] sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 143 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 147 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 151 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 155 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 159 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 163 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 167 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 171 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 175 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 179 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 183 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 187 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 191 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 195 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 199 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 203 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 207 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 211 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 215 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 219 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 223 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 227 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 231 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 235 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 239 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 243 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 247 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 251 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 255 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 259 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 263 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 267 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 271 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 275 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 279 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 283 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 287 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 291 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 295 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 299 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 303 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 307 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 311 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 315 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 319 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 323 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 327 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 331 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 335 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 339 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 343 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 347 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 351 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 355 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 359 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 363 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 367 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 371 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 375 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 379 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 383 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 387 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 391 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 395 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 399 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 403 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 407 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 411 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 415 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 419 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 423 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 427 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 431 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 435 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 439 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 443 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 447 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 451 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 455 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 459 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 463 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 467 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 471 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 475 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 479 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 483 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 487 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 491 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 495 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 499 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 503 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 507 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 511 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 515 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 519 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 521 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" typedef int int32_t; typedef int mode_t; typedef int pid_t; #line 14 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 16 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'valgrind/valgrind.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include Popping language C Not checking for library in Package specific search directory VALGRIND: [] because no functions given to check for ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for headers Package specific search directory VALGRIND: [] Pushing language C ================================================================================ TEST checkInclude from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['valgrind/valgrind.h'] in [] Checking include with compiler flags var CPPFLAGS [] sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 143 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 147 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 151 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 155 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 159 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 163 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 167 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 171 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 175 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 179 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 183 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 187 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 191 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 195 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 199 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 203 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 207 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 211 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 215 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 219 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 223 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 227 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 231 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 235 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 239 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 243 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 247 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 251 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 255 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 259 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 263 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 267 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 271 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 275 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 279 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 283 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 287 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 291 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 295 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 299 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 303 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 307 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 311 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 315 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 319 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 323 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 327 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 331 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 335 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 339 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 343 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 347 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 351 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 355 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 359 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 363 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 367 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 371 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 375 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 379 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 383 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 387 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 391 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 395 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 399 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 403 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 407 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 411 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 415 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 419 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 423 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 427 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 431 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 435 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 439 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 443 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 447 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 451 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 455 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 459 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 463 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 467 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 471 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 475 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 479 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 483 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 487 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 491 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 495 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 499 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 503 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 507 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 511 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 515 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 519 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 521 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" typedef int int32_t; typedef int mode_t; typedef int pid_t; #line 14 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 16 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'valgrind/valgrind.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include Popping language C Not checking for library in Package specific search directory VALGRIND: [] because no functions given to check for ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for headers Package specific search directory VALGRIND: ['/usr/local/include'] Pushing language C ================================================================================ TEST checkInclude from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['valgrind/valgrind.h'] in ['/usr/local/include'] Checking include with compiler flags var CPPFLAGS ['/usr/local/include'] sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers -I/usr/local/include /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers -I/usr/local/include /tmp/petsc-_gMCR8/config.headers/conftest.c sh: Warning: win32fe: Include Path Not Found: /usr/local/include conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 143 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 147 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 151 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 155 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 159 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 163 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 167 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 171 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 175 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 179 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 183 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 187 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 191 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 195 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 199 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 203 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 207 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 211 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 215 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 219 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 223 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 227 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 231 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 235 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 239 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 243 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 247 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 251 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 255 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 259 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 263 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 267 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 271 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 275 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 279 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 283 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 287 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 291 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 295 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 299 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 303 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 307 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 311 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 315 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 319 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 323 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 327 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 331 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 335 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 339 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 343 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 347 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 351 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 355 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 359 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 363 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 367 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 371 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 375 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 379 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 383 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 387 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 391 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 395 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 399 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 403 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 407 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 411 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 415 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 419 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 423 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 427 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 431 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 435 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 439 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 443 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 447 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 451 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 455 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 459 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 463 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 467 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 471 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 475 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 479 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 483 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 487 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 491 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 495 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 499 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 503 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 507 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 511 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 515 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 519 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 521 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" typedef int int32_t; typedef int mode_t; typedef int pid_t; #line 14 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 16 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'valgrind/valgrind.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include Popping language C Not checking for library in Package specific search directory VALGRIND: [] because no functions given to check for ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for headers Package specific search directory VALGRIND: ['/usr/local/include'] Pushing language C ================================================================================ TEST checkInclude from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['valgrind/valgrind.h'] in ['/usr/local/include'] Checking include with compiler flags var CPPFLAGS ['/usr/local/include'] sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers -I/usr/local/include /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers -I/usr/local/include /tmp/petsc-_gMCR8/config.headers/conftest.c sh: Warning: win32fe: Include Path Not Found: /usr/local/include conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 143 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 147 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 151 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 155 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 159 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 163 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 167 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 171 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 175 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 179 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 183 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 187 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 191 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 195 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 199 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 203 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 207 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 211 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 215 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 219 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 223 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 227 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 231 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 235 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 239 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 243 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 247 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 251 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 255 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 259 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 263 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 267 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 271 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 275 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 279 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 283 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 287 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 291 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 295 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 299 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 303 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 307 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 311 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 315 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 319 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 323 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 327 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 331 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 335 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 339 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 343 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 347 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 351 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 355 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 359 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 363 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 367 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 371 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 375 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 379 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 383 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 387 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 391 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 395 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 399 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 403 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 407 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 411 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 415 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 419 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 423 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 427 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 431 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 435 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 439 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 443 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 447 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 451 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 455 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 459 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 463 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 467 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 471 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 475 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 479 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 483 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 487 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 491 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 495 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 499 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 503 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 507 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 511 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 515 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 519 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 521 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" typedef int int32_t; typedef int mode_t; typedef int pid_t; #line 14 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 16 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" C:\cygwin64\tmp\PETSC-~3\CONFIG~1.HEA\conftest.c(3) : fatal error C1083: Cannot open include file: 'valgrind/valgrind.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include Popping language C Directory does not exist: /opt/local (while checking "Package specific search directory VALGRIND" for "[]") Directory does not exist: /opt/local (while checking "Package specific search directory VALGRIND" for "[]") sh: uname -s Executing: uname -s sh: CYGWIN_NT-6.1 sh: uname -s Executing: uname -s sh: CYGWIN_NT-6.1 Popping language C ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.threadcomm(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.threadcomm(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.tetgen(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.tetgen(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.sprng(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.sprng(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default Not a clone of PETSc, don't need Sowing ================================================================================ TEST alternateConfigureLibrary from config.packages.boost(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.boost(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.Sieve(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.Sieve(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.yaml(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.yaml(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.PVODE(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.PVODE(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.pcbddc(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.pcbddc(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.PARTY(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.PARTY(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.papi(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.papi(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.pami(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.pami(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.P3Dlib(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.P3Dlib(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default Pushing language C ================================================================================ TEST configureLibrary from PETSc.packages.pthread(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/packages/pthread.py:27) TESTING: configureLibrary from PETSc.packages.pthread(config/PETSc/packages/pthread.py:27) Checks for pthread_barrier_t, cpu_set_t, and sys/sysctl.h ================================================================================== Checking for a functional pthread Checking for library in Package specific search directory PTHREAD: ['libpthread.a'] ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function pthread_create in library ['libpthread.a'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pthread_create(); int main() { pthread_create() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lpthread Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lpthread Ws2_32.lib sh: LINK : fatal error LNK1181: cannot open input file 'libpthread.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'libpthread.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lpthread Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pthread_create(); int main() { pthread_create() ; return 0; } Popping language C Checking for library in Package specific search directory PTHREAD: ['lib64/libpthread.a'] ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function pthread_create in library ['lib64/libpthread.a'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pthread_create(); int main() { pthread_create() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lpthread Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lpthread Ws2_32.lib sh: LINK : fatal error LNK1181: cannot open input file 'libpthread.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'libpthread.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lpthread Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pthread_create(); int main() { pthread_create() ; return 0; } Popping language C All intermediate test results are stored in /tmp/petsc-_gMCR8/PETSc.packages.pthread sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.packages.pthread/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.packages.pthread/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.packages.pthread/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -I/tmp/petsc-_gMCR8/config.packages.MPI -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.packages.pthread/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCP~1.PTH\conftest.c(3) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCP~1.PTH\conftest.c(3) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { pthread_barrier_t *a; ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.packages.pthread/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.packages.pthread/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/PETSc.packages.pthread/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/PETSc.packages.pthread/conftest.c sh: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCP~1.PTH\conftest.c(3) : fatal error C1083: Cannot open include file: 'sched.h': No such file or directory Possible ERROR while running compiler: conftest.c C:\cygwin64\tmp\PETSC-~3\PETSCP~1.PTH\conftest.c(3) : fatal error C1083: Cannot open include file: 'sched.h': No such file or directory ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include int main() { cpu_set_t *a; ; return 0; } sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.packages.pthread /tmp/petsc-_gMCR8/PETSc.packages.pthread/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.packages.pthread /tmp/petsc-_gMCR8/PETSc.packages.pthread/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\PETSCP~1.PTH\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 143 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 147 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 151 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 155 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 159 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 163 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 167 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 171 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 175 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 179 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 183 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 187 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 191 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 195 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 199 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 203 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 207 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 211 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 215 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 219 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 223 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 227 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 231 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 235 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 239 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 243 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 247 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 251 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 255 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 259 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 263 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 267 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 271 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 275 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 279 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 283 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 287 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 291 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 295 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 299 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 303 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 307 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 311 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 315 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 319 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 323 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 327 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 331 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 335 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 339 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 343 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 347 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 351 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 355 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 359 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 363 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 367 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 371 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 375 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 379 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 383 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 387 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 391 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 395 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 399 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 403 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 407 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 411 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 415 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 419 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 423 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 427 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 431 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 435 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 439 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 443 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 447 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 451 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 455 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 459 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 463 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 467 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 471 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 475 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 479 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 483 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 487 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 491 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 495 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 499 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 503 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 507 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 511 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 515 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 519 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 521 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\PETSCP~1.PTH\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\conffix.h" typedef int int32_t; typedef int mode_t; typedef int pid_t; #line 14 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\conffix.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\conffix.h" #line 16 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\petsc.packages.pthread\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\PETSCP~1.PTH\\conftest.c" C:\cygwin64\tmp\PETSC-~3\PETSCP~1.PTH\conftest.c(3) : fatal error C1083: Cannot open include file: 'sys/sysctl.h': No such file or directory Possible ERROR while running preprocessor: ret = 512 Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST checkSharedLibrary from PETSc.packages.pthread(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:518) TESTING: checkSharedLibrary from PETSc.packages.pthread(config/BuildSystem/config/package.py:518) By default we don't care about checking if the library is shared Popping language C ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.pthreadclasses(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.pthreadclasses(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.openmp(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.openmp(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.PTScotch(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.PTScotch(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.Numpy(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.Numpy(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.mpe(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.mpe(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.Matlab(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/packages/Matlab.py:36) TESTING: alternateConfigureLibrary from PETSc.packages.Matlab(config/PETSc/packages/Matlab.py:36) ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.MatlabEngine(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.MatlabEngine(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.Mathematica(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.Mathematica(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default Not a clone of PETSc, don't need Lgrind ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.hwloc(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.hwloc(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.opengl(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.opengl(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.glut(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.glut(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.Generator(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.Generator(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.fftw(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.fftw(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.scientificpython(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.scientificpython(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.fiat(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.fiat(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.FFC(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.FFC(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.expat(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.expat(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.thrust(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.thrust(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.cusp(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.cusp(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.txpetscgpu(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.txpetscgpu(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.cuda(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.cuda(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.ctetgen(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.ctetgen(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.Suggar(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.Suggar(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default Checking for program /usr/local/bin/cmake...not found Checking for program /usr/bin/cmake...found Defined make macro "CMAKE" to "/usr/bin/cmake" Defined make macro "CMAKE " to "/usr/bin/cmake" Pushing language C ================================================================================ TEST configureLibrary from PETSc.packages.metis(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:464) TESTING: configureLibrary from PETSc.packages.metis(config/BuildSystem/config/package.py:464) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional metis Checking for library in User specified METIS libraries: ['/cygdrive/c/cygwin64/packages/metis-5.1.0/build/libmetis/Release/metis.lib'] Contents: ['build', 'BUILD-Windows.txt', 'BUILD.txt', 'Changelog', 'CMakeLists.txt', 'GKlib', 'graphs', 'include', 'Install.txt', 'libmetis', 'LICENSE.txt', 'Makefile', 'manual', 'programs', 'vsgen.bat'] ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function METIS_PartGraphKway in library ['/cygdrive/c/cygwin64/packages/metis-5.1.0/build/libmetis/Release/metis.lib'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char METIS_PartGraphKway(); int main() { METIS_PartGraphKway() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/cygwin64/packages/metis-5.1.0/build/libmetis/Release/metis.lib Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/cygwin64/packages/metis-5.1.0/build/libmetis/Release/metis.lib Ws2_32.lib sh: Defined "HAVE_LIBMETIS" to "1" Popping language C Checking for headers User specified METIS libraries: ['/cygdrive/c/cygwin64/packages/metis-5.1.0/include'] Pushing language C ================================================================================ TEST checkInclude from config.headers(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['metis.h'] in ['/cygdrive/c/cygwin64/packages/metis-5.1.0/include'] Checking include with compiler flags var CPPFLAGS ['/cygdrive/c/cygwin64/packages/metis-5.1.0/include'] sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -I/tmp/petsc-_gMCR8/config.headers -I/cygdrive/c/cygwin64/packages/metis-5.1.0/include /tmp/petsc-_gMCR8/config.headers/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -E -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -I/tmp/petsc-_gMCR8/config.headers -I/cygdrive/c/cygwin64/packages/metis-5.1.0/include /tmp/petsc-_gMCR8/config.headers/conftest.c sh: conftest.c #line 1 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 7 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 11 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 19 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 23 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 27 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 31 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 35 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 39 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 43 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 47 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 51 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 55 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 59 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 63 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 67 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 71 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 75 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 79 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 83 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 87 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 91 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 95 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 99 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 103 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 107 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 111 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 115 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 119 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 123 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 127 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 131 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 135 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 139 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 143 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 147 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 151 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 155 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 159 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 163 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 167 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 171 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 175 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 179 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 183 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 187 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 191 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 195 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 199 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 203 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 207 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 211 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 215 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 219 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 223 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 227 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 231 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 235 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 239 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 243 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 247 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 251 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 255 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 259 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 263 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 267 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 271 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 275 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 279 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 283 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 287 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 291 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 295 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 299 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 303 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 307 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 311 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 315 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 319 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 323 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 327 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 331 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 335 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 339 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 343 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 347 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 351 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 355 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 359 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 363 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 367 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 371 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 375 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 379 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 383 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 387 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 391 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 395 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 399 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 403 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 407 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 411 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 415 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 419 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 423 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 427 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 431 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 435 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 439 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 443 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 447 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 451 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 455 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 459 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 463 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 467 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 471 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 475 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 479 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 483 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 487 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 491 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 495 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 499 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 503 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 507 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 511 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 515 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 519 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 523 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 525 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\confdefs.h" #line 2 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" typedef int int32_t; typedef int mode_t; typedef int pid_t; #line 14 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 15 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 16 "c:\\cygwin64\\tmp\\petsc-_gmcr8\\config.headers\\conffix.h" #line 3 "C:\\cygwin64\\tmp\\PETSC-~3\\CONFIG~1.HEA\\conftest.c" #line 1 "C:\\cygwin64\\packages\\METIS-~1.0\\include\\metis.h" #line 56 "C:\\cygwin64\\packages\\METIS-~1.0\\include\\metis.h" #line 59 "C:\\cygwin64\\packages\\METIS-~1.0\\include\\metis.h" #line 62 "C:\\cygwin64\\packages\\METIS-~1.0\\include\\metis.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\limits.h" #pragma once #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 22 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 23 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 42 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 46 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\crtdefs.h" #line 1 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #pragma once #line 145 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 148 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 154 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 158 "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\INCLUDE\\sal.h" #line 1 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #pragma once #line 21 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 23 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 24 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned __int64 size_t; #line 31 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 33 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" typedef unsigned short wchar_t; #line 38 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" #line 50 "c:\\program files (x86)\\microsoft visual studio 10.0\\vc\\include\\codeanalysis\\sourceannotations.h" enum SA_YesNoMaybe { SA_No = 0x0fff0001, SA_Maybe = 0x0fff0010, SA_Yes = 0x0fff0100 }; typedef enum SA_YesNoMaybe SA_YesNoMaybe; enum SA_AccessType { SA_NoAccess = 0, SA_Read = 1, SA_Write = 2, SA_ReadWrite = 3 }; typedef enum SA_AccessType SA_AccessType; [source_annotation_attribute( SA_Parameter )] struct PreAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter|SA_ReturnValue )] struct PostAttribute { unsigned int Deref; SA_YesNoMaybe Valid; SA_YesNoMaybe Null; SA_YesNoMaybe Tainted; SA_AccessType Access; size_t ValidElementsConst; size_t ValidBytesConst; const wchar_t* ValidElements; const wchar_t* ValidBytes; const wchar_t* ValidElementsLength; const wchar_t* ValidBytesLength; size_t WritableElementsConst; size_t WritableBytesConst; const wchar_t* WritableElements; const wchar_t* WritableBytes; const wchar_t* WritableElementsLength; const wchar_t* WritableBytesLength; size_t ElementSizeConst; const wchar_t* ElementSize; SA_YesNoMaybe NullTerminated; SA_YesNoMaybe MustCheck; const wchar_t* Condition; }; [source_annotation_attribute( SA_Parameter )] struct FormatStringAttribute { const wchar_t* Style; const wchar_t* UnformattedAlternative; }; [source_annotation_attribute( SA_ReturnValue )] struct InvalidCheckAttribute Found header files ['metis.h'] in ['/cygdrive/c/cygwin64/packages/metis-5.1.0/include'] Popping language C ================================================================================ TEST checkSharedLibrary from PETSc.packages.metis(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:518) TESTING: checkSharedLibrary from PETSc.packages.metis(config/BuildSystem/config/package.py:518) By default we don't care about checking if the library is shared Popping language C ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.parmetis(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.parmetis(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.Chaco(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.Chaco(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.ccafe(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.ccafe(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default Not a clone of PETSc, don't need c2html ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.babel(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.babel(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.java(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.java(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.ams(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.ams(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.server(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.server(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default Pushing language C ================================================================================ TEST configureLibrary from PETSc.packages.X(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:464) TESTING: configureLibrary from PETSc.packages.X(config/BuildSystem/config/package.py:464) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional X Checking for library in Package specific search directory X: ['libX11.a'] ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function XSetWMName in library ['libX11.a'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); int main() { XSetWMName() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lX11 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lX11 Ws2_32.lib sh: LINK : fatal error LNK1181: cannot open input file 'libX11.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'libX11.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lX11 Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); int main() { XSetWMName() ; return 0; } Popping language C Checking for library in Package specific search directory X: ['lib64/libX11.a'] ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function XSetWMName in library ['lib64/libX11.a'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); int main() { XSetWMName() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lX11 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lX11 Ws2_32.lib sh: LINK : fatal error LNK1181: cannot open input file 'libX11.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'libX11.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -lX11 Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); int main() { XSetWMName() ; return 0; } Popping language C Directory does not exist: /opt/X11 (while checking "Package specific search directory X" for "['/opt/X11/lib/libX11.a']") Directory does not exist: /opt/X11 (while checking "Package specific search directory X" for "['/opt/X11/lib64/libX11.a']") Directory does not exist: /Developer/SDKs/MacOSX10.5.sdk/usr/X11 (while checking "Package specific search directory X" for "['/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libX11.a']") Directory does not exist: /Developer/SDKs/MacOSX10.5.sdk/usr/X11 (while checking "Package specific search directory X" for "['/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib64/libX11.a']") Directory does not exist: /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6 (while checking "Package specific search directory X" for "['/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libX11.a']") Directory does not exist: /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6 (while checking "Package specific search directory X" for "['/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib64/libX11.a']") Directory does not exist: /usr/X11 (while checking "Package specific search directory X" for "['/usr/X11/lib/libX11.a']") Directory does not exist: /usr/X11 (while checking "Package specific search directory X" for "['/usr/X11/lib64/libX11.a']") Directory does not exist: /usr/X11R6 (while checking "Package specific search directory X" for "['/usr/X11R6/lib/libX11.a']") Directory does not exist: /usr/X11R6 (while checking "Package specific search directory X" for "['/usr/X11R6/lib64/libX11.a']") Directory does not exist: /usr/X11R5 (while checking "Package specific search directory X" for "['/usr/X11R5/lib/libX11.a']") Directory does not exist: /usr/X11R5 (while checking "Package specific search directory X" for "['/usr/X11R5/lib64/libX11.a']") Directory does not exist: /usr/X11R4 (while checking "Package specific search directory X" for "['/usr/X11R4/lib/libX11.a']") Directory does not exist: /usr/X11R4 (while checking "Package specific search directory X" for "['/usr/X11R4/lib64/libX11.a']") Directory does not exist: /usr/local/X11 (while checking "Package specific search directory X" for "['/usr/local/X11/lib/libX11.a']") Directory does not exist: /usr/local/X11 (while checking "Package specific search directory X" for "['/usr/local/X11/lib64/libX11.a']") Directory does not exist: /usr/local/X11R6 (while checking "Package specific search directory X" for "['/usr/local/X11R6/lib/libX11.a']") Directory does not exist: /usr/local/X11R6 (while checking "Package specific search directory X" for "['/usr/local/X11R6/lib64/libX11.a']") Directory does not exist: /usr/local/X11R5 (while checking "Package specific search directory X" for "['/usr/local/X11R5/lib/libX11.a']") Directory does not exist: /usr/local/X11R5 (while checking "Package specific search directory X" for "['/usr/local/X11R5/lib64/libX11.a']") Directory does not exist: /usr/local/X11R4 (while checking "Package specific search directory X" for "['/usr/local/X11R4/lib/libX11.a']") Directory does not exist: /usr/local/X11R4 (while checking "Package specific search directory X" for "['/usr/local/X11R4/lib64/libX11.a']") Directory does not exist: /usr/X386 (while checking "Package specific search directory X" for "['/usr/X386/lib/libX11.a']") Directory does not exist: /usr/X386 (while checking "Package specific search directory X" for "['/usr/X386/lib64/libX11.a']") Directory does not exist: /usr/x386 (while checking "Package specific search directory X" for "['/usr/x386/lib/libX11.a']") Directory does not exist: /usr/x386 (while checking "Package specific search directory X" for "['/usr/x386/lib64/libX11.a']") Directory does not exist: /usr/XFree86/X11 (while checking "Package specific search directory X" for "['/usr/XFree86/X11/lib/libX11.a']") Directory does not exist: /usr/XFree86/X11 (while checking "Package specific search directory X" for "['/usr/XFree86/X11/lib64/libX11.a']") Checking for library in Package specific search directory X: ['/usr/local/lib/libX11.a'] Contents: ['bin', 'etc', 'lib'] ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function XSetWMName in library ['/usr/local/lib/libX11.a'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); int main() { XSetWMName() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/usr/local/lib -L/usr/local/lib -lX11 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/usr/local/lib -L/usr/local/lib -lX11 Ws2_32.lib sh: LINK : fatal error LNK1181: cannot open input file 'libX11.lib' Possible ERROR while running linker: output: LINK : fatal error LNK1181: cannot open input file 'libX11.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/usr/local/lib -L/usr/local/lib -lX11 Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); int main() { XSetWMName() ; return 0; } Popping language C Checking for library in Package specific search directory X: ['/usr/local/lib64/libX11.a'] Contents: ['bin', 'etc', 'lib'] ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function XSetWMName in library ['/usr/local/lib64/libX11.a'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); int main() { XSetWMName() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/usr/local/lib64 -L/usr/local/lib64 -lX11 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/usr/local/lib64 -L/usr/local/lib64 -lX11 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /usr/local/lib64 Warning: win32fe: Library Path Not Found: /usr/local/lib64 LINK : fatal error LNK1181: cannot open input file 'libX11.lib' Possible ERROR while running linker: output: Warning: win32fe: Library Path Not Found: /usr/local/lib64 Warning: win32fe: Library Path Not Found: /usr/local/lib64 LINK : fatal error LNK1181: cannot open input file 'libX11.lib' ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/usr/local/lib64 -L/usr/local/lib64 -lX11 Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); int main() { XSetWMName() ; return 0; } Popping language C Directory does not exist: /usr/local/x11r5 (while checking "Package specific search directory X" for "['/usr/local/x11r5/lib/libX11.a']") Directory does not exist: /usr/local/x11r5 (while checking "Package specific search directory X" for "['/usr/local/x11r5/lib64/libX11.a']") Directory does not exist: /usr/lpp/Xamples (while checking "Package specific search directory X" for "['/usr/lpp/Xamples/lib/libX11.a']") Directory does not exist: /usr/lpp/Xamples (while checking "Package specific search directory X" for "['/usr/lpp/Xamples/lib64/libX11.a']") Directory does not exist: /usr/openwin (while checking "Package specific search directory X" for "['/usr/openwin/lib/libX11.a']") Directory does not exist: /usr/openwin (while checking "Package specific search directory X" for "['/usr/openwin/lib64/libX11.a']") Directory does not exist: /usr/openwin/share (while checking "Package specific search directory X" for "['/usr/openwin/share/lib/libX11.a']") Directory does not exist: /usr/openwin/share (while checking "Package specific search directory X" for "['/usr/openwin/share/lib64/libX11.a']") ================================================================================ TEST checkSharedLibrary from PETSc.packages.X(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:518) TESTING: checkSharedLibrary from PETSc.packages.X(config/BuildSystem/config/package.py:518) By default we don't care about checking if the library is shared Popping language C ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.Zoltan(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.Zoltan(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.Triangle(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.Triangle(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.afterimage(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.afterimage(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST configureRegression from PETSc.utilities.Regression(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/PETSc/utilities/Regression.py:32) TESTING: configureRegression from PETSc.utilities.Regression(config/PETSc/utilities/Regression.py:32) Output a file listing the jobs that should be run by the PETSc buildtest Defined make macro "TEST_RUNS" to "C Fortran METIS F90 F90_NoComplex F2003 Fortran_NoComplex C_NoComplex" ================================================================================ TEST alternateConfigureLibrary from config.packages.f2cblaslapack(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.f2cblaslapack(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST configureLibrary from config.packages.BlasLapack(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/BlasLapack.py:441) TESTING: configureLibrary from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:441) Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -V Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -V sh: ifort: command line error: no files specified; for help type "ifort /help" Popping language FC Looking for BLASLAPACK in directory starting with fblaslapack Found a copy of BLASLAPACK in fblaslapack-3.1.1 Pushing language FC sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp -O0 /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp -O0 /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10006: ignoring unknown option '/O0' Successful compile: Source: program main end Rejecting compiler flag -O0 due to ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10006: ignoring unknown option '/O0' sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp -Od /tmp/petsc-_gMCR8/config.setCompilers/conftest.F Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe ifort -c -o /tmp/petsc-_gMCR8/config.setCompilers/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/config.setCompilers -MT -O3 -QxW -fpp -Od /tmp/petsc-_gMCR8/config.setCompilers/conftest.F sh: ifort: command line remark #10279: option '/QxW' is deprecated and will be removed in a future release. See '/help deprecated' ifort: command line warning #10120: overriding '/O3' with '/Od' Successful compile: Source: program main end Popping language FC Pushing language FC Popping language FC Do not need to rebuild BlasLapack ================================================================================ Checking for a functional BLAS and LAPACK in Downloaded BLAS/LAPACK library ================================================================================ TEST checkLib from config.packages.BlasLapack(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/BlasLapack.py:113) TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:113) Checking for BLAS and LAPACK symbols Checking for function DDOT in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a'] ['-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DDOT(); int main() { DDOT() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFBLAS" to "1" Popping language C Checking for function DGETRS in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGETRS(); int main() { DGETRS() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Found Fortran mangling on BLAS/LAPACK which is caps Checking for function df2cblaslapack311_id in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char df2cblaslapack311_id(); int main() { df2cblaslapack311_id() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol df2cblaslapack311_id referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 conftest.obj : error LNK2019: unresolved external symbol df2cblaslapack311_id referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char df2cblaslapack311_id(); int main() { df2cblaslapack311_id() ; return 0; } Popping language C Defined "BLASLAPACK_CAPS" to "1" ================================================================================ TEST check64BitBLASIndices from config.packages.BlasLapack(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/BlasLapack.py:554) TESTING: check64BitBLASIndices from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:554) Check for and use 64bit integer blas ================================================================================ TEST checkESSL from config.packages.BlasLapack(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/BlasLapack.py:500) TESTING: checkESSL from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:500) Check for the IBM ESSL library Checking for function iessl in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char iessl(); int main() { iessl() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol iessl referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol iessl referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char iessl(); int main() { iessl() ; return 0; } Popping language C ================================================================================ TEST checkPESSL from config.packages.BlasLapack(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/BlasLapack.py:506) TESTING: checkPESSL from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:506) Check for the IBM PESSL library - and error out - if used instead of ESSL Checking for function ipessl in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ipessl(); int main() { ipessl() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack Ws2_32.lib sh: conftest.obj : error LNK2019: unresolved external symbol ipessl referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals Possible ERROR while running linker: output: conftest.obj : error LNK2019: unresolved external symbol ipessl referenced in function main C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1120: 1 unresolved externals ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ipessl(); int main() { ipessl() ; return 0; } Popping language C ================================================================================ TEST checkMissing from config.packages.BlasLapack(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/BlasLapack.py:512) TESTING: checkMissing from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:512) Check for missing LAPACK routines Checking for function DTRSEN in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DTRSEN(); int main() { DTRSEN() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DGERFS in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGERFS(); int main() { DGERFS() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DGGES in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGGES(); int main() { DGGES() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DTGSEN in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DTGSEN(); int main() { DTGSEN() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DGESVD in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGESVD(); int main() { DGESVD() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DGETRF in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGETRF(); int main() { DGETRF() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DGETRS in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGETRS(); int main() { DGETRS() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DGEEV in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGEEV(); int main() { DGEEV() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DGELSS in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGELSS(); int main() { DGELSS() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DSYEV in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DSYEV(); int main() { DSYEV() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DSYEVX in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DSYEVX(); int main() { DSYEVX() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DSYGV in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DSYGV(); int main() { DSYGV() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DSYGVX in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DSYGVX(); int main() { DSYGVX() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DPOTRF in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DPOTRF(); int main() { DPOTRF() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DPOTRS in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DPOTRS(); int main() { DPOTRS() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DSTEBZ in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DSTEBZ(); int main() { DSTEBZ() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DPTTRF in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DPTTRF(); int main() { DPTTRF() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DPTTRS in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DPTTRS(); int main() { DPTTRS() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DSTEIN in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DSTEIN(); int main() { DSTEIN() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DORGQR in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DORGQR(); int main() { DORGQR() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DGEQRF in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGEQRF(); int main() { DGEQRF() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DGESV in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGESV(); int main() { DGESV() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DHSEQR in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DHSEQR(); int main() { DHSEQR() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DGEQRF in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGEQRF(); int main() { DGEQRF() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C Checking for function DSTEQR in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a'] ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DSTEQR(); int main() { DSTEQR() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Popping language C ================================================================================ TEST checklsame from config.packages.BlasLapack(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/packages/BlasLapack.py:532) TESTING: checklsame from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:532) Do the BLAS/LAPACK libraries have a valid lsame() function with correction binding. Lion and xcode 4.2 do not Checking for function LSAME in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a', '/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char LSAME(); int main() { LSAME() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Defined "HAVE_LIBFBLAS" to "1" Popping language C ================================================================================ TEST alternateConfigureLibrary from config.packages.UMFPACK(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.UMFPACK(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from config.packages.CHOLMOD(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from config.packages.CHOLMOD(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.SuperLU_DIST(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.SuperLU_DIST(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.SuperLU(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.SuperLU(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.sundials(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.sundials(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.spai(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.spai(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.PaStiX(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.PaStiX(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.pARMS(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.pARMS(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.oski(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.oski(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.scalapack(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.scalapack(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.MUMPS(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.MUMPS(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default ================================================================================ TEST alternateConfigureLibrary from PETSc.packages.ml(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:522) TESTING: alternateConfigureLibrary from PETSc.packages.ml(config/BuildSystem/config/package.py:522) Called if --with-packagename=0; does nothing by default Checking for function DGELS in library ['/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a', '/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] [] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char DGELS(); int main() { DGELS() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 Defined "HAVE_LIBFLAPACK" to "1" Defined "HAVE_LIBFBLAS" to "1" Popping language C Found dgels() in Lapack library as needed by hypre Pushing language C ================================================================================ TEST configureLibrary from PETSc.packages.hypre(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py:464) TESTING: configureLibrary from PETSc.packages.hypre(config/BuildSystem/config/package.py:464) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional hypre Checking for library in User specified HYPRE libraries: ['/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/lib/HYPRE.lib'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/libraries.py:145) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:145) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for function HYPRE_IJMatrixCreate in library ['/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/lib/HYPRE.lib'] ['/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib', '/cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib', '/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libflapack.a', '/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib/libfblas.a', '-L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\\PROGRA~2\\Intel\\COMPOS~1\\bin\\intel64'] Pushing language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -c -o /tmp/petsc-_gMCR8/config.libraries/conftest.o -I/tmp/petsc-_gMCR8/config.compilers -I/tmp/petsc-_gMCR8/config.setCompilers -I/tmp/petsc-_gMCR8/config.headers -I/tmp/petsc-_gMCR8/PETSc.utilities.cacheDetails -I/tmp/petsc-_gMCR8/PETSc.utilities.missing -I/tmp/petsc-_gMCR8/config.functions -I/tmp/petsc-_gMCR8/PETSc.utilities.scalarTypes -I/tmp/petsc-_gMCR8/config.types -I/tmp/petsc-_gMCR8/config.packages.MPI -I/tmp/petsc-_gMCR8/config.libraries -I/tmp/petsc-_gMCR8/PETSc.packages.pthread -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.c sh: conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char HYPRE_IJMatrixCreate(); int main() { HYPRE_IJMatrixCreate() ; return 0; } Pushing language C Popping language C sh: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/lib/HYPRE.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Executing: /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/lib/HYPRE.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib sh: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 MSVCRT.lib(MSVCR100.dll) : error LNK2005: malloc already defined in LIBCMT.lib(malloc.obj) MSVCRT.lib(MSVCR100.dll) : error LNK2005: realloc already defined in LIBCMT.lib(realloc.obj) MSVCRT.lib(MSVCR100.dll) : error LNK2005: free already defined in LIBCMT.lib(free.obj) LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1169: one or more multiply defined symbols found Possible ERROR while running linker: output: Warning: win32fe: Library Path Not Found: /cygdrive/c/cygwin64/packages/petsc-3.4.3/PROGRA~2IntelCOMPOS~1binintel64 MSVCRT.lib(MSVCR100.dll) : error LNK2005: malloc already defined in LIBCMT.lib(malloc.obj) MSVCRT.lib(MSVCR100.dll) : error LNK2005: realloc already defined in LIBCMT.lib(realloc.obj) MSVCRT.lib(MSVCR100.dll) : error LNK2005: free already defined in LIBCMT.lib(free.obj) LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library C:\cygwin64\tmp\PETSC-~3\CONFIG~1.LIB\conftest.exe : fatal error LNK1169: one or more multiply defined symbols found ret = 512 Pushing language C Popping language C in /cygdrive/c/cygwin64/packages/petsc-3.4.3/bin/win32fe/win32fe cl -o /tmp/petsc-_gMCR8/config.libraries/conftest.exe -MT -wd4996 -O2 /tmp/petsc-_gMCR8/config.libraries/conftest.o /cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/lib/HYPRE.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MSHPC2008R2/Lib/amd64/msmpi.lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lflapack -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/arch-mswin-c-optimized-hypre/lib -lfblas -L/cygdrive/c/cygwin64/packages/petsc-3.4.3/\PROGRA~2\Intel\COMPOS~1\bin\intel64 Ws2_32.lib Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char HYPRE_IJMatrixCreate(); int main() { HYPRE_IJMatrixCreate() ; return 0; } Popping language C **** Configure header /tmp/petsc-_gMCR8/confdefs.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #ifndef IS_COLORING_MAX #define IS_COLORING_MAX 65535 #endif #ifndef STDC_HEADERS #define STDC_HEADERS 1 #endif #ifndef MPIU_COLORING_VALUE #define MPIU_COLORING_VALUE MPI_UNSIGNED_SHORT #endif #ifndef _USE_MATH_DEFINES #define _USE_MATH_DEFINES 1 #endif #ifndef PETSC_HAVE_MALLOC_H #define PETSC_HAVE_MALLOC_H 1 #endif #ifndef PETSC_HAVE_IO_H #define PETSC_HAVE_IO_H 1 #endif #ifndef PETSC_HAVE_TIME_H #define PETSC_HAVE_TIME_H 1 #endif #ifndef PETSC_HAVE_MATH_H #define PETSC_HAVE_MATH_H 1 #endif #ifndef PETSC_HAVE_STRING_H #define PETSC_HAVE_STRING_H 1 #endif #ifndef PETSC_HAVE_FCNTL_H #define PETSC_HAVE_FCNTL_H 1 #endif #ifndef PETSC_HAVE_DIRECT_H #define PETSC_HAVE_DIRECT_H 1 #endif #ifndef PETSC_HAVE_WINDOWSX_H #define PETSC_HAVE_WINDOWSX_H 1 #endif #ifndef PETSC_HAVE_SYS_TYPES_H #define PETSC_HAVE_SYS_TYPES_H 1 #endif #ifndef PETSC_HAVE_FLOAT_H #define PETSC_HAVE_FLOAT_H 1 #endif #ifndef PETSC_HAVE_DOS_H #define PETSC_HAVE_DOS_H 1 #endif #ifndef PETSC_HAVE_MEMORY_H #define PETSC_HAVE_MEMORY_H 1 #endif #ifndef PETSC_HAVE_STDLIB_H #define PETSC_HAVE_STDLIB_H 1 #endif #ifndef PETSC_HAVE_SEARCH_H #define PETSC_HAVE_SEARCH_H 1 #endif #ifndef PETSC_HAVE_SETJMP_H #define PETSC_HAVE_SETJMP_H 1 #endif #ifndef PETSC_HAVE_STDINT_H #define PETSC_HAVE_STDINT_H 1 #endif #ifndef PETSC_HAVE_WS2TCPIP_H #define PETSC_HAVE_WS2TCPIP_H 1 #endif #ifndef PETSC_HAVE_LIMITS_H #define PETSC_HAVE_LIMITS_H 1 #endif #ifndef PETSC_USING_F2003 #define PETSC_USING_F2003 1 #endif #ifndef PETSC_HAVE_FORTRAN_CAPS #define PETSC_HAVE_FORTRAN_CAPS 1 #endif #ifndef PETSC_C_STATIC_INLINE #define PETSC_C_STATIC_INLINE static __inline #endif #ifndef PETSC_USING_F90 #define PETSC_USING_F90 1 #endif #ifndef PETSC_HAVE_CXX_NAMESPACE #define PETSC_HAVE_CXX_NAMESPACE 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_LIBWS2_32 #define PETSC_HAVE_LIBWS2_32 1 #endif #ifndef PETSC_HAVE_LIBMETIS #define PETSC_HAVE_LIBMETIS 1 #endif #ifndef PETSC_HAVE_LIBMSMPI #define PETSC_HAVE_LIBMSMPI 1 #endif #ifndef PETSC_HAVE_LIBFLAPACK #define PETSC_HAVE_LIBFLAPACK 1 #endif #ifndef PETSC_HAVE_LIBFBLAS #define PETSC_HAVE_LIBFBLAS 1 #endif #ifndef PETSC_HAVE_LIBMSMPIFEC #define PETSC_HAVE_LIBMSMPIFEC 1 #endif #ifndef PETSC_ARCH #define PETSC_ARCH "arch-mswin-c-optimized-hypre" #endif #ifndef PETSC_DIR #define PETSC_DIR "/cygdrive/c/cygwin64/packages/petsc-3.4.3" #endif #ifndef HAVE_GZIP #define HAVE_GZIP 1 #endif #ifndef PETSC_CLANGUAGE_C #define PETSC_CLANGUAGE_C 1 #endif #ifndef PETSC_USE_ERRORCHECKING #define PETSC_USE_ERRORCHECKING 1 #endif #ifndef PETSC_MISSING_DREAL #define PETSC_MISSING_DREAL 1 #endif #ifndef PETSC_SIZEOF_MPI_COMM #define PETSC_SIZEOF_MPI_COMM 4 #endif #ifndef PETSC_BITS_PER_BYTE #define PETSC_BITS_PER_BYTE 8 #endif #ifndef PETSC_SIZEOF_MPI_FINT #define PETSC_SIZEOF_MPI_FINT 4 #endif #ifndef PETSC_SIZEOF_VOID_P #define PETSC_SIZEOF_VOID_P 8 #endif #ifndef PETSC_RETSIGTYPE #define PETSC_RETSIGTYPE void #endif #ifndef PETSC_HAVE___INT64 #define PETSC_HAVE___INT64 1 #endif #ifndef PETSC_HAVE_CXX_COMPLEX #define PETSC_HAVE_CXX_COMPLEX 1 #endif #ifndef PETSC_SIZEOF_LONG #define PETSC_SIZEOF_LONG 4 #endif #ifndef PETSC_USE_FORTRANKIND #define PETSC_USE_FORTRANKIND 1 #endif #ifndef PETSC_SIZEOF_INT #define PETSC_SIZEOF_INT 4 #endif #ifndef PETSC_SIZEOF_SIZE_T #define PETSC_SIZEOF_SIZE_T 8 #endif #ifndef PETSC_uid_t #define PETSC_uid_t int #endif #ifndef PETSC_SIZEOF_CHAR #define PETSC_SIZEOF_CHAR 1 #endif #ifndef PETSC_SIZEOF_DOUBLE #define PETSC_SIZEOF_DOUBLE 8 #endif #ifndef PETSC_SIZEOF_FLOAT #define PETSC_SIZEOF_FLOAT 4 #endif #ifndef PETSC_gid_t #define PETSC_gid_t int #endif #ifndef PETSC_SIZEOF_LONG_LONG #define PETSC_SIZEOF_LONG_LONG 8 #endif #ifndef PETSC_SIZEOF_SHORT #define PETSC_SIZEOF_SHORT 2 #endif #ifndef PETSC_HAVE_ACCESS #define PETSC_HAVE_ACCESS 1 #endif #ifndef PETSC_HAVE_SIGNAL #define PETSC_HAVE_SIGNAL 1 #endif #ifndef PETSC_HAVE__LSEEK #define PETSC_HAVE__LSEEK 1 #endif #ifndef PETSC_HAVE_VFPRINTF #define PETSC_HAVE_VFPRINTF 1 #endif #ifndef PETSC_HAVE__GETCWD #define PETSC_HAVE__GETCWD 1 #endif #ifndef PETSC_HAVE_MEMMOVE #define PETSC_HAVE_MEMMOVE 1 #endif #ifndef PETSC_HAVE_RAND #define PETSC_HAVE_RAND 1 #endif #ifndef PETSC_HAVE__SLEEP #define PETSC_HAVE__SLEEP 1 #endif #ifndef PETSC_HAVE_TIME #define PETSC_HAVE_TIME 1 #endif #ifndef PETSC_HAVE_GETCWD #define PETSC_HAVE_GETCWD 1 #endif #ifndef PETSC_HAVE_LSEEK #define PETSC_HAVE_LSEEK 1 #endif #ifndef PETSC_HAVE__VSNPRINTF #define PETSC_HAVE__VSNPRINTF 1 #endif #ifndef PETSC_HAVE_VPRINTF #define PETSC_HAVE_VPRINTF 1 #endif #ifndef PETSC_HAVE_STRICMP #define PETSC_HAVE_STRICMP 1 #endif #ifndef PETSC_HAVE__SNPRINTF #define PETSC_HAVE__SNPRINTF 1 #endif #ifndef PETSC_SIGNAL_CAST #define PETSC_SIGNAL_CAST #endif #ifndef PETSC_HAVE__ACCESS #define PETSC_HAVE__ACCESS 1 #endif #ifndef PETSC_HAVE_CLOCK #define PETSC_HAVE_CLOCK 1 #endif #ifndef PETSC_BLASLAPACK_CAPS #define PETSC_BLASLAPACK_CAPS 1 #endif #ifndef PETSC_HAVE_MPI_COMM_C2F #define PETSC_HAVE_MPI_COMM_C2F 1 #endif #ifndef PETSC_HAVE_MPI_EXSCAN #define PETSC_HAVE_MPI_EXSCAN 1 #endif #ifndef PETSC_HAVE_MPI_LONG_DOUBLE #define PETSC_HAVE_MPI_LONG_DOUBLE 1 #endif #ifndef PETSC_HAVE_MPI_COMM_F2C #define PETSC_HAVE_MPI_COMM_F2C 1 #endif #ifndef PETSC_HAVE_MPI_FINT #define PETSC_HAVE_MPI_FINT 1 #endif #ifndef PETSC_HAVE_MPI_COMM_SPAWN #define PETSC_HAVE_MPI_COMM_SPAWN 1 #endif #ifndef PETSC_HAVE_MPI_TYPE_GET_ENVELOPE #define PETSC_HAVE_MPI_TYPE_GET_ENVELOPE 1 #endif #ifndef PETSC_HAVE_MPI_FINALIZED #define PETSC_HAVE_MPI_FINALIZED 1 #endif #ifndef PETSC_HAVE_MPI_TYPE_GET_EXTENT #define PETSC_HAVE_MPI_TYPE_GET_EXTENT 1 #endif #ifndef PETSC_HAVE_MPI_COMBINER_DUP #define PETSC_HAVE_MPI_COMBINER_DUP 1 #endif #ifndef PETSC_HAVE_MPI_WIN_CREATE #define PETSC_HAVE_MPI_WIN_CREATE 1 #endif #ifndef PETSC_HAVE_MPI_REPLACE #define PETSC_HAVE_MPI_REPLACE 1 #endif #ifndef PETSC_HAVE_MPI_TYPE_DUP #define PETSC_HAVE_MPI_TYPE_DUP 1 #endif #ifndef PETSC_HAVE_MPIIO #define PETSC_HAVE_MPIIO 1 #endif #ifndef PETSC_HAVE_MPI_INIT_THREAD #define PETSC_HAVE_MPI_INIT_THREAD 1 #endif #ifndef PETSC_HAVE_MPI_ALLTOALLW #define PETSC_HAVE_MPI_ALLTOALLW 1 #endif #ifndef PETSC_HAVE_MPI_IN_PLACE #define PETSC_HAVE_MPI_IN_PLACE 1 #endif #ifndef PETSC_LEVEL1_DCACHE_LINESIZE #define PETSC_LEVEL1_DCACHE_LINESIZE 32 #endif #ifndef PETSC_LEVEL1_DCACHE_SIZE #define PETSC_LEVEL1_DCACHE_SIZE 32768 #endif #ifndef PETSC_LEVEL1_DCACHE_ASSOC #define PETSC_LEVEL1_DCACHE_ASSOC 2 #endif #ifndef PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT #define PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT 1 #endif #ifndef PETSC_USE_PROC_FOR_SIZE #define PETSC_USE_PROC_FOR_SIZE 1 #endif #ifndef PETSC_USE_INFO #define PETSC_USE_INFO 1 #endif #ifndef PETSC_Alignx #define PETSC_Alignx(a,b) #endif #ifndef PETSC_USE_BACKWARD_LOOP #define PETSC_USE_BACKWARD_LOOP 1 #endif #ifndef PETSC_USE_LOG #define PETSC_USE_LOG 1 #endif #ifndef PETSC_IS_COLOR_VALUE_TYPE #define PETSC_IS_COLOR_VALUE_TYPE short #endif #ifndef PETSC_USE_CTABLE #define PETSC_USE_CTABLE 1 #endif #ifndef PETSC_USE_SCALAR_REAL #define PETSC_USE_SCALAR_REAL 1 #endif #ifndef PETSC_HAVE__ISNAN #define PETSC_HAVE__ISNAN 1 #endif #ifndef PETSC_HAVE__FINITE #define PETSC_HAVE__FINITE 1 #endif #ifndef PETSC_USE_REAL_DOUBLE #define PETSC_USE_REAL_DOUBLE 1 #endif #ifndef PETSC_MEMALIGN #define PETSC_MEMALIGN 16 #endif #ifndef PETSC_MISSING_SIGUSR2 #define PETSC_MISSING_SIGUSR2 1 #endif #ifndef PETSC_MISSING_SIGURG #define PETSC_MISSING_SIGURG 1 #endif #ifndef PETSC_MISSING_SIGPIPE #define PETSC_MISSING_SIGPIPE 1 #endif #ifndef PETSC_MISSING_SIGHUP #define PETSC_MISSING_SIGHUP 1 #endif #ifndef PETSC_MISSING_SIGSTOP #define PETSC_MISSING_SIGSTOP 1 #endif #ifndef PETSC_MISSING_SIGSYS #define PETSC_MISSING_SIGSYS 1 #endif #ifndef PETSC_MISSING_SIGCONT #define PETSC_MISSING_SIGCONT 1 #endif #ifndef PETSC_HAVE_WSAGETLASTERROR #define PETSC_HAVE_WSAGETLASTERROR 1 #endif #ifndef PETSC_HAVE_CLOSESOCKET #define PETSC_HAVE_CLOSESOCKET 1 #endif #ifndef PETSC_MISSING_SIGTSTP #define PETSC_MISSING_SIGTSTP 1 #endif #ifndef PETSC_MISSING_SIGCHLD #define PETSC_MISSING_SIGCHLD 1 #endif #ifndef PETSC_HAVE_SOCKET #define PETSC_HAVE_SOCKET 1 #endif #ifndef PETSC_MISSING_SIGUSR1 #define PETSC_MISSING_SIGUSR1 1 #endif #ifndef PETSC_MISSING_SIGTRAP #define PETSC_MISSING_SIGTRAP 1 #endif #ifndef PETSC_MISSING_SIGQUIT #define PETSC_MISSING_SIGQUIT 1 #endif #ifndef PETSC_MISSING_SIGBUS #define PETSC_MISSING_SIGBUS 1 #endif #ifndef PETSC_HAVE_WINSOCK2_H #define PETSC_HAVE_WINSOCK2_H 1 #endif #ifndef PETSC_MISSING_SIGALRM #define PETSC_MISSING_SIGALRM 1 #endif #ifndef PETSC_NEEDS_UTYPE_TYPEDEFS #define PETSC_NEEDS_UTYPE_TYPEDEFS 1 #endif #ifndef PETSC_MISSING_SIGKILL #define PETSC_MISSING_SIGKILL 1 #endif #ifndef PETSC_HAVE_SHARED_LIBRARIES #define PETSC_HAVE_SHARED_LIBRARIES 1 #endif #endif **** C specific Configure header /tmp/petsc-_gMCR8/conffix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN typedef int int32_t; typedef int mode_t; typedef int pid_t; #if defined(__cplusplus) extern "C" { int getdomainname(char *, int); double drand48(); void srand48(long); } #else #endif #endif ******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- --with-hypre-lib=['/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/lib/HYPRE.lib'] and --with-hypre-include=['/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/include'] did not work ******************************************************************************* File "./config/configure.py", line 293, in petsc_configure framework.configure(out = sys.stdout) File "/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/framework.py", line 933, in configure child.configure() File "/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py", line 556, in configure self.executeTest(self.configureLibrary) File "/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/base.py", line 115, in executeTest ret = apply(test, args,kargs) File "/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py", line 484, in configureLibrary for location, directory, lib, incl in self.generateGuesses(): File "/cygdrive/c/cygwin64/packages/petsc-3.4.3/config/BuildSystem/config/package.py", line 294, in generateGuesses '--with-'+self.package+'-include='+str(self.framework.argDB['with-'+self.package+'-include'])+' did not work') From spk at ldeo.columbia.edu Tue Feb 25 08:23:13 2014 From: spk at ldeo.columbia.edu (Samar Khatiwala) Date: Tue, 25 Feb 2014 09:23:13 -0500 Subject: [petsc-users] Error using MUMPS to solve large linear system In-Reply-To: References: <0a26f0bf3e454a7cb284fd136453e7e5@NAGURSKI.anl.gov> <3f57971afae8492fb66dd34c8e2f1b03@NAGURSKI.anl.gov> Message-ID: <3FB64BEE-FFF6-4A1C-943D-52900613AF70@ldeo.columbia.edu> Hi Sherry, Thanks for the offer to help! I tried superlu_dist again and it crashes even more quickly than MUMPS with just the following error: ERROR: 0031-250 task 128: Killed Absolutely nothing else is written out to either stderr or stdout. This is with -mat_superlu_dist_statprint. The program works fine on a smaller matrix. This is the sequence of calls: KSPSetType(ksp,KSPPREONLY); PCSetType(pc,PCLU); PCFactorSetMatSolverPackage(pc,MATSOLVERSUPERLU_DIST); KSPSetFromOptions(ksp); PCSetFromOptions(pc); KSPSolve(ksp,b,x); All of these successfully return *except* the very last one to KSPSolve. Any help would be appreciated. Thanks! Samar On Feb 24, 2014, at 3:58 PM, Xiaoye S. Li wrote: > Samar: > If you include the error message while crashing using superlu_dist, I probably know the reason. (better yet, include the printout before the crash. ) > > Sherry > > > On Mon, Feb 24, 2014 at 9:56 AM, Hong Zhang wrote: > Samar : > There are limitations for direct solvers. > Do not expect any solver can be used on arbitrarily large problems. > Since superlu_dist also crashes, direct solvers may not be able to work on your application. > This is why I suggest to increase size incrementally. > You may have to experiment other type of solvers. > > Hong > > Hi Hong and Jed, > > Many thanks for replying. It would indeed be nice if the error messages from MUMPS were less cryptic! > > 1) I have tried smaller matrices although given how my problem is set up a jump is difficult to avoid. But a good idea > that I will try. > > 2) I did try various ordering but not the one you suggested. > > 3) Tracing the error through the MUMPS code suggest a rather abrupt termination of the program (there should be more > error messages if, for example, memory was a problem). I therefore thought it might be an interface problem rather than > one with mumps and turned to the petsc-users group first. > > 4) I've tried superlu_dist but it also crashes (also unclear as to why) at which point I decided to try mumps. The fact that both > crash would again indicate a common (memory?) problem. > > I'll try a few more things before asking the MUMPS developers. > > Thanks again for your help! > > Samar > > On Feb 24, 2014, at 11:47 AM, Hong Zhang wrote: > >> Samar: >> The crash occurs in >> ... >> [161]PETSC ERROR: Error in external library! >> [161]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFO(1)=-1, INFO(2)=48 >> >> for very large matrix, likely memory problem as you suspected. >> I would suggest >> 1. run problems with increased sizes (not jump from a small one to a very large one) and observe memory usage using >> '-ksp_view'. >> I see you use '-mat_mumps_icntl_14 1000', i.e., percentage of estimated workspace increase. Is it too large? >> Anyway, this input should not cause the crash, I guess. >> 2. experimenting with different matrix ordering -mat_mumps_icntl_7 <> (I usually use sequential ordering 2) >> I see you use parallel ordering -mat_mumps_icntl_29 2. >> 3. send bug report to mumps developers for their suggestion. >> >> 4. try other direct solvers, e.g., superlu_dist. >> >> ? >> >> etc etc. The above error I can tell has something to do with processor 48 (INFO(2)) and so forth but not the previous one. >> >> The full output enabled with -mat_mumps_icntl_4 3 looks as in the attached file. Any hints as to what could be giving this >> error would be very much appreciated. >> >> I do not know how to interpret this output file. mumps developer would give you better suggestion on it. >> I would appreciate to learn as well :-) >> >> Hong > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From balay at mcs.anl.gov Tue Feb 25 08:40:35 2014 From: balay at mcs.anl.gov (Satish Balay) Date: Tue, 25 Feb 2014 08:40:35 -0600 Subject: [petsc-users] Build hypre with Cmake and VS2010 to hypre.lib, no 'include' folder In-Reply-To: <530C4764.7040709@gmail.com> References: <530C392F.5000009@gmail.com> <87vbw3ya1l.fsf@jedbrown.org> <530C4764.7040709@gmail.com> Message-ID: >>> MSVCRT.lib(MSVCR100.dll) : error LNK2005: malloc already defined in LIBCMT.lib(malloc.obj) MSVCRT.lib(MSVCR100.dll) : error LNK2005: realloc already defined in LIBCMT.lib(realloc.obj) MSVCRT.lib(MSVCR100.dll) : error LNK2005: free already defined in LIBCMT.lib(free.obj) <<< You'll have to build hypre with '/MT' or equivalent option. All libraries should be built with the same option - otherwise MS compilers barf at link time. Satish On Tue, 25 Feb 2014, Danyang Su wrote: > On 24/02/2014 10:35 PM, Jed Brown wrote: > > Danyang Su writes: > > > > > Hi All, > > > > > > I can successfully build hypre to hypre.lib with cmake and vs2010, but I > > > cannot find the include folder in the release folder. There is only one > > > folder named "include" in src\FEI_mv\ml\src\include. Is this the one I > > > need to configure with PETSc? > > You should do what the "make install" target does. See > > $PETSC_DIR/config/PETSc/packages/hypre.py to see exactly which commands > > PETSc normally executes. You'll have to look at the hypre build system. > After run install, I can get both lib file and include folder. But when > configure with option > "--with-hypre-include=/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/include > --with-hypre-lib=/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/lib/HYPRE.lib", > I got error indicating this option did not work. > > Thanks, > > Danyang > From bsmith at mcs.anl.gov Tue Feb 25 09:57:19 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Tue, 25 Feb 2014 09:57:19 -0600 Subject: [petsc-users] Error using MUMPS to solve large linear system In-Reply-To: <3FB64BEE-FFF6-4A1C-943D-52900613AF70@ldeo.columbia.edu> References: <0a26f0bf3e454a7cb284fd136453e7e5@NAGURSKI.anl.gov> <3f57971afae8492fb66dd34c8e2f1b03@NAGURSKI.anl.gov> <3FB64BEE-FFF6-4A1C-943D-52900613AF70@ldeo.columbia.edu> Message-ID: <51132AD1-BCA6-4865-8147-BE5F77A90DC7@mcs.anl.gov> On Feb 25, 2014, at 8:23 AM, Samar Khatiwala wrote: > Hi Sherry, > > Thanks for the offer to help! > > I tried superlu_dist again and it crashes even more quickly than MUMPS with just the following error: > > ERROR: 0031-250 task 128: Killed This is usually a symptom of running out of memory. > > Absolutely nothing else is written out to either stderr or stdout. This is with -mat_superlu_dist_statprint. > The program works fine on a smaller matrix. > > This is the sequence of calls: > > KSPSetType(ksp,KSPPREONLY); > PCSetType(pc,PCLU); > PCFactorSetMatSolverPackage(pc,MATSOLVERSUPERLU_DIST); > KSPSetFromOptions(ksp); > PCSetFromOptions(pc); > KSPSolve(ksp,b,x); > > All of these successfully return *except* the very last one to KSPSolve. > > Any help would be appreciated. Thanks! > > Samar > > On Feb 24, 2014, at 3:58 PM, Xiaoye S. Li wrote: > >> Samar: >> If you include the error message while crashing using superlu_dist, I probably know the reason. (better yet, include the printout before the crash. ) >> >> Sherry >> >> >> On Mon, Feb 24, 2014 at 9:56 AM, Hong Zhang wrote: >> Samar : >> There are limitations for direct solvers. >> Do not expect any solver can be used on arbitrarily large problems. >> Since superlu_dist also crashes, direct solvers may not be able to work on your application. >> This is why I suggest to increase size incrementally. >> You may have to experiment other type of solvers. >> >> Hong >> >> Hi Hong and Jed, >> >> Many thanks for replying. It would indeed be nice if the error messages from MUMPS were less cryptic! >> >> 1) I have tried smaller matrices although given how my problem is set up a jump is difficult to avoid. But a good idea >> that I will try. >> >> 2) I did try various ordering but not the one you suggested. >> >> 3) Tracing the error through the MUMPS code suggest a rather abrupt termination of the program (there should be more >> error messages if, for example, memory was a problem). I therefore thought it might be an interface problem rather than >> one with mumps and turned to the petsc-users group first. >> >> 4) I've tried superlu_dist but it also crashes (also unclear as to why) at which point I decided to try mumps. The fact that both >> crash would again indicate a common (memory?) problem. >> >> I'll try a few more things before asking the MUMPS developers. >> >> Thanks again for your help! >> >> Samar >> >> On Feb 24, 2014, at 11:47 AM, Hong Zhang wrote: >> >>> Samar: >>> The crash occurs in >>> ... >>> [161]PETSC ERROR: Error in external library! >>> [161]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFO(1)=-1, INFO(2)=48 >>> >>> for very large matrix, likely memory problem as you suspected. >>> I would suggest >>> 1. run problems with increased sizes (not jump from a small one to a very large one) and observe memory usage using >>> '-ksp_view'. >>> I see you use '-mat_mumps_icntl_14 1000', i.e., percentage of estimated workspace increase. Is it too large? >>> Anyway, this input should not cause the crash, I guess. >>> 2. experimenting with different matrix ordering -mat_mumps_icntl_7 <> (I usually use sequential ordering 2) >>> I see you use parallel ordering -mat_mumps_icntl_29 2. >>> 3. send bug report to mumps developers for their suggestion. >>> >>> 4. try other direct solvers, e.g., superlu_dist. >>> >>> ? >>> >>> etc etc. The above error I can tell has something to do with processor 48 (INFO(2)) and so forth but not the previous one. >>> >>> The full output enabled with -mat_mumps_icntl_4 3 looks as in the attached file. Any hints as to what could be giving this >>> error would be very much appreciated. >>> >>> I do not know how to interpret this output file. mumps developer would give you better suggestion on it. >>> I would appreciate to learn as well :-) >>> >>> Hong >> >> >> > From spk at ldeo.columbia.edu Tue Feb 25 10:07:52 2014 From: spk at ldeo.columbia.edu (Samar Khatiwala) Date: Tue, 25 Feb 2014 11:07:52 -0500 Subject: [petsc-users] Error using MUMPS to solve large linear system In-Reply-To: <51132AD1-BCA6-4865-8147-BE5F77A90DC7@mcs.anl.gov> References: <0a26f0bf3e454a7cb284fd136453e7e5@NAGURSKI.anl.gov> <3f57971afae8492fb66dd34c8e2f1b03@NAGURSKI.anl.gov> <3FB64BEE-FFF6-4A1C-943D-52900613AF70@ldeo.columbia.edu> <51132AD1-BCA6-4865-8147-BE5F77A90DC7@mcs.anl.gov> Message-ID: Hi Barry, You're probably right. I note that the error occurs almost instantly and I've tried increasing the number of CPUs (as many as ~1000 on Yellowstone) to no avail. I know this is a big problem but I didn't think it was that big! Sherry: Is there any way to write out more diagnostic info? E.g.,how much memory superlu thinks it needs/is attempting to allocate. Thanks, Samar On Feb 25, 2014, at 10:57 AM, Barry Smith wrote: > >> >> I tried superlu_dist again and it crashes even more quickly than MUMPS with just the following error: >> >> ERROR: 0031-250 task 128: Killed > > This is usually a symptom of running out of memory. > >> >> Absolutely nothing else is written out to either stderr or stdout. This is with -mat_superlu_dist_statprint. >> The program works fine on a smaller matrix. >> >> This is the sequence of calls: >> >> KSPSetType(ksp,KSPPREONLY); >> PCSetType(pc,PCLU); >> PCFactorSetMatSolverPackage(pc,MATSOLVERSUPERLU_DIST); >> KSPSetFromOptions(ksp); >> PCSetFromOptions(pc); >> KSPSolve(ksp,b,x); >> >> All of these successfully return *except* the very last one to KSPSolve. >> >> Any help would be appreciated. Thanks! >> >> Samar >> >> On Feb 24, 2014, at 3:58 PM, Xiaoye S. Li wrote: >> >>> Samar: >>> If you include the error message while crashing using superlu_dist, I probably know the reason. (better yet, include the printout before the crash. ) >>> >>> Sherry >>> >>> >>> On Mon, Feb 24, 2014 at 9:56 AM, Hong Zhang wrote: >>> Samar : >>> There are limitations for direct solvers. >>> Do not expect any solver can be used on arbitrarily large problems. >>> Since superlu_dist also crashes, direct solvers may not be able to work on your application. >>> This is why I suggest to increase size incrementally. >>> You may have to experiment other type of solvers. >>> >>> Hong >>> >>> Hi Hong and Jed, >>> >>> Many thanks for replying. It would indeed be nice if the error messages from MUMPS were less cryptic! >>> >>> 1) I have tried smaller matrices although given how my problem is set up a jump is difficult to avoid. But a good idea >>> that I will try. >>> >>> 2) I did try various ordering but not the one you suggested. >>> >>> 3) Tracing the error through the MUMPS code suggest a rather abrupt termination of the program (there should be more >>> error messages if, for example, memory was a problem). I therefore thought it might be an interface problem rather than >>> one with mumps and turned to the petsc-users group first. >>> >>> 4) I've tried superlu_dist but it also crashes (also unclear as to why) at which point I decided to try mumps. The fact that both >>> crash would again indicate a common (memory?) problem. >>> >>> I'll try a few more things before asking the MUMPS developers. >>> >>> Thanks again for your help! >>> >>> Samar >>> >>> On Feb 24, 2014, at 11:47 AM, Hong Zhang wrote: >>> >>>> Samar: >>>> The crash occurs in >>>> ... >>>> [161]PETSC ERROR: Error in external library! >>>> [161]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFO(1)=-1, INFO(2)=48 >>>> >>>> for very large matrix, likely memory problem as you suspected. >>>> I would suggest >>>> 1. run problems with increased sizes (not jump from a small one to a very large one) and observe memory usage using >>>> '-ksp_view'. >>>> I see you use '-mat_mumps_icntl_14 1000', i.e., percentage of estimated workspace increase. Is it too large? >>>> Anyway, this input should not cause the crash, I guess. >>>> 2. experimenting with different matrix ordering -mat_mumps_icntl_7 <> (I usually use sequential ordering 2) >>>> I see you use parallel ordering -mat_mumps_icntl_29 2. >>>> 3. send bug report to mumps developers for their suggestion. >>>> >>>> 4. try other direct solvers, e.g., superlu_dist. >>>> >>>> ? >>>> >>>> etc etc. The above error I can tell has something to do with processor 48 (INFO(2)) and so forth but not the previous one. >>>> >>>> The full output enabled with -mat_mumps_icntl_4 3 looks as in the attached file. Any hints as to what could be giving this >>>> error would be very much appreciated. >>>> >>>> I do not know how to interpret this output file. mumps developer would give you better suggestion on it. >>>> I would appreciate to learn as well :-) >>>> >>>> Hong >>> >>> >>> >> > From epscodes at gmail.com Tue Feb 25 10:12:02 2014 From: epscodes at gmail.com (Xiangdong) Date: Tue, 25 Feb 2014 11:12:02 -0500 Subject: [petsc-users] DMDA questions Message-ID: Hello PETSc team, I have a few quick questions about the DMDA: 1) The ordering. The global vector is using natural ordering and the local vector is using petsc ordering. In other words, if I create a DM with width 0 (no ghost layers), the local portion of global vector and the local vector are still different. I tested and it seems ture, just want to confirm. 2) DOF. In each cell, I have two unknowns, say ux and uy. One way is to store them using one global vector with dof=2. The other way is to create two global vectors for each ux and uy with dof=1. Is one approach better than the other? 3) Matrix compatibility. When I specify the entries of my sparse matrix by looping each row from ns to ne (obtained from MatGetOwnershipRange), the local portion of global vector also has the range from ns to ne. However, the local vector on that processor may have different ranges (or different portion) due to ordering. If the entries depends on the portion from ns to ne + its ghost points, what is the best way to do it? 4) Name convention. Some function are names as DMXX, while others have DMDAXX. Why do they have different prefix? Thank you. Best, Xiangdong -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Tue Feb 25 10:22:26 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 25 Feb 2014 09:22:26 -0700 Subject: [petsc-users] DMDA questions In-Reply-To: References: Message-ID: <87zjlfw4al.fsf@jedbrown.org> Xiangdong writes: > Hello PETSc team, > > I have a few quick questions about the DMDA: > > 1) The ordering. The global vector is using natural ordering and the local > vector is using petsc ordering. No. The natural ordering is not used explicitly because it implies an inefficient decomposition, though you can index by (i,j) if you use DMDAVecGetArray(). > In other words, if I create a DM with width 0 (no ghost layers), the > local portion of global vector and the local vector are still > different. I tested and it seems ture, just want to confirm. The local sizes are the same, but the global Vec has collective semantics (e.g., norms and dot products) while the local Vec is truly local. > 2) DOF. In each cell, I have two unknowns, say ux and uy. One way is to > store them using one global vector with dof=2. The other way is to create > two global vectors for each ux and uy with dof=1. Is one approach better > than the other? The former is better for memory streaming unless your operations traverse the grid using only one at a time (and then, it would be better to rephrase to traverse fewer times, using both values each time). > 3) Matrix compatibility. When I specify the entries of my sparse matrix by > looping each row from ns to ne (obtained from MatGetOwnershipRange), the > local portion of global vector also has the range from ns to ne. However, > the local vector on that processor may have different ranges (or different > portion) due to ordering. If the entries depends on the portion from ns to > ne + its ghost points, what is the best way to do it? I recommend using MatSetValuesStencil. See src/snes/examples/tutorials/ex15.c for example. That way you only have to think about (i,j) coordinates on the grid rather than local or global indices. > 4) Name convention. Some function are names as DMXX, while others have > DMDAXX. Why do they have different prefix? DM is the base class, DMDA is a specialization. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From epscodes at gmail.com Tue Feb 25 11:40:03 2014 From: epscodes at gmail.com (Xiangdong) Date: Tue, 25 Feb 2014 12:40:03 -0500 Subject: [petsc-users] DMDA questions In-Reply-To: <87zjlfw4al.fsf@jedbrown.org> References: <87zjlfw4al.fsf@jedbrown.org> Message-ID: On Tue, Feb 25, 2014 at 11:22 AM, Jed Brown wrote: > Xiangdong writes: > > > Hello PETSc team, > > > > I have a few quick questions about the DMDA: > > > > 1) The ordering. The global vector is using natural ordering and the > local > > vector is using petsc ordering. > > No. The natural ordering is not used explicitly because it implies an > inefficient decomposition, though you can index by (i,j) if you use > DMDAVecGetArray(). > > > In other words, if I create a DM with width 0 (no ghost layers), the > > local portion of global vector and the local vector are still > > different. I tested and it seems ture, just want to confirm. > > The local sizes are the same, but the global Vec has collective > semantics (e.g., norms and dot products) while the local Vec is truly > local. > For example, if the values on the 4-by-4 grid are [1,2,3,4; 5,6,7,8; 9,10,11,12; 13,14,15,16]. If I use 4 processors and set m=2, n=2 (or use petsc_decide), then on processor zero, the local portion of the global vector is 1,2,3,4 while the local vector has value 1,2,5,6. On processor one, the local portion of the global vector is 5,6,7,8; and the local vector is 3,4,7,8. It looks like the global is natural order, while local vector is petsc order. > > > 2) DOF. In each cell, I have two unknowns, say ux and uy. One way is to > > store them using one global vector with dof=2. The other way is to create > > two global vectors for each ux and uy with dof=1. Is one approach better > > than the other? > > The former is better for memory streaming unless your operations > traverse the grid using only one at a time (and then, it would be better > to rephrase to traverse fewer times, using both values each time). > Any examples in petsc tutorials demonstrating the case dof>1? I found most of them are dof=1. For dof>1, are the values stored in a interleaved manner? > > > 3) Matrix compatibility. When I specify the entries of my sparse matrix > by > > looping each row from ns to ne (obtained from MatGetOwnershipRange), the > > local portion of global vector also has the range from ns to ne. However, > > the local vector on that processor may have different ranges (or > different > > portion) due to ordering. If the entries depends on the portion from ns > to > > ne + its ghost points, what is the best way to do it? > > I recommend using MatSetValuesStencil. See > src/snes/examples/tutorials/ex15.c for example. That way you only have > to think about (i,j) coordinates on the grid rather than local or global > indices. > > > 4) Name convention. Some function are names as DMXX, while others have > > DMDAXX. Why do they have different prefix? > > DM is the base class, DMDA is a specialization. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Tue Feb 25 11:48:55 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 25 Feb 2014 10:48:55 -0700 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> Message-ID: <87r46rw0ag.fsf@jedbrown.org> Xiangdong writes: > For example, if the values on the 4-by-4 grid are [1,2,3,4; 5,6,7,8; > 9,10,11,12; 13,14,15,16]. If I use 4 processors and set m=2, n=2 (or use > petsc_decide), then on processor zero, the local portion of the global > vector is 1,2,3,4 No, PETSc global ordering is different from natural. There is a detailed picture of this in the users manual and in most PETSc tutorials. Please read that. > while the local vector has value 1,2,5,6. On processor one, the local > portion of the global vector is 5,6,7,8; and the local vector is > 3,4,7,8. It looks like the global is natural order, while local vector > is petsc order. No. > > > >> >> > 2) DOF. In each cell, I have two unknowns, say ux and uy. One way is to >> > store them using one global vector with dof=2. The other way is to create >> > two global vectors for each ux and uy with dof=1. Is one approach better >> > than the other? >> >> The former is better for memory streaming unless your operations >> traverse the grid using only one at a time (and then, it would be better >> to rephrase to traverse fewer times, using both values each time). >> > > Any examples in petsc tutorials demonstrating the case dof>1? I found most > of them are dof=1. For dof>1, are the values stored in a interleaved > manner? src/snes/examples/tutorials/ex48.c uses dof=2 and MatSetValuesBlockedStencil. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From xsli at lbl.gov Tue Feb 25 12:00:55 2014 From: xsli at lbl.gov (Xiaoye S. Li) Date: Tue, 25 Feb 2014 10:00:55 -0800 Subject: [petsc-users] Error using MUMPS to solve large linear system In-Reply-To: References: <0a26f0bf3e454a7cb284fd136453e7e5@NAGURSKI.anl.gov> <3f57971afae8492fb66dd34c8e2f1b03@NAGURSKI.anl.gov> <3FB64BEE-FFF6-4A1C-943D-52900613AF70@ldeo.columbia.edu> <51132AD1-BCA6-4865-8147-BE5F77A90DC7@mcs.anl.gov> Message-ID: I didn't follow the discussion thread closely ... How large is your matrix dimension, and number of nonzeros? How large is the memory per core (or per node)? The default setting in superlu_dist is to use serial symbolic factorization. You can turn on parallel symbolic factorization by: options.ParSymbFact = YES; options.ColPerm = PARMETIS; Is your matrix symmetric? if so, you need to give both upper and lower half of matrix A to superlu, which doesn't exploit symmetry. Do you know whether you need numerical pivoting? If not, you can turn off pivoting by: options.RowPerm = NATURAL; This avoids some other serial bottleneck. All these options can be turned on in the petsc interface. Please check out the syntax there. Sherry On Tue, Feb 25, 2014 at 8:07 AM, Samar Khatiwala wrote: > Hi Barry, > > You're probably right. I note that the error occurs almost instantly and > I've tried increasing the number of CPUs > (as many as ~1000 on Yellowstone) to no avail. I know this is a big > problem but I didn't think it was that big! > > Sherry: Is there any way to write out more diagnostic info? E.g.,how much > memory superlu thinks it needs/is attempting > to allocate. > > Thanks, > > Samar > > On Feb 25, 2014, at 10:57 AM, Barry Smith wrote: > > > >> > >> I tried superlu_dist again and it crashes even more quickly than MUMPS > with just the following error: > >> > >> ERROR: 0031-250 task 128: Killed > > > > This is usually a symptom of running out of memory. > > > >> > >> Absolutely nothing else is written out to either stderr or stdout. This > is with -mat_superlu_dist_statprint. > >> The program works fine on a smaller matrix. > >> > >> This is the sequence of calls: > >> > >> KSPSetType(ksp,KSPPREONLY); > >> PCSetType(pc,PCLU); > >> PCFactorSetMatSolverPackage(pc,MATSOLVERSUPERLU_DIST); > >> KSPSetFromOptions(ksp); > >> PCSetFromOptions(pc); > >> KSPSolve(ksp,b,x); > >> > >> All of these successfully return *except* the very last one to KSPSolve. > >> > >> Any help would be appreciated. Thanks! > >> > >> Samar > >> > >> On Feb 24, 2014, at 3:58 PM, Xiaoye S. Li wrote: > >> > >>> Samar: > >>> If you include the error message while crashing using superlu_dist, I > probably know the reason. (better yet, include the printout before the > crash. ) > >>> > >>> Sherry > >>> > >>> > >>> On Mon, Feb 24, 2014 at 9:56 AM, Hong Zhang > wrote: > >>> Samar : > >>> There are limitations for direct solvers. > >>> Do not expect any solver can be used on arbitrarily large problems. > >>> Since superlu_dist also crashes, direct solvers may not be able to > work on your application. > >>> This is why I suggest to increase size incrementally. > >>> You may have to experiment other type of solvers. > >>> > >>> Hong > >>> > >>> Hi Hong and Jed, > >>> > >>> Many thanks for replying. It would indeed be nice if the error > messages from MUMPS were less cryptic! > >>> > >>> 1) I have tried smaller matrices although given how my problem is set > up a jump is difficult to avoid. But a good idea > >>> that I will try. > >>> > >>> 2) I did try various ordering but not the one you suggested. > >>> > >>> 3) Tracing the error through the MUMPS code suggest a rather abrupt > termination of the program (there should be more > >>> error messages if, for example, memory was a problem). I therefore > thought it might be an interface problem rather than > >>> one with mumps and turned to the petsc-users group first. > >>> > >>> 4) I've tried superlu_dist but it also crashes (also unclear as to > why) at which point I decided to try mumps. The fact that both > >>> crash would again indicate a common (memory?) problem. > >>> > >>> I'll try a few more things before asking the MUMPS developers. > >>> > >>> Thanks again for your help! > >>> > >>> Samar > >>> > >>> On Feb 24, 2014, at 11:47 AM, Hong Zhang wrote: > >>> > >>>> Samar: > >>>> The crash occurs in > >>>> ... > >>>> [161]PETSC ERROR: Error in external library! > >>>> [161]PETSC ERROR: Error reported by MUMPS in numerical factorization > phase: INFO(1)=-1, INFO(2)=48 > >>>> > >>>> for very large matrix, likely memory problem as you suspected. > >>>> I would suggest > >>>> 1. run problems with increased sizes (not jump from a small one to a > very large one) and observe memory usage using > >>>> '-ksp_view'. > >>>> I see you use '-mat_mumps_icntl_14 1000', i.e., percentage of > estimated workspace increase. Is it too large? > >>>> Anyway, this input should not cause the crash, I guess. > >>>> 2. experimenting with different matrix ordering -mat_mumps_icntl_7 <> > (I usually use sequential ordering 2) > >>>> I see you use parallel ordering -mat_mumps_icntl_29 2. > >>>> 3. send bug report to mumps developers for their suggestion. > >>>> > >>>> 4. try other direct solvers, e.g., superlu_dist. > >>>> > >>>> ... > >>>> > >>>> etc etc. The above error I can tell has something to do with > processor 48 (INFO(2)) and so forth but not the previous one. > >>>> > >>>> The full output enabled with -mat_mumps_icntl_4 3 looks as in the > attached file. Any hints as to what could be giving this > >>>> error would be very much appreciated. > >>>> > >>>> I do not know how to interpret this output file. mumps developer > would give you better suggestion on it. > >>>> I would appreciate to learn as well :-) > >>>> > >>>> Hong > >>> > >>> > >>> > >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From epscodes at gmail.com Tue Feb 25 13:08:34 2014 From: epscodes at gmail.com (Xiangdong) Date: Tue, 25 Feb 2014 14:08:34 -0500 Subject: [petsc-users] DMDA questions In-Reply-To: <87r46rw0ag.fsf@jedbrown.org> References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> Message-ID: Okay. The local vector is equal to the local portion of global vector + ghost values. Both of them use the same PETSc ordering. The reason I got confused before is I use VecView(vglobal, PETSC_VIEWER_STDOUT_WORLD) to view the global vector. In the output, it has process[0] 1 2 3 4 process[1] 5 6 7 8 .... They are actually not the values stored in processor 0 and 1. They are different from the values printed through VecGetArray. Thanks. Xiangdong On Tue, Feb 25, 2014 at 12:48 PM, Jed Brown wrote: > Xiangdong writes: > > For example, if the values on the 4-by-4 grid are [1,2,3,4; 5,6,7,8; > > 9,10,11,12; 13,14,15,16]. If I use 4 processors and set m=2, n=2 (or use > > petsc_decide), then on processor zero, the local portion of the global > > vector is 1,2,3,4 > > No, PETSc global ordering is different from natural. There is a > detailed picture of this in the users manual and in most PETSc > tutorials. Please read that. > > > while the local vector has value 1,2,5,6. On processor one, the local > > portion of the global vector is 5,6,7,8; and the local vector is > > 3,4,7,8. It looks like the global is natural order, while local vector > > is petsc order. > > No. > > > > > > > > >> > >> > 2) DOF. In each cell, I have two unknowns, say ux and uy. One way is > to > >> > store them using one global vector with dof=2. The other way is to > create > >> > two global vectors for each ux and uy with dof=1. Is one approach > better > >> > than the other? > >> > >> The former is better for memory streaming unless your operations > >> traverse the grid using only one at a time (and then, it would be better > >> to rephrase to traverse fewer times, using both values each time). > >> > > > > Any examples in petsc tutorials demonstrating the case dof>1? I found > most > > of them are dof=1. For dof>1, are the values stored in a interleaved > > manner? > > src/snes/examples/tutorials/ex48.c uses dof=2 and > MatSetValuesBlockedStencil. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Tue Feb 25 13:11:17 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 25 Feb 2014 12:11:17 -0700 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> Message-ID: <87ob1vvwh6.fsf@jedbrown.org> Xiangdong writes: > Okay. The local vector is equal to the local portion of global vector + > ghost values. Both of them use the same PETSc ordering. > > The reason I got confused before is I use VecView(vglobal, > PETSC_VIEWER_STDOUT_WORLD) to view the global vector. In the output, it has > process[0] 1 2 3 4 process[1] 5 6 7 8 .... They are actually not the values > stored in processor 0 and 1. They are different from the values printed > through VecGetArray. VecView transforms to natural ordering for output. If you want to see the PETSc ordering, use PetscViewerPushFormat(PETSC_VIEWER_STDOUT_WORLD,PETSC_VIEWER_NATIVE); VecView(vglobal,PETSC_VIEWER_STDOUT_WORLD); PetscViewerPopFormat(PETSC_VIEWER_STDOUT_WORLD); -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From bsmith at mcs.anl.gov Tue Feb 25 13:18:45 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Tue, 25 Feb 2014 13:18:45 -0600 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> Message-ID: On Feb 25, 2014, at 1:08 PM, Xiangdong wrote: > Okay. The local vector is equal to the local portion of global vector + ghost values. Both of them use the same PETSc ordering. > > The reason I got confused before is I use VecView(vglobal, PETSC_VIEWER_STDOUT_WORLD) to view the global vector. In the output, it has process[0] 1 2 3 4 process[1] 5 6 7 8 .... They are actually not the values stored in processor 0 and 1. They are different from the values printed through VecGetArray. Correct. VecView() on the global vector automatically converts the vector to the natural ordering since that is much easier to understand and reload from files. Barry I admit it can be confusing that VecView() on these vectors actually reorders them on the fly. > > Thanks. > > Xiangdong > > > On Tue, Feb 25, 2014 at 12:48 PM, Jed Brown wrote: > Xiangdong writes: > > For example, if the values on the 4-by-4 grid are [1,2,3,4; 5,6,7,8; > > 9,10,11,12; 13,14,15,16]. If I use 4 processors and set m=2, n=2 (or use > > petsc_decide), then on processor zero, the local portion of the global > > vector is 1,2,3,4 > > No, PETSc global ordering is different from natural. There is a > detailed picture of this in the users manual and in most PETSc > tutorials. Please read that. > > > while the local vector has value 1,2,5,6. On processor one, the local > > portion of the global vector is 5,6,7,8; and the local vector is > > 3,4,7,8. It looks like the global is natural order, while local vector > > is petsc order. > > No. > > > > > > > > >> > >> > 2) DOF. In each cell, I have two unknowns, say ux and uy. One way is to > >> > store them using one global vector with dof=2. The other way is to create > >> > two global vectors for each ux and uy with dof=1. Is one approach better > >> > than the other? > >> > >> The former is better for memory streaming unless your operations > >> traverse the grid using only one at a time (and then, it would be better > >> to rephrase to traverse fewer times, using both values each time). > >> > > > > Any examples in petsc tutorials demonstrating the case dof>1? I found most > > of them are dof=1. For dof>1, are the values stored in a interleaved > > manner? > > src/snes/examples/tutorials/ex48.c uses dof=2 and MatSetValuesBlockedStencil. > From danyang.su at gmail.com Tue Feb 25 13:30:21 2014 From: danyang.su at gmail.com (Danyang Su) Date: Tue, 25 Feb 2014 11:30:21 -0800 Subject: [petsc-users] Build hypre with Cmake and VS2010 to hypre.lib, no 'include' folder In-Reply-To: References: <530C392F.5000009@gmail.com> <87vbw3ya1l.fsf@jedbrown.org> <530C4764.7040709@gmail.com> Message-ID: <530CEF4D.3030601@gmail.com> On 25/02/2014 6:40 AM, Satish Balay wrote: > MSVCRT.lib(MSVCR100.dll) : error LNK2005: malloc already defined in LIBCMT.lib(malloc.obj) > MSVCRT.lib(MSVCR100.dll) : error LNK2005: realloc already defined in LIBCMT.lib(realloc.obj) > MSVCRT.lib(MSVCR100.dll) : error LNK2005: free already defined in LIBCMT.lib(free.obj) > <<< > > You'll have to build hypre with '/MT' or equivalent option. > > All libraries should be built with the same option - otherwise MS > compilers barf at link time. It can now be configured without any problem now. Thanks so much. Danyang > > Satish > > On Tue, 25 Feb 2014, Danyang Su wrote: > >> On 24/02/2014 10:35 PM, Jed Brown wrote: >>> Danyang Su writes: >>> >>>> Hi All, >>>> >>>> I can successfully build hypre to hypre.lib with cmake and vs2010, but I >>>> cannot find the include folder in the release folder. There is only one >>>> folder named "include" in src\FEI_mv\ml\src\include. Is this the one I >>>> need to configure with PETSc? >>> You should do what the "make install" target does. See >>> $PETSC_DIR/config/PETSc/packages/hypre.py to see exactly which commands >>> PETSc normally executes. You'll have to look at the hypre build system. >> After run install, I can get both lib file and include folder. But when >> configure with option >> "--with-hypre-include=/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/include >> --with-hypre-lib=/cygdrive/c/cygwin64/packages/hypre-2.9.0b/src/hypre/lib/HYPRE.lib", >> I got error indicating this option did not work. >> >> Thanks, >> >> Danyang >> From knepley at gmail.com Tue Feb 25 13:30:14 2014 From: knepley at gmail.com (Matthew Knepley) Date: Tue, 25 Feb 2014 11:30:14 -0800 Subject: [petsc-users] DMDA questions In-Reply-To: <87r46rw0ag.fsf@jedbrown.org> References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> Message-ID: On Feb 25, 2014 11:49 AM, "Jed Brown" wrote: > > Xiangdong writes: > > For example, if the values on the 4-by-4 grid are [1,2,3,4; 5,6,7,8; > > 9,10,11,12; 13,14,15,16]. If I use 4 processors and set m=2, n=2 (or use > > petsc_decide), then on processor zero, the local portion of the global > > vector is 1,2,3,4 > > No, PETSc global ordering is different from natural. There is a > detailed picture of this in the users manual and in most PETSc > tutorials. Please read that. > > > while the local vector has value 1,2,5,6. On processor one, the local > > portion of the global vector is 5,6,7,8; and the local vector is > > 3,4,7,8. It looks like the global is natural order, while local vector > > is petsc order. > > No. > > > > > > > > >> > >> > 2) DOF. In each cell, I have two unknowns, say ux and uy. One way is to > >> > store them using one global vector with dof=2. The other way is to create > >> > two global vectors for each ux and uy with dof=1. Is one approach better > >> > than the other? > >> > >> The former is better for memory streaming unless your operations > >> traverse the grid using only one at a time (and then, it would be better > >> to rephrase to traverse fewer times, using both values each time). > >> > > > > Any examples in petsc tutorials demonstrating the case dof>1? I found most > > of them are dof=1. For dof>1, are the values stored in a interleaved > > manner? > > src/snes/examples/tutorials/ex48.c uses dof=2 and MatSetValuesBlockedStencil. SNES ex19 uses 4 dof and is much simpler. Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Tue Feb 25 13:35:23 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 25 Feb 2014 12:35:23 -0700 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> Message-ID: <87eh2rvvd0.fsf@jedbrown.org> Matthew Knepley writes: > SNES ex19 uses 4 dof and is much simpler. Yes, but it doesn't insert matrix entries. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From spk at ldeo.columbia.edu Tue Feb 25 14:22:05 2014 From: spk at ldeo.columbia.edu (Samar Khatiwala) Date: Tue, 25 Feb 2014 15:22:05 -0500 Subject: [petsc-users] Error using MUMPS to solve large linear system In-Reply-To: References: <0a26f0bf3e454a7cb284fd136453e7e5@NAGURSKI.anl.gov> <3f57971afae8492fb66dd34c8e2f1b03@NAGURSKI.anl.gov> <3FB64BEE-FFF6-4A1C-943D-52900613AF70@ldeo.columbia.edu> <51132AD1-BCA6-4865-8147-BE5F77A90DC7@mcs.anl.gov> Message-ID: <9D66FB28-3132-4E5E-B207-22A16517E28B@ldeo.columbia.edu> Hi Sherry, Thanks! I tried your suggestions and it worked! For the record I added these flags: -mat_superlu_dist_colperm PARMETIS -mat_superlu_dist_parsymbfact 1 Also, for completeness and since you asked: size: 2346346 x 2346346 nnz: 60856894 unsymmetric The hardware (http://www2.cisl.ucar.edu/resources/yellowstone/hardware) specs are: 2 GB/core, 32 GB/node (27 GB usable), (16 cores per node) I've been running on 8 nodes (so 8 x 27 ~ 216 GB). Thanks again for your help! Samar On Feb 25, 2014, at 1:00 PM, "Xiaoye S. Li" wrote: > I didn't follow the discussion thread closely ... How large is your matrix dimension, and number of nonzeros? > How large is the memory per core (or per node)? > > The default setting in superlu_dist is to use serial symbolic factorization. You can turn on parallel symbolic factorization by: > > options.ParSymbFact = YES; > options.ColPerm = PARMETIS; > > Is your matrix symmetric? if so, you need to give both upper and lower half of matrix A to superlu, which doesn't exploit symmetry. > > Do you know whether you need numerical pivoting? If not, you can turn off pivoting by: > > options.RowPerm = NATURAL; > > This avoids some other serial bottleneck. > > All these options can be turned on in the petsc interface. Please check out the syntax there. > > > Sherry > > > > On Tue, Feb 25, 2014 at 8:07 AM, Samar Khatiwala wrote: > Hi Barry, > > You're probably right. I note that the error occurs almost instantly and I've tried increasing the number of CPUs > (as many as ~1000 on Yellowstone) to no avail. I know this is a big problem but I didn't think it was that big! > > Sherry: Is there any way to write out more diagnostic info? E.g.,how much memory superlu thinks it needs/is attempting > to allocate. > > Thanks, > > Samar > > On Feb 25, 2014, at 10:57 AM, Barry Smith wrote: > > > >> > >> I tried superlu_dist again and it crashes even more quickly than MUMPS with just the following error: > >> > >> ERROR: 0031-250 task 128: Killed > > > > This is usually a symptom of running out of memory. > > > >> > >> Absolutely nothing else is written out to either stderr or stdout. This is with -mat_superlu_dist_statprint. > >> The program works fine on a smaller matrix. > >> > >> This is the sequence of calls: > >> > >> KSPSetType(ksp,KSPPREONLY); > >> PCSetType(pc,PCLU); > >> PCFactorSetMatSolverPackage(pc,MATSOLVERSUPERLU_DIST); > >> KSPSetFromOptions(ksp); > >> PCSetFromOptions(pc); > >> KSPSolve(ksp,b,x); > >> > >> All of these successfully return *except* the very last one to KSPSolve. > >> > >> Any help would be appreciated. Thanks! > >> > >> Samar > >> > >> On Feb 24, 2014, at 3:58 PM, Xiaoye S. Li wrote: > >> > >>> Samar: > >>> If you include the error message while crashing using superlu_dist, I probably know the reason. (better yet, include the printout before the crash. ) > >>> > >>> Sherry > >>> > >>> > >>> On Mon, Feb 24, 2014 at 9:56 AM, Hong Zhang wrote: > >>> Samar : > >>> There are limitations for direct solvers. > >>> Do not expect any solver can be used on arbitrarily large problems. > >>> Since superlu_dist also crashes, direct solvers may not be able to work on your application. > >>> This is why I suggest to increase size incrementally. > >>> You may have to experiment other type of solvers. > >>> > >>> Hong > >>> > >>> Hi Hong and Jed, > >>> > >>> Many thanks for replying. It would indeed be nice if the error messages from MUMPS were less cryptic! > >>> > >>> 1) I have tried smaller matrices although given how my problem is set up a jump is difficult to avoid. But a good idea > >>> that I will try. > >>> > >>> 2) I did try various ordering but not the one you suggested. > >>> > >>> 3) Tracing the error through the MUMPS code suggest a rather abrupt termination of the program (there should be more > >>> error messages if, for example, memory was a problem). I therefore thought it might be an interface problem rather than > >>> one with mumps and turned to the petsc-users group first. > >>> > >>> 4) I've tried superlu_dist but it also crashes (also unclear as to why) at which point I decided to try mumps. The fact that both > >>> crash would again indicate a common (memory?) problem. > >>> > >>> I'll try a few more things before asking the MUMPS developers. > >>> > >>> Thanks again for your help! > >>> > >>> Samar > >>> > >>> On Feb 24, 2014, at 11:47 AM, Hong Zhang wrote: > >>> > >>>> Samar: > >>>> The crash occurs in > >>>> ... > >>>> [161]PETSC ERROR: Error in external library! > >>>> [161]PETSC ERROR: Error reported by MUMPS in numerical factorization phase: INFO(1)=-1, INFO(2)=48 > >>>> > >>>> for very large matrix, likely memory problem as you suspected. > >>>> I would suggest > >>>> 1. run problems with increased sizes (not jump from a small one to a very large one) and observe memory usage using > >>>> '-ksp_view'. > >>>> I see you use '-mat_mumps_icntl_14 1000', i.e., percentage of estimated workspace increase. Is it too large? > >>>> Anyway, this input should not cause the crash, I guess. > >>>> 2. experimenting with different matrix ordering -mat_mumps_icntl_7 <> (I usually use sequential ordering 2) > >>>> I see you use parallel ordering -mat_mumps_icntl_29 2. > >>>> 3. send bug report to mumps developers for their suggestion. > >>>> > >>>> 4. try other direct solvers, e.g., superlu_dist. > >>>> > >>>> ? > >>>> > >>>> etc etc. The above error I can tell has something to do with processor 48 (INFO(2)) and so forth but not the previous one. > >>>> > >>>> The full output enabled with -mat_mumps_icntl_4 3 looks as in the attached file. Any hints as to what could be giving this > >>>> error would be very much appreciated. > >>>> > >>>> I do not know how to interpret this output file. mumps developer would give you better suggestion on it. > >>>> I would appreciate to learn as well :-) > >>>> > >>>> Hong > >>> > >>> > >>> > >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From xsli at lbl.gov Tue Feb 25 14:50:26 2014 From: xsli at lbl.gov (Xiaoye S. Li) Date: Tue, 25 Feb 2014 12:50:26 -0800 Subject: [petsc-users] Error using MUMPS to solve large linear system In-Reply-To: <9D66FB28-3132-4E5E-B207-22A16517E28B@ldeo.columbia.edu> References: <0a26f0bf3e454a7cb284fd136453e7e5@NAGURSKI.anl.gov> <3f57971afae8492fb66dd34c8e2f1b03@NAGURSKI.anl.gov> <3FB64BEE-FFF6-4A1C-943D-52900613AF70@ldeo.columbia.edu> <51132AD1-BCA6-4865-8147-BE5F77A90DC7@mcs.anl.gov> <9D66FB28-3132-4E5E-B207-22A16517E28B@ldeo.columbia.edu> Message-ID: Very good! Thanks for the update. I guess you are using all 16 cores per node? Since superlu_dist currently is MPI-only, if you generate 16 MPI tasks, serial symbolic factorization only has less than 2 GB memory to work with. Sherry On Tue, Feb 25, 2014 at 12:22 PM, Samar Khatiwala wrote: > Hi Sherry, > > Thanks! I tried your suggestions and it worked! > > For the record I added these flags: -mat_superlu_dist_colperm PARMETIS > -mat_superlu_dist_parsymbfact 1 > > Also, for completeness and since you asked: > > size: 2346346 x 2346346 > nnz: 60856894 > unsymmetric > > The hardware (http://www2.cisl.ucar.edu/resources/yellowstone/hardware) > specs are: 2 GB/core, 32 GB/node (27 GB usable), (16 cores per node) > I've been running on 8 nodes (so 8 x 27 ~ 216 GB). > > Thanks again for your help! > > Samar > > On Feb 25, 2014, at 1:00 PM, "Xiaoye S. Li" wrote: > > I didn't follow the discussion thread closely ... How large is your matrix > dimension, and number of nonzeros? > How large is the memory per core (or per node)? > > The default setting in superlu_dist is to use serial symbolic > factorization. You can turn on parallel symbolic factorization by: > > options.ParSymbFact = YES; > options.ColPerm = PARMETIS; > > Is your matrix symmetric? if so, you need to give both upper and lower > half of matrix A to superlu, which doesn't exploit symmetry. > > Do you know whether you need numerical pivoting? If not, you can turn off > pivoting by: > > options.RowPerm = NATURAL; > > This avoids some other serial bottleneck. > > All these options can be turned on in the petsc interface. Please check > out the syntax there. > > > Sherry > > > > On Tue, Feb 25, 2014 at 8:07 AM, Samar Khatiwala wrote: > >> Hi Barry, >> >> You're probably right. I note that the error occurs almost instantly and >> I've tried increasing the number of CPUs >> (as many as ~1000 on Yellowstone) to no avail. I know this is a big >> problem but I didn't think it was that big! >> >> Sherry: Is there any way to write out more diagnostic info? E.g.,how much >> memory superlu thinks it needs/is attempting >> to allocate. >> >> Thanks, >> >> Samar >> >> On Feb 25, 2014, at 10:57 AM, Barry Smith wrote: >> > >> >> >> >> I tried superlu_dist again and it crashes even more quickly than MUMPS >> with just the following error: >> >> >> >> ERROR: 0031-250 task 128: Killed >> > >> > This is usually a symptom of running out of memory. >> > >> >> >> >> Absolutely nothing else is written out to either stderr or stdout. >> This is with -mat_superlu_dist_statprint. >> >> The program works fine on a smaller matrix. >> >> >> >> This is the sequence of calls: >> >> >> >> KSPSetType(ksp,KSPPREONLY); >> >> PCSetType(pc,PCLU); >> >> PCFactorSetMatSolverPackage(pc,MATSOLVERSUPERLU_DIST); >> >> KSPSetFromOptions(ksp); >> >> PCSetFromOptions(pc); >> >> KSPSolve(ksp,b,x); >> >> >> >> All of these successfully return *except* the very last one to >> KSPSolve. >> >> >> >> Any help would be appreciated. Thanks! >> >> >> >> Samar >> >> >> >> On Feb 24, 2014, at 3:58 PM, Xiaoye S. Li wrote: >> >> >> >>> Samar: >> >>> If you include the error message while crashing using superlu_dist, I >> probably know the reason. (better yet, include the printout before the >> crash. ) >> >>> >> >>> Sherry >> >>> >> >>> >> >>> On Mon, Feb 24, 2014 at 9:56 AM, Hong Zhang >> wrote: >> >>> Samar : >> >>> There are limitations for direct solvers. >> >>> Do not expect any solver can be used on arbitrarily large problems. >> >>> Since superlu_dist also crashes, direct solvers may not be able to >> work on your application. >> >>> This is why I suggest to increase size incrementally. >> >>> You may have to experiment other type of solvers. >> >>> >> >>> Hong >> >>> >> >>> Hi Hong and Jed, >> >>> >> >>> Many thanks for replying. It would indeed be nice if the error >> messages from MUMPS were less cryptic! >> >>> >> >>> 1) I have tried smaller matrices although given how my problem is set >> up a jump is difficult to avoid. But a good idea >> >>> that I will try. >> >>> >> >>> 2) I did try various ordering but not the one you suggested. >> >>> >> >>> 3) Tracing the error through the MUMPS code suggest a rather abrupt >> termination of the program (there should be more >> >>> error messages if, for example, memory was a problem). I therefore >> thought it might be an interface problem rather than >> >>> one with mumps and turned to the petsc-users group first. >> >>> >> >>> 4) I've tried superlu_dist but it also crashes (also unclear as to >> why) at which point I decided to try mumps. The fact that both >> >>> crash would again indicate a common (memory?) problem. >> >>> >> >>> I'll try a few more things before asking the MUMPS developers. >> >>> >> >>> Thanks again for your help! >> >>> >> >>> Samar >> >>> >> >>> On Feb 24, 2014, at 11:47 AM, Hong Zhang wrote: >> >>> >> >>>> Samar: >> >>>> The crash occurs in >> >>>> ... >> >>>> [161]PETSC ERROR: Error in external library! >> >>>> [161]PETSC ERROR: Error reported by MUMPS in numerical factorization >> phase: INFO(1)=-1, INFO(2)=48 >> >>>> >> >>>> for very large matrix, likely memory problem as you suspected. >> >>>> I would suggest >> >>>> 1. run problems with increased sizes (not jump from a small one to a >> very large one) and observe memory usage using >> >>>> '-ksp_view'. >> >>>> I see you use '-mat_mumps_icntl_14 1000', i.e., percentage of >> estimated workspace increase. Is it too large? >> >>>> Anyway, this input should not cause the crash, I guess. >> >>>> 2. experimenting with different matrix ordering -mat_mumps_icntl_7 >> <> (I usually use sequential ordering 2) >> >>>> I see you use parallel ordering -mat_mumps_icntl_29 2. >> >>>> 3. send bug report to mumps developers for their suggestion. >> >>>> >> >>>> 4. try other direct solvers, e.g., superlu_dist. >> >>>> >> >>>> ... >> >>>> >> >>>> etc etc. The above error I can tell has something to do with >> processor 48 (INFO(2)) and so forth but not the previous one. >> >>>> >> >>>> The full output enabled with -mat_mumps_icntl_4 3 looks as in the >> attached file. Any hints as to what could be giving this >> >>>> error would be very much appreciated. >> >>>> >> >>>> I do not know how to interpret this output file. mumps developer >> would give you better suggestion on it. >> >>>> I would appreciate to learn as well :-) >> >>>> >> >>>> Hong >> >>> >> >>> >> >>> >> >> >> > >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dharmareddy84 at gmail.com Tue Feb 25 14:59:05 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Tue, 25 Feb 2014 14:59:05 -0600 Subject: [petsc-users] SNESSetConvergenceTest In-Reply-To: <87sise4a16.fsf@jedbrown.org> References: <5FF817E1-8806-4965-8F76-B0504EF1F311@mcs.anl.gov> <82D00B91-6660-47AA-AC5B-F77CD33A2F99@mcs.anl.gov> <87sise4a16.fsf@jedbrown.org> Message-ID: Hello, Is there a fix for this issue ? Thanks Reddy On Thu, Jan 23, 2014 at 4:18 PM, Jed Brown wrote: > Dharmendar Reddy writes: > >> Hello, >> How should i fix the issue mentioned below ? > > I will fix it, but I have a couple hours of work to do first. From epscodes at gmail.com Tue Feb 25 15:10:28 2014 From: epscodes at gmail.com (Xiangdong) Date: Tue, 25 Feb 2014 16:10:28 -0500 Subject: [petsc-users] DMDA questions In-Reply-To: <87eh2rvvd0.fsf@jedbrown.org> References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> Message-ID: For the MatSetValuesStencil, should it always work in pair with DMCreateMatrix? However, in some example, e.g., src/ksp/ksp/examples/tutorials/ex25.c, the DMCreateMatrix is never called. Is it because KspSetComputeOperators is used and DMCreateMatrix is called implicitly somewhere? Thank you. Xiangdong On Tue, Feb 25, 2014 at 2:35 PM, Jed Brown wrote: > Matthew Knepley writes: > > SNES ex19 uses 4 dof and is much simpler. > > Yes, but it doesn't insert matrix entries. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Tue Feb 25 15:12:01 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 25 Feb 2014 14:12:01 -0700 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> Message-ID: <87ha7mvqvy.fsf@jedbrown.org> Xiangdong writes: > For the MatSetValuesStencil, should it always work in pair with > DMCreateMatrix? Yes, or MatSetStencil. > However, in some example, e.g., src/ksp/ksp/examples/tutorials/ex25.c, the > DMCreateMatrix is never called. Is it because KspSetComputeOperators is > used and DMCreateMatrix is called implicitly somewhere? No, it is just testing that certain functionality works even if the DM is not set. If you have a DM, we recommend setting it. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From epscodes at gmail.com Tue Feb 25 15:22:20 2014 From: epscodes at gmail.com (Xiangdong) Date: Tue, 25 Feb 2014 16:22:20 -0500 Subject: [petsc-users] DMDA questions In-Reply-To: <87ha7mvqvy.fsf@jedbrown.org> References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> <87ha7mvqvy.fsf@jedbrown.org> Message-ID: On Tue, Feb 25, 2014 at 4:12 PM, Jed Brown wrote: > Xiangdong writes: > > > For the MatSetValuesStencil, should it always work in pair with > > DMCreateMatrix? > > Yes, or MatSetStencil. > > > However, in some example, e.g., src/ksp/ksp/examples/tutorials/ex25.c, > the > > DMCreateMatrix is never called. Is it because KspSetComputeOperators is > > used and DMCreateMatrix is called implicitly somewhere? > > No, it is just testing that certain functionality works even if the DM > is not set. If you have a DM, we recommend setting it. > I am not clear about this. In this example, where is the format declaration (e.g.,mpiaij) of Mat jac? Why is this mat jac always distributed in a compatible way as the DM vectors? Thanks. Xiangdong -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Tue Feb 25 15:24:30 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 25 Feb 2014 14:24:30 -0700 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> <87ha7mvqvy.fsf@jedbrown.org> Message-ID: <87bnxuvqb5.fsf@jedbrown.org> Xiangdong writes: > I am not clear about this. In this example, where is the format declaration > (e.g.,mpiaij) of Mat jac? Why is this mat jac always distributed in > a compatible way as the DM vectors? src/ksp/ksp/examples/tutorials/ex25.c calls KSPSetDM and sets functions to assemble the matrices and right hand side. Those objects are created internally (you can use -dm_mat_type sbaij if you like) and the user doesn't have to see them. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From jed at jedbrown.org Tue Feb 25 15:49:45 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 25 Feb 2014 14:49:45 -0700 Subject: [petsc-users] SNESSetConvergenceTest In-Reply-To: References: <5FF817E1-8806-4965-8F76-B0504EF1F311@mcs.anl.gov> <82D00B91-6660-47AA-AC5B-F77CD33A2F99@mcs.anl.gov> Message-ID: <8761o2vp52.fsf@jedbrown.org> Sorry about dropping this email; thanks for being persistent. Dharmendar Reddy writes: > Hello, > I think, i found the cause of the crashes. It is due to _cb > defined in zsnesf.c and a particular usage pattern. > > Here is how it is: > The code has snes object wrapped inside a fortran data type (Solver_t) > > Say i have two solver objects: > type(solver_t) :: solver1 > type(solver_t) :: solver2 > > I first use solver1 to solve an equation where i do not use DM > > In the snes in Solver1 , i set function first and then jacobian. > > Now, ths static struct _cb in zsnsef has: > _cb = {function = 1000, test = 0, destroy = 0, jacobian = 1001, > monitor = 0, mondestroy = 0, gs = 0} > > > Now i call the second solver with DM, where is set the function and > jacobain via DMSetFxn/Jac > > Then i call snessetconvergenceset > > _cb not takes the value : > > _cb = {function = 1000, test = 1002, destroy = 0, jacobian = 1001, > monitor = 0, mondestroy = 0, gs = 0} > > but the snes hdr has num_fortrancallback[0] = 1 Which SNES header (the first or second solve)? PetscObjectSetFortranCallback should have increased the size. > leading to an error: at line 262 in src/sys/objects/inherit.c > if (PetscUnlikely(cid >= > PETSC_SMALLEST_FORTRAN_CALLBACK+obj->num_fortrancallback[cbtype])) > SETERRQ(obj->comm,PETSC_ERR_ARG_CORRUPT,"Fortran callback not set on > this object"); I would really like to open this up in a debugger, but I can't compile your code, maxIt = PETSC_DEFAULT_INTEGER @@ -857,7 +857,7 @@ program testDMSolver use EquationUtils_m use precision_m implicit none -#include 'finclude/petsc.h90' +#include "finclude/petsc.h90" ! Vairables for DM based solver type(Eqn_t) :: Eqn PetscErrorCode :: ierr Solver.F90:734.2: this%self => this 1 Error: Different types in pointer assignment at (1); attempted assignment of CLASS(eqn_t) to TYPE(eqn_t) Solver.F90:786.11: call test%init(PETSC_COMM_SELF,'test',i2,i2,ierr,solverCtx,& 1 Error: Found no matching specific binding for the call to the GENERIC 'init' at (1) Solver.F90:856.6: use SolverTest_m 1 Fatal Error: Can't open module file 'solvertest_m.mod' for reading at (1): No such file or directory Would it be possible to reduce this test case enough to build stand-alone and contribute it as a test? > There is another scenario where my code hangs, i noted it as case (2) > [line 968 in solver.F90] in the comments of the attached test case. > > i have attahced the logs for each of the three cases considered. > > why cannot _cb reside inside the snes object ? How would you copy the callbacks between objects if each object could number them differently? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From dharmareddy84 at gmail.com Tue Feb 25 20:52:32 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Tue, 25 Feb 2014 20:52:32 -0600 Subject: [petsc-users] SNESSetConvergenceTest In-Reply-To: <8761o2vp52.fsf@jedbrown.org> References: <5FF817E1-8806-4965-8F76-B0504EF1F311@mcs.anl.gov> <82D00B91-6660-47AA-AC5B-F77CD33A2F99@mcs.anl.gov> <8761o2vp52.fsf@jedbrown.org> Message-ID: Thanks Reddy On Tue, Feb 25, 2014 at 3:49 PM, Jed Brown wrote: > Sorry about dropping this email; thanks for being persistent. > > Dharmendar Reddy writes: > >> Hello, >> I think, i found the cause of the crashes. It is due to _cb >> defined in zsnesf.c and a particular usage pattern. >> >> Here is how it is: >> The code has snes object wrapped inside a fortran data type (Solver_t) >> >> Say i have two solver objects: >> type(solver_t) :: solver1 >> type(solver_t) :: solver2 >> >> I first use solver1 to solve an equation where i do not use DM >> >> In the snes in Solver1 , i set function first and then jacobian. >> >> Now, ths static struct _cb in zsnsef has: >> _cb = {function = 1000, test = 0, destroy = 0, jacobian = 1001, >> monitor = 0, mondestroy = 0, gs = 0} >> >> >> Now i call the second solver with DM, where is set the function and >> jacobain via DMSetFxn/Jac >> >> Then i call snessetconvergenceset >> >> _cb not takes the value : >> >> _cb = {function = 1000, test = 1002, destroy = 0, jacobian = 1001, >> monitor = 0, mondestroy = 0, gs = 0} >> >> but the snes hdr has num_fortrancallback[0] = 1 > > Which SNES header (the first or second solve)? > PetscObjectSetFortranCallback should have increased the size. snes hdr of the second solver object. > >> leading to an error: at line 262 in src/sys/objects/inherit.c >> if (PetscUnlikely(cid >= >> PETSC_SMALLEST_FORTRAN_CALLBACK+obj->num_fortrancallback[cbtype])) >> SETERRQ(obj->comm,PETSC_ERR_ARG_CORRUPT,"Fortran callback not set on >> this object"); > > I would really like to open this up in a debugger, but I can't compile > your code, > > maxIt = PETSC_DEFAULT_INTEGER > @@ -857,7 +857,7 @@ program testDMSolver > use EquationUtils_m > use precision_m > implicit none > -#include 'finclude/petsc.h90' > +#include "finclude/petsc.h90" > ! Vairables for DM based solver > type(Eqn_t) :: Eqn > PetscErrorCode :: ierr > > > Solver.F90:734.2: > > this%self => this > 1 > Error: Different types in pointer assignment at (1); attempted assignment of CLASS(eqn_t) to TYPE(eqn_t) > Solver.F90:786.11: > > call test%init(PETSC_COMM_SELF,'test',i2,i2,ierr,solverCtx,& > 1 > Error: Found no matching specific binding for the call to the GENERIC 'init' at (1) > Solver.F90:856.6: > > use SolverTest_m > 1 > Fatal Error: Can't open module file 'solvertest_m.mod' for reading at (1): No such file or directory > > > Would it be possible to reduce this test case enough to build > stand-alone and contribute it as a test? solver.F90 is a standalone test case. Which fortran compiler are you using ? The code requires Fortran 2003 complaint compiler. I use ifort 13.1.0. It may require gfortran > 4.7. >> There is another scenario where my code hangs, i noted it as case (2) >> [line 968 in solver.F90] in the comments of the attached test case. >> >> i have attahced the logs for each of the three cases considered. >> >> why cannot _cb reside inside the snes object ? > > How would you copy the callbacks between objects if each object could > number them differently? From jed at jedbrown.org Tue Feb 25 21:00:36 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 25 Feb 2014 20:00:36 -0700 Subject: [petsc-users] SNESSetConvergenceTest In-Reply-To: References: <5FF817E1-8806-4965-8F76-B0504EF1F311@mcs.anl.gov> <82D00B91-6660-47AA-AC5B-F77CD33A2F99@mcs.anl.gov> <8761o2vp52.fsf@jedbrown.org> Message-ID: <87ppmatw6j.fsf@jedbrown.org> Dharmendar Reddy writes: > solver.F90 is a standalone test case. Which fortran compiler are you > using ? The code requires Fortran 2003 complaint compiler. I use ifort > 13.1.0. It may require gfortran > 4.7. gfortran-4.8.2 /opt/mpich/bin/mpif90 -std=f2003 Solver.F90 -I$PETSC_DIR/include -I$PETSC_DIR/$PETSC_ARCH/include -L$PETSC_DIR/$PETSC_ARCH/lib -Wl,-rpath=$PETSC_DIR/$PETSC_ARCH/lib -lpetscts -lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetscsys Solver.F90:4.32: integer,parameter :: DP=REAL64 !kind(1.0D0) 1 Error: Symbol 'real64' at (1) has no IMPLICIT type Solver.F90:5.32: integer,parameter :: SP=REAL32 !kind(1.0E0) 1 Error: Symbol 'real32' at (1) has no IMPLICIT type Solver.F90:6.28: integer,parameter :: WP=DP 1 Error: Symbol 'dp' at (1) has no IMPLICIT type Solver.F90:10.6: use precision_m 1 Fatal Error: Can't open module file 'precision_m.mod' for reading at (1): No such file or directory -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From dharmareddy84 at gmail.com Tue Feb 25 21:18:10 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Tue, 25 Feb 2014 21:18:10 -0600 Subject: [petsc-users] SNESSetConvergenceTest In-Reply-To: <87ppmatw6j.fsf@jedbrown.org> References: <5FF817E1-8806-4965-8F76-B0504EF1F311@mcs.anl.gov> <82D00B91-6660-47AA-AC5B-F77CD33A2F99@mcs.anl.gov> <8761o2vp52.fsf@jedbrown.org> <87ppmatw6j.fsf@jedbrown.org> Message-ID: On Tue, Feb 25, 2014 at 9:00 PM, Jed Brown wrote: > Dharmendar Reddy writes: >> solver.F90 is a standalone test case. Which fortran compiler are you >> using ? The code requires Fortran 2003 complaint compiler. I use ifort >> 13.1.0. It may require gfortran > 4.7. > > gfortran-4.8.2 > > /opt/mpich/bin/mpif90 -std=f2003 Solver.F90 -I$PETSC_DIR/include -I$PETSC_DIR/$PETSC_ARCH/include -L$PETSC_DIR/$PETSC_ARCH/lib -Wl,-rpath=$PETSC_DIR/$PETSC_ARCH/lib -lpetscts -lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetscsys > Solver.F90:4.32: > > integer,parameter :: DP=REAL64 !kind(1.0D0) > 1 > Error: Symbol 'real64' at (1) has no IMPLICIT type > Solver.F90:5.32: > > integer,parameter :: SP=REAL32 !kind(1.0E0) > 1 > Error: Symbol 'real32' at (1) has no IMPLICIT type > Solver.F90:6.28: > > integer,parameter :: WP=DP > 1 > Error: Symbol 'dp' at (1) has no IMPLICIT type > Solver.F90:10.6: > > use precision_m > 1 > Fatal Error: Can't open module file 'precision_m.mod' for reading at (1): No such file or directory Hello Jed, Sorry for the compilation issues, I do not have access to a machine with petsc and gfortran > 4.7 to fix the compile issues. Can you make the follwing changes to the code in precision_m module. REAL64 and REAL32 should be available via iso_fortran_env module, I do not know why it is complaining. module precision_m implicit none integer,parameter :: DP = kind(1.0D0) integer,parameter :: SP = kind(1.0E0) integer,parameter :: WP=DP integer,parameter :: MSL=100 ! MAX_STR_LENGTH end module precision_m From dharmareddy84 at gmail.com Tue Feb 25 21:25:52 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Tue, 25 Feb 2014 21:25:52 -0600 Subject: [petsc-users] SNESSetConvergenceTest In-Reply-To: References: <5FF817E1-8806-4965-8F76-B0504EF1F311@mcs.anl.gov> <82D00B91-6660-47AA-AC5B-F77CD33A2F99@mcs.anl.gov> <8761o2vp52.fsf@jedbrown.org> <87ppmatw6j.fsf@jedbrown.org> Message-ID: Hello, You also need to change line 493 from: soltol = PETSC_DEFAULT_DOUBLE_PRECISION to soltol = PETSC_DEFAULT_REAL I compiled the code now on my computer and it works. Petsc Development GIT revision: v3.4.3-4199-ge4acbc4 On Tue, Feb 25, 2014 at 9:18 PM, Dharmendar Reddy wrote: > On Tue, Feb 25, 2014 at 9:00 PM, Jed Brown wrote: >> Dharmendar Reddy writes: >>> solver.F90 is a standalone test case. Which fortran compiler are you >>> using ? The code requires Fortran 2003 complaint compiler. I use ifort >>> 13.1.0. It may require gfortran > 4.7. >> >> gfortran-4.8.2 >> >> /opt/mpich/bin/mpif90 -std=f2003 Solver.F90 -I$PETSC_DIR/include -I$PETSC_DIR/$PETSC_ARCH/include -L$PETSC_DIR/$PETSC_ARCH/lib -Wl,-rpath=$PETSC_DIR/$PETSC_ARCH/lib -lpetscts -lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetscsys >> Solver.F90:4.32: >> >> integer,parameter :: DP=REAL64 !kind(1.0D0) >> 1 >> Error: Symbol 'real64' at (1) has no IMPLICIT type >> Solver.F90:5.32: >> >> integer,parameter :: SP=REAL32 !kind(1.0E0) >> 1 >> Error: Symbol 'real32' at (1) has no IMPLICIT type >> Solver.F90:6.28: >> >> integer,parameter :: WP=DP >> 1 >> Error: Symbol 'dp' at (1) has no IMPLICIT type >> Solver.F90:10.6: >> >> use precision_m >> 1 >> Fatal Error: Can't open module file 'precision_m.mod' for reading at (1): No such file or directory > > Hello Jed, > Sorry for the compilation issues, I do not have access > to a machine with petsc and gfortran > 4.7 to fix the compile issues. > Can you make the follwing changes to the code in precision_m module. > REAL64 and REAL32 should be available via iso_fortran_env module, I > do not know why it is complaining. > > module precision_m > implicit none > integer,parameter :: DP = kind(1.0D0) > integer,parameter :: SP = kind(1.0E0) > integer,parameter :: WP=DP > integer,parameter :: MSL=100 ! MAX_STR_LENGTH > end module precision_m From jed at jedbrown.org Tue Feb 25 21:36:02 2014 From: jed at jedbrown.org (Jed Brown) Date: Tue, 25 Feb 2014 20:36:02 -0700 Subject: [petsc-users] SNESSetConvergenceTest In-Reply-To: References: <5FF817E1-8806-4965-8F76-B0504EF1F311@mcs.anl.gov> <82D00B91-6660-47AA-AC5B-F77CD33A2F99@mcs.anl.gov> <8761o2vp52.fsf@jedbrown.org> <87ppmatw6j.fsf@je dbrown.o rg> Message-ID: <87a9detujh.fsf@jedbrown.org> Dharmendar Reddy writes: > Hello Jed, > Sorry for the compilation issues, I do not have access > to a machine with petsc and gfortran > 4.7 to fix the compile issues. > Can you make the follwing changes to the code in precision_m module. > REAL64 and REAL32 should be available via iso_fortran_env module, I > do not know why it is complaining. > > module precision_m > implicit none > integer,parameter :: DP = kind(1.0D0) > integer,parameter :: SP = kind(1.0E0) > integer,parameter :: WP=DP > integer,parameter :: MSL=100 ! MAX_STR_LENGTH > end module precision_m The f2003 dialect is not supported by mpif.h in my build of mpich-3.1. I'll try spinning up a new build of MPICH with -std=f2003 (hopefully its configure can sort this out). Did I mention Fortran is not my favorite language? /opt/mpich/include/mpif.h:16.18: Included at /home/jed/petsc/include/finclude/petscsys.h:11: Included at /home/jed/petsc/include/finclude/petsc.h:7: Included at /home/jed/petsc/include/finclude/petsc.h90:5: Included at Solver.F90:160: CHARACTER*1 MPI_ARGVS_NULL(1,1) 1 Warning: Obsolescent feature: Old-style character length at (1) /opt/mpich/include/mpif.h:17.18: Included at /home/jed/petsc/include/finclude/petscsys.h:11: Included at /home/jed/petsc/include/finclude/petsc.h:7: Included at /home/jed/petsc/include/finclude/petsc.h90:5: Included at Solver.F90:160: CHARACTER*1 MPI_ARGV_NULL(1) 1 Warning: Obsolescent feature: Old-style character length at (1) /opt/mpich/include/mpif.h:528.16: Included at /home/jed/petsc/include/finclude/petscsys.h:11: Included at /home/jed/petsc/include/finclude/petsc.h:7: Included at /home/jed/petsc/include/finclude/petsc.h90:5: Included at Solver.F90:160: integer*8 MPI_DISPLACEMENT_CURRENT 1 Error: GNU Extension: Nonstandard type declaration INTEGER*8 at (1) /opt/mpich/include/mpif.h:546.13: Included at /home/jed/petsc/include/finclude/petscsys.h:11: Included at /home/jed/petsc/include/finclude/petsc.h:7: Included at /home/jed/petsc/include/finclude/petsc.h90:5: Included at Solver.F90:160: REAL*8 MPI_WTIME, MPI_WTICK 1 Error: GNU Extension: Nonstandard type declaration REAL*8 at (1) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From christophe.ortiz at ciemat.es Wed Feb 26 01:56:27 2014 From: christophe.ortiz at ciemat.es (Christophe Ortiz) Date: Wed, 26 Feb 2014 08:56:27 +0100 Subject: [petsc-users] From 1D to 3D problem ? Unstructured mesh ? In-Reply-To: References: <87lhx4c4nj.fsf@jedbrown.org> Message-ID: Hi, On Sat, Feb 22, 2014 at 6:17 AM, Derek Gaston wrote: > The phase-field system developed by Michael Tonks (copied on this email) > will be part of the open-source release of MOOSE (hopefully by the end of > next week). Feel free to contact either myself or Mike for more > information while we all wait... > > Thanks a lot for the offer. I checked out the videos of MOOSE and indeed it seems to be a great tool. However, in my group we prefer to develop our own home-made simulation tools (except for tools like PETSc of course). I know that using simulation tools developed by others saves a lot of work, but by experience I can say that when comes the time to implement new things (new mechanisms, new conditions), which were not planned, it becomes difficult and time consuming since you must spend a lot of time to adapt the tool. Therefore, we adopted the policy to develop our own tools. Moreover, I already dedicated some time to develop a programming interface (ie collections of C++ classes) for our purpose, which is the diffusion and interaction of many species (thousands). Nevertheless, I am reading the paper about the phase-field model behind MOOSE. Maybe I will use this approach for our problems, still don't know. I don't have experience with phase-field models. BTW, thanks Jed for the link. I could download the paper. Christophe > In the meantime you can also check out some of the youtube videos of MOOSE > in action (the phase-field system is in use in these videos in the > microstructure models): > > http://www.youtube.com/watch?v=0oz8FD3H52s > http://www.youtube.com/watch?v=4xTfQxpGAI4 > http://www.youtube.com/watch?v=V-2VfET8SNw > > Derek > > > > On Fri, Feb 21, 2014 at 5:33 PM, Jed Brown wrote: > >> Christophe Ortiz writes: >> >> > Hi all, >> > >> > Recently I have implemented a 1D problem of coupled diffusion equations >> > using PETSc. I did it using finite differences for diffusion terms and >> > F(t,U,U_t) = 0. It works pretty well with ARKIMEX3. I get a nice >> timestep >> > variation and all boundary conditions work well. >> > >> > Now I would like to move to 3D problems to simulate the diffusion and >> > interaction of species in a "real material". By real material I mean a >> > material made of subregions with internal surfaces where species could >> > recombine (means Dirichlet). These subregions are distributed in a >> > complicated manner, ie not cartesian. A good picture of this would be a >> > polycrystal (see attachment to get an idea). Each crystal has a >> different >> > orientation and the boundary between two small crystals forms an >> internal >> > surface. >> > >> > I have several questions on how to implement this: >> > >> > 1) Since, the problem will not be solved in a cartesian mesh, should I >> use >> > unstructured meshes ? If so, how can this unstructured mesh can be >> > generated ( I have no experience with unstructured meshes. I always >> work in >> > 1D). >> >> Are you intending to mesh the boundaries of the crystals? Will you be >> dynamically remeshing? (That is very complicated and expensive in 3D.) >> What formulation will you be using for grain boundary evolution? >> >> I think you should check out phase field models, such as the publication >> below. Perhaps check out the paper below. The framework (MOOSE) used >> for this publication should be released open source on github next week >> (check https://github.com/idaholab/). I don't know if Marmot, the >> phase-field component, will be open source any time soon, but they are >> typically happy to collaborate. MOOSE uses PETSc for solvers, but >> provides a higher level interface. >> >> @article{tonks2012object, >> title={An object-oriented finite element framework for multiphysics >> phase field simulations}, >> author={Tonks, M.R. and Gaston, D. and Millett, P.C. and Andrs, D. and >> Talbot, P.}, >> journal={Computational Materials Science}, >> volume={51}, >> number={1}, >> pages={20--29}, >> year={2012}, >> publisher={Elsevier} >> } >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From christophe.ortiz at ciemat.es Wed Feb 26 01:57:28 2014 From: christophe.ortiz at ciemat.es (Christophe Ortiz) Date: Wed, 26 Feb 2014 08:57:28 +0100 Subject: [petsc-users] From 1D to 3D problem ? Unstructured mesh ? In-Reply-To: <530BC805.2090303@gmx.de> References: <87lhx4c4nj.fsf@jedbrown.org> <530BC805.2090303@gmx.de> Message-ID: Hi, On Mon, Feb 24, 2014 at 11:30 PM, Aron Roland wrote: > Hi, > > I can provide u some nice package to generate unstructured meshes. There > are many institutions using it now. > Yes, that would be great. Thanks ! Saludos, Christophe > We have also used PETSC to solve some nonlinera hyperbolic problem on 2d > on unstructured meshes and it works quite ok even if the scaling still not > what it should be but well these are other issues ... > > Cheers > > Aron > > > On 02/24/2014 09:04 AM, Christophe Ortiz wrote: > > > On Sat, Feb 22, 2014 at 2:33 AM, Jed Brown wrote: > >> Christophe Ortiz writes: >> >> > Hi all, >> > >> > Recently I have implemented a 1D problem of coupled diffusion equations >> > using PETSc. I did it using finite differences for diffusion terms and >> > F(t,U,U_t) = 0. It works pretty well with ARKIMEX3. I get a nice >> timestep >> > variation and all boundary conditions work well. >> > >> > Now I would like to move to 3D problems to simulate the diffusion and >> > interaction of species in a "real material". By real material I mean a >> > material made of subregions with internal surfaces where species could >> > recombine (means Dirichlet). These subregions are distributed in a >> > complicated manner, ie not cartesian. A good picture of this would be a >> > polycrystal (see attachment to get an idea). Each crystal has a >> different >> > orientation and the boundary between two small crystals forms an >> internal >> > surface. >> > >> > I have several questions on how to implement this: >> > >> > 1) Since, the problem will not be solved in a cartesian mesh, should I >> use >> > unstructured meshes ? If so, how can this unstructured mesh can be >> > generated ( I have no experience with unstructured meshes. I always >> work in >> > 1D). >> >> Are you intending to mesh the boundaries of the crystals? Will you be >> dynamically remeshing? (That is very complicated and expensive in 3D.) >> > What formulation will you be using for grain boundary evolution? >> >> > No, in principle I will not consider the evolution of grains. Therefore, > no dynamic remershing (in principle). > What I want is just the evolution of diffusing and reacting species > inside the ensemble of grains, including their interaction with the grain > boundaries (trapping, segregation, ...). > > >> I think you should check out phase field models, such as the publication >> below. > > > I never used phase-field models. According to what I read, it can model > many phnomena but in particular it substitutes a boundary condition at an > interface by a PDE for the evolution of an auxiliary field (Wikipedia). In > this sense, maybe it could be interesting since I want to simulate the > evolution of species inside grains with many internal grain boundaries. > But I don't know if to treat a grain boundary as a infinitely sharp > interface or as a thin but finite piece of material with different > properties for species (diffusion coeff for instance). > > > >> Perhaps check out the paper below. The framework (MOOSE) used >> for this publication should be released open source on github next week >> (check https://github.com/idaholab/). I don't know if Marmot, the >> phase-field component, will be open source any time soon, but they are >> typically happy to collaborate. MOOSE uses PETSc for solvers, but >> provides a higher level interface. >> >> @article{tonks2012object, >> title={An object-oriented finite element framework for multiphysics >> phase field simulations}, >> author={Tonks, M.R. and Gaston, D. and Millett, P.C. and Andrs, D. and >> Talbot, P.}, >> journal={Computational Materials Science}, >> volume={51}, >> number={1}, >> pages={20--29}, >> year={2012}, >> publisher={Elsevier} >> } >> >> > Sorry, I could not download the article. We don't have access. Crisis in > Spain :-( ! > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adrimacortes at gmail.com Wed Feb 26 08:08:57 2014 From: adrimacortes at gmail.com (=?ISO-8859-1?Q?Adriano_C=F4rtes?=) Date: Wed, 26 Feb 2014 17:08:57 +0300 Subject: [petsc-users] ASM for Saddle-point problems Message-ID: Dear all, I'm solving a saddle-point problem coming from a 2d stokes problem discretized by an inf-sup stable mixed element. By now I'm playing in serial, because I want to understand the behavior of the solver. I have the whole matrix assembled in memory. After playing with GMRES and ILU with different fill-ins, I started playing with ASM to see if I can get better results. By using -pc_asm_blocks and -pc_asm_overlap I tried some variations none giving better results. My questions are 1. how the blocks are built by PETSc, since my problem is a saddle-point one? 2. From the theoretical point-of-view, block-factorizations, that is using PCFieldsplit, are in general the best we can have in terms of performance (number of iterations and scalability)? Thanks. Adriano. From jed at jedbrown.org Wed Feb 26 08:25:45 2014 From: jed at jedbrown.org (Jed Brown) Date: Wed, 26 Feb 2014 07:25:45 -0700 Subject: [petsc-users] ASM for Saddle-point problems In-Reply-To: References: Message-ID: <87ha7mrlw6.fsf@jedbrown.org> Adriano C?rtes writes: > Dear all, > > I'm solving a saddle-point problem coming from a 2d stokes problem > discretized by an inf-sup stable mixed element. > By now I'm playing in serial, because I want to understand the > behavior of the solver. I have the whole matrix assembled in memory. > After playing with GMRES and ILU with different fill-ins, ILU is typically terrible for saddle point problems. > I started playing with ASM to see if I can get better results. By > using -pc_asm_blocks and -pc_asm_overlap I tried some variations none > giving better results. > > My questions are > > 1. how the blocks are built by PETSc, since my problem is a saddle-point one? It starts with the set of owned variables and adds overlap by taking all neighbors represented in the graph. You generally need a minimum overlap of 1 for saddle point problems. > 2. From the theoretical point-of-view, block-factorizations, that is > using PCFieldsplit, are in general the best we can have in terms of > performance (number of iterations and scalability)? There is no consensus on this and I'm actually fond of "monolithic" multigrid methods, but it is harder to reuse components and harder to debug convergence. PCFieldSplit is a good methodology. Some of my talks have a comparison slide. Here is a high-level one from last week. http://59a2.org/files/20140221-ExploitsInImplicitness.pdf -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From knepley at gmail.com Wed Feb 26 09:39:41 2014 From: knepley at gmail.com (Matthew Knepley) Date: Wed, 26 Feb 2014 07:39:41 -0800 Subject: [petsc-users] ASM for Saddle-point problems In-Reply-To: <87ha7mrlw6.fsf@jedbrown.org> References: <87ha7mrlw6.fsf@jedbrown.org> Message-ID: On Wed, Feb 26, 2014 at 6:25 AM, Jed Brown wrote: > Adriano C?rtes writes: > > > Dear all, > > > > I'm solving a saddle-point problem coming from a 2d stokes problem > > discretized by an inf-sup stable mixed element. > > By now I'm playing in serial, because I want to understand the > > behavior of the solver. I have the whole matrix assembled in memory. > > After playing with GMRES and ILU with different fill-ins, > > ILU is typically terrible for saddle point problems. > > > I started playing with ASM to see if I can get better results. By > > using -pc_asm_blocks and -pc_asm_overlap I tried some variations none > > giving better results. > > > > My questions are > > > > 1. how the blocks are built by PETSc, since my problem is a saddle-point > one? > > It starts with the set of owned variables and adds overlap by taking all > neighbors represented in the graph. You generally need a minimum > overlap of 1 for saddle point problems. > > > 2. From the theoretical point-of-view, block-factorizations, that is > > using PCFieldsplit, are in general the best we can have in terms of > > performance (number of iterations and scalability)? > > There is no consensus on this and I'm actually fond of "monolithic" > multigrid methods, but it is harder to reuse components and harder to > debug convergence. PCFieldSplit is a good methodology. Some of my > talks have a comparison slide. Here is a high-level one from last week. > > http://59a2.org/files/20140221-ExploitsInImplicitness.pdf > More specifically, you can use -pc_fieldsplit_detect_saddle_point on your matrix, and then construct any of the block methods from options. I list most of the interesting ones in the Paris Tutorial on our website. Matt -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Wed Feb 26 10:04:03 2014 From: jed at jedbrown.org (Jed Brown) Date: Wed, 26 Feb 2014 09:04:03 -0700 Subject: [petsc-users] ASM for Saddle-point problems In-Reply-To: References: <87ha7mrlw6.fsf@jedbrown.org> Message-ID: <87r46prhcc.fsf@jedbrown.org> Please always use "reply-all" so that your messages go to the list. This is standard mailing list etiquette. It is important to preserve threading for people who find this discussion later and so that we do not waste our time re-answering the same questions that have already been answered in private side-conversations. You'll likely get an answer faster that way too. Adriano C?rtes writes: > Dear Jed, > > Thank you for the answer. > I have a simple question that I haven't found the answer. Inside my > code how can I check if the user has passed the option > > -pc_fieldsplit_schur_precondition with the value user > > because in this case i'd like to build a preconditioner for the schur > complement. If you really want to check whether the user set this option via options, you can use PCFieldSplitSchurPreType schurpre; PetscBool set; ierr = PetscOptionsGetEnum(prefix,"-pc_fieldsplit_schur_precondition",PCFieldSplitSchurPreTypes,(PetscEnum*)&schurpre,&set);CHKERRQ(ierr); if (set && schurpre == PC_FIELDSPLIT_SCHUR_PRE_USER) ... Looks like there should be a PCFieldSplitGetSchurPrecondition, though this name is too long. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From jed at jedbrown.org Wed Feb 26 13:19:19 2014 From: jed at jedbrown.org (Jed Brown) Date: Wed, 26 Feb 2014 12:19:19 -0700 Subject: [petsc-users] ASM for Saddle-point problems In-Reply-To: <87r46prhcc.fsf@jedbrown.org> References: <87ha7mrlw6.fsf@jedbrown.org> <87r46prhcc.fsf@jedbrown.org> Message-ID: <877g8hr8aw.fsf@jedbrown.org> Jed Brown writes: > If you really want to check whether the user set this option via > options, you can use > > PCFieldSplitSchurPreType schurpre; > PetscBool set; > > ierr = PetscOptionsGetEnum(prefix,"-pc_fieldsplit_schur_precondition",PCFieldSplitSchurPreTypes,(PetscEnum*)&schurpre,&set);CHKERRQ(ierr); > > if (set && schurpre == PC_FIELDSPLIT_SCHUR_PRE_USER) ... > > > Looks like there should be a PCFieldSplitGetSchurPrecondition, though > this name is too long. I have merged the following two commits to 'next'. Using PCFieldSplitGetSchurPre() should be cleaner for your purposes. Let me know if you have any issues. commit 29f8a81cebd6492cb691295cd39f6a1b6a980034 Author: Jed Brown Date: Wed Feb 26 09:46:16 2014 -0700 PCFieldSplit: fix PCFieldSplitSchurPrecondition name Now symmetric with newly-added PCFieldSplitGetSchurPre. include/petscpc.h | 5 ++- .../website/documentation/changes/dev.html | 1 + src/ksp/pc/impls/fieldsplit/fieldsplit.c | 36 +++++++++--------- src/ksp/pc/impls/lsc/lsc.c | 2 +- src/snes/examples/tutorials/ex70.c | 2 +- 5 files changed, 23 insertions(+), 23 deletions(-) commit 37a82bf00f7431c104146914c636f11c334e6880 Author: Jed Brown Date: Wed Feb 26 09:28:50 2014 -0700 PCFieldSplit: add accessor for Schur preconditioner configuration include/petscpc.h | 1 + src/ksp/pc/impls/fieldsplit/fieldsplit.c | 47 +++++++++++++++++++++- 2 files changed, 47 insertions(+), 1 deletion(-) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From MAJones2 at mdanderson.org Wed Feb 26 14:29:16 2014 From: MAJones2 at mdanderson.org (Jones,Martin Alexander) Date: Wed, 26 Feb 2014 20:29:16 +0000 Subject: [petsc-users] Questions concerning ex12.c Message-ID: <8448FFCE4362914496BCEAF8BE810C13EFB5EA@DCPWPEXMBX02.mdanderson.edu> How do we input an auxillary field so that we can use the a[] array in the f0_u function in ex12.c ? Void f0_u(const PetscScalar u[], const PetscScalar gradU[], const PetscScalar a[], const PetscScalar gradA[],const PetscReal x[], PetscScalar f0[]) I would like a=constant within a bounded volume and a=0 outside the bounded volume. Any help on this is much appreciated. Thanks. Martin Jones -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Wed Feb 26 15:11:27 2014 From: knepley at gmail.com (Matthew Knepley) Date: Wed, 26 Feb 2014 13:11:27 -0800 Subject: [petsc-users] Questions concerning ex12.c In-Reply-To: <8448FFCE4362914496BCEAF8BE810C13EFB5EA@DCPWPEXMBX02.mdanderson.edu> References: <8448FFCE4362914496BCEAF8BE810C13EFB5EA@DCPWPEXMBX02.mdanderson.edu> Message-ID: On Wed, Feb 26, 2014 at 12:29 PM, Jones,Martin Alexander < MAJones2 at mdanderson.org> wrote: > How do we input an auxillary field so that we can use the a[] array in > the f0_u function in ex12.c ? > > > > Void f0_u(const PetscScalar u[], const PetscScalar gradU[], const > PetscScalar a[], const PetscScalar gradA[],const PetscReal x[], PetscScalar > f0[]) > > > > I would like a=constant within a bounded volume and a=0 outside the > bounded volume. > > > > Any help on this is much appreciated. Thanks. > This mode sounds like -variable_coefficient field, which creates an a[] in some FE space. Then you use -mat_petscspace_order k for order k (in the example I test 0 and 1). The function SetupMaterial() makes the auxiliary field values, and uses the pointwise function nu_2d() to do it. You can substitute your own pointwise function there, or take over at a higher level and directly put your values in the Vec. Thanks, Matt > > Martin Jones > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From lu_qin_2000 at yahoo.com Wed Feb 26 16:41:39 2014 From: lu_qin_2000 at yahoo.com (Qin Lu) Date: Wed, 26 Feb 2014 14:41:39 -0800 (PST) Subject: [petsc-users] Eigenvalues calculations in PETSc Message-ID: <1393454499.3375.YahooMailNeo@web160206.mail.bf1.yahoo.com> Hello, I?need to find the spectrum of the a large linear system (over 100,000 unknowns). Option -ksp_compute_eigenvalues_explicitly ran out of memory since the matrix is too big, then -ksp_compute_eigenvalues only gave a small number of eigenvalues (around 30). My questions are: 1. Is the number of computed eigenvalues determined by the number of GMRES iterations to converge? 2. Can PETSc?give the extreme eigenvalues now that the number of computed eigenvalues is limited? Thanks a lot for your info, Qin??? From knepley at gmail.com Wed Feb 26 16:46:19 2014 From: knepley at gmail.com (Matthew Knepley) Date: Wed, 26 Feb 2014 14:46:19 -0800 Subject: [petsc-users] Eigenvalues calculations in PETSc In-Reply-To: <1393454499.3375.YahooMailNeo@web160206.mail.bf1.yahoo.com> References: <1393454499.3375.YahooMailNeo@web160206.mail.bf1.yahoo.com> Message-ID: On Wed, Feb 26, 2014 at 2:41 PM, Qin Lu wrote: > Hello, > > I need to find the spectrum of the a large linear system (over 100,000 > unknowns). Option -ksp_compute_eigenvalues_explicitly ran out of memory > since the matrix is too big, then -ksp_compute_eigenvalues only gave a > small number of eigenvalues (around 30). My questions are: > > 1. Is the number of computed eigenvalues determined by the number of GMRES > iterations to converge? > 2. Can PETSc give the extreme eigenvalues now that the number of computed > eigenvalues is limited? > It will help to understand why you want these. Matt > Thanks a lot for your info, > Qin > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From lu_qin_2000 at yahoo.com Wed Feb 26 17:16:57 2014 From: lu_qin_2000 at yahoo.com (Qin Lu) Date: Wed, 26 Feb 2014 15:16:57 -0800 (PST) Subject: [petsc-users] Eigenvalues calculations in PETSc In-Reply-To: References: <1393454499.3375.YahooMailNeo@web160206.mail.bf1.yahoo.com> Message-ID: <1393456617.21439.YahooMailNeo@web160201.mail.bf1.yahoo.com> Matt, ? The linear system is hard to solve and may be ill-conditioned. I got the condition number from PETSc, which?does not look too?bad (around 10^4), then the distribution of eigenvalues (spectrum) will be helpful for choosing suitable reordering/preconditioning types. ? Thanks, Qin ________________________________ From: Matthew Knepley To: Qin Lu Cc: "petsc-users at mcs.anl.gov" Sent: Wednesday, February 26, 2014 4:46 PM Subject: Re: [petsc-users] Eigenvalues calculations in PETSc On Wed, Feb 26, 2014 at 2:41 PM, Qin Lu wrote: Hello, > >I?need to find the spectrum of the a large linear system (over 100,000 unknowns). Option -ksp_compute_eigenvalues_explicitly ran out of memory since the matrix is too big, then -ksp_compute_eigenvalues only gave a small number of eigenvalues (around 30). My questions are: > >1. Is the number of computed eigenvalues determined by the number of GMRES iterations to converge? >2. Can PETSc?give the extreme eigenvalues now that the number of computed eigenvalues is limited? > It will help to understand why you want these. ? ?Matt ? Thanks a lot for your info, >Qin??? > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From rtm at utk.edu Thu Feb 27 00:01:19 2014 From: rtm at utk.edu (Richard Mills) Date: Thu, 27 Feb 2014 01:01:19 -0500 Subject: [petsc-users] Eigenvalues calculations in PETSc In-Reply-To: <1393454499.3375.YahooMailNeo@web160206.mail.bf1.yahoo.com> References: <1393454499.3375.YahooMailNeo@web160206.mail.bf1.yahoo.com> Message-ID: Qin, Krylov methods will find the extreme eigenvalues first (unless you do something in particular to get at the interior values), so this is what you are getting from PETSc. Another thing to keep in mind is that the eigenvalue estimates using the Hessenberg matrix from GMRES can be pretty terrible. If you want something better, you may want to use something like Arnoldi/Lanczos or Jacobi-Davidson. Yousef Saad's book at http://www-users.cs.umn.edu/~saad/eig_book_2ndEd.pdf offers some great explanations of these methods, which you can use via the PETSc-based SLEPc package. Cheers, Richard On Wed, Feb 26, 2014 at 5:41 PM, Qin Lu wrote: > Hello, > > I need to find the spectrum of the a large linear system (over 100,000 > unknowns). Option -ksp_compute_eigenvalues_explicitly ran out of memory > since the matrix is too big, then -ksp_compute_eigenvalues only gave a > small number of eigenvalues (around 30). My questions are: > > 1. Is the number of computed eigenvalues determined by the number of GMRES > iterations to converge? > 2. Can PETSc give the extreme eigenvalues now that the number of computed > eigenvalues is limited? > > Thanks a lot for your info, > Qin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dharmareddy84 at gmail.com Thu Feb 27 01:43:09 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Thu, 27 Feb 2014 01:43:09 -0600 Subject: [petsc-users] Reading a mesh into Plex Message-ID: Hello, I need to load a mesh file into DMPlex object. The mesh is generated by a software which outputs the mesh in this format: List of Vertex Coordinates (i=1 to N_V) : P_i = X_i Y_i Z_i List of Edges (i= 1 to N_E): E_i = P_m P_n where m,n <= N_V List of Faces (i=1 to N_F): F_i = E_m E_n E_o where m,n,o < N_E (edge ids can be negative or positive depending on the orientation) List of Cells (i = 1 to N_C): C_i = F_m F_n F_o F_p .... for say Tetrahedron or = E_m E_n E_o for triangles on the boundary regions. Any suggestions on how i can read this mesh file into DMPlex. Thanks Reddy From knepley at gmail.com Thu Feb 27 06:58:43 2014 From: knepley at gmail.com (Matthew Knepley) Date: Thu, 27 Feb 2014 04:58:43 -0800 Subject: [petsc-users] Reading a mesh into Plex In-Reply-To: References: Message-ID: On Wed, Feb 26, 2014 at 11:43 PM, Dharmendar Reddy wrote: > Hello, > I need to load a mesh file into DMPlex object. The mesh is > generated by a software which outputs the mesh in this format: > > List of Vertex Coordinates (i=1 to N_V) : P_i = X_i Y_i Z_i > > List of Edges (i= 1 to N_E): E_i = P_m P_n where m,n <= N_V > > List of Faces (i=1 to N_F): F_i = E_m E_n E_o where m,n,o < N_E > (edge ids can be negative or positive depending on the orientation) > > List of Cells (i = 1 to N_C): C_i = F_m F_n F_o F_p .... for say > Tetrahedron > or > = E_m E_n E_o for > triangles on the boundary regions. > We were cool until here. This sounds like Gmsh. This aliasing of things in the domain is really unacceptable. The boundary faces have already been defined above in the faces section. They should just be tagged. If this is Gmsh, there is trial support in next, DMPlexCreateGmsh(). If not, I see a few choices: a) Use DMPlexCreateFromCellList(). This means tracing through the info to get just the vertices on cells. However, it would mean that you get consistent ordering, which is not true for the faces in Gmsh files. You could renumber faces afterwards to conform to the original file, once all orientations have been calculated. b) Use DMPlexCreateFromDAG(). This gets the numbering from above, but it may have orientation inconsistencies in 3D. With either one, you would ignore the boundary faces, and use DMPlexJoin() to locate each one and tag it in a label after the mesh was built. Thanks, Matt > Any suggestions on how i can read this mesh file into DMPlex. > > Thanks > Reddy > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From jed at jedbrown.org Thu Feb 27 12:33:31 2014 From: jed at jedbrown.org (Jed Brown) Date: Thu, 27 Feb 2014 11:33:31 -0700 Subject: [petsc-users] Eigenvalues calculations in PETSc In-Reply-To: References: <1393454499.3375.YahooMailNeo@web160206.mail.bf1.yahoo.com> Message-ID: <87d2i8v210.fsf@jedbrown.org> Richard Mills writes: > Qin, > > Krylov methods will find the extreme eigenvalues first (unless you do > something in particular to get at the interior values), so this is what you > are getting from PETSc. > > Another thing to keep in mind is that the eigenvalue estimates using the > Hessenberg matrix from GMRES can be pretty terrible. If you want something > better, you may want to use something like Arnoldi/Lanczos or > Jacobi-Davidson. Yousef Saad's book at > http://www-users.cs.umn.edu/~saad/eig_book_2ndEd.pdf offers some great > explanations of these methods, which you can use via the PETSc-based SLEPc > package. Agreed. Use SLEPc if you want actual eigenvalues or eigenvectors. You can target wherever you want. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: From dharmareddy84 at gmail.com Thu Feb 27 13:20:53 2014 From: dharmareddy84 at gmail.com (Dharmendar Reddy) Date: Thu, 27 Feb 2014 13:20:53 -0600 Subject: [petsc-users] Reading a mesh into Plex In-Reply-To: References: Message-ID: On Thu, Feb 27, 2014 at 6:58 AM, Matthew Knepley wrote: > On Wed, Feb 26, 2014 at 11:43 PM, Dharmendar Reddy > wrote: >> >> Hello, >> I need to load a mesh file into DMPlex object. The mesh is >> generated by a software which outputs the mesh in this format: >> >> List of Vertex Coordinates (i=1 to N_V) : P_i = X_i Y_i Z_i >> >> List of Edges (i= 1 to N_E): E_i = P_m P_n where m,n <= N_V >> >> List of Faces (i=1 to N_F): F_i = E_m E_n E_o where m,n,o < N_E >> (edge ids can be negative or positive depending on the orientation) >> >> List of Cells (i = 1 to N_C): C_i = F_m F_n F_o F_p .... for say >> Tetrahedron >> or >> = E_m E_n E_o for >> triangles on the boundary regions. > > > We were cool until here. This sounds like Gmsh. This aliasing of things in Hello, The msh is not from gmsh. It is from a commercial software tool used for semiconductor device simulation. A C++ based reader for this mesh format is available here https://github.com/cogenda/Genius-TCAD-Open/tree/master/src/contrib/dfise I will try to use the Createfromcelllist. Thanks Reddy the domain is really unacceptable. The boundary faces have already been > defined > above in the faces section. They should just be tagged. > > If this is Gmsh, there is trial support in next, DMPlexCreateGmsh(). If not, > I see a few > choices: > > a) Use DMPlexCreateFromCellList(). This means tracing through the info to > get just > the vertices on cells. However, it would mean that you get consistent > ordering, > which is not true for the faces in Gmsh files. You could renumber > faces afterwards to > conform to the original file, once all orientations have been > calculated. > > b) Use DMPlexCreateFromDAG(). This gets the numbering from above, but it > may > have orientation inconsistencies in 3D. > > With either one, you would ignore the boundary faces, and use DMPlexJoin() > to locate > each one and tag it in a label after the mesh was built. > > Thanks, > > Matt > >> >> Any suggestions on how i can read this mesh file into DMPlex. >> >> Thanks >> Reddy > > > > > -- > What most experimenters take for granted before they begin their experiments > is infinitely more interesting than any results to which their experiments > lead. > -- Norbert Wiener From blechta at karlin.mff.cuni.cz Fri Feb 28 14:13:58 2014 From: blechta at karlin.mff.cuni.cz (Jan Blechta) Date: Fri, 28 Feb 2014 21:13:58 +0100 Subject: [petsc-users] Fill-in of factorization Message-ID: <20140228211358.2de34e6d@gott> Hi, is it possible to check an amount of fill-in produced during factorization with PCLU or PCCHOLESKY? Or should I ask the library, say MUMPS, directly? Jan From knepley at gmail.com Fri Feb 28 14:30:05 2014 From: knepley at gmail.com (Matthew Knepley) Date: Fri, 28 Feb 2014 12:30:05 -0800 Subject: [petsc-users] Fill-in of factorization In-Reply-To: <20140228211358.2de34e6d@gott> References: <20140228211358.2de34e6d@gott> Message-ID: On Fri, Feb 28, 2014 at 12:13 PM, Jan Blechta wrote: > Hi, > > is it possible to check an amount of fill-in produced during > factorization with PCLU or PCCHOLESKY? Or should I ask the library, say > MUMPS, directly? This is from the PCFactorView(): MatInfo info; ierr = MatGetInfo(factor->fact,MAT_LOCAL,&info);CHKERRQ(ierr); ierr = PetscViewerASCIIPrintf(viewer," factor fill ratio given %g, needed %g\n",(double)info.fill_ratio_given,(double)info.fill_ratio_needed);CHKERRQ(ierr); THanks, MAtt > > Jan > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Fri Feb 28 14:31:23 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Fri, 28 Feb 2014 14:31:23 -0600 Subject: [petsc-users] Fill-in of factorization In-Reply-To: <20140228211358.2de34e6d@gott> References: <20140228211358.2de34e6d@gott> Message-ID: For PETSc factorizations you can use MatGetInfo() on the factored matrix. For external factorization packages you need to how to query them directly. Actually for Mumps and Pastix you can call MatGetInfo() also but the output for MUMPS is strange, see MatView_MUMPS in mumps.c You can also run with -ksp_view to have it printed out. See the Barry On Feb 28, 2014, at 2:13 PM, Jan Blechta wrote: > Hi, > > is it possible to check an amount of fill-in produced during > factorization with PCLU or PCCHOLESKY? Or should I ask the library, say > MUMPS, directly? > > Jan From epscodes at gmail.com Fri Feb 28 15:16:20 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 28 Feb 2014 16:16:20 -0500 Subject: [petsc-users] DMDA questions In-Reply-To: <87bnxuvqb5.fsf@jedbrown.org> References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> <87ha7mvqvy.fsf@jedbrown.org> <87bnxuvqb5.fsf@jedbrown.org> Message-ID: If I assembly the matrix with MatSetValuesStencil and use KspSetOpreators for Ksp, do I need to call KspSetDM first? What is the key difference or advantage of using KspSetComputeOperators against KspSetOperators? Thanks you. Xiangdong On Tue, Feb 25, 2014 at 4:24 PM, Jed Brown wrote: > Xiangdong writes: > > I am not clear about this. In this example, where is the format > declaration > > (e.g.,mpiaij) of Mat jac? Why is this mat jac always distributed in > > a compatible way as the DM vectors? > > src/ksp/ksp/examples/tutorials/ex25.c calls KSPSetDM and sets functions > to assemble the matrices and right hand side. Those objects are created > internally (you can use -dm_mat_type sbaij if you like) and the user > doesn't have to see them. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Fri Feb 28 15:21:43 2014 From: knepley at gmail.com (Matthew Knepley) Date: Fri, 28 Feb 2014 13:21:43 -0800 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> <87ha7mvqvy.fsf@jedbrown.org> <87bnxuvqb5.fsf@jedbrown.org> Message-ID: On Fri, Feb 28, 2014 at 1:16 PM, Xiangdong wrote: > If I assembly the matrix with MatSetValuesStencil and use KspSetOpreators > for Ksp, do I need to call KspSetDM first? > No > What is the key difference or advantage of using KspSetComputeOperators > against KspSetOperators? > With the later, you have to manage creating and preallocating the matrix. Matt > Thanks you. > > Xiangdong > > > On Tue, Feb 25, 2014 at 4:24 PM, Jed Brown wrote: > >> Xiangdong writes: >> > I am not clear about this. In this example, where is the format >> declaration >> > (e.g.,mpiaij) of Mat jac? Why is this mat jac always distributed in >> > a compatible way as the DM vectors? >> >> src/ksp/ksp/examples/tutorials/ex25.c calls KSPSetDM and sets functions >> to assemble the matrices and right hand side. Those objects are created >> internally (you can use -dm_mat_type sbaij if you like) and the user >> doesn't have to see them. >> > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From epscodes at gmail.com Fri Feb 28 15:27:25 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 28 Feb 2014 16:27:25 -0500 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> <87ha7mvqvy.fsf@jedbrown.org> <87bnxuvqb5.fsf@jedbrown.org> Message-ID: On Fri, Feb 28, 2014 at 4:21 PM, Matthew Knepley wrote: > On Fri, Feb 28, 2014 at 1:16 PM, Xiangdong wrote: > >> If I assembly the matrix with MatSetValuesStencil and use KspSetOpreators >> for Ksp, do I need to call KspSetDM first? >> > > No > > >> What is the key difference or advantage of using KspSetComputeOperators >> against KspSetOperators? >> > > With the later, you have to manage creating and preallocating the matrix. > If I use DMCreateMatrix and MatSetValuesStencil, I do not need to preallocate the matrix. Xiangdong > > Matt > > >> Thanks you. >> >> Xiangdong >> >> >> On Tue, Feb 25, 2014 at 4:24 PM, Jed Brown wrote: >> >>> Xiangdong writes: >>> > I am not clear about this. In this example, where is the format >>> declaration >>> > (e.g.,mpiaij) of Mat jac? Why is this mat jac always distributed in >>> > a compatible way as the DM vectors? >>> >>> src/ksp/ksp/examples/tutorials/ex25.c calls KSPSetDM and sets functions >>> to assemble the matrices and right hand side. Those objects are created >>> internally (you can use -dm_mat_type sbaij if you like) and the user >>> doesn't have to see them. >>> >> >> > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > -------------- next part -------------- An HTML attachment was scrubbed... URL: From epscodes at gmail.com Fri Feb 28 15:42:41 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 28 Feb 2014 16:42:41 -0500 Subject: [petsc-users] options for hypre pilut and euclid Message-ID: Hello everyone, What are the options for hypre pilut and euclid? Thank you. Best, Xiangdong -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Fri Feb 28 15:43:53 2014 From: knepley at gmail.com (Matthew Knepley) Date: Fri, 28 Feb 2014 13:43:53 -0800 Subject: [petsc-users] options for hypre pilut and euclid In-Reply-To: References: Message-ID: On Fri, Feb 28, 2014 at 1:42 PM, Xiangdong wrote: > Hello everyone, > > What are the options for hypre pilut and euclid? Thank you. > -pc_hypre_type euclid -help Matt > Best, > Xiangdong > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsmith at mcs.anl.gov Fri Feb 28 15:48:58 2014 From: bsmith at mcs.anl.gov (Barry Smith) Date: Fri, 28 Feb 2014 15:48:58 -0600 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> <87ha7mvqvy.fsf@jedbrown.org> <87bnxuvqb5.fsf@jedbrown.org> Message-ID: <2097886F-7026-4DD4-A1BD-027EDE0FD3DA@mcs.anl.gov> On Feb 28, 2014, at 3:27 PM, Xiangdong wrote: > > > > On Fri, Feb 28, 2014 at 4:21 PM, Matthew Knepley wrote: > On Fri, Feb 28, 2014 at 1:16 PM, Xiangdong wrote: > If I assembly the matrix with MatSetValuesStencil and use KspSetOpreators for Ksp, do I need to call KspSetDM first? > > No > > What is the key difference or advantage of using KspSetComputeOperators against KspSetOperators? > > With the later, you have to manage creating and preallocating the matrix. > > If I use DMCreateMatrix and MatSetValuesStencil, I do not need to preallocate the matrix. Correct. The SetComputeOperators and KSPSetDM is useful if you wish to use multigrid on system since PCMG will call your compute operators function on each level for you automatically. See src/ksp/ksp/examples/tutorials/ ex25.c ex28.c ex29.c ex31.c ex32.c ex34.c ex45.c ex50.c If you are just solving the one system and not using multigrid then there is no particular advantage in SetComputeOperators and KSPSetDM Barry > > Xiangdong > > > > > Matt > > Thanks you. > > Xiangdong > > > On Tue, Feb 25, 2014 at 4:24 PM, Jed Brown wrote: > Xiangdong writes: > > I am not clear about this. In this example, where is the format declaration > > (e.g.,mpiaij) of Mat jac? Why is this mat jac always distributed in > > a compatible way as the DM vectors? > > src/ksp/ksp/examples/tutorials/ex25.c calls KSPSetDM and sets functions > to assemble the matrices and right hand side. Those objects are created > internally (you can use -dm_mat_type sbaij if you like) and the user > doesn't have to see them. > > > > > -- > What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. > -- Norbert Wiener > From blechta at karlin.mff.cuni.cz Fri Feb 28 15:59:18 2014 From: blechta at karlin.mff.cuni.cz (Jan Blechta) Date: Fri, 28 Feb 2014 22:59:18 +0100 Subject: [petsc-users] Fill-in of factorization In-Reply-To: References: <20140228211358.2de34e6d@gott> Message-ID: <20140228225918.5dede521@gott> On Fri, 28 Feb 2014 12:30:05 -0800 Matthew Knepley wrote: > On Fri, Feb 28, 2014 at 12:13 PM, Jan Blechta > wrote: > > > Hi, > > > > is it possible to check an amount of fill-in produced during > > factorization with PCLU or PCCHOLESKY? Or should I ask the library, > > say MUMPS, directly? > > > This is from the PCFactorView(): > > MatInfo info; > ierr = MatGetInfo(factor->fact,MAT_LOCAL,&info);CHKERRQ(ierr); MatGetInfo does not seem to be available in petsc4py. Am I grepping correctly? Jan > ierr = PetscViewerASCIIPrintf(viewer," factor fill ratio given > %g, needed > %g\n",(double)info.fill_ratio_given,(double)info.fill_ratio_needed);CHKERRQ(ierr); > > THanks, > > MAtt > > > > > > Jan > > > > > From knepley at gmail.com Fri Feb 28 16:05:35 2014 From: knepley at gmail.com (Matthew Knepley) Date: Fri, 28 Feb 2014 14:05:35 -0800 Subject: [petsc-users] Fill-in of factorization In-Reply-To: <20140228225918.5dede521@gott> References: <20140228211358.2de34e6d@gott> <20140228225918.5dede521@gott> Message-ID: On Fri, Feb 28, 2014 at 1:59 PM, Jan Blechta wrote: > On Fri, 28 Feb 2014 12:30:05 -0800 > Matthew Knepley wrote: > > > On Fri, Feb 28, 2014 at 12:13 PM, Jan Blechta > > wrote: > > > > > Hi, > > > > > > is it possible to check an amount of fill-in produced during > > > factorization with PCLU or PCCHOLESKY? Or should I ask the library, > > > say MUMPS, directly? > > > > > > This is from the PCFactorView(): > > > > MatInfo info; > > ierr = MatGetInfo(factor->fact,MAT_LOCAL,&info);CHKERRQ(ierr); > > MatGetInfo does not seem to be available in petsc4py. Am I grepping > correctly? > It appears to be missing, probably because it passes a struct around. Matt > Jan > > > ierr = PetscViewerASCIIPrintf(viewer," factor fill ratio given > > %g, needed > > > %g\n",(double)info.fill_ratio_given,(double)info.fill_ratio_needed);CHKERRQ(ierr); > > > > THanks, > > > > MAtt > > > > > > > > > > Jan > > > > > > > > > > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From epscodes at gmail.com Fri Feb 28 16:10:20 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 28 Feb 2014 17:10:20 -0500 Subject: [petsc-users] DMDA questions In-Reply-To: <2097886F-7026-4DD4-A1BD-027EDE0FD3DA@mcs.anl.gov> References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> <87ha7mvqvy.fsf@jedbrown.org> <87bnxuvqb5.fsf@jedbrown.org> <2097886F-7026-4DD4-A1BD-027EDE0FD3DA@mcs.anl.gov> Message-ID: On Fri, Feb 28, 2014 at 4:48 PM, Barry Smith wrote: > > On Feb 28, 2014, at 3:27 PM, Xiangdong wrote: > > > > > > > > > On Fri, Feb 28, 2014 at 4:21 PM, Matthew Knepley > wrote: > > On Fri, Feb 28, 2014 at 1:16 PM, Xiangdong wrote: > > If I assembly the matrix with MatSetValuesStencil and use > KspSetOpreators for Ksp, do I need to call KspSetDM first? > > > > No > > > > What is the key difference or advantage of using KspSetComputeOperators > against KspSetOperators? > > > > With the later, you have to manage creating and preallocating the matrix. > > > > If I use DMCreateMatrix and MatSetValuesStencil, I do not need to > preallocate the matrix. > > Correct. > > The SetComputeOperators and KSPSetDM is useful if you wish to use > multigrid on system since PCMG will call your compute operators function on > each level for you automatically. See src/ksp/ksp/examples/tutorials/ > ex25.c ex28.c ex29.c ex31.c ex32.c ex34.c ex45.c ex50.c If you are just > solving the one system and not using multigrid then there is no particular > advantage in SetComputeOperators and KSPSetDM > If I want to use multigrid as a preconditioner, I have to call KspSetComputeOperators. Is this true? Thank you. Xiangdong > > Barry > > > > > Xiangdong > > > > > > > > > > Matt > > > > Thanks you. > > > > Xiangdong > > > > > > On Tue, Feb 25, 2014 at 4:24 PM, Jed Brown wrote: > > Xiangdong writes: > > > I am not clear about this. In this example, where is the format > declaration > > > (e.g.,mpiaij) of Mat jac? Why is this mat jac always distributed in > > > a compatible way as the DM vectors? > > > > src/ksp/ksp/examples/tutorials/ex25.c calls KSPSetDM and sets functions > > to assemble the matrices and right hand side. Those objects are created > > internally (you can use -dm_mat_type sbaij if you like) and the user > > doesn't have to see them. > > > > > > > > > > -- > > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > > -- Norbert Wiener > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Fri Feb 28 16:11:07 2014 From: knepley at gmail.com (Matthew Knepley) Date: Fri, 28 Feb 2014 14:11:07 -0800 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> <87ha7mvqvy.fsf@jedbrown.org> <87bnxuvqb5.fsf@jedbrown.org> <2097886F-7026-4DD4-A1BD-027EDE0FD3DA@mcs.anl.gov> Message-ID: On Fri, Feb 28, 2014 at 2:10 PM, Xiangdong wrote: > > > > On Fri, Feb 28, 2014 at 4:48 PM, Barry Smith wrote: > >> >> On Feb 28, 2014, at 3:27 PM, Xiangdong wrote: >> >> > >> > >> > >> > On Fri, Feb 28, 2014 at 4:21 PM, Matthew Knepley >> wrote: >> > On Fri, Feb 28, 2014 at 1:16 PM, Xiangdong wrote: >> > If I assembly the matrix with MatSetValuesStencil and use >> KspSetOpreators for Ksp, do I need to call KspSetDM first? >> > >> > No >> > >> > What is the key difference or advantage of using KspSetComputeOperators >> against KspSetOperators? >> > >> > With the later, you have to manage creating and preallocating the >> matrix. >> > >> > If I use DMCreateMatrix and MatSetValuesStencil, I do not need to >> preallocate the matrix. >> >> Correct. >> >> The SetComputeOperators and KSPSetDM is useful if you wish to use >> multigrid on system since PCMG will call your compute operators function on >> each level for you automatically. See src/ksp/ksp/examples/tutorials/ >> ex25.c ex28.c ex29.c ex31.c ex32.c ex34.c ex45.c ex50.c If you are just >> solving the one system and not using multigrid then there is no particular >> advantage in SetComputeOperators and KSPSetDM >> > > If I want to use multigrid as a preconditioner, I have to call > KspSetComputeOperators. Is this true? > No, you can always do everything by hand, but that call simplifies the job. Matt > Thank you. > > Xiangdong > > > > >> >> Barry >> >> > >> > Xiangdong >> > >> > >> > >> > >> > Matt >> > >> > Thanks you. >> > >> > Xiangdong >> > >> > >> > On Tue, Feb 25, 2014 at 4:24 PM, Jed Brown wrote: >> > Xiangdong writes: >> > > I am not clear about this. In this example, where is the format >> declaration >> > > (e.g.,mpiaij) of Mat jac? Why is this mat jac always distributed in >> > > a compatible way as the DM vectors? >> > >> > src/ksp/ksp/examples/tutorials/ex25.c calls KSPSetDM and sets functions >> > to assemble the matrices and right hand side. Those objects are created >> > internally (you can use -dm_mat_type sbaij if you like) and the user >> > doesn't have to see them. >> > >> > >> > >> > >> > -- >> > What most experimenters take for granted before they begin their >> experiments is infinitely more interesting than any results to which their >> experiments lead. >> > -- Norbert Wiener >> > >> >> > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From epscodes at gmail.com Fri Feb 28 16:14:21 2014 From: epscodes at gmail.com (Xiangdong) Date: Fri, 28 Feb 2014 17:14:21 -0500 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> <87ha7mvqvy.fsf@jedbrown.org> <87bnxuvqb5.fsf@jedbrown.org> <2097886F-7026-4DD4-A1BD-027EDE0FD3DA@mcs.anl.gov> Message-ID: On Fri, Feb 28, 2014 at 5:11 PM, Matthew Knepley wrote: > On Fri, Feb 28, 2014 at 2:10 PM, Xiangdong wrote: > >> >> >> >> On Fri, Feb 28, 2014 at 4:48 PM, Barry Smith wrote: >> >>> >>> On Feb 28, 2014, at 3:27 PM, Xiangdong wrote: >>> >>> > >>> > >>> > >>> > On Fri, Feb 28, 2014 at 4:21 PM, Matthew Knepley >>> wrote: >>> > On Fri, Feb 28, 2014 at 1:16 PM, Xiangdong wrote: >>> > If I assembly the matrix with MatSetValuesStencil and use >>> KspSetOpreators for Ksp, do I need to call KspSetDM first? >>> > >>> > No >>> > >>> > What is the key difference or advantage of using >>> KspSetComputeOperators against KspSetOperators? >>> > >>> > With the later, you have to manage creating and preallocating the >>> matrix. >>> > >>> > If I use DMCreateMatrix and MatSetValuesStencil, I do not need to >>> preallocate the matrix. >>> >>> Correct. >>> >>> The SetComputeOperators and KSPSetDM is useful if you wish to use >>> multigrid on system since PCMG will call your compute operators function on >>> each level for you automatically. See src/ksp/ksp/examples/tutorials/ >>> ex25.c ex28.c ex29.c ex31.c ex32.c ex34.c ex45.c ex50.c If you are just >>> solving the one system and not using multigrid then there is no particular >>> advantage in SetComputeOperators and KSPSetDM >>> >> >> If I want to use multigrid as a preconditioner, I have to call >> KspSetComputeOperators. Is this true? >> > > No, you can always do everything by hand, but that call simplifies the job. > Does "by hand" mean providing the routines for assembling the matrix at different level/size manually? Xiangdong > > Matt > > >> Thank you. >> >> Xiangdong >> >> >> >> >>> >>> Barry >>> >>> > >>> > Xiangdong >>> > >>> > >>> > >>> > >>> > Matt >>> > >>> > Thanks you. >>> > >>> > Xiangdong >>> > >>> > >>> > On Tue, Feb 25, 2014 at 4:24 PM, Jed Brown wrote: >>> > Xiangdong writes: >>> > > I am not clear about this. In this example, where is the format >>> declaration >>> > > (e.g.,mpiaij) of Mat jac? Why is this mat jac always distributed in >>> > > a compatible way as the DM vectors? >>> > >>> > src/ksp/ksp/examples/tutorials/ex25.c calls KSPSetDM and sets functions >>> > to assemble the matrices and right hand side. Those objects are >>> created >>> > internally (you can use -dm_mat_type sbaij if you like) and the user >>> > doesn't have to see them. >>> > >>> > >>> > >>> > >>> > -- >>> > What most experimenters take for granted before they begin their >>> experiments is infinitely more interesting than any results to which their >>> experiments lead. >>> > -- Norbert Wiener >>> > >>> >>> >> > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > -------------- next part -------------- An HTML attachment was scrubbed... URL: From knepley at gmail.com Fri Feb 28 16:16:59 2014 From: knepley at gmail.com (Matthew Knepley) Date: Fri, 28 Feb 2014 14:16:59 -0800 Subject: [petsc-users] DMDA questions In-Reply-To: References: <87zjlfw4al.fsf@jedbrown.org> <87r46rw0ag.fsf@jedbrown.org> <87eh2rvvd0.fsf@jedbrown.org> <87ha7mvqvy.fsf@jedbrown.org> <87bnxuvqb5.fsf@jedbrown.org> <2097886F-7026-4DD4-A1BD-027EDE0FD3DA@mcs.anl.gov> Message-ID: On Fri, Feb 28, 2014 at 2:14 PM, Xiangdong wrote: > > On Fri, Feb 28, 2014 at 5:11 PM, Matthew Knepley wrote: > >> On Fri, Feb 28, 2014 at 2:10 PM, Xiangdong wrote: >> >>> >>> >>> >>> On Fri, Feb 28, 2014 at 4:48 PM, Barry Smith wrote: >>> >>>> >>>> On Feb 28, 2014, at 3:27 PM, Xiangdong wrote: >>>> >>>> > >>>> > >>>> > >>>> > On Fri, Feb 28, 2014 at 4:21 PM, Matthew Knepley >>>> wrote: >>>> > On Fri, Feb 28, 2014 at 1:16 PM, Xiangdong >>>> wrote: >>>> > If I assembly the matrix with MatSetValuesStencil and use >>>> KspSetOpreators for Ksp, do I need to call KspSetDM first? >>>> > >>>> > No >>>> > >>>> > What is the key difference or advantage of using >>>> KspSetComputeOperators against KspSetOperators? >>>> > >>>> > With the later, you have to manage creating and preallocating the >>>> matrix. >>>> > >>>> > If I use DMCreateMatrix and MatSetValuesStencil, I do not need to >>>> preallocate the matrix. >>>> >>>> Correct. >>>> >>>> The SetComputeOperators and KSPSetDM is useful if you wish to use >>>> multigrid on system since PCMG will call your compute operators function on >>>> each level for you automatically. See src/ksp/ksp/examples/tutorials/ >>>> ex25.c ex28.c ex29.c ex31.c ex32.c ex34.c ex45.c ex50.c If you are just >>>> solving the one system and not using multigrid then there is no particular >>>> advantage in SetComputeOperators and KSPSetDM >>>> >>> >>> If I want to use multigrid as a preconditioner, I have to call >>> KspSetComputeOperators. Is this true? >>> >> >> No, you can always do everything by hand, but that call simplifies the >> job. >> > > Does "by hand" mean providing the routines for assembling the matrix at > different level/size manually? > It means providing the matrices directly, or using the Galerkin process. There is a manual section on it. Matt > Xiangdong > > >> >> Matt >> >> >>> Thank you. >>> >>> Xiangdong >>> >>> >>> >>> >>>> >>>> Barry >>>> >>>> > >>>> > Xiangdong >>>> > >>>> > >>>> > >>>> > >>>> > Matt >>>> > >>>> > Thanks you. >>>> > >>>> > Xiangdong >>>> > >>>> > >>>> > On Tue, Feb 25, 2014 at 4:24 PM, Jed Brown wrote: >>>> > Xiangdong writes: >>>> > > I am not clear about this. In this example, where is the format >>>> declaration >>>> > > (e.g.,mpiaij) of Mat jac? Why is this mat jac always distributed in >>>> > > a compatible way as the DM vectors? >>>> > >>>> > src/ksp/ksp/examples/tutorials/ex25.c calls KSPSetDM and sets >>>> functions >>>> > to assemble the matrices and right hand side. Those objects are >>>> created >>>> > internally (you can use -dm_mat_type sbaij if you like) and the user >>>> > doesn't have to see them. >>>> > >>>> > >>>> > >>>> > >>>> > -- >>>> > What most experimenters take for granted before they begin their >>>> experiments is infinitely more interesting than any results to which their >>>> experiments lead. >>>> > -- Norbert Wiener >>>> > >>>> >>>> >>> >> >> >> -- >> What most experimenters take for granted before they begin their >> experiments is infinitely more interesting than any results to which their >> experiments lead. >> -- Norbert Wiener >> > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From blechta at karlin.mff.cuni.cz Fri Feb 28 16:49:06 2014 From: blechta at karlin.mff.cuni.cz (Jan Blechta) Date: Fri, 28 Feb 2014 23:49:06 +0100 Subject: [petsc-users] Fill-in of factorization In-Reply-To: References: <20140228211358.2de34e6d@gott> <20140228225918.5dede521@gott> Message-ID: <20140228234906.132aaf41@gott> On Fri, 28 Feb 2014 14:05:35 -0800 Matthew Knepley wrote: > On Fri, Feb 28, 2014 at 1:59 PM, Jan Blechta > wrote: > > > On Fri, 28 Feb 2014 12:30:05 -0800 > > Matthew Knepley wrote: > > > > > On Fri, Feb 28, 2014 at 12:13 PM, Jan Blechta > > > wrote: > > > > > > > Hi, > > > > > > > > is it possible to check an amount of fill-in produced during > > > > factorization with PCLU or PCCHOLESKY? Or should I ask the > > > > library, say MUMPS, directly? > > > > > > > > > This is from the PCFactorView(): > > > > > > MatInfo info; > > > ierr = > > > MatGetInfo(factor->fact,MAT_LOCAL,&info);CHKERRQ(ierr); > > > > MatGetInfo does not seem to be available in petsc4py. Am I grepping > > correctly? > > > > It appears to be missing, probably because it passes a struct around. Is it a bug in petsc4py? Jan > > Matt > > > > Jan > > > > > ierr = PetscViewerASCIIPrintf(viewer," factor fill ratio > > > given %g, needed > > > > > %g\n",(double)info.fill_ratio_given,(double)info.fill_ratio_needed);CHKERRQ(ierr); > > > > > > THanks, > > > > > > MAtt > > > > > > > > > > > > > > Jan > > > > > > > > > > > > > > > > > > > From knepley at gmail.com Fri Feb 28 17:23:10 2014 From: knepley at gmail.com (Matthew Knepley) Date: Fri, 28 Feb 2014 15:23:10 -0800 Subject: [petsc-users] Fill-in of factorization In-Reply-To: <20140228234906.132aaf41@gott> References: <20140228211358.2de34e6d@gott> <20140228225918.5dede521@gott> <20140228234906.132aaf41@gott> Message-ID: On Fri, Feb 28, 2014 at 2:49 PM, Jan Blechta wrote: > On Fri, 28 Feb 2014 14:05:35 -0800 > Matthew Knepley wrote: > > > On Fri, Feb 28, 2014 at 1:59 PM, Jan Blechta > > wrote: > > > > > On Fri, 28 Feb 2014 12:30:05 -0800 > > > Matthew Knepley wrote: > > > > > > > On Fri, Feb 28, 2014 at 12:13 PM, Jan Blechta > > > > wrote: > > > > > > > > > Hi, > > > > > > > > > > is it possible to check an amount of fill-in produced during > > > > > factorization with PCLU or PCCHOLESKY? Or should I ask the > > > > > library, say MUMPS, directly? > > > > > > > > > > > > This is from the PCFactorView(): > > > > > > > > MatInfo info; > > > > ierr = > > > > MatGetInfo(factor->fact,MAT_LOCAL,&info);CHKERRQ(ierr); > > > > > > MatGetInfo does not seem to be available in petsc4py. Am I grepping > > > correctly? > > > > > > > It appears to be missing, probably because it passes a struct around. > > Is it a bug in petsc4py? > Its the lack of a feature. Matt > Jan > > > > > Matt > > > > > > > Jan > > > > > > > ierr = PetscViewerASCIIPrintf(viewer," factor fill ratio > > > > given %g, needed > > > > > > > > %g\n",(double)info.fill_ratio_given,(double)info.fill_ratio_needed);CHKERRQ(ierr); > > > > > > > > THanks, > > > > > > > > MAtt > > > > > > > > > > > > > > > > > > Jan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: From luc.berger.vergiat at gmail.com Fri Feb 28 20:18:29 2014 From: luc.berger.vergiat at gmail.com (Luc Berger-Vergiat) Date: Fri, 28 Feb 2014 21:18:29 -0500 Subject: [petsc-users] Fieldsplit schur applied on A00 of a fieldsplit schur Message-ID: <4CFC2209-79EB-42C6-9972-1467B8AE1A58@columbia.edu> Hi all, sorry for the cryptic title but this is a little complex. Here is what I am doing: I created a DMShell that gets four fields passed from a PetscSection. Now I am doing this because I want to apply a schur complement to my problem. In order to do so I pass the following arguments to my code: -ksp_type gmres -pc_type fieldsplit -pc_fieldsplit_type schur -pc_fieldsplit_schur_factorization_type full -pc_fieldsplit_0_fields 2,3 <--- This define A00 for my schur -pc_fieldsplit_1_fields 0,1 Up to here everything works fine and as expected (I actually do a -ksp_view to make sure that everything makes sense). Now things get tricky, I would like to compute A00^-1 using another schur decomposition so here are the commands I issue: -fieldsplit_0_ksp_type preonly -fieldsplit_0_pc_type fieldsplit -fieldsplit_0_pc_fieldsplit_type schur -fieldsplit_0_pc_fieldsplit_schur_factorization_type full -fieldsplit_0_pc_fieldsplit_0_fields 2 -fieldsplit_0_pc_fieldsplit_1_fields 3 I am almost sure that the 4 first commands are correct, I am not however sure that the last two are understood by PETSc. Actually I am worried that the DMShell that I created for the first level schur is not passed on the second level schur. Here is the error message I get when I run my code: [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Object is in wrong state! [0]PETSC ERROR: Decomposition defined only after DMSetUp! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Development GIT revision: v3.4.3-4597-g3edecfd GIT Date: 2014-02-20 20:43:18 -0600 [0]PETSC ERROR: See docs/changes/index.html for recent updates. [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [0]PETSC ERROR: See docs/index.html for manual pages. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: /home/luc/research/feap_repo/ShearBands/parfeap-petsc34/feap on a arch-linux2-c-opt named euler by luc Fri Feb 28 20:07:18 2014 [0]PETSC ERROR: Libraries linked from /home/luc/research/petsc/arch-linux2-c-opt/lib [0]PETSC ERROR: Configure run at Fri Feb 21 17:31:31 2014 [0]PETSC ERROR: Configure options --download-cmake --download-hypre --download-metis --download-mpich --download-parmetis --with-debugging=0 --with-share-libraries=0 [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: DMCreateFieldDecomposition() line 1262 in /home/luc/research/petsc/src/dm/interface/dm.c [0]PETSC ERROR: PCFieldSplitSetDefaults() line 336 in /home/luc/research/petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c [0]PETSC ERROR: PCSetUp_FieldSplit() line 485 in /home/luc/research/petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c [0]PETSC ERROR: PCSetUp() line 888 in /home/luc/research/petsc/src/ksp/pc/interface/precon.c [0]PETSC ERROR: KSPSetUp() line 278 in /home/luc/research/petsc/src/ksp/ksp/interface/itfunc.c [0]PETSC ERROR: KSPSolve() line 390 in /home/luc/research/petsc/src/ksp/ksp/interface/itfunc.c [0]PETSC ERROR: PCApply_FieldSplit_Schur() line 859 in /home/luc/research/petsc/src/ksp/pc/impls/fieldsplit/fieldsplit.c [0]PETSC ERROR: PCApply() line 440 in /home/luc/research/petsc/src/ksp/pc/interface/precon.c [0]PETSC ERROR: KSP_PCApply() line 227 in /home/luc/research/petsc/include/petsc-private/kspimpl.h [0]PETSC ERROR: KSPInitialResidual() line 64 in /home/luc/research/petsc/src/ksp/ksp/interface/itres.c [0]PETSC ERROR: KSPSolve_GMRES() line 234 in /home/luc/research/petsc/src/ksp/ksp/impls/gmres/gmres.c [0]PETSC ERROR: KSPSolve() line 432 in /home/luc/research/petsc/src/ksp/ksp/interface/itfunc.c Let me know if I'm doing something wrong or misunderstood something. Best, Luc -------------- next part -------------- An HTML attachment was scrubbed... URL: