Thanks, Jed and Satish,

But "make -j N" does not change anything when compiling petsc.



If I do something like: "make -j whatever". Then I always get:


Using MAKEFLAGS: -j8 -l36.0 w


It looks like PETSc always uses "-j something" that we can not change using the 
command-line.


Is it a bug?



Fande,



________________________________
From: Jed Brown <[email protected]>
Sent: Tuesday, July 24, 2018 3:44 PM
To: Fande Kong; For users of the development version of PETSc
Subject: Re: [petsc-dev] could we let "make -j N" work for PETSc and external 
packages?

Fande Kong <[email protected]> writes:

> Hi Developers,
>
>
> Could we somehow let "make -j N" to take multiple threads for compiling 
> PETSc. Do we use multiple threads when compiling the external packages such 
> as hypre, parmetis etc.?

Yes, see self.parallelMake=0 for the few packages that don't support parallel 
make.

Reply via email to