Admin Tips
Contents
Simple commands on all nodes, giving node name
- Gives the running kernel version of all the nodes:
for i in node{1..10}; do ssh $i 'echo -n "$HOSTNAME: "; uname -a';done
Compiling software
Red Hat Developer Toolset
Seeing as the cluster runs with RHEL 6 which, though updated continuously, was released in 2011, there are various things it's incapable of. Primary among these is a gcc compiler with the C++ standard C++11, which alot of software is now using. THis requires gcc version 4.8 instead of the 4.4 RHEL6 uses. The solution is the poorly named developer toolset, which Red Hat makes available. To invoke it:
scl enable devtoolset-2 "bash"
This will open a new bash subprocess where the gcc will be version 4.8
harvest-tools
- Very unconventional manner of installation, creates symlinks from the buildtree.
- this means that testing must be done via a users who had no hand in compilation.
- definitely needs RH Developer Toolset
Procedure: clone from git-tree, run autoconf, and the configure step should be something like this:
./configure --prefix=/usr/local/Modules/modulefiles/tools/harvest-tools/gitv0_ebf7ecc --with-protobuf=/usr/local/Modules/modulefiles/tools/protobuf/gitv0_0622030 --with-capnp=/usr/local/Modules/modulefiles/tools/capnproto/0.5.3