Combinatorial BLAS compilation instructions for NERSC resources. 


1- First and foremost, make cmake active by running: module load cmake 

2- In your CombBLAS_xx directory, rename CMakeLists_NERSC.txt to CMakeLists.txt, replacing the existing one. 


Option 1 (preferred): 

3- module swap PrgEnv-intel PrgEnv-gnu 


Option 2 (fragile) 

3- module load gcc/4.8.0 


Now run "cmake -DCMAKE_TOOLCHAIN_FILE=ToolChain.Cray ." , followed by "make" 


For tests, you might want to run them through the interactive batch system via 

> "salloc -N 2 -p debug -t 00:30:00" 

> "ctest -V" 

> or just run a single test: "cd Applications; srun -n 36 ./dobfs 23" 


Contact abuluc@lbl.gov for questions/problems.