From d2b00e4756e28df0863a3a90f1ac16bc9c46fa18 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Mon, 9 May 2011 08:05:28 -0700 Subject: [PATCH] Correct spelling errors Correct spelling errors in various documents, code, tests and NEWS. This is patch "spelling-errors" from Gennaro Oliva. --- NEWS | 6 +++--- contribs/perlapi/libslurm/perl/lib/Slurm.pm | 4 ++-- contribs/perlapi/libslurm/perl/step_ctx.c | 4 ++-- doc/man/man5/slurm.conf.5 | 2 +- src/sacctmgr/archive_functions.c | 2 +- src/slurmctld/power_save.c | 2 +- testsuite/expect/test12.2 | 2 +- testsuite/expect/test8.5 | 2 +- testsuite/expect/test8.6 | 2 +- testsuite/expect/test8.8 | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/NEWS b/NEWS index 444b74f1c0d..aaea3e664ef 100644 --- a/NEWS +++ b/NEWS @@ -2970,7 +2970,7 @@ documents those changes that are of interest to users and admins. than one partition uses a node or there is more than one socket per node. -- In output for "scontrol show job" change "StartTime" header to "EligibleTime" for pending jobs to accurately describe what is reported. - -- Add more slurmdbd.conf paramters: ArchiveScript, ArchiveAge, JobPurge, and + -- Add more slurmdbd.conf parameters: ArchiveScript, ArchiveAge, JobPurge, and StepPurge (not fully implemented yet). -- Add slurm.conf parameter EnforcePartLimits to reject jobs which exceed a partition's size and/or time limits rather than leaving them queued for a @@ -3273,7 +3273,7 @@ documents those changes that are of interest to users and admins. removed! That functionality is now available in the separate commands salloc, sbatch, and sattach, respectively. -- Add new node state FAILING plus trigger for when node enters that state. - -- Add new configuration paramter "PrivateData". This can be used to + -- Add new configuration parameter "PrivateData". This can be used to prevent a user from seeing jobs or job steps belonging to other users. -- Added configuration parameters for node power save mode: ResumeProgram ResumeRate, SuspendExcNodes, SuspendExcParts, SuspendProgram and @@ -4186,7 +4186,7 @@ documents those changes that are of interest to users and admins. - BLUEGENE - check to make sure set_block_user works when the block is in a ready state. - Fix to slurmstepd to not use local variables in a pthread create. - - In sched/wiki2 - add wiki.conf paramter HostFormat specifying + - In sched/wiki2 - add wiki.conf parameter HostFormat specifying format of hostlists exchanged between Slurm and Moab (experimental). - mpi/mvapich: Support Adam Moody's fast MPI initialization protocol (MVAPICH protocol version 8). diff --git a/contribs/perlapi/libslurm/perl/lib/Slurm.pm b/contribs/perlapi/libslurm/perl/lib/Slurm.pm index 73d057e1a9f..67f9f11fef4 100644 --- a/contribs/perlapi/libslurm/perl/lib/Slurm.pm +++ b/contribs/perlapi/libslurm/perl/lib/Slurm.pm @@ -108,7 +108,7 @@ Then call the desired functions: $resp = $slurm->load_jobs(); -In the following L</"METHODS"> section, if a paramter may be omitted, it will be listed as "param=val" , where "val" is the default value of the paramter if it is not given. +In the following L</"METHODS"> section, if a parameter is omitted, it will be listed as "param=val" , where "val" is the default value of the parameter. =head2 DATA STRUCTURES @@ -181,7 +181,7 @@ Get the string describing the specified error number. =over 2 -=item * IN $errno: error number. If ommitted or 0, the error number returned by C<$slurm->get_errno()> will be used. +=item * IN $errno: error number. If omitted or 0, the error number returned by C<$slurm->get_errno()> will be used. =item * RET: error string. diff --git a/contribs/perlapi/libslurm/perl/step_ctx.c b/contribs/perlapi/libslurm/perl/step_ctx.c index 25c2699c6b6..9f50a9ccf27 100644 --- a/contribs/perlapi/libslurm/perl/step_ctx.c +++ b/contribs/perlapi/libslurm/perl/step_ctx.c @@ -434,7 +434,7 @@ task_start_cb(launch_tasks_response_msg_t *resp_msg) hv = newHV(); if (launch_tasks_response_msg_to_hv(resp_msg, hv) < 0) { - Perl_warn( aTHX_ "failed to prepare paramter for task_start callback"); + Perl_warn( aTHX_ "failed to prepare parameter for task_start callback"); SvREFCNT_dec(hv); return; } @@ -468,7 +468,7 @@ task_finish_cb(task_exit_msg_t *exit_msg) hv = newHV(); if (task_exit_msg_to_hv(exit_msg, hv) < 0) { - Perl_warn( aTHX_ "failed to prepare paramter for task_exit callback"); + Perl_warn( aTHX_ "failed to prepare parameter for task_exit callback"); SvREFCNT_dec(hv); return; } diff --git a/doc/man/man5/slurm.conf.5 b/doc/man/man5/slurm.conf.5 index 52641dddc7a..29623241b46 100644 --- a/doc/man/man5/slurm.conf.5 +++ b/doc/man/man5/slurm.conf.5 @@ -424,7 +424,7 @@ See \fBProlog and Epilog Scripts\fR for more information. .TP \fBEpilogMsgTime\fR -The number of microseconds the the slurmctld daemon requires to process +The number of microseconds that the slurmctld daemon requires to process an epilog completion message from the slurmd dameons. This parameter can be used to prevent a burst of epilog completion messages from being sent at the same time which should help prevent lost messages and improve diff --git a/src/sacctmgr/archive_functions.c b/src/sacctmgr/archive_functions.c index ec0cb8b85ef..dcbd77b582a 100644 --- a/src/sacctmgr/archive_functions.c +++ b/src/sacctmgr/archive_functions.c @@ -422,7 +422,7 @@ extern int sacctmgr_archive_dump(int argc, char *argv[]) if (access(arch_cond->archive_dir, W_OK) < 0) { errno = EACCES; fprintf(stderr, " dump: " - "archive dir %s is not writeable\n", + "archive dir %s is not writable\n", arch_cond->archive_dir); return SLURM_ERROR; } diff --git a/src/slurmctld/power_save.c b/src/slurmctld/power_save.c index e3d42753d37..c1684a021bb 100644 --- a/src/slurmctld/power_save.c +++ b/src/slurmctld/power_save.c @@ -442,7 +442,7 @@ static void _clear_power_config(void) FREE_NULL_BITMAP(exc_node_bitmap); } -/* Initialize power_save module paramters. +/* Initialize power_save module parameters. * Return 0 on valid configuration to run power saving, * otherwise log the problem and return -1 */ static int _init_power_config(void) diff --git a/testsuite/expect/test12.2 b/testsuite/expect/test12.2 index caf7eecd8e2..23ad11838be 100755 --- a/testsuite/expect/test12.2 +++ b/testsuite/expect/test12.2 @@ -42,7 +42,7 @@ set job_id 0 set matches 0 set aix 0 -# job paramters +# job parameters set mem_size 1024000 set sleep_time 21 set ret_code 42 diff --git a/testsuite/expect/test8.5 b/testsuite/expect/test8.5 index e4180cf90f3..7eca73ff3ae 100755 --- a/testsuite/expect/test8.5 +++ b/testsuite/expect/test8.5 @@ -40,7 +40,7 @@ set file_err "test$test_id.error" set job_id 0 set matches 0 -# job paramters +# job parameters set sleep_time 1 proc run_and_test { size } { diff --git a/testsuite/expect/test8.6 b/testsuite/expect/test8.6 index 82279d9ad7d..e476e9bfb7a 100755 --- a/testsuite/expect/test8.6 +++ b/testsuite/expect/test8.6 @@ -39,7 +39,7 @@ set file_in "test$test_id.input" set job_id 0 set matches 0 -# job paramters +# job parameters set sleep_time 5 # make a bunch of blocks of the specified size (node_cnt) diff --git a/testsuite/expect/test8.8 b/testsuite/expect/test8.8 index 8503431a6d2..6115d24fe13 100755 --- a/testsuite/expect/test8.8 +++ b/testsuite/expect/test8.8 @@ -38,7 +38,7 @@ set exit_code 0 set job_id 0 set matches 0 -# job paramters +# job parameters set sleep_time 5 -- GitLab