IceCube Software: Difference between revisions
(Created page with "Download and execute the script depending on your OS from http://code.icecube.wisc.edu/icetray-dist/distros/ It will install required dependencies ####################### ## IC…") |
No edit summary |
||
Line 3: | Line 3: | ||
## ICECUBE DIRECTORY ## | ## ICECUBE DIRECTORY ## | ||
mkdir ~/i3 | mkdir ~/i3 | ||
Line 15: | Line 14: | ||
. ~/.bashrc | . ~/.bashrc | ||
## I3_PORTS ## | ## I3_PORTS ## | ||
#Prepare export in bashrc | #Prepare export in bashrc |
Revision as of 08:47, 20 June 2014
Download and execute the script depending on your OS from http://code.icecube.wisc.edu/icetray-dist/distros/ It will install required dependencies
- ICECUBE DIRECTORY ##
mkdir ~/i3
- Create alias for ipython notebook
echo "#iPython notebook nb='ipython notebook --pylab=inline'" >> ~/.bashrc
- Reload bashrc
. ~/.bashrc
- I3_PORTS ##
- Prepare export in bashrc
echo "export I3_PORTS=/home/camper/i3/ports" >> ~/.bashrc
- Reload bashrc
. ~/.bashrc
- Checkout i3_ports
svn co http://code.icecube.wisc.edu/icetray-dist/tools/DarwinPorts/trunk ~/i3/ports_src
- Install i3_ports
cd ~/i3/ports_src ./i3-install.sh $I3_PORTS
- OPENCL ##
- Download the correct version from http://developer.amd.com/tools-and-sdks/opencl-zone/opencl-tools-sdks/amd-accelerated-parallel-processing-app-sdk/
- Or http://www.iihe.ac.be/~samary/AMD-APP-SDK-v2.9-lnx64.tgz
- Prepare export in bashrc
echo "#OpenCL libraries export OPENCL_VENDOR_PATH="/etc/OpenCL/vendors" export ATISTREAMSDKROOT="/opt/AMD-APP-SDK-v2.9-RC-lnx64" export LD_LIBRARY_PATH=$ATISTREAMSDKROOT/lib/x86_64:$LD_LIBRARY_PATH" >> ~/.bashrc
- Reload bashrc
. ~/.bashrc
tar xvf AMD-APP-SDK-v2.9-lnx64.tgz sudo ./Install-AMD-APP.sh tar xvf AMD-APP-SDK-v2.9-RC-lnx64.tgz mv AMD-APP-SDK-v2.9-RC-lnx64 /opt
- OFFLINE ##
- Checkout code
svn co http://code.icecube.wisc.edu/svn/meta-projects/offline-software/releases/V14-03-01 ~/i3/offline-software/V14-03-01/src
- Prepare build
mkdir ~/i3/offline-software/V14-03-01/build cd ~/i3/offline-software/V14-03-01/build $I3_PORTS/bin/cmake -DSYSTEM_PACKAGES=True ../src
- Build
make
- Create alias
echo "#Offline-Software environment alias offline-software='/home/camper/i3/offline-software/V14-03-01/build/env-shell.sh'" >> ~/.bashrc
- Reload bashrc
. ~/.bashrc
- SIMULATION ##
- Checkout code
svn co http://code.icecube.wisc.edu/svn/meta-projects/simulation/releases/V04-00-12 ~/i3/simulation/V04-00-12/src
- download spline tables
cd ~/i3/simulation/V04-00-12/src/genie-icetray/resources/splines/ wget 'http://icecube.wisc.edu/~ckopper/splines_water_2.6.4.xml'
- Prepare build
mkdir ~/i3/simulation/V04-00-12/build cd ~/i3/simulation/V04-00-12/build $I3_PORTS/bin/cmake -DSYSTEM_PACKAGES=True ../src
- Build
make
- Create alias
echo "#Simulation environment alias simulation='/home/camper/i3/simulation/V04-00-12/build/env-shell.sh'" >> ~/.bashrc
- Reload bashrc
. ~/.bashrc
- ICEREC ##
- Checkout code
svn co http://code.icecube.wisc.edu/svn/meta-projects/icerec/releases/V04-07-00/ ~/i3/icerec/V04-07-00/src
- Extra projects
svn co http://code.icecube.wisc.edu/svn/sandbox/mzoll/MCPulseSeparator/trunk ~/i3/icerec/V04-07-00/src/MCPulseSeparator svn co http://code.icecube.wisc.edu/svn/sandbox/mzoll/MCHitSeparator/trunk ~/i3/icerec/V04-07-00/src/MCHitSeparator svn co http://code.icecube.wisc.edu/svn/sandbox/mzoll/CoincSuite/trunk ~/i3/icerec/V04-07-00/src/CoincSuite svn co http://code.icecube.wisc.edu/svn/projects/HiveSplitter/branches/IceHive ~/i3/icerec/V04-07-00/src/IceHive
- Prepare build
mkdir ~/i3/icerec/V04-07-00/build cd ~/i3/icerec/V04-07-00/build $I3_PORTS/bin/cmake -DSYSTEM_PACKAGES=True ../src
- Build
make
- Create alias
echo "#Icerec environment alias icerec='/home/camper/i3/icerec/V04-07-00/build/env-shell.sh'" >> ~/.bashrc
- Reload bashrc
. ~/.bashrc