Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bgranzow/using_rol
- Owner: bgranzow
- Created: 2015-08-24T18:43:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-24T19:04:28.000Z (over 9 years ago)
- Last Synced: 2023-03-03T11:29:05.050Z (almost 2 years ago)
- Language: C++
- Homepage:
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 srcmake a build directory and config trilnos using the config-trilinos.sh
mkdir build
cd build
** copy config-trilinosh.sh to this directory **
./config-trilinos.shmake 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