Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency versions in docs #87

Merged
merged 2 commits into from
Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update package version in docs
  • Loading branch information
eirikurj committed Feb 2, 2023
commit 203e097c72858c1941429a292ec5e446b7b6580d
4 changes: 3 additions & 1 deletion installInstructions/dockerInstructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ The available images are listed in the table below:
Tag Operating System
======================== ================
c7-intel-impi-latest CentOS 7
tacc-u18-gcc-impi-stable Ubuntu 18.04
u20-gcc-ompi-latest Ubuntu 20.04
u20-gcc-ompi-stable Ubuntu 20.04
tacc-u18-gcc-impi-stable Ubuntu 18.04
u22-gcc-ompi-latest Ubuntu 22.04
u22-gcc-ompi-stable Ubuntu 22.04
======================== ================

To pull an image, use the ``docker pull`` command:
Expand Down
31 changes: 16 additions & 15 deletions installInstructions/install3rdPartyPackages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,17 @@ This section lists out the dependency versions that have been verified to work w
========= ======= =======
Versions stable latest
========= ======= =======
OpenMPI 3.1.* 4.0.*
mpi4py 3.1.3 3.1.3
PETSc 3.14.* 3.15.*
CGNS 4.1.2 4.2.0
OpenMPI 3.1.* 4.1.*
mpi4py 3.1.4 3.1.4
PETSc 3.15.* 3.18.*
CGNS 4.2.0 4.3.0
Python 3.8.* 3.9.*
NumPy 1.19.* 1.21.*
SciPy 1.5.* 1.7.*
========= ======= =======

The supported operating systems are Ubuntu 18.04 and 20.04, together with GNU compiler versions 7 to 9.
The supported operating systems are Ubuntu 20.04 and 22.04 together with GNU compiler versions 9 and 11, respectively.
Other operating systems, compiler, or dependency version may however work.
For the rest of the instructions, we use angled brackets such as ``<version>`` as placeholders, where you should enter values specific to your installation such as package versions.

.. _install_prereq:
Expand Down Expand Up @@ -80,7 +81,7 @@ Download the desired version from the `OpenMPI <http://www.open-mpi.org/>`__ web
Then, unpack the source code:

.. prompt:: bash

tar -xvaf openmpi-<version>.tar.gz

Add the following lines to ``$HOME/.bashrc``:
Expand Down Expand Up @@ -108,7 +109,7 @@ ONLY IF using an Intel compiler, run:

.. prompt:: bash

export CC=icc CXX=icpc F77=ifort FC=ifort
export CC=icc CXX=icpc F77=ifort FC=ifort

Finally, configure and build the package:

Expand Down Expand Up @@ -167,16 +168,16 @@ Next, configure your environment for PETSc by adding the following lines to your
After saving the file, source ``$HOME/.bashrc``:

.. prompt:: bash

source ~/.bashrc


Go to the PETSc directory:

.. prompt:: bash

cd $HOME/packages/petsc-<version>

The ``PETSC_ARCH`` variable is any user-specified string.
It should be set to something representative of the actual architecture.

Expand Down Expand Up @@ -324,9 +325,9 @@ Next, configure your environment for CGNS by adding the following lines to your
After saving the file, source ``$HOME/.bashrc``:

.. prompt:: bash

source ~/.bashrc

Go to the CGNS directory:

.. prompt:: bash
Expand Down Expand Up @@ -355,7 +356,7 @@ Finally, build and install:
.. prompt:: bash

make install



Installing CGNS Tools (Optional)
Expand All @@ -380,7 +381,7 @@ Note that the version of these libraries might be different on your machine:
sudo apt-get install freeglut3

.. prompt:: bash

sudo apt-get install tk8.6-dev

If needed, install the following package as well:
Expand Down Expand Up @@ -533,7 +534,7 @@ Then install:
.. prompt:: bash

pip install .

Don't forget to switch the ``PETSC_ARCH`` variable back to a single value after installing

Installing from source has the advantage of having access to the tests, which can be used to verify both the PETSc and petsc4py installations.
Expand Down