[petsc-users] use mpic++ instead of mpicc

Jose E. Roman jroman at dsic.upv.es
Tue Jun 5 08:29:03 CDT 2012


El 05/06/2012, a las 11:59, Degang Wu escribió:

> Hi,
> 
> I am new to Petsc and Slepc, and I rely on the makefile provided in the example code folders to compile. For example, the makefile in src/eps/examples/tutorials/makefile. How should I modify the makefile so that make will use mpic++ rather than mpicc to compile and link?
> 
> Wu Degang

You must configure PETSc --with-clanguage=c++

Jose



More information about the petsc-users mailing list