Hi Andy,

On 25 Mar 2013, at 05:01, Andy Ray Terrel wrote:

> Okay I see the problem.  You guys call:
> 
> 'modulecmd python --terse available GCC/4.6.3'
> 
> but the lmod command doesn't spit out python, doesn't support --terse,
> only accepts the name avail.
> 
> modulecmd bash avail GCC/4.6.3
> 
> I'll ping Robert to see if these features can be added.


Oh, I expected lmod to also spit out Python...

We rely heavily on that, and although working around it is possible (it's just 
translating "export ..." to "os.environ" basically, I guess), it would be nice 
to have this support in lmod.

The "avail" vs "available" is less of an issue, and the "--terse" was only 
added recently because we got tired of parsing the regular "avail" output.

Do let us know if there will be changes w.r.t. this stuff in lmod.
If not, we can probably work around them.


regards,

Kenneth

> 
> -- Andy
> 
> On Sun, Mar 24, 2013 at 10:38 PM, Andy Ray Terrel <[email protected]> 
> wrote:
>> Okay I've redone the build, you can see the commands and 11MB log file at:
>> 
>> https://gist.github.com/aterrel/5234624
>> 
>> Hope that helps let me know if there is any more details you might
>> need.  Would be really great if I could get the system working with
>> the lmod installs.
>> 
>> -- Andy
>> 
>> On Sat, Mar 23, 2013 at 2:20 PM, Kenneth Hoste <[email protected]> 
>> wrote:
>>> 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