JPRED-2 Add sources of all binaries (except alscript) to Git
[jpred.git] / sources / ncoils / INSTRUCTIONS
1 30-11-2012
2 ----------
3
4 Compile code with:
5
6   make
7
8 Set $COILSDIR with path to 'new.mat' file. e.g. in bash:
9
10   export COILSDIR=/path/to/matrix
11
12 Run code with:
13
14   ./ncoils
15
16
17 OLD INFO
18 --------
19
20 Either re-compile the program as (e.g.)
21
22 cc -O2 -I. -o ncoils-osf ncoils.c read_matrix.c -lm
23
24 or use the exectuables (ncoils-osf, ncoils-irix) given.
25
26 Move the executables to a central bin directory and re-name
27 as appropriate.
28
29 You then need to set an environment variable $COILSDIR to this directory
30 so that matrices can be seen.