[petsc-dev] error: ‘MPI_Win’ does not name a type

Barry Smith bsmith at mcs.anl.gov
Wed Nov 2 18:52:51 CDT 2011


#if defined(PETSC_HAVE_MPI_WIN_CREATE)
  MPI_Win                window;
  PetscInt               *winstarts;    /* displacements in the processes I am putting to */
#endif

Did you rerun ./configure? Somehow you use to have WIN_CREATE but no longer do?

   Barry

On Nov 2, 2011, at 6:43 PM, Mark F. Adams wrote:

> I just pulled a new version on a linux cluster and get this error, any ideas?
> 
> Mark
> 
> In file included from /home/ford/users/madams/petsc-dev/include/petscvec.h:496,
>                from /home/ford/users/madams/petsc-dev/include/petscmat.h:6,
>                from /home/ford/users/madams/petsc-dev/include/petscdm.h:6,
>                from /home/ford/users/madams/petsc-dev/include/petscpc.h:6,
>                from /home/ford/users/madams/petsc-dev/include/petscksp.h:6,
>                from /home/ford/users/madams/petsc-dev/include/petscsnes.h:6,
>                from /home/ford/users/madams/petsc-dev/include/petscts.h:7,
>                from /home/ford/users/madams/petsc-dev/include/petsc.h:4,
>                from PetscLinearSolver.H:21,
>                from PetscLinearSolver.cpp:15:
> /home/ford/users/madams/petsc-dev/include/private/vecimpl.h:455: error: ‘MPI_Win’ does not name a type




More information about the petsc-dev mailing list