IceCube software: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
(Created page with "== CVMFS == Centralised CVMFS repository for the IceCube Software. This software repository contains all related IceCube software tools === Use it === eval `/cvmfs/icecub...")
 
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
This software repository contains all related IceCube software tools
This software repository contains all related IceCube software tools


=== Use it ===
=== How to use it ===


eval `/cvmfs/icecube.opensciencegrid.org/py2-v1/setup.sh`
#: Load the IceCube CVMFS:
 
#:<pre>eval `/cvmfs/icecube.opensciencegrid.org/py2-v2/setup.sh`</pre>
'''Metaprojects are located under $SROOT/metaprojects'''
#:Old version (''IceCube recommend to use the py2-v2 for new projects'') :
#:<pre>eval `/cvmfs/icecube.opensciencegrid.org/py2-v1/setup.sh`</pre>
# Load a metaproject:
#:'''Metaprojects are located under $SROOT/metaprojects'''
#:example:
#:<pre>$SROOT/metaprojects/icerec/V05-00-05/env-shell.sh</pre>


== Local Build ==
== Local Build ==


PLEASE use CVMFS metaprojects when possible.
'''PLEASE use CVMFS metaprojects when possible.'''
Local builds are meant for specific development purpose
Local builds are meant for specific development purpose
=== /software ===
=== /software ===

Latest revision as of 14:56, 21 March 2017

CVMFS

Centralised CVMFS repository for the IceCube Software.

This software repository contains all related IceCube software tools

How to use it

  1. Load the IceCube CVMFS:
    eval `/cvmfs/icecube.opensciencegrid.org/py2-v2/setup.sh`
    Old version (IceCube recommend to use the py2-v2 for new projects) :
    eval `/cvmfs/icecube.opensciencegrid.org/py2-v1/setup.sh`
  2. Load a metaproject:
    Metaprojects are located under $SROOT/metaprojects
    example:
    $SROOT/metaprojects/icerec/V05-00-05/env-shell.sh

Local Build

PLEASE use CVMFS metaprojects when possible. Local builds are meant for specific development purpose

/software

The custom software area

/software/src

Sources of software to install

/software/icecube

Icecube specific tools

/software/icecube/ports

This folder contains the I3 ports used by icecube (meta-)projects

In order to use it, you must define the environment variable $I3_PORTS

export I3_PORTS="/software/icecube/ports"

This variable is set only for the current session and will be unset after logout, to avoid typing this each time, you can add this command to your .bashrc

List installed ports

$I3_PORTS/bin/port installed

List available ports

$I3_PORTS/bin/port list

Install a port

$I3_PORTS/bin/port install PORT_NAME


/software/icecube/offline-software

This folder contains the offline-software meta-project

To use it, just run the following command (note the point at the beginning of the line)

. /software/icecube/offline-sofware/[VERSION]/env-shell.sh 

Available versions:

  • V14-02-00
/software/icecube/icerec

This folder contains the icerec meta-project

To use it, just run the following command (note the point at the beginning of the line)

. /software/icecube/icerec/[VERSION]/env-shell.sh

Available versions

  • V04-05-00
  • V04-05-00-jkunnen
/software/icecube/simulation

This folder contains the simulation meta-project

To use it, just run the following command (note the point at the beginning of the line)

. /software/icecube/simulation/[VERSION]/env-shell.sh

Available versions:

  • V03-03-04
  • V04-00-08
  • V04-00-09
  • V04-00-09-cuda

/ice3

This folder is the old software area. We strongly recommend you to build your tools in the /software directory