Menu

SetupAndCompile

Simone Mainardi

Introduction

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.

Hardware Requirements

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.

Getting Help

For technical questions, please consult the following links in order:
1. Read this manual (good point: you are reading it!).
2. Read the [FAQ]


Compiling

This section contains help on compiling COS from source.

On Linux and MAC

  • 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.

On Windows

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.


Compiling for Debug

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.


Related

Wiki: FAQ
Wiki: Home
Wiki: UserGuide

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.