[petsc-dev] Testing system

Fande Kong fdkong.jd at gmail.com
Wed Jun 6 18:23:02 CDT 2018


Thanks, Jed,

It is working great for me.

Thanks again,


Fande

On Wed, Jun 6, 2018 at 5:18 PM, Jed Brown <jed at jedbrown.org> wrote:

> make -f gmakefile test search=mat_tutorials-ex15_3
>
> Fande Kong <fdkong.jd at gmail.com> writes:
>
> > Thanks, Patrick, and Jed,
> >
> > I appended the following to src/mat/examples/tutorials/ex15.c. Also
> added
> > the output files: src/mat/examples/tutorials/output/ex15_3.out
> > and src/mat/examples/tutorials/output/ex15_4.out.
> >
> > *   test:*
> > *      suffix: 3*
> > *      nsize: 4*
> > *      requires: party*
> > *      args: -mat_partitioning_type party*
> >
> > *   test:*
> > *      suffix: 4*
> > *      nsize: 3*
> > *      requires: chaco*
> > *      args: -mat_partitioning_type chaco*
> >
> >
> > What are the right instructions I should follow to check if the added
> tests
> > are actually working?
> >
> >
> > Fande,
> >
> > On Wed, Jun 6, 2018 at 4:59 PM, Patrick Sanan <patrick.sanan at gmail.com>
> > wrote:
> >
> >> And for more info
> >>
> >>     make -f gmakefile.test help-test
> >>
> >> 2018-06-06 23:55 GMT+01:00 Jed Brown <jed at jedbrown.org>:
> >>
> >>> Use search, as in
> >>>
> >>> make -f gmakefile test search=mat_%
> >>>
> >>> Often you'll want to be more specific.
> >>>
> >>> "Kong, Fande" <fande.kong at inl.gov> writes:
> >>>
> >>> > How to run tests for Mat examples only?
> >>> >
> >>> >  "make PETSC_ARCH=arch-darwin-c-opt-3.9.2  -f gmakefile.test test"
> run
> >>> > everything.
> >>> >
> >>> > Thanks,
> >>> >
> >>> > Fande,
> >>>
> >>
> >>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180606/e94663b3/attachment.html>


More information about the petsc-dev mailing list