Skip to content

Building LSF support

Aurelien Bouteiller edited this page Mar 9, 2023 · 2 revisions

Note that only Platform LSF 7.0.2 and later is supported.

Support for LSF will be automatically built if the LSF libraries and headers are in the default path. If not, support must be explicitly requested with the "--with-lsf" command line switch to PRRTE's configure script. For example:

shell$ ./configure --with-lsf=/path/to/lsf/installation

Note: There are some dependencies needed to build with LSF.

  1. Network Information Service Version 2, formerly referred to as YP. This is typically found in libnsl, but could vary based on your OS.

    • On RHEL: libnsl, libnsl2 AND libnsl2-devel are required.
  2. Posix shmem. Can be found in librt on most distros.

Example on DOE OLCF Summit:

shell$  configure --with-lsf=$LSF_LIBDIR/../.. --with-lsf-libdir=$LSF_LIBDIR LDFLAGS=/lib64/libnsl.so.2

After PRRTE is installed, you should see a component named "lsf":

shell$ prte_info | grep lsf
                 MCA ess: lsf (MCA v2.0, API v1.3, Component v1.3)
                 MCA ras: lsf (MCA v2.0, API v1.3, Component v1.3)
                 MCA plm: lsf (MCA v2.0, API v1.3, Component v1.3)

Specific frameworks and version numbers may vary, depending on your version of PRRTE.

Clone this wiki locally