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.

File system and storage

File systems and storage

AFS - Andrew File System

Your home-directory (ie. the directory pointed to by the $HOME variable) is placed on an AFS file system. This file system is backed up regularly.

Note that since ticket-forwarding to batch jobs does not work, the only AFS-access possible from batch jobs are to read files from your Public-directory which is world-wide readable (yes, the entire world). Use the parallel file system 'pfs' for data management in conjunction with batch jobs.

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: 2018-10-05, 13:40