[petsc-users] Difference between PETSC 3.5.0.0 and 3.5.1.0
Evan Um
evanum at gmail.com
Mon Nov 24 15:03:41 CST 2014
Dear Satish,
Thanks for your kind help. After adding the two defines suggested by Eric,
I was able to compile and run the code. You are right. The 3.5.0 version
was not Cray build.
Regards,
Evan
On Mon, Nov 24, 2014 at 11:48 AM, Satish Balay <balay at mcs.anl.gov> wrote:
> If using PETSc makefile format - you can try:
>
> make executable CXX=CC PCC_LINKER=CC
> CPPFLAGS='-DPETSC_CXX_STATIC_INLINE="static inline"
> -DPETSC_CXX_RESTRICT=__restrict__'
>
> [or add the equivalent stuff to your makefile]
>
> The issue is - the newer versions of PETSc from cray are not
> configured with the c++ compiler - so some of the flags required to
> use it from c++ are missing from petscconf.h file.
>
> BTW: The 3.5.0.0 version you refere to is perhaps not a cray build..
>
> Satish
>
> On Mon, 24 Nov 2014, Evan Um wrote:
>
> > Dear PETSC users,
> >
> > I tried to compile my PETSC application code with PETSC 3.5.1.0 but error
> > messages below. For example, some PETSC types were not identified or
> > defined multiple times. The code has #include <petscksp.h>and is compiled
> > with 3.5.0 without any error. I wonder if there is a critical change from
> > 3.5.0.0 to 3.5.1.0. I don't see any changes in Documentation: Changes:
> 3.5
> > from PETSC webpage. Thanks for your help.
> >
> > Regards,
> > Evan
> >
> > CC -c -O3 esu_main.cpp
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(390),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscmath.h(274):
> > error: identifier "PETSC_CXX_STATIC_INLINE" is undefined
> > PETSC_STATIC_INLINE PetscReal PetscAbsScalar(PetscScalar a) {return a <
> > 0.0 ? -a : a;}
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(390),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscmath.h(274):
> > error: "PetscReal" has already been declared in the current scope
> > PETSC_STATIC_INLINE PetscReal PetscAbsScalar(PetscScalar a) {return a <
> > 0.0 ? -a : a;}
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(390),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscmath.h(274):
> > error: expected a ";"
> > PETSC_STATIC_INLINE PetscReal PetscAbsScalar(PetscScalar a) {return a <
> > 0.0 ? -a : a;}
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(390),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscmath.h(315):
> > warning #12: parsing restarts here after previous syntax error
> > typedef enum { PETSC_SCALAR_DOUBLE,PETSC_SCALAR_SINGLE,
> > PETSC_SCALAR_LONG_DOUBLE } PetscScalarPrecision;
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(390),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscmath.h(518):
> > error: "PetscInt" has already been declared in the current scope
> > PETSC_STATIC_INLINE PetscInt PetscPowInt(PetscInt base,PetscInt power)
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(390),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscmath.h(518):
> > error: expected a ";"
> > PETSC_STATIC_INLINE PetscInt PetscPowInt(PetscInt base,PetscInt power)
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(404):
> > warning #12: parsing restarts here after previous syntax error
> > typedef enum { PETSC_COPY_VALUES, PETSC_OWN_POINTER, PETSC_USE_POINTER}
> > PetscCopyMode;
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1414):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscBitMemcpy(void*,PetscInt,const
> > void*,PetscInt,PetscInt,PetscDataType);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1414):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscBitMemcpy(void*,PetscInt,const
> > void*,PetscInt,PetscInt,PetscDataType);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1414):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscBitMemcpy(void*,PetscInt,const
> > void*,PetscInt,PetscInt,PetscDataType);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1436):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscStrendswithwhich(const char[],const
> char
> > *const*,PetscInt*);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1457):
> > error: expected a ")"
> > PETSC_EXTERN PetscErrorCode PetscEListFind(PetscInt,const char
> > *const*,const char*,PetscInt*,PetscBool*);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1476):
> > error #303: explicit type is missing ("int" assumed)
> > PETSC_EXTERN PetscErrorCode PetscMaxSum(MPI_Comm,const
> > PetscInt[],PetscInt*,PetscInt*);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1476):
> > error: parameter "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscMaxSum(MPI_Comm,const
> > PetscInt[],PetscInt*,PetscInt*);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1476):
> > error: parameter "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscMaxSum(MPI_Comm,const
> > PetscInt[],PetscInt*,PetscInt*);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1478):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode
> >
> MPIULong_Send(void*,PetscInt,MPI_Datatype,PetscMPIInt,PetscMPIInt,MPI_Comm);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1479):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode
> >
> MPIULong_Recv(void*,PetscInt,MPI_Datatype,PetscMPIInt,PetscMPIInt,MPI_Comm);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(453):
> > error #77: this declaration has no storage class or type specifier
> > PETSC_STATIC_INLINE void* PetscThreadLocalGetValue(PetscThreadKey key)
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(453):
> > error: expected a ";"
> > PETSC_STATIC_INLINE void* PetscThreadLocalGetValue(PetscThreadKey key)
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(485):
> > warning #12: parsing restarts here after previous syntax error
> > } PetscStack;
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(497):
> > error: identifier "PetscStack" is undefined
> > PETSC_EXTERN PetscStack *petscstack;
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(500):
> > error: identifier "PetscStack" is undefined
> > PETSC_EXTERN PetscErrorCode PetscStackCopy(PetscStack*,PetscStack*);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(500):
> > error: expected an expression
> > PETSC_EXTERN PetscErrorCode PetscStackCopy(PetscStack*,PetscStack*);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(500):
> > error: expected a ")"
> > PETSC_EXTERN PetscErrorCode PetscStackCopy(PetscStack*,PetscStack*);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(501):
> > error: expected an expression
> > PETSC_EXTERN PetscErrorCode PetscStackPrint(PetscStack*,FILE* fp);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(501):
> > error: expected a ")"
> > PETSC_EXTERN PetscErrorCode PetscStackPrint(PetscStack*,FILE* fp);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(725):
> > error: variable "PETSC_CXX_STATIC_INLINE" is not a type name
> > PETSC_STATIC_INLINE PetscBool PetscStackActive(void) {return
> PETSC_FALSE;}
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(725):
> > error: "PetscBool" has already been declared in the current scope
> > PETSC_STATIC_INLINE PetscBool PetscStackActive(void) {return
> PETSC_FALSE;}
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(725):
> > error: expected a ";"
> > PETSC_STATIC_INLINE PetscBool PetscStackActive(void) {return
> PETSC_FALSE;}
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1549),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscerror.h(770):
> > warning #12: parsing restarts here after previous syntax error
> > PETSC_EXTERN PetscErrorCode PetscStackCreate(void);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1564):
> > error: expected a ")"
> > PETSC_EXTERN PetscErrorCode PetscInfoAllow(PetscBool ,const char []);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1573):
> > error: expected an expression
> > PETSC_EXTERN PetscErrorCode PetscInitialized(PetscBool *);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1574):
> > error: expected an expression
> > PETSC_EXTERN PetscErrorCode PetscFinalized(PetscBool *);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1609):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode
> PetscObjectSetTabLevel(PetscObject,PetscInt);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1610):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode
> PetscObjectGetTabLevel(PetscObject,PetscInt*);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1611):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode
> > PetscObjectIncrementTabLevel(PetscObject,PetscObject,PetscInt);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1613):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode
> > PetscObjectGetReference(PetscObject,PetscInt*);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1627):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode
> >
> PetscObjectsGetGlobalNumbering(MPI_Comm,PetscInt,PetscObject*,PetscInt*,PetscInt*);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1627):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode
> >
> PetscObjectsGetGlobalNumbering(MPI_Comm,PetscInt,PetscObject*,PetscInt*,PetscInt*);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1627):
> > error: variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode
> >
> PetscObjectsGetGlobalNumbering(MPI_Comm,PetscInt,PetscObject*,PetscInt*,PetscInt*);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(9):
> > error: variable "PetscBool" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsHasName(const char[],const
> > char[],PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(10): error:
> > variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetInt(const char[],const char
> > [],PetscInt *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(10): error:
> > variable "PetscBool" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetInt(const char[],const char
> > [],PetscInt *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(11): error:
> > variable "PetscBool" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetBool(const char[],const char
> > [],PetscBool *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(11): error:
> > variable "PetscBool" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetBool(const char[],const char
> > [],PetscBool *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(12): error:
> > variable "PetscReal" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetReal(const char[],const
> > char[],PetscReal *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(12): error:
> > variable "PetscBool" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetReal(const char[],const
> > char[],PetscReal *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(13): error:
> > variable "PetscBool" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetScalar(const char[],const
> > char[],PetscScalar *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(14): error:
> > variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetIntArray(const char[],const
> > char[],PetscInt[],PetscInt *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(14): error:
> > variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetIntArray(const char[],const
> > char[],PetscInt[],PetscInt *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(15): error:
> > variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetRealArray(const char[],const
> > char[],PetscReal[],PetscInt *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(15): error:
> > variable "PetscBool" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetRealArray(const char[],const
> > char[],PetscReal[],PetscInt *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(16): error:
> > variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetScalarArray(const
> char[],const
> > char[],PetscScalar[],PetscInt *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(17): error:
> > variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetBoolArray(const char[],const
> > char[],PetscBool [],PetscInt *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(17): error:
> > variable "PetscBool" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetBoolArray(const char[],const
> > char[],PetscBool [],PetscInt *,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(18): error:
> > variable "PetscBool" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetString(const char[],const
> > char[],char[],size_t,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(19): error:
> > variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetStringArray(const
> char[],const
> > char[],char*[],PetscInt*,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(19): error:
> > variable "PetscBool" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetStringArray(const
> char[],const
> > char[],char*[],PetscInt*,PetscBool *);
> >
> > ^
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(20): error:
> > variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsGetEList(const char[],const
> > char[],const char*const*,PetscInt,PetscInt*,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(50): error:
> > variable "PetscReal" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsStringToReal(const
> > char[],PetscReal*);
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(204): error:
> > variable "PetscInt" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsInt(const char[],const
> > char[],const char[],PetscInt,PetscInt*,PetscBool *);
> >
> > ^
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(205): error:
> > variable "PetscReal" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsReal(const char[],const
> > char[],const char[],PetscReal,PetscReal*,PetscBool *);
> >
> > ^
> >
> > In file included from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscsys.h(1630),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscis.h(7),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscvec.h(9),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscmat.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscpc.h(6),
> > from /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscksp.h(6),
> > from esu_driver_csem.h(19),
> > from esu_main.cpp(19):
> > /opt/cray/petsc/
> > 3.5.1.0/real/INTEL/140/sandybridge/include/petscoptions.h(205): error:
> > variable "PetscBool" is not a type name
> > PETSC_EXTERN PetscErrorCode PetscOptionsReal(const char[],const
> > char[],const char[],PetscReal,PetscReal*,PetscBool *);
> >
> > ^
> >
> > compilation aborted for esu_main.cpp (code 4)
> > make: *** [esu_main.o] Error 4
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141124/517b7654/attachment-0001.html>
More information about the petsc-users
mailing list