[petsc-users] Question about PETSC
Валентин Егоров
egorow.walentin at gmail.com
Thu Mar 16 04:56:51 CDT 2017
Thank you for answering, I will try.
Sincerely,
Valentin
2017-03-16 10:37 GMT+03:00 Dave May <dave.mayhem23 at gmail.com>:
>
>
> On Thu, 16 Mar 2017 at 07:16, Matthew Knepley <knepley at gmail.com> wrote:
>
>> 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?
>>
>
> Matt is correct. The best way to get into PETSc is by studying the example
> codes provided in the source tree.
>
> As a precursor to studying fortran examples, you should take a look at
> this page and decided which PETSc-fortran approach you wish to use:
>
> http://www.mcs.anl.gov/petsc/petsc-current/docs/
> manualpages/Sys/UsingFortran.html
>
> Thanks,
> Dave
>
>
>> Thanks,
>>
>> Matt
>>
>> On Thu, Mar 16, 2017 at 12:37 AM, Валентин Егоров <
>> egorow.walentin at 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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170316/1ce0e26d/attachment.html>
More information about the petsc-users
mailing list