[petsc-users] Using cmake to generate run lines

Sanjay GOVINDJEE s_g at berkeley.edu
Tue Aug 20 19:21:13 CDT 2013


I have recently converted our project to use cmake to
generate its makefiles.  I was wondering, if anyone has
an example of how to have cmake add the "run lines"
to the makefile that it generates?  i.e. I want cmake to
add lines lines like:

runex1:
        -@${MPIEXEC} -n 1 ./ex1 -ksp_monitor_short
-ksp_gmres_cgs_refinement_type refine_always

and other variants to the makefile that it produces.  Note that I am
already using
Jed Brown's FindPETSc.cmake already.

-sanjay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130820/76dddaa0/attachment.html>


More information about the petsc-users mailing list