Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
public:lle [2009-08-26 13:37] – created Arno Schoenmakers | public:lle [2020-11-04 15:49] (current) – Bernard Asabere | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== The Lofar Login Environment (LLE) ====== | ====== The Lofar Login Environment (LLE) ====== | ||
- | This page describes the standard login environment for new users on the LOFAR cluster nodes. | + | This page describes the standard login environment for new users on the LOFAR cluster nodes like [[: |
- | + | ||
- | Existing accounts can be easily modified; see below for a manual to do this. | + | |
===== General ===== | ===== 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 | + | The Lofar 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. |
+ | |||
+ | ===== Use (t)csh or bash! ===== | ||
- | ===== Use (t)csh! | + | To be able to use the LLE environment you must either use a '' |
+ | ===== What to do when you get an account | ||
- | To be able to use the LLE environment you must use a '' | + | The CEP3 user creation system has been setup such that new accounts will have all needed files and links in '' |
+ | ===== How to transform existing accounts? ===== | ||
+ | To use the LLE in an existing account and '' | ||
===== The LLE scripts ===== | ===== The LLE scripts ===== | ||
- | In all environments where we use the LLE, we use the same scripts and directory structure. | + | Some of the details are presented here. |
- | + | ||
- | ===== What is $APS_LOCAL ? ===== | + | |
- | The root directory for the scripts is provided in environment variable '' | + | |
- | * WSRT: ''/ | + | |
- | * D'loo: ''/ | + | |
- | * CEP: ''/ | + | |
==== Login scripts ==== | ==== Login scripts ==== | ||
- | In the site dependent | + | In directory '' |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | \\ | + | |
- | Users should | + | * '' |
+ | | ||
+ | | ||
+ | | ||
+ | * '' | ||
- | === Transform existing accounts === | + | Users should **NEVER** |
- | To use the LLE in an existing account, copy the file '' | + | If you like to read more on the files that play a role in the bash login, [[https://stackoverflow.com/questions/415403/whats-the-difference-between-bashrc-bash-profile-and-environment|here is a nice link]]. |
- | + | ||
- | === New accounts === | + | |
- | + | ||
- | When getting a new account, your $HOME should already contain the '' | + | |
- | + | ||
- | The other files are used by the cshrc-script, so don't copy these. Using the files from '' | + | |
==== Personal command aliasses: .myalias ==== | ==== Personal command aliasses: .myalias ==== | ||
- | Personal command aliases can be added to a file '' | + | Personal command aliases can be added to a file '' |
==== Personal environment settings: .mysetenv ==== | ==== Personal environment settings: .mysetenv ==== | ||
- | Personal extensions to '' | + | Personal extensions to '' |
+ | ===== Package initialisation ===== | ||
- | ===== Package initialisation: .mypackages ===== | + | Many packages are available from the distribution of the Operating System. Several packages are added lateron, see [[: |
- | To initialize the use of installed packages on your system you must create a file '' | + | ==== .mypackages |
- | In the directory '' | + | To initialize |
- | The file '' | + | The file '' |
< | < | ||
- | AIPS++ | + | |
- | doPyrap | + | casa |
- | Tools Python doAIPS | + | lofim |
</ | </ | ||
- | 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 '' | + | Provide |
+ | |||
+ | <code> | ||
+ | lofim Tue | ||
- | To find out which packages should have been initialized, | ||
- | packages | ||
</ | </ | ||
- | This is an alias for '' | ||
==== How to add a personal package ==== | ==== How to add a personal package ==== | ||
- | Apart from the systemwide | + | Apart from the systemwide |
* Install the package | * Install the package | ||
- | * Create a '' | + | * Create a '' |
* Add < | * Add < | ||
+ | ===== Starting X environment ===== | ||
+ | To start up an X environment you have to make sure that | ||
- | ==== Overview of packages | + | * The files '' |
- | These are the files that you can find in '' | + | Determine |
+ | < | ||
- | === doAIPS [AIPS] === | + | startx -- :1 -depth < |
- | Sources the classic AIPS initialization file ('' | + | </code> |
- | === doAIPS++ [AIPS++] === | + | 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. |
- | Calls doStableAIPS++ (see below) for the moment. Can be used (but only effective at WSRT, currently) | + | Due to the large latency and largte bandwidth required for X-traffic, it is advisable |
- | === doCuisine [Cuisine] | + | ===== Help! ===== |
- | Initialization script to use the Cuisine pipeline scripts. Maintained by Adriaan Renting. Contact him if you plan on using this. | + | If you need help, or have questions, or want to give any other comments, contact Arno Schoenmakers |
- | + | ||
- | === 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 | + | |
- | + | ||
- | ===== Help! ===== | + | |
- | If you need help, or have questions, or want to give any other comments, contact | + | New module-files can be added at any time if you have a new package that should be available systemwide. Contact |
- | New '' | ||