Message: Configure -build on multi-CPU machine Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Configure -build on multi-CPU machine 

Forum: Installation and Configuration
Date: 05 Mar, 2008
From: Tom Roberts <Tom Roberts>

I have a 4-CPU Mac Pro, and I have in my environment:
    export MAKEFLAGS='-j 4'
This GREATLY speeds up the build because make will perform 4 compiles in parallel.

Unfortunately, I get a number of error messages:
  make[1]: *** No rule to make target `/Users/tjrob/geant4.9.1.p01.debug/tmp/Darwin-g++/G4globman/obj.last', 
  needed by `/Users/tjrob/geant4.9.1.p01.debug/lib/Darwin-g++/libG4global.a'.  Stop.
  make[1]: *** Waiting for unfinished jobs....
  make[1]: *** Waiting for unfinished jobs....

Remarkably, the build continues and completes. This is surely an artifact of multiple make tasks attempting to build obj.last, one succeeds and the others get confused. But Configure ends up saying there were errors, so I have to examine the entire log.

Multiple-CPU systems are becoming the norm. Can the Geant4 makefiles be modified to work cleanly and efficiently for them?

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Configure -build on multi-CPU machine   (Tom Roberts - 05 Mar, 2008)
3 Warning: Re: Configure -build on multi-CPU machine   (Gabriele Cosmo - 05 Mar, 2008)
1 None: Re: Configure -build on multi-CPU machine   (Tom Roberts - 05 Mar, 2008)
 Add Message Add Message
to: "Configure -build on multi-CPU machine"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]