[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: calling PETSc from Fortan main routine



Many Thanks to you :)

Satish Balay <balay@xxxxxxxxxxx> wrote:
On Mon, 13 Aug 2007, Waad Subber wrote:

> And what about the makefile how can I include my subroutines inside the petsc makefile
>
> Thanks

I'm ataching a minimal petsc makefile.

You can add your stuff as

OBJS = foo.o bar.o

[and then replace ex1.o with $(OBJS)]

SatishCFLAGS =
FFLAGS =
CPPFLAGS =
FPPFLAGS =
CLEANFILES =

include ${PETSC_DIR}/conf/base

ex1f: ex1f.o chkopts
-${FLINKER} -o ex1f ex1f.o ${PETSC_LIB}
${RM} ex1f.o


Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.