HHPC linuxbrew - BenLangmead/jhu-compute GitHub Wiki

THESE INSTRUCTIONS DO NOT WORK. I HAVE NEVER BEEN ABLE TO MAKE THIS WORK. BEN.

Linuxbrew needs a little cajoling before it is willing to install on HHPC. The key is to point it to a modern version of gcc already installed in the shared directory. Steps:

  • Go get Linuxbrew with the appropriate command
  • The default gcc is 4.1.2 which is too old. To point Linuxbrew to a newer one, do:
    • cd ~/.linuxbrew/bin
    • ln -s /scratch0/langmead-fs1/shared/gcc-5.1.0/install-root/bin/gcc gcc-5
    • ln -s /scratch0/langmead-fs1/shared/gcc-5.1.0/install-root/bin/g++ g++-5

Now you should be able to brew install hello