C++ code for CaBLAST and CaBLAT