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. 

3- module swap PrgEnv-intel PrgEnv-gnu 


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

> "salloc -N 4 -p debug -t 00:30:00" // reserve 4 nodes, 96 cores of Edison

> “export OMP_PROC_BIND=true”

> “export OMP_PLACES=threads”

> “export OMP_NUM_THREADS=12”

> "ctest -V" 

> or just run a single test: "cd Applications; srun -n 16 -c 12 ./dobfs 23"  // run using 4 MPI tasks for node, 12 threads per MPI task


Contact for questions/problems.