calling PETSc from Fortan main routine

Waad Subber w_subber at yahoo.com
Mon Aug 13 18:51:38 CDT 2007


Many Thanks to you :)

Satish Balay <balay at mcs.anl.gov> 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. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070813/b1741f75/attachment.htm>


More information about the petsc-users mailing list