In my MPI CFD code, I have to solve 2 linear eqns - momentum and poisson eqn. There's some error in the code and I don't know which one causes the error. May I know if it is possible to solve 1 eqn in sequential mode while the other in MPI to pinpoint the error since my code works ok in a sequential mode.
call MatCreateSeqAIJ(PETSC_COMM_SELF,size_x*size_y,size_x*size_y,9,PETSC_NULL_INTEGER,A_mat,ierr)
call VecCreateSeq(PETSC_COMM_SELF,size_x*size_y,b_rhs,ierr)
but there's error.
Thank you.