Combinatorial BLAS compilation instructions for NERSC resources.

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

2- module swap PrgEnv-intel PrgEnv-gnu

3- mkdir _build

4- mkdir _install

5- cd _build

6- cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DMPIEXEC_NUMPROC_FLAG=-n

7- make

8- make install

For tests, you might want to run them through the interactive batch system. But first download the testdata here and extract it inside the _build directory. Then execute:

> "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 abuluc@lbl.gov for questions/problems.