README.txt 1.46 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
NOTE: see bottom of this file for suggested configurations on particular ANL
machines.

0 - Checkout, build, and install the trunk version of ROSS

    mkdir ross
    cd ross
    svn co https://subversion.cs.rpi.edu/svn/rossnet/trunk
    mkdir build
    cd build
11
12
	 # note: other options for ARCH include i386 (for 32 bit machines),
	 # bgp, and bgq (for Blue Gene systems)
13
14
15
16
17
18
19
20
21
22
23
24
    ARCH=x86_64 CC=mpicc CXX=mpicxx cmake -DCMAKE_INSTALL_PREFIX=../install ../trunk
    make -j 3
    make install

    <the result should be that the trunk version of ROSS is installed in the 
    ross/install/ directory>

1 - If this is the first time you are building codes-base, run

    ./prepare.sh

2- Configure codes-base. This can be done in the source directory or in a
Philip Carns's avatar
Philip Carns committed
25
26
   dedicated build directory if you prefer out-of-tree builds.  The CC
   environment variable must refer to an MPI compiler.
27

Philip Carns's avatar
Philip Carns committed
28
    ./configure --with-ross=/path/to/ross/install --prefix=/path/to/codes-base/install CC=mpicc
29
30
31

3 - Build codes-base

Philip Carns's avatar
Philip Carns committed
32
    make clean && make && make install
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

4 - codes-base uses flex and bison (or lex and yacc) to generate several parsers.
These tools auto-generate C source files. To remove all of the autogenerated
files for these parsers, execute

    make maintainer-clean-local


Machine-specific configurations:
----------------

- Fusion (ANL): add the following keys to your ~/.soft file and run "resoft"
  prior to following the steps described in this file:

  +python-2.7.3
  +autoconf-2.68
  +git
  +cmake