Skip to content

Getting started

jacklinzoho edited this page Feb 6, 2016 · 16 revisions
  1. Redback is a MOOSE application, so the first thing you need is to install MOOSE, following the instruction on that page: http://mooseframework.org/getting-started/

  2. With MOOSE installed (and tested), you can now install Redback in a similar manner.

Clone the project from GitHub

cd ~/projects
git clone https://github.com/pou036/redback.git
cd ~/projects/redback
git checkout master
git pull

Compile

make -j4

Test

./run_tests -j4

OSX

If you are getting failing tests on El Capitan, for Moose and for Redback MPI, it may be because your /etc/hosts HostName and your console HostName disagree.

To check:

 cat /etc/hosts
 scutil --get HostName

to change:

 sudo scutil --set HostName 'newname'

setting this to localhost seems to resolve the problem, but may break other things -- proceed with caution!

Software

We use Atom for coding. [Here's a guide on setting it up with some useful plugins] (setting up atom).

We use SourceTree for syncing with Github.

Most development is done on OSX.

We also have a [VM](Working with the Moose VM), if you need to work from a Windows machine.