[petsc-users] PETSc + SLEPc makefile

Matthew Knepley knepley at gmail.com
Mon Sep 6 06:18:44 CDT 2010


On Mon, Sep 6, 2010 at 1:01 PM, jordi poblet <jordi.poblet at gmail.com> wrote:

> Dear all,
>
> I am trying to use PETSc and SLEPc but I have problems with the makefiles.
> Could someone provide me an example of makefiles that compiles multiple C++
> files and include external libraries different than PETSc and SLEPc?
>

I do not really understand your problem. What error are you getting?

  Matt


> In the makefile that I am trying to use (attached):
>
> -main.cpp: is the main file where some tests are done
> -UsePETSc.cpp: A class that uses PETSc
> -UseSLEPc.cpp: A class that uses SLEPc
>
> I have no problem when using UsePETSc.cpp without SLEPc or when compiling
> single examples that call SLEPc functions (with the makefiles provided in
> the SLEPc examples).
> Sorry if this is not a purelly PETSc question but I have supposed that
> there is someone else here using also SLEPc.
>
> Thank you very much in advance,
>
> Jordi Poblet-Puig
>
>
>
>
>
>
>
>


-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100906/a84b519d/attachment.htm>


More information about the petsc-users mailing list