Personal tools
You are here: Home UiT Stallo Documentation Stallo User Guide 60 Recommended environment variable settings
Document Actions

60 Recommended environment variable settings

Up to Table of Contents

The default enviroment you get at login will also work for your job scripts, but remember that you need to insert the same module commands into your job scripts as you use in your interactive sessions. For instance, if you use the Math Kernel Library in your application you need to put:

module load mkl

into the job script as well. This is because the job script do not inherit the environment setting from the shell you submit your jobs from.

The default environment should work for most users and most application specific settings will be set up correctly when you run the appropriate module load command.

Remark: We recommend to use /bin/sh (or /bin/csh) as the job script interpreter, eg. by putting !#/bin/sh (or #!/bin/csh) as the first line of the job script. Using /bin/bash instead of /bin/sh might break the modules enviroment for job scripts.

by Roy Einar Dragseth last modified Aug 26, 2010 12:00 PM Notur