Skip to content

toothbrush/bsp-cg

Repository files navigation

Parallel CG solver

To get started, make a checkout: (or download the source: https://github.com/toothbrush/bsp-cg/zipball/submitted-20120124)

$ git clone https://toothbrush@github.com/toothbrush/bsp-cg.git

Then build the package:

$ cd bsp-cg
$ make

Now you can run the program included, for example:

$ mpirun -np N ./bin/cg examplemat.{P,u,v}

Generate a matrix using:

$ ./bin/genmat 1000 300 0.1

or look at the usage guide:

$ ./bin/genmat

That's all!