Student licences and educator licences for Intel compilers are only vaild for 12 months. IF you are having difficulty compiling a package check that our licence is up-to-date. The licence files can be found at /opt/intel/licenses
If a new licence is required go to https://software.intel.com/en-us/qualify-for-free-software and register for a Parallel Studios XE licence as a student or open source contributor.
If the compiler was activated before the renewal Intel will email an updated license file. Place the licence file in /opt/intel/licenses
and /share/apps/intel/compilers_and_libraries_201x.x.xxx/linux/licenses
without changing the name. You will need to be an admin to do this.
New compilers can be downloaded from https://software.intel.com/en-us/qualify-for-free-software/student by selecting Parallel Studios XE and following the instructions.
Copy the .tgz file to /share/apps on Loren or Demeter and install following the Intel directions (eg. documentation for 2018).
One thing needed to be noticed is that the installation directory should be specified to under /share/apps
folder. This folder is a little bit special, which can be accessed by other slaved nodes. Therefore, Intel Compiler installation directory should be like /share/apps/<intel compiler version>
.
Create a modulefile by following the instructions here.
In order to create a modulefile first, we need to set up the environment variables.
source [install-dir]composer_xe_2018.x.yyy/bin/compilervars.sh intel64
Then, we can use env2
perl script to create module files. You can find env2
script here:
echo "#%Module" > intel_compilers_201X
perl env2 -from bash -to modulecmd "[install-dir]/parallel_studio_xe_201m.0.nnn/psxevars.sh intel64" >> intel_compilers_201X
Finally, add compilers/intel_* to the environment modulefiles in /share/apps/modulefiles and copy the modulefiles to every node.
If the modulefiles
folder doesn't exist, you can create this folder and add this folder to module system by using the command
module use -a <directory>