xref: /phasta/README.md (revision cc72a73fd2b79f4dd0a850fa4af718cd73554811)
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
6Note, the following disables the SVLS and PETSC solvers and relies on LESLIB for the incompressible solver and the native compressible solver.
7
8    cmake \
9    -DCMAKE_C_COMPILER=gcc \
10    -DCMAKE_CXX_COMPILER=g++ \
11    -DCMAKE_Fortran_COMPILER=gfortran \
12    -DCMAKE_BUILD_TYPE=Debug \
13    -DPHASTA_INCOMPRESSIBLE=ON \
14    -DPHASTA_COMPRESSIBLE=ON \
15    -DPHASTA_USE_LESLIB=ON \
16    -DLESLIB=/path/to/libles.a \
17    -DPHASTA_USE_SVLS=OFF \
18    -DPHASTA_USE_PETSC=OFF \
19    -DPHASTA_TESTING=ON \
20    -DCASES=/path/to/phastaCases/ \
21    ..
22
23    make
24
25    ctest
26