Admin Tips

From wiki
Revision as of 10:45, 3 August 2016 by Rf (talk | contribs)
Jump to: navigation, search

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, create symlinks from the buildtree.
  • definitely needs RH Developer Toolset