# SLURM Resource Manager for PTP

## Installation

To use the SLURM resource manager to manage resource allocation and to launch parallel jobs, you will need to build the SLURM proxy by following these steps after completing the PTP plugin installation procedures.

1. Make sure you have installed SLURM and that the slurm.h and slurm_errno.h include files exist on your system. They normally are located in the include/slurm directory within a SLURM installation. The location where SLURM is installed is up to you or your system administrator.
2. Make sure you have built PTP proxy and utils libraries successfully. If not, cd to the org.eclipse.ptp.proxy/utils directory inside your plugins directory, and run configure with default options, and then run make to build the necessary libraries.
3. cd to the org.eclipse.ptp.rm.slurm.proxy directory inside your plugins directory.
4. Invoke the configure script in that directory with the --with-slurm=xxx flag, specifying the path to the include directory containing slurm/slurm.h (Use configure --help to see a complete list of configure script options)
5. Invoke make in the same directory. And if Makefile is not present, run automake, autoconf before invoking configure and make commands. Once the build process completes successfully, an executable named "ptp_slurm_proxy" should be available under org.eclipse.ptp.rm.slurm.proxy directory.

Back to Table of Contents