it throws out segmentation error. In fact, I couldn't compile bwa on titan's head nodes, but can compile it on interactive nodes or gaia. It runs on gaia cluster.