[petsc-dev] openmp

Jed Brown jedbrown at mcs.anl.gov
Wed Nov 6 16:52:05 CST 2013


Svetlana Tkachenko <svetlana.tkachenko at fastmail.fm> writes:

> Thanks. Could you please send an example makefile for this small
> example as src/ts/examples/tutorials/makefile is huge and I don't know
> which part of it manages the -I -L stuff.

There are examples in the user's manual.  I would start with this:

ALL: ex2

include ${PETSC_DIR}/conf/variables
include ${PETSC_DIR}/conf/rules
ex2: ex2.o chkopts
	${CLINKER} -o $@ $< ${PETSC_LIB}
-------------- 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/22eda118/attachment.sig>


More information about the petsc-dev mailing list