Skip to content

[package list]

PETSc

License information

PETSc itself is covered by a 2-clause BSD license. Information is available on the "License" page of the PETSc web site.

In some versions, you can also find some license information after installing and loading the module in $EBROOTPETSC/share/licenses/PETSc.

Note that PETSc relies on many other libraries, some of which have much more restrictive licensing conditions so do not forget to check those in function of which components and options of PETSc you use.

PETSc also asks users to cite relevant publications in function of the algorithms they are using. See the "Citing PETSc" section on the PETSc web site.

User-installable modules (and EasyConfigs)

Install with the EasyBuild-user module:

eb <easyconfig> -r
To access module help after installation and get reminded for which stacks and partitions the module is installed, use module spider PETSc/<version>.

EasyConfig:

Technical documentation

General instructions

PETSc is a toolbox with lots of optional dependencies and we cannot include them all.

Finding out which versions were used by the developers for a certain release, can be done via the config/BuildSystem/config/packages subdirectory where you can also select the appropriate tag, e.g., this version for PETSc 3.25.4.

EasyBuild

Version 3.17 from CPE 21.08 on

  • OpenMP enabled; Hypre, METIS, ParMETIS, SCOTCH, MUMPS, SuperLU_Dist, STRUMPACK; dependencies: python (Cray), HDF5 (Cray), Boost
  • -minimal: no OpenMP, dependencies: python (Cray), HDF5 (Cray), Boost, METIS, SCOTCH

Version 3.19 for CPE 23.09

  • GPU enabled versions with Kokkos enabled and build against ROCm 5.6.1
  • cpeGNU recipe follows old TPSL config with most external linear algebra libraries enabled
  • cpeCray recipe excludes most of external linear algebra libraries because of linking problems

Version 3.21.5 for CPU in CPE 24.03

  • The EasyConfig has been restructured a bit but is otherwise a direct port of the one for 3.19 for 23.09.

Version 3.21.5 for GPU in CPE 23.09

  • Currently using an external Kokkos library as that is easier if PETSc is used in combination with other libraries or code that also uses Kokkos.

  • Builds upon the CPU version, just adding even more configuration options to use Kokkos and Kokkos-kernels.

Version 3.23.5-cpeGNU-25.03-OpenMP-CPU-forYambo

  • Similar to the version 3.21.1 for CPU in 24.03, but configuration checked for use with Yambo 5.3.

Version 3.24.2 for CPU in CPE 25.03

  • Straightforward port of the EasyConfig for the CPU version of 3.21.5 in 24.03, only updating the dependencies to sometimes new major versions.

Version 3.25.4 for CPU in 26.03

  • An evolution of the 3.24.2 EasyConfig for CPU in 25.03.

  • Checked some dependencies in this directory.

  • We've paid particular attention to the precision of METIS/ParMETIS but in the future we may search for forks where ParMETIS does not also include the METIS library in its build (but we would still have to be consistent in the precision for indices and reals).

Version 3.23.7-cpeGNU-26.03-OpenMP-CPU-forYambo

  • Similar to the version 3.23.5 for Yambo in 25.03, but decided to go for a bug fix release.

  • Switched to EB6-compatible parameters in the EasyConfigs.

Archived EasyConfigs

The EasyConfigs below are additional easyconfigs that are not directly available on the system for installation. Users are advised to use the newer ones and these archived ones are unsupported. They are still provided as a source of information should you need this, e.g., to understand the configuration that was used for earlier work on the system.