Changes between Version 5 and Version 6 of UfoServer


Ignore:
Timestamp:
Feb 6, 2012, 11:37:10 PM (13 years ago)
Author:
Suren A. Chilingaryan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UfoServer

    v5 v6  
    132132  * Development: Kernel, Gnome, Python
    133133  * Default compiler: gcc-4.3
     134  * Additional packages:
     135{{{
     136zypper install bzr
     137zypper install cmake
     138zypper install freeglut-devel
     139zypper install openmpi-devel
     140zypper install fftw3-devel
     141zypper install python-imaging
     142zypper install python-numpy-devel
     143}}}
    134144 * Downgrade to gcc 4.3 (gcc-4.6 is not compatible with the latest CUDA toolkit)
    135145{{{
     
    142152  * Toolkit: 4.1 (installed into /opt/cuda)
    143153  * SDK: 4.1 (installed into /opt/cuda/sdk)
    144  * Additional Software
     154  * SDK must be compiled
     155{{{
     156cd /opt/cuda/sdk
     157make
     158}}}
     159  * Allow reseting failed GPUs. Add following line into the /etc/sudoers:
     160{{{
     161ALL ALL=(ALL) NOPASSWD: /opt/cuda/sdk/C/bin/linux/release/deviceQuery
     162}}}
    145163 * Install FreeNX server to allow remote desktop
    146164{{{
     
    153171}}}
    154172 * PyHST
     173  * Installed to /opt/pyhst
     174  * Sources: [source:pyhst/pyhst]
     175{{{
     176cd /opt
     177bzr branch http://ufo.kit.edu/sources/csa/pyhst/
     178cd pyhst
     179cmake .
     180make
     181}}}
     182  * Start script /opt/PyHST
     183{{{
     184#!/bin/bash
     185
     186PACKAGE_HOME=/opt/pyhst
     187PACKAGE_SOURCE=${PACKAGE_HOME}
     188CUDA_DIR=/opt/cuda.41
     189
     190export PATH=${INSTALLATION_HOME}/bin:$PATH
     191export LD_LIBRARY_PATH=${PACKAGE_SOURCE}:${INSTALLATION_HOME}/lib:$LD_LIBRARY_PATH
     192export LDFLAGS="-L ${INSTALLATION_HOME}/lib"
     193export CPPFLAGS="-I ${INSTALLATION_HOME}/include"
     194
     195export LD_LIBRARY_PATH=$CUDA_DIR/lib64/:$LD_LIBRARY_PATH
     196export LD_LIBRARY_PATH=${PACKAGE_SOURCE}/hst_cuda:$LD_LIBRARY_PATH
     197
     198export PYTHONPATH=${PACKAGE_SOURCE}:$PYTHONPATH
     199PYTHON=python
     200
     201${PYTHON}   ${PACKAGE_SOURCE}/PyHST.py   $*
     202}}}
    155203 * UFO Framework
     204{{{
     205Matthias, please, put instructions and provide list of all required dependencies above.
     206}}}
     207
     208
     209== Usage ==
     210 * Reset failed GPU devices
     211{{{
     212sudo /opt/cuda/sdk/C/bin/linux/release/deviceQuery
     213}}}
     214 * Check system status
     215{{{
     216To be provided by Tomsk students...
     217}}}
     218 * PyHST
     219{{{
     220/opt/PyHST <parameter_file.par>
     221}}}
     222 * Framework
     223{{{
     224}}}