Almost all software packages can be compiled in a user's home directory without need of root access. You must read carefully the documentation of the software package in order to understand the different compilation parameters. A programming environment should load all the modules that are necessary to compile, debug and profile software. Different environments are available for different compilers. Then follow the instructions for installation of the software you want to compile install. If you want to compile a different version(or compiled with different dependencies) of a software that is already compiled we recommend to load the respective module as it applies the dependencies to the compilation procedure.
Do not use for compilation the login node as the generated executable may not run correctly or at all in the nodes.
qrsh -pe smp 20 -l h_rt=00:30:00
;cmake .. –PARAMETERS
or configure –PARAMETERS
. Read the documentation in order to find and load the proper dependencies using the module infrastructure.This will scan your system and create a make parameter file;-prefix_parameter=installation/folder/in/your/home/directory
, where prefix_parameter can be anything with prefix keyword, differs in each packages;-SIMD_parameter=AVX2_256 or AVX_256
, where the first on is for Haskwell CPUs(Rosalind nodes) and the second one is for Ivy Bridge CPUs(ADA nodes);make
utility. You can start the compilation using 20 cores: make -j 20
. Note: Sometimes too many cores can cause the compilation to fail, so reduce this number. make install
. Set up in the module file the environmental variables and paths according to the documentation of the software. If not compiled as a static, you need to add the dependencies;If you are installing different version of a software package that is already installed, you can load the module for specific package which set the paths for the dependencies.