added compiling

This commit is contained in:
Nicole Dresselhaus 2014-04-28 12:16:22 +02:00
parent 4d75e8de7c
commit 605a6f3d30
No known key found for this signature in database
GPG Key ID: BC16D887851A1A80

13
COMPILING.md Normal file
View File

@ -0,0 +1,13 @@
# Compiling hgraph
1. initialize the sandbox
cabal sandbox init
2. install dependencies
cabal install --only-dependencies
3. build package
cabal build
4. Optional build documentation (Requires haddock - installable with cabal install haddock)
cabal haddock
5. Run with
./hgraph input.mat input.adj weights.p +RTS -N<Number of Cores>
and redirect the output into desired target.