File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,17 @@ For the default build, running ``firedrake-configure`` with
170170.. literalinclude :: petsc_configure_options.txt
171171 :language: text
172172
173+ .. note ::
174+ If you install MPI through PETSc by passing ``--download-openmpi `` or
175+ ``--download-mpich `` it is helpful to run the command::
176+
177+ $ export PATH=$PETSC_DIR/$PETSC_ARCH:$PATH
178+
179+
180+ where ``PETSC_DIR=/path/to/petsc `` and ``PETSC_ARCH=arch-firedrake-default ``.
181+ This will allow the MPI executables (``mpicc ``, ``mpiexec ``, etc) installed by
182+ PETSc to be found before any other versions installed on your machine.
183+
173184
174185.. _install_firedrake :
175186
@@ -224,6 +235,11 @@ install Firedrake. To do this perform the following steps:
224235 you have exactly followed the instructions up to this point this should
225236 already be the case.
226237
238+ .. note ::
239+ If you are using a non-system MPI it may be necessary to set ``LD_LIBRARY_PATH ``
240+ so that it can be detected by mpi4py. See `here <https://mpi4py.readthedocs.io/en/stable/install.html#linux >`__
241+ for more information.
242+
227243#. Install Firedrake::
228244
229245 $ pip install --no-binary h5py 'firedrake[check]'
You can’t perform that action at this time.
0 commit comments