Cilk FAQ - Section 2
Installing Cilk


Question 2.1. How do I install Cilk?

Cilk uses the standard GNU installation tools. To install Cilk, type
$ ./configure
$ make
$ make check   # run test programs
# make install

Question 2.2. How do I install Cilk in a directory different from /usr/local?

Type
$ ./configure --prefix=<installation directory>
$ make
# make install
The following commands *do not* work:
$ ./configure
$ make
# make install prefix=<installation directory>  # DOES NOT WORK

Question 2.3. The example programs compile, but they do not run.

If the example programs do not run, and they complain about libcilk.so not being found, then Cilk does not know how to hardcode the path to the Cilk shared library into Cilk programs. Try one of the following suggestions:

Question 2.4. `make' says: ``Warning: Clock skew detected. Your build may be incomplete''.

This warning occurs on a NFS client whose time is not synchronized with the NFS server. The build should be correct nevertheless, but it is a good idea to adjust the system clock anyway.
Next: Using Cilk.
Back: Introduction and General Information.
Return to contents.

Bradley C. Kuszmaul / bradley@mit.edu - 27 January 2013

Extracted from Cilk Frequently Asked Questions with Answers, Copyright © 2013 Bradley C. Kuszmaul.