@@ -34,6 +42,9 @@ int \fBslurm_update_partition\fR (
...
@@ -34,6 +42,9 @@ int \fBslurm_update_partition\fR (
.SH "ARGUMENTS"
.SH "ARGUMENTS"
.LP
.LP
.TP
.TP
\fIslurm_key_ptr\fP
Specifies the pointer to a Slurm generated key as returned by \fBslurm_get_key\fR.
.TP
\fIupdate_job_msg_ptr\fP
\fIupdate_job_msg_ptr\fP
Specifies the pointer to a job update request specification. See slurm.h for full details on the data structure's contents.
Specifies the pointer to a job update request specification. See slurm.h for full details on the data structure's contents.
.TP
.TP
...
@@ -44,10 +55,14 @@ Specifies the pointer to a node update request specification. See slurm.h for fu
...
@@ -44,10 +55,14 @@ Specifies the pointer to a node update request specification. See slurm.h for fu
Specifies the pointer to a partition update request specification. See slurm.h for full details on the data structure's contents.
Specifies the pointer to a partition update request specification. See slurm.h for full details on the data structure's contents.
.SH "DESCRIPTION"
.SH "DESCRIPTION"
.LP
.LP
\fBslurm_reconfigure\fR Request that the Slurm controller re-read its configuration file. The new configuration parameters take effect immediately. This function may only be successfully executed by user root.
\fBslurm_free_key\fR Release the storage generated in response to a call of the function \fBslurm_get_key\fR.
.LP
.LP
\fBslurm_get_key\fR Generate a key authorizing use of some Slurm partitions (depending upon partition configuration. This storage should be released by executing \fBslurm_free_key\fR. This function may only be successfully executed by user root.
.LP
\fBslurm_init_part_desc_msg\fR Initialize the contents of a partition descriptor with default values. Execute this function before executing \fBslurm_update_part\fR.
\fBslurm_init_part_desc_msg\fR Initialize the contents of a partition descriptor with default values. Execute this function before executing \fBslurm_update_part\fR.
.LP
.LP
\fBslurm_reconfigure\fR Request that the Slurm controller re-read its configuration file. The new configuration parameters take effect immediately. This function may only be successfully executed by user root.
.LP
\fBslurm_update_job\fR Request that the configuration of a job be updated. Note that most, but not all paramters of a job may be changed by this function. Initialize the data structure using the \fBslurm_init_job_desc_msg\fR function to avoid making unanticipated changes to a job's configuration. This function may only be successfully executed by user root.
\fBslurm_update_job\fR Request that the configuration of a job be updated. Note that most, but not all paramters of a job may be changed by this function. Initialize the data structure using the \fBslurm_init_job_desc_msg\fR function to avoid making unanticipated changes to a job's configuration. This function may only be successfully executed by user root.
.LP
.LP
\fBslurm_update_node\fR Request that the state of one or more nodes be updated. Note that the state of a node (e.g. DRAINING, IDLE, etc.) may be changed, but its hardware configuration may not be changed by this function. If the hardware configuration of a node changes, update the Slurm configuration file and execute the \fBslurm_reconfigure\fR function. This function may only be successfully executed by user root.
\fBslurm_update_node\fR Request that the state of one or more nodes be updated. Note that the state of a node (e.g. DRAINING, IDLE, etc.) may be changed, but its hardware configuration may not be changed by this function. If the hardware configuration of a node changes, update the Slurm configuration file and execute the \fBslurm_reconfigure\fR function. This function may only be successfully executed by user root.
...
@@ -81,6 +96,10 @@ int main (int argc, char *argv[])
...
@@ -81,6 +96,10 @@ int main (int argc, char *argv[])