File: README

package info (click to toggle)
combblas 2.0.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 190,488 kB
  • sloc: cpp: 55,918; ansic: 25,134; sh: 3,691; makefile: 548; csh: 66; python: 49; perl: 21
file content (15 lines) | stat: -rw-r--r-- 598 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
load the relevant modules (note the 64-bit PETSc version):
  module swap PrgEnv-intel PrgEnv-gnu
  module load cray-petsc-64/3.11.2.0

to convert a matrix market file to PETSc format use:
  python ConvertMtxToPetsc.py <matrix-market-file>

compile the spgemm code:
  cc spgemm-petsc.c -o spgemm-petsc

run (64 nodes with 4 MPI tasks per node):
  srun -N 64 --ntasks-per-node 4 ./spgemm-petsc <A-mat> <B-mat> <C-mat> <niters>
  The first three parameters are the paths to matrices C=AB
  <C-mat> is not used (commented out in the code)
  <niters> is the number of times to repeat the multiplication