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:
To access module help after installation and get reminded for which stacks and partitions the module is installed, usemodule spider PETSc/<version>
.
EasyConfig:
-
EasyConfig PETSc-3.19.5-cpeGNU-23.09.eb, will build PETSc/3.19.5-cpeGNU-23.09
-
EasyConfig PETSc-3.21.5-cpeGNU-24.03-OpenMP.eb, will build PETSc/3.21.5-cpeGNU-24.03-OpenMP
PETSc for CPU, compiled with the multi-threaded LibSci libraries (and using OpenMP where possible). When using this version of PETSc, you'll have to ensure that
-fopenmp
is used when linking to avoid linking both the single- and multi-threaded LibSci libraries. -
EasyConfig PETSc-3.21.5-cpeGNU-24.03-rocm.eb, will build PETSc/3.21.5-cpeGNU-24.03-rocm
PETSc for CPU, compiled with the multi-threaded LibSci libraries (and using OpenMP where possible), and also including ROCm GPU support. When using this version of PETSc, you'll have to ensure that
-fopenmp
is used when linking to avoid linking both the single- and multi-threaded LibSci libraries.
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
Archived EasyConfigs
The EasyConfigs below are additonal 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.
-
Archived EasyConfigs from LUMI-EasyBuild-contrib - previously user-installable software
-
EasyConfig PETSc-3.17.4-cpeCray-22.08-GPU.eb, with module PETSc/3.17.4-cpeCray-22.08-GPU
-
EasyConfig PETSc-3.17.4-cpeGNU-22.08-minimal.eb, with module PETSc/3.17.4-cpeGNU-22.08-minimal
-
EasyConfig PETSc-3.17.4-cpeGNU-22.08.eb, with module PETSc/3.17.4-cpeGNU-22.08
-
Due to linking problems for which we have no solution, fewer external libraries are included than in the cpeGNU version.
-
EasyConfig PETSc-3.19.5-cpeGNU-22.12.eb, with module PETSc/3.19.5-cpeGNU-22.12
-
EasyConfig PETSc-3.19.5-cpeGNU-23.09-rocm-5.6.1.eb, with module PETSc/3.19.5-cpeGNU-23.09-rocm-5.6.1
-