xref: /phasta/README.md (revision 712d3df0b59ebebaaeaea358162c8d2c043c6e08)
1#build and test
2
3    wget www.scorec.rpi.edu/~cwsmith/phastaChefTests.tar.gz .
4    tar xzf phastaChefTests.tar.gz # use for CASES path below
5
6    cmake \
7    -DCMAKE_C_COMPILER=gcc \
8    -DCMAKE_CXX_COMPILER=g++ \
9    -DCMAKE_Fortran_COMPILER=gfortran \
10    -DCMAKE_BUILD_TYPE=Debug \
11    -DPHASTA_INCOMPRESSIBLE=ON \
12    -DPHASTA_COMPRESSIBLE=ON \
13    -DLESLIB=/path/to/libles.a \
14    -DCASES=/path/to/phastaCases/ \
15    -DPHASTA_TESTING=ON \
16    ..
17
18    make
19
20    ctest
21