Fermilab


MINOS Offline Documentation
[home] [installing MINOS software] [supported platforms] [package links] [mailing list] [HyperNews] [FAQ] [computing help] [MINOS glossary] [archives]

Setup the MINOS Offline Software at FNAL



Setup of the MINOS offline software at FNAL is relatively painless. This can be done for any FNAL machine that has AFS access and UPS; the machine need not be part of the FNALU cluster. By defining a simple alias/function one can easily setup base release versions built at FNAL on demand.

Using tcsh:

Add the following lines to your .cshrc file: setenv MINOS_SETUP_DIR /afs/fnal.gov/files/code/e875/general/minossoft/setup alias setup_minos 'source $MINOS_SETUP_DIR/setup_minossoft_FNALU.csh \!*'

Using bash:

Add the following lines to your .bashrc file: export MINOS_SETUP_DIR=/afs/fnal.gov/files/code/e875/general/minossoft/setup setup_minos() { source $MINOS_SETUP_DIR/setup_minossoft_FNALU.sh $* }

Setup desired version:

Then (using either shell) $ setup_minos will setup the development version. The visible results of the setup should be two lines that look like:
MINOSSOFT 'development' release  (ROOT Linux2.4-GCC_3_2/2003-06-04)
setup "test" version of LABYRINTH [ linux , FNALU ]
Details may vary depending on the current status of the software and the platform (i.e. linux or irix).

Important Note Concerning development Release:

The development release is updated against the CVS repository and rebuilt nightly at ~1am FNAL time. Normally this is an incremental build (i.e. only rebuilding things that have changed), but on Sunday morning the whole set of libraries are removed and built from scratch. The build procedure can cause running jobs to fail at the time a library the job is using is changed. Thus while it is desirable to develop code against the development release, long running overnight jobs should not be run using it.

Frozen releases can be setup by using the -r flag, i.e.:

$ setup_minos -r R1.0 The setup script takes care of removing vestiges of any prior setup to avoid mixing environments, so one setup can follow another in the same shell session.

User code development:

Users desiring to develop code should follow the procedure described in: How to setup a test release.

'MINOS_HOST is unknown' message:

If you are using the setup procedure on a machine other than then FNALU cluster and get a message that looks like: setup "test" version of LABYRINTH [ linux , unknown ] MINOS_HOST is unknown, check setup/minos_host.sh this is telling you that all the methods used by the LABYRINTH (older fortran based system) for determining the site setup have failed. The methods are: $HOST $HOSTNAME dnsdomainname uname -n domainname One of these should resolve to a string ending with fnal.gov.
Last Modified: $Date: 2003/10/23 18:14:57 $
Contact: rhatcher@fnal.gov
Page viewed from http://www-numi.fnal.gov/offline_software/srt_public_context/WebDocs/soft_setup_fnalu.html
Fermilab
Security, Privacy, Legal Fermi National Accelerator Laboratory