xref: /phasta/README.md (revision b4542ea82c77e372ce7105f8acc0203afe56d668)
1#build and test
2
3    wget https://fluid.colorado.edu/~kjansen/PHASTA/phastaChefTests.tar.gz
4    tar xzf phastaChefTests.tar.gz # use for CASES path below
5
6Note, the following builds only the native compressible solver.  There are options that can be turned on to utilize PETSc for compressible.  Likewise there are options to build the incompressible solver with SVLS. Finally CMAKE can configure alternate compilers and optimization choices.
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=OFF \
14    -DPHASTA_COMPRESSIBLE=ON \
15    -DPHASTA_USE_SVLS=OFF \
16    -DPHASTA_USE_PETSC=OFF \
17    ../phasta
18