[petsc-users] PETSc + SLEPc makefile

jordi poblet jordi.poblet at gmail.com
Mon Sep 6 06:01:46 CDT 2010


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?

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100906/015a4975/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MakefileExample
Type: application/octet-stream
Size: 597 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100906/015a4975/attachment.obj>


More information about the petsc-users mailing list