Accessing the CERN CVS Server from FNAL

The source code repository for CMS software projects


Checkout and update only
Checkout/update/checkin as a developer


The following directions are adapted from the directions at CERN for use at FNAL.
To use these directions you should log into the UAF or CMSLPC cluster
or a CMSdesktop install of Scientific Linux Fermi and set up the environment using
'source /uscmst1/prod/sw/cms/cshrc prod'.

Check-out and update only

Anybody can read from the CERN cvs server. If you need to be able to change the repository then goto the developer section.

  1. Set your CVSROOT environmental variable

    Use the command

      cmscvsroot CMSSW
    to set CVSROOT=:pserver:anonymous@cmscvs.cern.ch:/cvs_server/repositories/CMSSW.

  2. Authenticate with the server with the command cvs login
    At the prompt enter the password 98passwd

  3. You are now authenticated to use cvs as an anonymous user.

Note that code checked out with "anonymous" access can not be checked in from an anonymous checkout directory.
Modified files must be moved to a directory checked out as a developer before in can be checked in.

Checkout/update/checkin as a developer

  1. To checkin to the server you must:

  2. To set your CVSROOT for authenticated access type

    project CMSSW
    to set CVSROOT=:kserver:cmscvs.cern.ch:/cvs_server/repositories/CMSSW.

  3. To get you CERN authentication (kerberos ticket) type

    kserver_init

    Enter your CERN AFS account name and password.

If you get an error messsage when you checkout/update/checkin files, try typing
rm /tmp/tkt`id -u`
and typing kserver_init again.

The CERN authentication lasts 12 hours, so the script should be run once per day or before a major checkin.