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