Commit 3b03ff6b authored by Jonathan Jenkins's avatar Jonathan Jenkins

tweaked install instructions

parent 5896b5b0
NOTE: see bottom of this file for suggested configurations on particular ANL
machines.
0 - Checkout, build, and install the trunk version of ROSS
0 - Checkout, build, and install the trunk version of ROSS. At the time of
release (0.3.0), ROSS's latest commit hash was c04babe, so this revision is
"safe" in the unlikely case incompatible changes come along in the future.
git clone http://github.com/carothersc/ROSS.git
# optional: git checkout c04babe
cd ROSS
mkdir build
cd build
# note: other options for ARCH include i386 (for 32 bit machines),
# bgp, and bgq (for Blue Gene systems)
# note: other options for ARCH include i386 (for 32 bit machines),
# bgp, and bgq (for Blue Gene systems)
ARCH=x86_64 CC=mpicc CXX=mpicxx cmake -DCMAKE_INSTALL_PREFIX=../install ../
make -j 3
make install
......@@ -16,27 +19,30 @@ machines.
<the result should be that the latest version of ROSS is installed in the
ROSS/install/ directory>
1 - If this is the first time you are building codes-base, run
1 - If you are building codes-base directly from the repository, run
./prepare.sh
2- Configure codes-base. This can be done in the source directory or in a
dedicated build directory if you prefer out-of-tree builds. The CC
environment variable must refer to an MPI compiler.
2 - Configure codes-base. This can be done in the source directory or in a
dedicated build directory if you prefer out-of-tree builds. The CC
environment variable must refer to an MPI compiler.
./configure --with-ross=/path/to/ross/install --prefix=/path/to/codes-base/install CC=mpicc
mkdir build
cd build
../configure --with-ross=/path/to/ross/install --prefix=/path/to/codes-base/install CC=mpicc
3 - Build codes-base
3 - Build and install codes-base
make clean && make && make install && make tests
make && make install
4 - (optional) run test programs
make check
make tests && make check
5 - 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
5 - codes-base uses flex and bison (or lex and yacc) to generate several
parsers. These tools auto-generate C source files. To get around versioning
issues, we've distributed the auto-generated sources directly. To remove
all of the autogenerated files for these parsers, execute
make maintainer-clean-local
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment