[petsc-users] a SLEPc installation problem

Satish Balay balay at mcs.anl.gov
Tue Jun 19 15:16:25 CDT 2012


you'll need slepc-dev to go with petsc-3.3

Satish

On Tue, 19 Jun 2012, Yifei Li wrote:

> Hi,
> 
> I tried to install SLEPc after successfully installing PETSc, however, I
> got the errors like the following when I run 'make'.
> 
> P.S. I use Cygwin and Visual Studio 2008 on Windows XP
> 
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(33) : error C2054:
> expec
> ted '(' to follow 'PETSC_EXTERN_CXX_BEGIN'
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(33) : error C2085:
> 'VecR
> egister_Comp' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(34) : error C2085:
> 'VecC
> reateComp' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(35) : error C2085:
> 'VecC
> reateCompWithVecs' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(36) : error C2085:
> 'VecC
> ompGetSubVecs' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(37) : error C2085:
> 'VecC
> ompSetSubVecs' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(40) : error C2085:
> 'Slep
> cVecSetTemplate' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(41) : error C2085:
> 'Slep
> cMatGetVecsTemplate' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(44) : error C2085:
> 'Slep
> cUpdateVectors' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(45) : error C2085:
> 'Slep
> cUpdateStrideVectors' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(46) : error C2085:
> 'Slep
> cVecMAXPBY' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(49) : error C2085:
> 'Slep
> cVecSetRandom' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(50) : error C2085:
> 'Slep
> cVecNormalize' : not in formal parameter list
> c:\cygwin\home\liyi0000\slepc-3.2-p5\include\slepcvec.h(52) : error C2061:
> synta
> x error : identifier 'PETSC_EXTERN_CXX_END'
> C:\cygwin\home\liyi0000\SLEPC-~1.2-P\include\slepcsys.h(102) : error C2054:
> expe
> cted '(' to follow 'PETSC_EXTERN_CXX_BEGIN'
> C:\cygwin\home\liyi0000\SLEPC-~1.2-P\include\slepcsys.h(102) : error C2085:
> 'Sle
> pcInitialize' : not in formal parameter list
> C:\cygwin\home\liyi0000\SLEPC-~1.2-P\include\slepcsys.h(103) : error C2085:
> 'Sle
> pcFinalize' : not in formal parameter list
> C:\cygwin\home\liyi0000\SLEPC-~1.2-P\include\slepcsys.h(104) : error C2085:
> 'Sle
> pcInitializeFortran' : not in formal parameter list
> C:\cygwin\home\liyi0000\SLEPC-~1.2-P\include\slepcsys.h(105) : error C2085:
> 'Sle
> pcInitialized' : not in formal parameter list
> C:\cygwin\home\liyi0000\SLEPC-~1.2-P\include\slepcsys.h(124) : error C2085:
> 'Sle
> pcAbs' : not in formal parameter list
> 
> Yifei
> 



More information about the petsc-users mailing list