This section provides information about the compilers at HPC2N. There are instructions about their usage, and some of the most popular flags, as well as the provided libraries and how to link to them.

There is also a section with an introduction to makefiles, a few examples, and links to more information.

Overview of the Compiling pages:


Introduction to AFS

Short words about your home directory

As you may have noticed, there are a couple of directories in your home directory that have been created to make it easier to protect and share files.

  • Public

    A place to put files that should be readable by anyone in the whole world. This includes .forward, .bashrc, .tcshrc, and similar files.

  • Private

    Files that should only be readable by the owner. This directory is not listable by anyone except the owner.

Using Environment Variables

Using Environment Variables

This page is assuming you use bash or another shell in the Bourne family of shells. Most of the informtation will be correct for other shells as well, but the examples cannot be assumed to be.

HPC2N recommends using bash, since it is the only shell that is fully supported by the batch system.

Environment variables are a set of dynamic named values, generally meant to make your life easier. Some are built-in, some are set by loading various modules, and you can also define extra to help yourself.


Updated: 2019-07-04, 16:10