After a long battle with the development tools on the server in our lab, I can follow this to build and run the unit tests for libigl.
ssh medusa
# Only certain nodes support gcc4.8 and g++4.8
ssh snake 1-3
# use devtool set to enable gcc and g++ 4.8
source scl_source enable devtoolset-4
## Clone libigl
#git clone --recursive -b alecjacobson git@github.com:libigl/libigl.git
## Clone libigl-unit-tests __recursively__ to bring in googletest
#git clone --recursive git@github.com:libigl/libigl-unit-tests.git
mkdir -p libigl-unit-tests/build
cd libigl-unit-tests/build
# Matlab exists on this node but disagrees with g++4.8, Comiso wants nonexistent BLAS
cmake -DCMAKE_C_COMPILER=`which gcc` -DCMAKE_CXX_COMPILER=`which g++` -DLIBIGL_WITH_COMISO=OFF -DLIBIGL_WITH_MATLAB=OFF ..
# yay, lots of threads
time make -j32