[petsc-dev] could we let "make -j N" work for PETSc and external packages?

Fande Kong Fande.Kong at inl.gov
Tue Jul 24 16:53:31 CDT 2018


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 <jed at jedbrown.org>
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 <Fande.Kong at inl.gov> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180724/31e1cdc4/attachment.html>


More information about the petsc-dev mailing list