[petsc-users] Using cmake to generate run lines

Jed Brown jedbrown at mcs.anl.gov
Tue Aug 20 19:37:11 CDT 2013


You can do something similar with CTest. See those docs and perhaps the
examples in https://github.com/jedbrown/dohp.
On Aug 20, 2013 8:21 PM, "Sanjay GOVINDJEE" <s_g at berkeley.edu> wrote:

> 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/4c495052/attachment.html>


More information about the petsc-users mailing list