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.

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

EasyBuild

  • Simple ConfigureMake easyconfig while default PETSc easyblock is not compatibile with LUMI toolchains

  • HPE-Cray PETSc sample build script (TPSL)

    PETSc was part of the Cray Third-Party Scientific Libraries (TPSL) but is no longer delivered in a ready-to-use form

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