On Thu, Dec 13, 2012 at 3:23 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>
> On Dec 13, 2012, at 3:18 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>
>> It is displaying all the debugging information. You'll only get the useful
>> information if you run this:
>>
>> make -j5 -C arch-gnu
>
> Yes, your suggestion is not verbose because it doesn't do anything
>
> Barrys-MacBook-Pro:tutorials barrysmith$ make -j5 -C arch-gnu
> make: *** arch-gnu: No such file or directory. Stop.
> Barrys-MacBook-Pro:tutorials barrysmith$ pwd
> /Users/barrysmith/Src/petsc-dev/src/snes/examples/tutorials
>
> I don't want a "clean" top-level only command, like make cmake I want to
> run this command from whatever directory I am in and have it work correctly.
>
> I guess I'll just add the rule ccmake: pushd ${PETSC_DIR} ; make -j5 -C
> ${PETSC_ARCH}; popd in the conf/rules makefile, would that be reasonable?
What's wrong with `make -C $PETSC_DIR/$PETSC_ARCH`? You could even set
this as an alias if you don't like typing that much.