Try to just set INTEL_LICENSE_FILE=/path/to/license/file
It should be enough, i.e. don't change ACTIVATION_TYPE
On 05/24/2018 10:36 AM, Ariel Lozano wrote:
> Hello everybody,
>
>
> I'm trying to do an installation of the Intel compilers using a license
> file on the system not a server.
>
> I'm using specifically the easyconfig icc-2018.2.199-GCC-6.4.0-2.28.eb,
> which I modified only to use the full bundle source
> "parallel_studio_xe_2018_update2_composer_edition.tgz"
>
> The problem I have is that no matter what I try the silent.cfg file
> generated in the build directory always contains the default,
>
> ACTIVATION_TYPE=license_server
>
> and then I get the error "The license server you provided does not have
> a valid license for this product."
>
> If I go to the build directory and change by hand to
>
> ACTIVATION_TYPE=exist_lic
>
> I can execute the install.sh and the installation starts.
>
> But I cannot find the way to generate the file directly like that with 'eb'.
>
>
> I can see that as options for the IntelBase easyblock used here there's
> a parameter to define the license activation
>
>
> ---> $ eb -a -e IntelBase
>
> ...
> EASYBLOCK-SPECIFIC
> ------------------
> components* List of components to install [default: None]
> license_activation* License activation type [default:
> "license_server"]
> m32* Enable 32-bit toolchain [default: False]
> requires_runtime_license* Boolean indicating whether or not a runtime
> license is required [default: True]
> usetmppath* Use temporary path for installation
> [default: False]
>
> ...
>
>
> But I couldn't find the way to override the default value, I tried,
>
> eb --try-amend=license_activation='exist_lic'
> icc-2018.2.199-GCC-6.4.0-2.28.eb
>
> Despite I understood from the docs the try-amend is only for options at
> the easyconfig level, which seems to
> be the case.
>
> I tried also inside the easyconfig
>
> options = {'license_activation': 'exist_lic'}
>
> but without success neither, the silent.cfg is always created with
> 'license_server' option.
>
> Which would be the proper way to choose the value for the easyblock
> 'license_activation' option?
>
> I looked carefully at the docs but I couldn't figure it out.
>
>
> thanks,
>
> Ariel
>
--
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: [email protected] Phone: +46 90 7866134 Fax: +46 90-580 14
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se