Svetlana Tkachenko <svetlana.tkache...@fastmail.fm> writes:
> What do you mean? (I don't think the program name has to be 'main'.).

No, it doesn't.  The name is meaningless in Fortran, but you need to use
the keyword "program".

> ~/dev/test/petsc $ cat myexample.F90
>        program myexample
>
>            call solver
>        end
> ~/dev/test/petsc $

Add myexample.o to the makefile so it gets compiled.

Attachment: pgpwF5jw09bs9.pgp
Description: PGP signature

Reply via email to