On 19/05/16 15:54, Elena Malkin wrote:
Hi easybuilders,
I am doing many installations with the --module-only flag and I ran
into several similar problems.
1) I made a full icc installation and afterwards I created a second
module file in a different path. The 2 created module files were
identical except for one line. The first module had the line
prepend_path("INTEL_LICENSE_FILE",
"/home/installer/licenses/intel/license.lic")
and the second one
prepend_path("UNKNOWN", "UNKNOWN")
As a result, when you load icc with the second module, the license
path is not set and it, of course, refuses to work. I believe that the
issue comes fromgeneric/intelbase.py. In __init__ license_file is set as
self.license_file = 'UNKNOWN'
and later in the configure_step it is changed. But with "module-only"
the configure step is skipped, so this variable is never set correctly.
See https://github.com/hpcugent/easybuild-easyblocks/issues/776, please
report there that you're still seeing this with EasyBuild 2.8.0.
We'll look into fixing it (and adding a test so it doesn't happen again).
2) When trying to create a second module file for EasyBuild 2.6.0, I
got the error message
== 2016-05-18 16:15:38,607 easyblock.py:2067 INFO Running method
sanity_check_step part of step sanitycheck
== 2016-05-18 16:15:38,695 build_log.py:152 ERROR Failed to determine
sanity check dir paths: [Errno 2] No such file or directory:
'/global/hds/software/compute_nodes/eb1/EasyBuild/2.6.0/UNKNOWN' (at
easybuild/easyblocks/e/easybuildmeta.py:179 in sanity_check_step)
The full installation completes without a problem.
What was the exact command line here? What do you man by 'second module
file'?
3) Packages that have "start_dir = " in their easyconfigs crash during
a "module-only" installation. They are looking for a certain directory
in the build directory, and fail because the build dir is empty. If
there was something left from a previous installation (with
"cleanup-builddir" disabled), it is removed. An example of this is
Hypre-2.10.1-intel-2015b.eb.
Can you please open an issue for this at
https://github.com/hpcugent/easybuild-easyblocks/issues ?
regards,
Kenneth