Skip to content
Snippets Groups Projects
Commit 9cc782c8 authored by Don Lipari's avatar Don Lipari
Browse files

Added API CHANGES section to RELEASE_NOTES

parent b26816ad
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ HIGHLIGHTS
only suspended.
* Support for QOS (Quality Of Service) has been added to the accounting
database with configurable limits, priority and preemption rules.
* Added -"-signal=<int>@<time>" option to salloc, sbatch and srun commands to
* Added "--signal=<int>@<time>" option to salloc, sbatch and srun commands to
notify programs before reaching the end of their time limit.
* Added squeue option "--start" to report expected start time of pending jobs.
The times are only set if the backfill scheduler is in use.
......@@ -41,7 +41,7 @@ HIGHLIGHTS
* Support has been added for OpenSolaris.
* Added environment variable support to sattach, salloc, sbatch and srun
to permit user control over exit codes so application exit codes can be
distiguished from those generated by SLURM. SLURM_EXIT_ERROR specifies the
distinguished from those generated by SLURM. SLURM_EXIT_ERROR specifies the
exit code when a SLURM error occurs. SLURM_EXIT_IMMEDIATE specifies the
exit code when the --immediate option is specified and resources are not
available. Any other non-zero exit code would be that of the application
......@@ -66,9 +66,7 @@ CONFIGURATION FILE CHANGES (see "man slurm.conf" for details)
COMMAND CHANGES (see man pages for details)
* Added a --detail option to "scontrol show job" to display the cpu/memory
allocation informaton on a node-by-node basis.
* sacctmgr show problems command added to display problems in the accounting
* Added "sacctmgr show problems" command to display problems in the accounting
database (e.g. accounts with no users, users with no UID, etc.).
* Several redundant squeue output and sorting options have been removed:
"%o" (use %D"), "%b" (use "%S"), "%X", %Y, and "%Z" (use "%z").
......@@ -79,16 +77,24 @@ COMMAND CHANGES (see man pages for details)
* Scalability of sview dramatically improved.
* Added reservation flag of "OVERLAP" to permit a new reservation to use
nodes already in another reservation.
* Added sacct ability to use --format NAME%LENGTH similar to sacctmgr.
* For salloc, sbatch and srun commands, ignore _maximum_ values for
--sockets-per-node, --cores-per-socket and --threads-per-core options.
Remove --mincores, --minsockets, --minthreads options (map them to
minimum values of -sockets-per-node, --cores-per-socket and
--threads-per-core for now).
* Change scontrol show job info: ReqProcs (number of processors requested)
is replaced by NumCPUs (number of cpus requested or actually
allocated) and ReqNodes (number of nodes requested) is replaced by NumNodes
(number of nodes requested or actually allocated).
* Added to sacct the ability to use --format NAME%LENGTH similar to sacctmgr.
* For salloc, sbatch and srun commands:
Ignore _maximum_ values for --sockets-per-node, --cores-per-socket and
--threads-per-core options.
Remove --mincores, --minsockets, --minthreads options (map them to
minimum values of -sockets-per-node, --cores-per-socket and
--threads-per-core for now).
Changed the single character option for dependency from "-P" to the
more intuitive, "-d". This obsoletes the use of srun -d to set a
slurmd debug level. Use srun --slurmd-debug instead.
* Changed "scontrol show job" command:
ReqProcs (number of processors requested) is replaced by NumCPUs
(number of cpus requested or actually allocated)
ReqNodes (number of nodes requested) is replaced by NumNodes
(number of nodes requested or actually allocated).
Added a --detail option to "scontrol show job" to display the
cpu/memory allocation information on a node-by-node basis.
Reorganized the output into functional groupings.
BLUEGENE SPECIFIC CHANGES
......@@ -102,9 +108,64 @@ BLUEGENE SPECIFIC CHANGES
SLURM_JOB_CPUS_PER_NODE now reference cnode counts instead of midplane
counts. SLURM_NODELIST still references midplane names.
API CHANGES
* job_desc_msg_t - in, out, err have been changed to std_in, std_out,
and std_err respectfully.
* General changes:
Replaced use of the term "procs" with "cpus"
Eliminated min/max specifications for sockets/cores/threads
* Changed the following struct definitions:
allocation_msg_thread_t
jobacctinfo_t
select_jobinfo_t
slurm_cred_t
switch_jobinfo_t
* Added the following struct definitions:
block_info_msg_t
block_info_t
job_resources_t
job_sbcast_cred_msg
sbcast_cred_t
* Renamed select_job_res_t to select_nodeinfo_t
* Changed members of the following structs:
job_descriptor
job_step_info_t
node_info
node_info_msg
partition_info
reserve_info
resv_desc_msg
slurm_ctl_conf
slurm_step_ctx_params_t
slurm_step_launch_params_t
* Changed members of the job_info struct
Note that cpu_count_reps, cpus_per_node, and num_cpu_groups were moved
to new job_resources struct
* Changed the following enums
job_state_reason
node_states
select_print_mode
* Added the select_nodedata_type enum
* Renamed the select_data_type enum to select_jobdata_type
* Added the following API's
slurm_ctl_conf_2_key_pairs()
slurm_free_block_info_msg()
slurm_free_sbcast_cred_msg()
slurm_get_select_nodeinfo()
slurm_init_update_block_msg()
slurm_job_cpus_allocated_on_node()
slurm_job_cpus_allocated_on_node_id()
slurm_job_node_ready()
slurm_load_block_info()
slurm_print_block_info()
slurm_print_block_info_msg()
slurm_sbcast_lookup()
slurm_sprint_block_info()
* Changed the following API's
slurm_jobinfo_ctx_get()
slurm_load_job()
slurm_load_jobs()
slurm_print_node_table()
slurm_sprint_node_table()
OTHER CHANGES
* A mechanism has been added for SPANK plugins to set environment variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment