Attention

GPU users: GPU nodes run EL9, while this documentation still reflects the EL7 software stack.

Run module avail on an EL9 login node, or within an interactive session on the relevant GPU type, to see the software available.

The documentation will be updated once all nodes have migrated to EL9.

pybind11

pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code.

Note

This is an autogenerated page, more detail including examples may be available for this package. Please see the first section of Software on Stanage

After connecting to Stanage (see Establishing a SSH connection), start an interactive session with the following command:

srun --pty bash -i

A version of pybind11 can then be made available with one of the following:

module load pybind11/2.10.3-GCCcore-12.2.0
module load pybind11/2.9.2-GCCcore-11.3.0
module load pybind11/2.7.1-GCCcore-11.2.0
module load pybind11/2.6.2-GCCcore-10.3.0
module load pybind11/2.6.0-GCCcore-10.2.0
module load pybind11/2.4.3-GCCcore-9.3.0-Python-3.8.2

Notes

pybind11 was installed using Easybuild, build details can be found in $EBROOTPYBIND11/easybuild with a given module loaded.

Direct dependencies for latest version of pybind11