On 23 Mar 2013, at 17:00, Andy Ray Terrel wrote: > On Sat, Mar 23, 2013 at 3:30 AM, Fotis Georgatos <[email protected]> wrote: >> >> On Debian, what I do is to make sure we actually have the needed dependencies >> via the OS and then skip such checks alltogether with "--strict=ignore". >> > > Okay that got past the dependency but had a different error.
Well, there is a reason why a dependency is specified, so whatever you're building is missing some header file or something like that probably? We want to get rid of OS deps as much as possible, for this exact reason. But, sometimes it's difficult to be totally (well, as much as possible) independent of what the OS offers. Or, even worse, we simply miss dependencies, because they're poorly documented and we're building on 'fat' OS installations. We plan to look into the jail tool that Hashdist provides to tackle that issue, and we need to weed out further OS dependencies as much as we can... > >>> tar: Unexpected EOF in archive >> >> That is a classic one, and it basically corresponds to interrupted downloads >> (you hit ctrl-c or something of a similar style happened). As Ken advices: >> * remove broken tarball, rinse, repeat. >> >> Many of such errors should go away once we start using shared verifiable >> mirrors >> for distributing the (redistributable open source) software, as per: >> https://github.com/hpcugent/easybuild-framework/issues/555 >> https://github.com/hpcugent/easybuild-framework/issues/214 > > Yup, that fixed that error now I get an error hitting this machines > quota. Wiping and symlinking to a different filesystem fixed that > issue, but the install of GCC is taking far longer than I expected. > Is there a way to specify the number of threads for make to use? EasyBuild determines by itself how parallel it can perform a build, based on the number of available cores (and ulimit settings). You can specify how parallel a build should be using e.g. 'parallel = 8' in the .eb files. How parallel is the build now (use "eb foo.eb -ld 2>&1 | tee foo.out" to get a lot more info on what's going on), and how long is the build taking? GCC does take a while, because it's quite big and a 3-level bootstrap is performed to be as independent as possible from the OS. regards, Kenneth

