The goal of this manual is to provide a starting point for you to setup and compile COS. COS is easy to compile and should be multi-platform.
COS can be compiled an run onto a wide range of hardware. Anything from a actual server to an old PC you may have laying around. Its worst-case space complexity, linear with the number of maximal cliques and the configurable sliding window buffer size enable COS to be run almost everywhere.
For technical questions, please consult the following links in order:
1. Read this manual (good point: you are reading it!).
2. Read the [FAQ]
This section contains help on compiling COS from source.
Download COS sources from here or checkout the latest sources from the svn repository:
svn checkout svn://svn.code.sf.net/p/cosparallel/code/trunk cosparallel-code
Make sure you have the igraph
C library installed. You will also need make
and gcc
.
Open a terminal, cd
to the directory where you downloaded the sources to and run:
./configure; make
Sources will be compiled and an executable cos
will be produced in the same directory.
Even if it should compile and execute, COS has not yet been compiled on Windows. If you want to try and give us feedback you will be credited for it.
If you want to debug COS, you should compile it with the DEBUG macro enabled. Open the Makefile.in
and add -DDEBUG
at the end of the CFLAGS
variable. The resulting CFLAGS variable should be:
CFLAGS =-Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 @CFLAGS@ -DDEBUG
Then, run ./configure
to generate a new Makefile
.