On Wed, 16 Oct 2013 15:59:01 +0200
Kenneth Hoste <[email protected]> wrote:
> EasyBuild looks for its "sources" in the source path it was configured to use.
I finally have some time again to invest into EasyBuild. I'm now using 1.9.0.
I'm trying to get ictce components up so I can investigate symlinking it to
/opt to satisfy ICR spec.
First up is icc. I got latest tarball (2013_sp1.1.106) and placed it into
sources/i/icc. I bumped the version in icc.eb and ran it. Tarball is found and
picked up and everything seems ok till this:
ERROR: EasyBuild encountered an exception (at easybuild/main.py:770 in
build_and_install_software): autoBuild Failed (last 300 chars): ll.sh -s
/home/swadmin/build/icc/2013_sp1.1.106/dummy-dummy/l_ccompxe_2013_sp1.1.106/silent.cfg"
exited with exitcode 2 and output:
Name "ACTIVATION" is not valid
Name "PSET_LICENSE_FILE" is not valid
Looking at silent.cfg that comes with the tarball, it seems these variables
names have changed. ACTIVATION is now ACTIVATION_TYPE and PSET_LICENSE_FILE is
now ACTIVATION_LICENSE_FILE. I modified
easybuild/easyblocks/generic/intelbase.py lines 284 and 285 accordingly.
This enables me to pass to the next step. I actually see some files being
installed, but the process halts with next error:
ERROR: EasyBuild encountered an exception (at easybuild/main.py:770 in
build_and_install_software): autoBuild Failed (last 300 chars): 00 in
parse_cmd_output): cmd "./install.sh -s
/home/swadmin/build/icc/2013_sp1.1.106/dummy-dummy/l_ccompxe_2013_sp1.1.106/silent.cfg"
exited with exitcode 2 and output:
Missing optional prerequisites
-- Unsupported OS
Funny that, I usualy just ignore it (CentOS and Red Hat being technically the
same). There is CONTINUE_WITH_OPTIONAL_ERROR=yes, so why does this pop up?
I verified that if I run icc instalation the standard way it completes
successfuly. I think I will have to look into intel scripts ...
Next I tried ifort. It went better, it failed in sanity checking with
ERROR: EasyBuild encountered an exception (at easybuild/main.py:770 in
build_and_install_software): autoBuild Failed (last 300 chars):
ort/2013_sp1.1.106, no file of ('compiler/lib/intel64/libifcore.so',) in
/usr/local/software/ifort/2013_sp1.1.106, no file of
('compiler/lib/intel64/libiomp5.a',) in
/usr/local/software/ifort/2013_sp1.1.106, no file of
('compiler/lib/intel64/libiomp5.so',) in
/usr/local/software/ifort/2013_sp1.1.106
I had to set libprefix in easyblocks/i/ifort.py to lib/intel64/lib.
Then I got this:
ERROR: EasyBuild encountered an exception (at easybuild/main.py:770 in
build_and_install_software): autoBuild Failed (last 300 chars): EasyBuild
crashed with an error (at easybuild/framework/easyblock.py:1547 in
sanity_check_step): Sanity check failed: no file of ('bin/intel64/ifort',) in
/usr/local/software/ifort/2013_sp1.1.106
I had to set binprefix in that file to composer_xe_2013_sp1.1.106/bin/intel64.
I noticed there's a comment that these checks will only work for a specific
version. Hm, is then there a way to disable them? Something like eb
--skip-sanity-checks ? Or maybe have checks dependant on version and only run
them if version matches?
--
Jure Pečar
http://jure.pecar.org