Hi Satish, Yes, that fixes it. I can install OOQP with petsc-2.3.0 without a problem.
But after fixing the VecScatter problem if I try petsc-3.0 then I end up in a linker error in src/QpBound/QpBoundPetsc.o "undefined reference to PetscIterativeSolver::PetscIterativeSolver". I cannot understand this. I have to check this. --Anirban Satish Balay wrote: > I guess OOQP is not updated to use the latest petsc version - where > the first argument is VecScatter. > > Is this the only error you get? If so - its easy to just fix the code > to use petsc-3 > > VecScatterBegin(Vec,Vec,InsertMode,ScatterMode,VecScatter); > changed to: > VecScatterBegin(VecScatter,Vec,Vec,InsertMode,ScatterMode); > > Satish > > On Tue, 24 Nov 2009, Anirban Chatterjee wrote: > > >> Hi, >> >> I am trying to use Steve Wright's OOQP with PETSc support and get this error: >> cannot convert '/_p_Vec/* const' to '/_p_VecScatter/*' for argument '1' to >> 'PetscErrorCode >> >> Can anyone tell me why I am getting this error. I am getting this error in >> the >> VecScatterBegin function where the first argument type is Vec. >> >> Thanks, >> Anirban >> >> > >
