You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`-DSLURM_INCLUDE_DIR=...` | Detected by CMake, typically `/usr/include` | Slurm include dir passed to compiler via `-I` so `#include <slurm/spank.h>` resolves
52
+
`-DCMAKE_INSTALL_LIBEXECDIR=...` | `libexec` on RHEL-based systems | FHS "internal binaries" directory
53
+
54
+
## Install
55
+
56
+
```sh
57
+
[sudo] cmake --install <build-dir>
39
58
```
40
59
41
-
By default the plug-in `singularity-exec.so` is installed to `/usr/lib64/slurm`.
60
+
`sudo` is needed to install to system directories like `/usr`.
61
+
62
+
By default, installation directories are chosen to be FSH-compliant [^sSrfT] as
63
+
implemented by the CMake "GNUInstallDirs" module [^dsfDS].
42
64
43
-
Restart `slurmd` in order to load the plug-in after installation.
44
65
45
66
## Configuration
46
67
@@ -76,6 +97,9 @@ Option | Description
76
97
77
98
Passing `-DINSTALL_PLUGSTACK_CONF=ON` to the CMake configure command will automate the above configuration.
78
99
100
+
Restart `slurmd` in order to load the plug-in after installation and configuration.
101
+
102
+
79
103
## Usage
80
104
81
105
The plugin adds following command-line options to `salloc`, `srun` and `sbatch`:
@@ -209,6 +233,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
0 commit comments