[petsc-dev] openmp

Jed Brown jedbrown at mcs.anl.gov
Wed Nov 6 21:29:48 CST 2013


Svetlana Tkachenko <svetlana.tkachenko at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131106/f329f87f/attachment.sig>


More information about the petsc-dev mailing list