Dear all, I would like to use PETSc within a finite element program (the main part is written in C++). Some classes should use PETSc routines and routines from other libraries. When compiling these classes, I have to include not only the header files from PETSc (which in the examples of a single C or C++ files are included automatically with the sample makefiles provided in the manual) but also header files from the other used libraries. Finally, I would have also to link PETSc with other libraries at the same time. I have tried to construct a makefile including 'by hand' the PETSc headers but I have always problems. Could someone help me? Have you got makefile examples for this situation (or similar)?
The compilation options for the PETSc library that I have employed are: ./config/configure.py --with-mpi=0 --with-clanguage=c++ --with-scalar-type=complex tests and examples are passed correctly. I am running PETSc in linux machines. Thank you in advance, Jordi Poblet -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20060721/3cd36cb0/attachment.htm>
