building libraries

Barry Smith bsmith at mcs.anl.gov
Fri Jun 2 18:44:21 CDT 2006



On Fri, 2 Jun 2006, Matt Funk wrote:

> Thanks for the replies again,
>
> i found though that the directory bmake/{PETSC_ARCH} included the files (i.e.
> petscconf.h) that it couldn't find before.
> So now it seems that it works.
>
> I am not sure how i was supposed to use PETsC makefiles when i already have a
> existing code into which i try to include PETsC rather than starting a new
> code. I really know just the basics about makefiles, so i could just simply
> not know what you guys meant.

   As Satish said in an earlier email; you need only include one PETSc makefile
into your makefile. This defines the set of make variables (like libraries) that
you can use in the makefile to compile the application.

    Barry

>
> thanks
> mat
>
>
> On Thursday 01 June 2006 11:13, Satish Balay wrote:
>> On Thu, 1 Jun 2006, Satish Balay wrote:
>>> Looks like you are not using PETSc makefiles. This is the recommended
>>> thing to do.
>>
>> I intend to say 'The recommended method is to use PETSc makefiles'.
>>
>> Satish
>
>




More information about the petsc-users mailing list