[petsc-dev] make -j not supported? Why???
Satish Balay
balay at mcs.anl.gov
Mon Feb 25 15:02:44 CST 2013
There are 2 build modes - the old one - which is recurrsive make - and
does not support parallel build.
And there is a new one - based on cmake - which supports parallel make.
Our top level makefile supports both - and does not work with '-j'.
However if you have a cmake build - it does use paralell make. The
'-j' equivalent can be specified to configure via --with-make-np=
option or to 'make' with MAKE_NP variable. [Default is configure
autodetected value]
Satish
On Mon, 25 Feb 2013, Tim Tautges wrote:
> tautges at chronos:~/code/petsc-dev-moab$ make -j 8
> ********************* ERROR *************************
> Parallel build with 'make -j' is not supported
> ******************************************************
> make: *** [chk_makej] Error 1
> tautges at chronos:~/code/petsc-dev-moab$
>
>
> Why??? I can almost understand petsc's justification for its own
> autotools-looking python-based build system, but why its need to not support
> otherwise-standard make options? Similarly, PETSC_MAKE_STOP_ON_ERROR instead
> of make -k?
>
> - tim
>
>
More information about the petsc-dev
mailing list