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
from generic/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.
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.
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.
Best regards,
Elena