[petsc-dev] get moving on gnu make version of PETSc compiler

Jed Brown jedbrown at mcs.anl.gov
Wed Sep 11 19:20:53 CDT 2013


Satish Balay <balay at mcs.anl.gov> writes:
> BTW: Do you know if its possible to add the [%done] progress like the cmake build has?

I don't know any fast way to learn how many targets need to be built.
CMake embeds markers at different points in the build, but the
percentages can be way off depending on what actually needs to be built.
I don't think it would be that hard to implement a special variable in
gnu make that would tell us how many things need to be rebuilt, so maybe
we could have it in the next release.  (Make is a mature project with a
pretty slow release cycle, so it's more of a convenience for the long
term.  I don't think this feature is very important, however.)

Ninja (for which I also wrote a generator) does progress very well.

> [ 12%] Building C object CMakeFiles/petsc.dir/src/dm/impls/sliced/sliced.c.o
> [ 12%] Building C object CMakeFiles/petsc.dir/src/dm/impls/redundant/dmredundant.c.o
>
>
> vs:
>           CC asterix64/obj-gmake/src/mat/impls/baij/seq/bstream/bstrmfact.o
>           CC asterix64/obj-gmake/src/mat/impls/baij/mpi/mpibaij.o
>           CC asterix64/obj-gmake/src/mat/impls/baij/mpi/mmbaij.o

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130911/8e81eaac/attachment.sig>


More information about the petsc-dev mailing list