Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
public:lle [2008/09/16 08:14] – arnoschoenmakers | public:lle [2009/08/26 13:35] (current) – removed arnoschoenmakers | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== The Linux Login Environment (LLE) for Astron, Wsrt and Lofar ====== | ||
- | |||
- | This page describes the standard login environment for new linux-based accounts at ASTRON. It also applies for accounts at the WRST site, and for accounts of the LOFAR cluetr nodes and frontend nodes (e.g., lioffen). Existing accounts can be easily modified; see below for a manual to do this. | ||
- | |||
- | ===== General ===== | ||
- | |||
- | The Linux Login Environment sets a few things for your account, and allows you to easily initialise often used packages and tools at login time. To this purpose we provide a few simple standardized login-scripts that we have tested on various Linux-based hosts at ASTRON, WSRT and LOFAR (RCG). | ||
- | |||
- | ===== Use (t)csh! ===== | ||
- | |||
- | To be able to use the LLE environment you must use a '' | ||
- | |||
- | ===== The LLE scripts ===== | ||
- | |||
- | In all environments where we use the LLE, we use the same scripts and directory structure. | ||
- | |||
- | ===== What is $APS_LOCAL ? ===== | ||
- | The root directory for the scripts is provided in environment variable '' | ||
- | * WSRT: ''/ | ||
- | * D'loo: ''/ | ||
- | * CEP: ''/ | ||
- | |||
- | ==== Login scripts ==== | ||
- | |||
- | In the site dependent directory '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | \\ | ||
- | |||
- | Users should **NEVER** modify these default scripts at this location! | ||
- | |||
- | === Transform existing accounts === | ||
- | |||
- | To use the LLE in an existing account, copy the file '' | ||
- | |||
- | === New accounts === | ||
- | |||
- | When getting a new account, your $HOME should already contain the '' | ||
- | |||
- | The other files are used by the cshrc-script, | ||
- | |||
- | ==== Personal command aliasses: .myalias ==== | ||
- | |||
- | Personal command aliases can be added to a file '' | ||
- | |||
- | ==== Personal environment settings: .mysetenv ==== | ||
- | |||
- | Personal extensions to '' | ||
- | |||
- | |||
- | ===== Package initialisation: | ||
- | |||
- | To initialize the use of installed packages on your system you must create a file '' | ||
- | |||
- | In the directory '' | ||
- | |||
- | The file '' | ||
- | < | ||
- | AIPS++ | ||
- | doPyrap | ||
- | Tools Python doAIPS | ||
- | </ | ||
- | |||
- | The packages do not need to be on one line, nor does the file need to have only one package per line. Also note the use of ''< | ||
- | |||
- | To find out which packages should have been initialized, | ||
- | packages | ||
- | </ | ||
- | This is an alias for '' | ||
- | |||
- | ==== How to add a personal package ==== | ||
- | |||
- | Apart from the systemwide '' | ||
- | * Install the package | ||
- | * Create a '' | ||
- | * Add < | ||
- | |||
- | |||
- | |||
- | ==== Overview of packages and package initialization scripts ==== | ||
- | |||
- | These are the files that you can find in '' | ||
- | |||
- | === doAIPS [AIPS] === | ||
- | |||
- | Sources the classic AIPS initialization file (''/ | ||
- | |||
- | === doAIPS++ [AIPS++] === | ||
- | |||
- | Calls doStableAIPS++ (see below) for the moment. Can be used (but only effective at WSRT, currently) to initialize a host-dependent version of AIPS++. Contact Arno Schoenmakers if you want to use AIPS++. | ||
- | |||
- | === doCuisine [Cuisine] === | ||
- | |||
- | Initialization script to use the Cuisine pipeline scripts. Maintained by Adriaan Renting. Contact him if you plan on using this. | ||
- | |||
- | === doGIPSY [GIPSY] === | ||
- | |||
- | Initialization script for the GIPSY package; for GIPSY we have a 32- and 64-bit version. The architecture of your machine deteremines which is activated. | ||
- | |||
- | === doIRAF [IRAF] === | ||
- | |||
- | Initializes the IRAF data reduction package (optical/IR data). It will check if you are a first time user and run '' | ||
- | |||
- | === doKarma [Karma] === | ||
- | |||
- | Initialization script of Karma Miriad visualization tools. | ||
- | |||
- | === doMiriad4 [Miriad4] === | ||
- | |||
- | Version 4 of the BIMA/CARMA Miriad version. | ||
- | |||
- | === doMiriad4p [Miriad4p] === | ||
- | |||
- | Optimized version 4 provided by John Romein. Works only on the Adam cluster. Contact Adriaan Renting if you are interested in using this. | ||
- | |||
- | === doOosterloo [Oosterloo] === | ||
- | |||
- | Script to create an environment that can execute most of Tom Oosterloo' | ||
- | |||
- | === doPipeline [Pipeline] === | ||
- | |||
- | Initialization script to use the First-look WSRT data reduction pipeline. Uses Cuisine, Python, WsrtMiriad, WsrtAIPS++. Maintained by Adriaan Renting. Contact him if you plan on using this. | ||
- | |||
- | === doPython [Python] === | ||
- | |||
- | Initialization script to use the Python Pipeline environment with iPython and PyLab. | ||
- | Maintained by Adriaan Renting. Contact him if you plan on using this. | ||
- | |||
- | === doROOT [ROOT] === | ||
- | |||
- | Initialization script to use the ROOT package. | ||
- | |||
- | === doTMS [TMS] === | ||
- | |||
- | Sets the environment for TMS developers/ | ||
- | |||
- | === doWsrtAIPS++/ | ||
- | |||
- | Initialization script for use of an old WSRT AIPS++ build (V19.1488). Works for Suse 8 and 9 32-bit systems, only. | ||
- | |||
- | === doWsrtMiriad [WsrtMiriad] === | ||
- | |||
- | Version ATNF maintained by Tom Oosterloo. Calls doOosterloo and a scripts in Oosterloo' | ||
- | |||
- | |||
- | ===== How to modify existing accounts ===== | ||
- | |||
- | There are a few basic steps to perform to use the LLE in existing accounts: | ||
- | * Make '' | ||
- | * Rename or remove possibly existing '' | ||
- | |||
- | This will give you the bare environment. To add package activation do the following: | ||
- | |||
- | * Copy '' | ||
- | * Edit this file to setup package activation (see [[#Package initialisation|above]]). | ||
- | * Try to login and see if the login goes well. | ||
- | |||
- | ===== Starting X environment ===== | ||
- | |||
- | To start up your X environment you have to make sure that | ||
- | * The files '' | ||
- | |||
- | Determine the colordepth that you need (8, 16, 24 bit display) and type:< | ||
- | startx -- :1 -depth < | ||
- | </ | ||
- | This should start your X environment at the proper colordepth. | ||
- | This will create an additional X Server next to the one you are already running. You can access this with Alt-F8 or Cntl-Alt-F8. The F7 variant will give you back your normal X. | ||
- | |||
- | ===== Help! ===== | ||
- | |||
- | If you need help, or have questions, or want to give any other comments, contact Arno Schoenmakers, | ||
- | |||
- | New '' | ||