Hi James, Thanks for figuring this out. Does dmake cause the build to fail with the current make files, or does this just make things slightly more efficient? I ask because the time to build Radiance even on a single-processor laptop has fallen to insignificance, where I would say that optimizing the build probably isn't important.
Best, -Greg > From: James Lee <[email protected]> > Date: November 28, 2010 3:55:18 AM PST > > File src/cv/Rmakefile defines the procedures for mgfilt, mgf2inv, 3ds2mgf > and 2 x libmgf.a. The executables need mgflib/libmgf.a but the procedure > to make ../lib/libmgf.a removes mgflib/libmgf.a by moving it. With a > linear build this doesn't matter as the three executables are built > before or after ../lib/libmgf.a but using 32 CPUs (T5120) and a parallel > build (dmake) this inconsistency is exploited. > > I've attached a patch which cures the problem but it's weak because it > doesn't tidy the makefiles enough, eg, it would probably be better to > just "make all" on the sub make file in mgflib. > > I've also changed "make" to "$(MAKE)" so as not to hard code a particular > make. _______________________________________________ Radiance-dev mailing list [email protected] http://www.radiance-online.org/mailman/listinfo/radiance-dev
