This will set the default controllers' addresses and ports. This is
the minimal amount of initialization that must occur before using the api
functions
...
...
@@ -26,7 +26,7 @@ functions
---------------------------
INFO Message functions
---------------------------
For all of the following inforamational calls, if update_time is equal to the last time changes where made, nothing is returned. Otherwise all the node, job, or partition records are returned.
For all of the following are informational calls, if update_time is equal to the last time changes where made, nothing is returned. Otherwise all the node, job, or partition records are returned.
int slurm_load_jobs (time_t update_time, job_info_msg_t **job_info_msg_pptr)
Returns a job_info_msg_t that contains an array of job_table records
...
...
@@ -41,17 +41,17 @@ int slurm_load_partitions (time_t update_time, partition_info_msg_t **partition_
---------------------------
JOB Allocation functions
---------------------------
Once a job_desc_msg_t structure has been declared it must first be initializediby the following function before it is used.
Once a job_desc_msg_t structure has been declared it must first be initializedby the following function before it is used.
Returns success if the resources are availible immediately to launch the job
Returns success if the resources are available immediately to launch the job
int slurm_allocate_resources (job_desc_msg_t * job_desc_msg , job_allocation_response_msg_t ** job_alloc_msg , int immediately )
Blocks until resources are allocated
Blocks until resources are allocated. If the immediate flag is set, the job will either allocate immediately or return a failure code if resources are not available..
---------------------------
...
...
@@ -68,7 +68,7 @@ Error Code Functions
Slurm Functions will return -1 on error and will provide detailed error information using the following functions