xref: /phasta/README.md (revision dc8966e50d9bdf1e896bf451ba68fa602e69a023)
190af2085SCameron Smith#build and test
2416a0b4bSCameron Smith
3b69cb63eSKenneth E. Jansen    wget https://fluid.colorado.edu/~kjansen/PHASTA/phastaChefTests.tar.gz
48e3b231fSCameron Smith    tar xzf phastaChefTests.tar.gz # use for CASES path below
590af2085SCameron Smith
6b69cb63eSKenneth E. JansenNote, 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.
7ff76ca8fSCameron Smith
890af2085SCameron Smith    cmake \
990af2085SCameron Smith    -DCMAKE_C_COMPILER=gcc \
1090af2085SCameron Smith    -DCMAKE_CXX_COMPILER=g++ \
1190af2085SCameron Smith    -DCMAKE_Fortran_COMPILER=gfortran \
1290af2085SCameron Smith    -DCMAKE_BUILD_TYPE=Debug \
13b69cb63eSKenneth E. Jansen    -DPHASTA_INCOMPRESSIBLE=OFF \
1490af2085SCameron Smith    -DPHASTA_COMPRESSIBLE=ON \
15ff76ca8fSCameron Smith    -DPHASTA_USE_SVLS=OFF \
16ff76ca8fSCameron Smith    -DPHASTA_USE_PETSC=OFF \
17*dc8966e5SKenneth E. Jansen    ../phasta
18