Download Blue Gene/L: Application Development

Transcript
– INVALID_INPUT
•
“pid” is null or the length exceeds the control system limitations (configuration
parameter).
•
“user” in null or the length exceeds the control system limitations.
•
“user” already defined as the partition’s user.
– INTERNAL_ERROR
򐂰 status_t pm_create_partition (pm_partition_id_t pid);
This function requests creation of a partition.
The return codes are:
– STATUS_OK
– CONNECTION_ERROR
– INVALID_INPUT
“pid” is null or the length exceeds control system limitations (configuration parameter).
– PARTITION_NOT_FOUND
– INCOMPATIBLE_STATE
The current state of the partition prohibits its creation. See Figure 9-1 on page 111.
– INTERNAL_ERROR
No owner was set for the partition.
򐂰 status_t pm_destroy_partition (pm_partition_id_t pid);
This function requests destruction of a partition.
The return codes are:
– STATUS_OK
– CONNECTION_ERROR
– INVALID_INPUT
“pid” is null or the length exceeds the control system limitations (configuration
parameter).
– PARTITION_NOT_FOUND
– INCOMPATIBLE_STATE
The state of the partition prohibits its destruction. See Figure 9-1 on page 111.
– INTERNAL_ERROR
򐂰 status_t rm_add_job(db_job_id_t *job);
This function defines a job in the control system.
The return codes are:
– STATUS_OK
– CONNECTION_ERROR
– INVALID_INPUT: Data in the rm_job_t structure is invalid.
•
•
•
•
No job name or job name is too long.
No user name or user name is too long.
No executable or executable name too long.
Output or error file name is too long.
– JOB_ALREADY_DEFINED
A job with the same name already exists.
– INTERNAL_ERROR
116
IBM System Blue Gene Solution: Application Development