README.txt 1.36 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
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
    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
23 24
   dedicated build directory if you prefer out-of-tree builds.  The CC
   environment variable must refer to an MPI compiler.
25

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

3 - Build codes-base

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

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