Custom atlas library for nodes
From Rost Lab Open
- If not yet exists: create a new 'component' for the node-architecture in /mnt/home/debrepo/www/debian/conf/distributions, e.g. 'dellnode'.
- Add the component to /etc/apt/sources.list.d/rostlab.list of the node root blueprint.
- apt-get update (in node root blueprint chroot).
- Compile custom ATLAS packages with a node-architecture-specific version like 'dellnode':
- apt-get source atlas/stable
- cd atlas*/
- sed -ie '/custom build/s/custom/custom+dellnode/g' debian/rules && sed -ie 's/^Section: \(.*\)/Section: dellnode\/\1/' debian/control
- eval $(grep dch debian/rules)
- Review version number in debian/changelog.
- sed -ie '/dch/s/dch/#dch/' debian/rules
- sudo bash -c 'for (( i = 0; i < 12; ++i)); do cpufreq-set -g performance -r -c $i; done'
- patch -p1 < File:No pt build.diff
- fakeroot debian/rules custom
- Put (reprepro -C dellnode includedeb stable *.deb) the ATLAS packages into the component (dellnode) in our repository.
- Add a new case for node in /etc/rc.local, giving the node-architecture-specific version in ARCHVER.
- Reboot node and watch it install the correct ATLAS in rc.local.