Hi Andy,

For some reason, EasyBuild can't find the GCC module that was just built; it 
relies on 'modulecmd' for that.

Can you retry the build, and make it spit out debug info to stdout using "-ld" 
as options to "eb" (better catch all output with a construct like "eb foo.eb 
-ld 2>&1 | tee foo.out" as well)?
That should give us more info, and give us an idea on how bad the situation is.

My first thought is that the "module avail" output is not as EasyBuild expects 
because you're using lmod...

Don't stare too long at the "No module named gv", that's not the correct error 
message, we'll take a look into why that pops up.


regards,

Kenneth

On 23 Mar 2013, at 17:14, Andy Ray Terrel wrote:

> Okay I suppose this is where I start hitting lmod problems.
> 
> [email protected]:aterr$ eb pkg-config-0.27.1-goalf-1.1.0-no-OFED.eb --robot
> == temporary log file in case of crash /tmp/easybuild-sYO1Ch.log
> == resolving dependencies ...
> == processing EasyBuild easyconfig
> /workspace/opt/apps/easybuild/1.2.0/lib/python2.7/site-packages/easybuild_easyconfigs-1.2.0.0-py2.7.egg/easybuild/easyconfigs/g/GCC/GCC-4.6.3.eb
> == building and installing GCC-4.6.3...
> == fetching files...
> == getting ready, creating build dir, resetting environment...
> == unpacking...
> == patching...
> == preparing...
> == configuring...
> == building...
> == testing...
> == installing...
> == taking care of extensions...
> == packaging...
> == postprocessing...
> == sanity checking...
> == cleaning up...
> == creating module...
> == COMPLETED: Installation ended successfully
> ==
> WARNING: Build exited with exit code 0. 9 possible error(s) were
> detected in the build logs, please verify the build.
> 
> == Results of the build can be found in the log file
> /h1/aterrel/.local/easybuild/software/GCC/4.6.3/easybuild/easybuild-GCC-4.6.3-20130323.102734.log
> == processing EasyBuild easyconfig
> /workspace/opt/apps/easybuild/1.2.0/lib/python2.7/site-packages/easybuild_easyconfigs-1.2.0.0-py2.7.egg/easybuild/easyconfigs/o/OpenMPI/OpenMPI-1.4.5-GCC-4.6.3-no-OFED.eb
> == building and installing OpenMPI-1.4.5-GCC-4.6.3-no-OFED...
> == fetching files...
> == getting ready, creating build dir, resetting environment...
> == unpacking...
> == patching...
> == preparing...
> Traceback (most recent call last):
>  File 
> "/workspace/opt/apps/easybuild/1.2.0/lib/python2.7/site-packages/easybuild_framework-1.2.0-py2.7.egg/easybuild/main.py",
> line 1239, in <module>
>    main()
>  File 
> "/workspace/opt/apps/easybuild/1.2.0/lib/python2.7/site-packages/easybuild_framework-1.2.0-py2.7.egg/easybuild/main.py",
> line 328, in main
>    (success, _) = build_and_install_software(spec, options,
> origEnviron, silent=testing)
>  File 
> "/workspace/opt/apps/easybuild/1.2.0/lib/python2.7/site-packages/easybuild_framework-1.2.0-py2.7.egg/easybuild/main.py",
> line 796, in build_and_install_software
>    regtest_online=options.regtest_online)
>  File 
> "/workspace/opt/apps/easybuild/1.2.0/lib/python2.7/site-packages/easybuild_framework-1.2.0-py2.7.egg/easybuild/framework/easyblock.py",
> line 1616, in run_all_steps
>    self.run_step(stop_name, step_methods, skippable=skippable)
>  File 
> "/workspace/opt/apps/easybuild/1.2.0/lib/python2.7/site-packages/easybuild_framework-1.2.0-py2.7.egg/easybuild/framework/easyblock.py",
> line 1554, in run_step
>    m(self)
>  File 
> "/workspace/opt/apps/easybuild/1.2.0/lib/python2.7/site-packages/easybuild_framework-1.2.0-py2.7.egg/easybuild/framework/easyblock.py",
> line 1574, in <lambda>
>    ('prepare', 'preparing', [lambda x: x.prepare_step()], False),
>  File 
> "/workspace/opt/apps/easybuild/1.2.0/lib/python2.7/site-packages/easybuild_framework-1.2.0-py2.7.egg/easybuild/framework/easyblock.py",
> line 1152, in prepare_step
>    self.toolchain.prepare(self.cfg['onlytcmod'])
>  File 
> "/workspace/opt/apps/easybuild/1.2.0/lib/python2.7/site-packages/easybuild_framework-1.2.0-py2.7.egg/easybuild/tools/toolchain/toolchain.py",
> line 280, in prepare
>    self.log.raiseException("No module found for toolchain name '%s'
> (%s)" % (self.name, self.version))
>  File 
> "/workspace/opt/apps/easybuild/1.2.0/lib/python2.7/site-packages/easybuild_framework-1.2.0-py2.7.egg/vsc/utils/fancylogger.py",
> line 202, in raiseException
>    raise exception(message)
> ImportError: No module found for toolchain name 'GCC' (4.6.3) (No
> module named gv)

Reply via email to