Hi Valentin, Have you seen this example: https://bitbucket.org/petsc/petsc/src/1830d94e4628b31f970259df1d58bc250c9af32a/src/ksp/ksp/examples/tutorials/ex2f.F?at=master&fileviewer=file-view-default
Would that be enough to get started? Thanks, Matt On Thu, Mar 16, 2017 at 12:37 AM, Валентин Егоров <egorow.walen...@gmail.com > wrote: > Hello! > My name is Valentin Egorov. I am from Russia. And I have a question for > you about PETSC. I would like to make a programm on Fortran with PETSC, but > I can't. I have a matrix 400*400. I have also vector B with 400 elements. I > need to solve linear equations. Could you help me to do it. I can't > understand how use PETSC in Fortran? In fortran programm? And where to put > matrix elements? > > Sincerely, Valentin Egorov! > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener