Skip to content

Commit dec6da1

Browse files
committed
Update installation.h
1 parent ae37fa9 commit dec6da1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/doxygen/installation/installation.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,9 @@ mkdir vtk-build
162162
mkdir vtk-install
163163
cd vtk-build
164164
cmake ../vtk-clone -DCMAKE_BUILD_TYPE=Release -DVTK_GROUP_ENABLE_QT=OFF
165-
-DVTK_GROUP_ENABLE_MPI=ON -DVTK_BUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=../vtk-install
165+
-DVTK_GROUP_ENABLE_MPI=YES -DVTK_USE_MPI=ON -DVTK_BUILD_TESTING=OFF
166+
-DCMAKE_INSTALL_PREFIX=../vtk-install
167+
166168
make -j <numprocs> install
167169
```
168170
Be sure to permanently set the `VTK_DIR` environment variable to point to the VTK
@@ -185,7 +187,9 @@ from GitHub, configure the build with CMake, and compile the code:
185187
```
186188
git clone https://github.com/prisms-center/phaseField.git
187189
cd phaseField
188-
cmake .
190+
mkdir build
191+
cd build
192+
cmake -DPRISMS_PF_WITH_VTK=ON -DCMAKE_INSTALL_PREFIX=<prisms-install-dir> ..
189193
make -j <nprocs>
190194
```
191195
This will build the PRISMS-PF library in both debug and release modes.
@@ -205,4 +209,4 @@ first time. This will be fixed in a future release. After compiling once, the is
205209
go away.)
206210
207211
208-
*/
212+
*/

0 commit comments

Comments
 (0)