Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bgranzow/using_rol

help for some scorec peeps
https://github.com/bgranzow/using_rol

Last synced: about 2 months ago
JSON representation

help for some scorec peeps

Awesome Lists containing this project

README

        

# using_rol

## build instructions on scorec machines

### load some tasty modules


module load git
module load cmake
module load gcc/4.9.2
module load mpich3/3.1.2-thread-multiple

### build trilinos
cd to a directory where you want to make trilinos and clone
the public trilinos repository into a directory called src


mkdir trilinos
cd trilinos
git clone https://software.sandia.gov/trilinos/repositories/publicTrilinos src

make a build directory and config trilnos using the config-trilinos.sh


mkdir build
cd build
** copy config-trilinosh.sh to this directory **
./config-trilinos.sh

make trilinos


make -j 2
make install -j 2

### make the rosenbrock example
cd somewhere where you want an example directory built and make the
rosenbrock example using the CMakeLists.txt and rosenbrock.cpp files
in this repository


mkdir rosenbrock
cd rosenbrock
** copy CMakeLists.txt to this directory **
** copy rosenbrock.cpp to this directory **
cmake -DTRILINOS_PATH=/path/to/trilinos/install .

### run it!


./rosenbrock