GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » make -jN for external packages
make -jN for external packages [message #9106] Thu, 30 July 2009 10:20 Go to next message
Anonymous Poster From: *

could we introduce something in the script for the external packages to do a make -jN for building the external packages? It would be sooo much faster on my quad-core...

Cheers, Christian
Re: make -jN for external packages [message #9116 is a reply to message #9106] Thu, 30 July 2009 14:02 Go to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *
Hi Christian

If you look into the scripts you can see that this is already done in most of the cases. For some packages we encounter problems using parallel build, so for this packages we don't use this feature.
We check how many cores are available and use this number for make -j .
If you want to set a different number please set a environment variable which is checked by the script.

export NCPU=<your number>


Previous Topic: Lumi position in x-y plane
Next Topic: Question about pipe simulation
Goto Forum:

Current Time: Mon Jul 15 00:30:26 CEST 2024

Total time taken to generate the page: 0.00692 seconds