User Tools

Site Tools


en:build:easybuild

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:build:easybuild [2017/10/04 13:37]
yann created
en:build:easybuild [2017/10/04 17:53] (current)
yann [The license file is unusable]
Line 3: Line 3:
 ===== Installing Intel compilers with EasyBuild ===== ===== Installing Intel compilers with EasyBuild =====
  
-The installation process of non-GNU compilers is very poorly documented, and it took months to find and gather the relevant information. Here it is.+The installation process of non-GNU compilers ​with EasyBuild ​is very poorly documented, and it took us months to find and gather the relevant information ​for a seamless install. Here it is.
  
 ==== Downloading the license file ==== ==== Downloading the license file ====
Line 12: Line 12:
   * https://​software.intel.com/​en-us/​articles/​resend-license-file   * https://​software.intel.com/​en-us/​articles/​resend-license-file
  
-<WRAP important>​This step is blocking. Don't go any further until you get the license file.</​WRAP>​+This may involve an email exchange with Intel and take a couple of days to be fully resolved. 
 + 
 +Once you have the license file, make a backup somewhere safe and copy it once more to: 
 + 
 +  $HOME/​licenses/​intel/​license.lic 
 + 
 +We recommend you to always use a copy of the file and keep the original one for yourself only. 
 + 
 +<WRAP important>​This step is blocking. Don't go any further until you have installed ​the license file as instructed. EasyBuild will keep aborting after a minute or two until you get this properly done.</​WRAP>​
  
  
Line 48: Line 56:
  
 Once done, EasyBuild will be able to use the downloaded files as source packages to install the Intel toolchain. Once done, EasyBuild will be able to use the downloaded files as source packages to install the Intel toolchain.
 +
 +
 +==== Installing the compilers ====
 +
 +To install the compilers, just type:
 +
 +  eb intel-VERSION.eb -r
 +
 +where you substitute //VERSION// with the actual version you want to install, e.g. ''​2017a''​.
 +
 +In case of problems, you can refer to:
 +
 +  * https://​software.intel.com/​en-us/​articles/​intel-composer-xe-2015-silent-installation-guide
 +
 +
 +===== Troubleshooting =====
 +
 +==== The license file is unusable ====
 +
 +If EasyBuild keeps crashing despite having done everything to make the license file available, you can quickly hack the ''​intelbase.py''​ EasyBlock to force it to use a serial number. Here are the steps to follow for EasyBuild 3.4.0:
 +
 +  - Find out or remember the installation path of EasyBuild (we will call it ''​$EASYBUILD_PREFIX''​.
 +  - Edit ''​$EASYBUILD_PREFIX/​lib/​python2.7/​site-packages/​easybuild_easyblocks-3.4.0-py2.7.egg/​easybuild/​easyblocks/​generic/​intelbase.py''​.
 +  - Insert the following at line 301: <​code>​silent = "​ACTIVATION_TYPE=serial_number\nACTIVATION_SERIAL_NUMBER=YOUR_SERIAL_NUMBER\n"</​code>​ where you replace //​YOUR_SERIAL_NUMBER//​ by the serial number you received from Intel. Be careful to use the exact same indentation as the former line 301.
 +
en/build/easybuild.1507117026.txt.gz · Last modified: 2017/10/04 13:37 by yann