Network Installs

Network installs are the easiest way to obtain C3. The following describes the relevant details for installation on Debian and RPM based systems. (See also: INSTALL file in release tarball)


Installation for Debian-base Systems

You can install the packages using 'apt-get' from online repositories by adding the following to your '/etc/apt/sources.list' file for the appropriate version/release,

 deb http://code.csm.ornl.gov/software/repos/stable/<distro_id> <release_name> /

where '<distro_id>' refers to the Debian distribution your local Debian based distribution is compatible with. The support distro, and the respective <distro_id>, are: For example, on a x86_64 Debian 6.0 ("squeeze") distribution the line would look like the following:

 deb http://code.csm.ornl.gov/software/repos/stable/debian-6-x86_64  squeeze  /

Then run the following command,
   # Server side (head-node)
 apt-get update
 apt-get install c3

   # Client side (compute-node)
 apt-get install c3-ckillnode c3-c3cmd-filter



Installation for RedHat-based systems (using YUM)

You can install the packages using 'yum' from online repositories by creating a file named 'CSM-ORNL.repo' in the '/etc/yum.repos.d/' directory. The content of the file are shown below.
Note: C3 is now installed into default paths, so the c3-profiled scripts should not be required. They may be included with the release but they are not required and therefore not listed below.
After adding the 'CSM-ORNL.repo' file, then run the following YUM commands on the head-/compute-nodes:
   # Server side (head-node)
 yum update
 yum install c3 

   # Client side (compute-node)
 yum install c3-ckillnode c3-c3cmd-filter
You can also install the packages directly using 'rpm',
   # Where VER is the C3 version and architecture
   #
   # Server side (head-node)
 rpm -ivh c3-VER.rpm 

   # Client side (compute-node)
 rpm -ivh c3-ckillnode-VER.rpm c3-c3cmd-filter-VER.rpm
To configure YUM for online installation, create a 'CSM-ORNL.repo' file in the '/etc/yum.repos.d' directory. To use the stable repository, the content of the file should look like the following, where <ARCH> is either x86 or x86_64:

    # CentOS-CSMORNL.repo
    #
    # If the mirrorlist= does not work for you, as a fall back you can try
    # the
    # remarked out baseurl= line instead.
    #
    #
    [csm]
    name=CentOS-$releasever - CSM_ORNL
    baseurl=http://code.csm.ornl.gov/software/repos/stable/rhel-5-
    gpgcheck=0
To use the unstable repository, the content of the file should look like the following, where <ARCH> is either x86 or x86_64:

    # CentOS-CSMORNL.repo
    #
    # If the mirrorlist= does not work for you, as a fall back you can try
    # the
    # remarked out baseurl= line instead.
    #
    #
    [csm]
    name=CentOS-$releasever - CSM_ORNL
    baseurl=http://code.csm.ornl.gov/software/repos/unstable/rhel-5-
    gpgcheck=0


SRT     C3 Home     Download     Documentation     Papers     Contacts     Related Research    

For user questions and information about releases, email/subscribe to: c3-users
For report bugs or problem, e-mail: c3-devel@ornl.gov

Computer Science and Math Division
Oak Ridge National Laboratory
Last Modified: Sat 07-26-2014