TWiki
>
Main Web
>
Computing
>
Setup
(2013-04-25,
WilliamSeligman
)
(raw view)
E
dit
A
ttach
---+!! Nevis Local Software These are commands developed or enhanced at Nevis for our own use. (Other sites, such as [[http://www.fnal.gov][Fermilab]], have defined their own versions of these commands, but apart from the name they have little in common.) %TOC% ---++ Initialization In order to use these utilities, your UNIX environment must be set up properly. Normally, this is done for you when you login to the Nevis cluster for the first time. If you suspect that there's something wrong with the initialization, you can check that the following line appears in the file .profile file which resides in your home directory: <pre> source /usr/nevis/adm/nevis-init.sh </pre> If you use tcsh, then you should check that the following line appears in your .cshrc file in your home directory: <pre> source /usr/nevis/adm/nevis-init.csh </pre> A simple way to look for this line is to type =less ~/.profile= (if you use a Bourne-type shell, the default at Nevis) or =less ~/.cshrc= (if you use a C-type shell). If the line is missing, then edit the file to include it. (I've set up a separate [[shell][page on shells]] if you'd like to learn about about shells and start-up scripts.) ---++ =setup= The =setup= command was written at Nevis. It's generally used to modify the user's environment for software packages that are not part of a standard Linux installation, and to allow the user some software version control. Here's an example. [[http://root.cern.ch/][ROOT]] is a software package that is used by many physicists at Nevis. To use the "default" version of ROOT, you would type <pre> setup root </pre> If ROOT version 9.05/06 becomes available, you might type (perhaps) <pre> setup root9 </pre> to use the newly-installed version. To see a list of what software =setup= can control, and learn what the "default" versions are, just type =setup=. To keep track of when new software programs or versions are available, check the [[http://listserv.nevis.columbia.edu/pipermail/nevis-linux/][Nevis-linux]] mailing list. If you want to set up several programs at once, you can list them all in one command: =setup root3 geant4 java=. If you're having trouble with the =setup= command, especially if you're trying to use it in a batch job, check the [[LinuxFAQ][FAQ]]. ---++ =unsetup= The =unsetup= command is the inverse of the setup command. If you are testing the new version of a program, and you decide that you don't like it, you can remove it using =unsetup=. For example, if you're testing ROOT 9.05/06 and you decide that it causes problems, you would type <pre> unsetup root </pre> to remove all references to ROOT from your system environment (or you could type =setup root= to revert back to the default version).
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r5 - 2013-04-25
-
WilliamSeligman
Main
Log In
or
Register
Main Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
ATLAS
DOE
Main
TWiki
Veritas
Copyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback