README 1.87 KB
Newer Older
solomon's avatar
solomon committed
1 2
Full documentation on  using/building/running and documentation of the software 
of the CTF library is available on the following website 
solomon's avatar
solomon committed
3
http://ctf.cs.berkeley.edu
solomon's avatar
solomon committed
4
as well as on the github wiki.
solomon's avatar
solomon committed
5

solomon's avatar
solomon committed
6
Brief build and execution instructions are given below:
solomon's avatar
solomon committed
7 8

To build CTF with a standard setup simply run make in the top directory.
Edgar Solomonik's avatar
README!  
Edgar Solomonik committed
9

10 11
To specialize the build configuration (for instance set a custom BLAS library
or specify MPI compiler), one must set up a config.mk file. Examples and 
solomon's avatar
solomon committed
12 13 14 15 16
premade config.mk files for a few architectures are located in the mkfiles/ 
subdirectory. On running make without a config.mk file in the top
folder, mkfiles/config.mk.linux will be copied to config.mk in the top folder 
by default, unless the hostname is recognized. OpenMP is currently disabled 
for Apple architectures. The config.mk file will not be overwritten
solomon's avatar
solomon committed
17
after the first call to 'make'. The first call to 'make' will create the 
solomon's avatar
solomon committed
18 19 20
file src/make/make.in, which records the top level directory. So, if you 
desire to move the built source code, change or delete and recreate this 
file by running make again.
21

solomon's avatar
solomon committed
22 23
The CTF library is built by default and will be located in lib/. 
The main interface to the library is include/ctf.hpp.
24 25

Run 'make examples' to build example programs, see examples/ dir for full list
solomon's avatar
solomon committed
26 27 28 29
Run 'make test' to run a short test suite, which should confirm the 
functionality of CTF using a single MPI process. Running 'make test#n' 
with '#n' in  {1,2,3,4,5,6,7,8} with test functionality on #n processors. 
The number of threads should be set via OMP_NUM_THREADS.
Edgar Solomonik's avatar
Edgar Solomonik committed
30 31
All examples can be built individually by the command 'make <example_name>'. 
Any executables that are built will appear in bin/
32

solomon's avatar
solomon committed
33
The BSD software license for this library is in the file license.txt.
34

solomon's avatar
solomon committed
35
Please contact Edgar Solomonik (solomon@cs.berkeley.edu),
Edgar Solomonik's avatar
README!  
Edgar Solomonik committed
36 37
for any questions about usage or technical implementation of the CTF library.