Environment Modules

Software management is done by modules on IHPC systems. Once you logged into one of our clusters, module command is available in your environment.

  1. To see which modules are loaded in your session, use the command:
    module list
  2. To see which modules are available in the system or to list the complete application, use the command:
    module avail (or “module avail python” to only see what python packages are installed)
  3. Loading module to your environment, you can use following command for instance to load boost/1.48.0
    module load intel/compiler/2016.3
    This will load the Intel compilers version 2016.3
  4. To unload the module, use the following command
    module unload intel/compiler/2016.3
    This will unload the intel/compiler/2016.3 version from your environment

For additional software requests, please contact support

help@hi.is

Python

You can use virtualenv in python and it will install all packages you need into your virtualenv directory wherever you create it. Something like this should work (obviously you can call the directories whatever you want):

  1. mkdir python_venv (or what ever you want to call the directory)
  2. cd python_venv
  3. module load python/3.8.1 (or python/3.6.1 or some other python you need)
  4. python3 -m venv python381
  5. source python381/bin/activate
  6. pip install hello_world (pip, pip3 and pip3.8 is all the same here as you can see in the newly create bin directory)
  7. And when you are done you can deactivate it with python381/bin/deactivate or just log out (shortcut: ctrl+d)

The above example will create a python virtual environment where you can customize it like you want and have different versions of python etc. So it copies a small portion of python to your home directory where you can customize it. Then the module hello_world is installed with pip which in your case would probably be something more useful to your project.

You can read more about it here (and by google-ing) https://docs.python.org/3/tutorial/venv.html