Open main menu

CDOT Wiki β

Changes

GPU610/DPS915 Ubuntu and CUDA Installation

2,148 bytes added, 19:05, 6 February 2013
no edit summary
* gprof as usual.
 
= HeadTail-specific Setup Instructions=
 
Note: There's a good chance these instructions may not be complete, I might have missed recording a step here and there - if you run into problems please email me at stsang1 AT learn.senecac.on.ca or Chris.
 
=== Install Intel Compilers ===
Firstly, make sure you have the prerequisite packages as indicated in this [https://help.ubuntu.com/community/InstallingCompilers#Installing_the_Intel_Compiler_Suite_Professional_Edition_10.x Ubuntu help article]. Then go [http://software.intel.com/en-us/non-commercial-software-development here] to download the archives of the Intel C++/Fortran compilers. Extract the contents and using a terminal, execute '''sudo ./install.sh'''.
 
Note: When downloading the compilers, you can opt to install the Intel Parallel Studio XE 2013 for Linux product suite instead. The file size and amount of hard disk space required will be larger but you can avoid issues with accidentally getting different compiler versions.
 
=== Get all the prerequisites ===
Open a Terminal.
 
Get subversion
 
sudo apt-get install subversion
 
Get apache HTTP server
 
sudo apt-get install apache2
 
Get cmake
 
sudo apt-get install cmake
 
Get OpenMPI
 
sudo apt-get install openmpi-bin libopenmpi-dev
 
Get GSL package sudo apt-get install gsl-bin libgsl0-dev
 
Get fftw3 package sudo apt-get install libfftw3-dev
 
Get HDF5 package sudo apt-get install libhdf5-mpich-dev
 
=== Grab HeadTail from CERN WebSVN ===
* the repository is located [http://svnweb.cern.ch/world/wsvn/hdtl-ecld here]
* Get the Feedback branch.
* If you have trouble extracting the archive, make sure you get gunzip, then execute
 
gunzip hdtl-ecld-src.r201.tar.gz
 
tar -xvf hdtl-ecld-src.r201.tar
 
==== Additional Instructions (you can ignore this part if you want to solve these problems yourself, which might be a good exercise on cmake) ====
* change line 64 in FindHDF5.cmake in the cmakesrc subfolder to point to /usr/share/cmake-2.8 instead of just /usr/share/cmake (or change it to wherever you installed cmake)
 
* in CMakeLists.txt, in line 138 add "-pg" to the CMAKE_CXX_FLAGS_DEBUG variable to enable profiling
1
edit