Re: [petsc-dev] make -j not supported? Why???
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@chronos:~/code/petsc-dev-moab$ make -j 8 ********************* ERROR ************************* Parallel build with 'make -j' is not supported ****************************************************** make: *** [chk_makej] Error 1 tautges@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
participants (1)
-
Satish Balay