[Halld-offline] scons install (in sim-recon) takes forever
Nathan Sparks
nsparks at jlab.org
Thu Mar 23 10:13:24 EDT 2017
Hi Richard,
Here are some quick tests using sim-recon commit a5474aa on my (non-Farm) RHEL 7 machine, with a very light load:
1. If I build with debug symbols off (8.5 min. w/ 8 threads) and then run “scons -j8 install DEBUG=0” in the src directory,
it takes ~ 15 s for scons to report back that the “install” is up to date.
2. If I rebuild with debug symbols on (19 min. w/ 8 threads) and then run “scons -j8 install” in the src directory,
it takes ~ 1.5 min. to output that the installation is up to date.
I having been doing my builds with DEBUG=0 for a long time now, so I am used to the quicker builds/checks.
Maybe the longer time it takes to check a debug build in combination with a heavy system load can explain your observation.
-Nathan
> On Mar 23, 2017, at 7:23 AM, Richard Jones <richard.t.jones at uconn.edu> wrote:
>
> Hello all,
>
> Did someone check in a change that might have caused this? A few weeks back, if I did "scons install" in sim-recon and there was nothing to do (no updates since last build) it would return with success and report up-to-date within less than 1 minute. Now it takes forever (I hit ctrl-C after 20 minutes) to discover that it has nothing to do.
>
> -Richard J.
> _______________________________________________
> Halld-offline mailing list
> Halld-offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/halld-offline
More information about the Halld-offline
mailing list