Skip to content

Commit bedb2c5

Browse files
luzpazjsquyres
authored andcommitted
Fix typos in contrib/ subdir
Signed-off-by: luz paz <luzpaz@github.com>
1 parent 64d105e commit bedb2c5

26 files changed

+78
-78
lines changed

contrib/amca-param-sets/ft-mpi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ btl_base_warn_peer_error=false
3939

4040
#
4141
# The following frameworks/components are TESTED
42-
# They handle faults amd should be prefered when running with FT.
42+
# They handle faults amd should be preferred when running with FT.
4343
# pml ob1
4444
# btl tcp, self, sm(+xpmem,+cma), ugni, uct
4545
# coll base/basic, tuned, ftagree, libnbc
@@ -49,7 +49,7 @@ threads=pthreads
4949
#
5050
# The following frameworks/components are UNTESTED, but **may** work.
5151
# They should run without faults, and **may** work with faults.
52-
# You may try and report if successfull.
52+
# You may try and report if successful.
5353
# btl ofi, portals4, smcuda, usnic, sm(+knem)
5454
# coll inter, sm, sync, cuda, monitoring
5555
# pml monitoring, v/vprotocol
@@ -79,9 +79,9 @@ coll=^hcoll,portals4
7979
# mtl (all)
8080
# pml cm, crcpw, ucx
8181
mtl=^ofi,portals4,psm2
82-
# allready enforced by pml=ob1 above
82+
# already enforced by pml=ob1 above
8383
#pml=^cm,crcpw,ucx
84-
# allready enforced by threads=pthreads above
84+
# already enforced by threads=pthreads above
8585
#threads=^argobots,qthreads
8686
# There is a bug in libevent with the "select" backend that causes an infinite loop
8787
# when an unplanned disconnect happens. Use something else, or bail.

contrib/build-mca-comps-outside-of-tree/btl_tcp2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ mca_btl_base_descriptor_t* mca_btl_tcp2_prepare_src(
309309

310310
/**
311311
* Prepare a descriptor for send/rdma using the supplied
312-
* convertor. If the convertor references data that is contigous,
312+
* convertor. If the convertor references data that is contiguous,
313313
* the descriptor may simply point to the user buffer. Otherwise,
314314
* this routine is responsible for allocating buffer space and
315315
* packing if required.
@@ -359,7 +359,7 @@ mca_btl_base_descriptor_t* mca_btl_tcp2_prepare_dst(
359359
*
360360
* @param btl (IN) BTL module
361361
* @param endpoint (IN) BTL addressing information
362-
* @param descriptor (IN) Description of the data to be transfered
362+
* @param descriptor (IN) Description of the data to be transferred
363363
* @param tag (IN) The tag value used to notify the peer.
364364
*/
365365

contrib/build-mca-comps-outside-of-tree/btl_tcp2_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ static int mca_btl_tcp2_component_create_listen(uint16_t af_family)
740740
return OMPI_ERROR;
741741
}
742742
socket_binded:
743-
/* resolve system assignend port */
743+
/* resolve system assigned port */
744744
if(getsockname(sd, (struct sockaddr*)&inaddr, &addrlen) < 0) {
745745
BTL_ERROR(("getsockname() failed: %s (%d)",
746746
strerror(opal_socket_errno), opal_socket_errno));

contrib/build-mca-comps-outside-of-tree/btl_tcp2_endpoint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ static void mca_btl_tcp2_endpoint_recv_handler(int sd, short flags, void* user)
748748
frag = NULL;
749749
#else
750750
/* If the cache still contain some data we can reuse the same fragment
751-
* until we flush it completly.
751+
* until we flush it completely.
752752
*/
753753
MCA_BTL_TCP_FRAG_INIT_DST(frag, btl_endpoint);
754754
#endif /* MCA_BTL_TCP_USES_PROGRESS_THREAD */

contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ static void evaluate_assignment(int *a) {
190190
}
191191

192192
/*
193-
* check wether current solution beats all previous solutions
193+
* check whether current solution beats all previous solutions
194194
*/
195195
if(assignment_cardinality > max_assignment_cardinality
196196
|| (assignment_cardinality == max_assignment_cardinality
@@ -692,7 +692,7 @@ int mca_btl_tcp2_proc_remove(mca_btl_tcp2_proc_t* btl_proc, mca_btl_base_endpoin
692692
OBJ_RELEASE(btl_proc);
693693
return OMPI_SUCCESS;
694694
}
695-
/* The endpoint_addr may still be NULL if this enpoint is
695+
/* The endpoint_addr may still be NULL if this endpoint is
696696
being removed early in the wireup sequence (e.g., if it
697697
is unreachable by all other procs) */
698698
if (NULL != btl_endpoint->endpoint_addr) {

contrib/check_unnecessary_headers.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function del_header()
3737

3838
#
3939
# In Subdirectory DIR, search for headers provided in array SEARCH_HEADER
40-
# SEARCH_HEADER must initilized with a[0]="header_file.h typdefs macros functions"
40+
# SEARCH_HEADER must be initialized with a[0]="header_file.h typdefs macros functions"
4141
#
4242
# If any of the typedefs, macros or functions show up, then
4343
# including the header is valid required, otherwise del_header
@@ -232,7 +232,7 @@ echo "# for i in *.c ; do grep -q '#include \"ompi/runtime/params.h\"' $$i || ad
232232

233233

234234
# Finally erase a header that has been introduced for the STCI replacement
235-
# and is not necessary, if no occurences of #include "orte..." reside...
235+
# and is not necessary, if no occurrences of #include "orte..." reside...
236236
SEARCH_HEADER[0]="rte.h orte"
237237
SEARCH_HEADER[1]=""
238238

contrib/dist/linux/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ filename pointing to an Open MPI tarball (may be either `.gz` or
1919
* `openmpi-devel`
2020
* `openmpi-docs`
2121

22-
The folowing arguments could be used to affect script behaviour.
22+
The following arguments could be used to affect script behaviour.
2323
Please, do NOT set the same settings with parameters and config vars.
2424

2525
* `-b`:
@@ -32,7 +32,7 @@ Please, do NOT set the same settings with parameters and config vars.
3232
This option will change the name of the produced RPM to the "name".
3333
It is useful to use with "-o" and "-m" options if you want to have
3434
multiple Open MPI versions installed simultaneously in the same
35-
enviroment. Requires use of option `-b`.
35+
environment. Requires use of option `-b`.
3636

3737
* `-o`:
3838
With this option the install path of the binary RPM will be changed
@@ -77,7 +77,7 @@ Please, do NOT set the same settings with parameters and config vars.
7777
the script will look for the specfile in the current directory.
7878

7979
* `-R directory`:
80-
Specifies the top level RPM build direcotry.
80+
Specifies the top level RPM build directory.
8181

8282
* `-h`:
8383
Prints script usage information.

contrib/dist/linux/buildrpm.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#
1010
# External script parameters
11-
# The folowing parameters could be used to affect script behaviour.
11+
# The following parameters could be used to affect script behaviour.
1212
# Please, do NOT set the same settings with parameters and config vars.
1313
#
1414
# -b
@@ -21,7 +21,7 @@
2121
# This option will change the name of the produced RPM to the "name".
2222
# It is useful to use with "-o" and "-m" options if you want to have
2323
# multiple Open MPI versions installed simultaneously in the same
24-
# enviroment. Requires use of option "-b".
24+
# environment. Requires use of option "-b".
2525
#
2626
# -o
2727
# With this option the install path of the binary RPM will be changed
@@ -59,7 +59,7 @@
5959
# the script will look for the specfile in the current directory.
6060
#
6161
# -R directory
62-
# Specifies the top level RPM build direcotry.
62+
# Specifies the top level RPM build directory.
6363
#
6464
# -h
6565
# Prints script usage information.
@@ -149,7 +149,7 @@ usage="Usage: $0 [-b][-o][-m][-d][-u][-s][-h] [-n name][-f lf_location][-t tm_lo
149149
add custom RPM build parameter
150150
151151
-R directory
152-
Specifies the top level RPM build direcotry.
152+
Specifies the top level RPM build directory.
153153
154154
-h print this message and exit
155155

contrib/dist/linux/ompi-spec-generator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
puts stderr \"This module adds Open MPI v%(ompi_version)s to various paths\"
210210
}
211211
212-
module-whatis \"Sets up Open MPI v%(ompi_version)s in your enviornment\"
212+
module-whatis \"Sets up Open MPI v%(ompi_version)s in your environment\"
213213
214214
append-path PATH \"%%{_prefix}/bin/\"
215215
append-path LD_LIBRARY_PATH %%{_libdir}
@@ -628,7 +628,7 @@ def write_specfile(build_packages):
628628
global params
629629
# create output file
630630
print "--> Create output file"
631-
verbose(" Open outout file : %(filename)s" % {"filename":params.output})
631+
verbose(" Open output file : %(filename)s" % {"filename":params.output})
632632
specfile = open(params.output, 'w')
633633
verbose(" Write copyright header")
634634
specfile.write(copyright_template)
@@ -705,7 +705,7 @@ def write_specfile(build_packages):
705705
#
706706
######################################################################
707707
def main():
708-
# parse comand line parameters
708+
# parse command line parameters
709709
global params
710710
param_parser = optparse.OptionParser()
711711
param_parser.add_option("-r", "--root", action="store", dest="root", default="../../../",help="Specify the top root directory of the Open MPI Sources.")

contrib/dist/linux/openmpi.spec

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
# This specfile expects to find all required 3rd party packages
5757
# (Libevent, Hwloc, PMIx, PRRTE) externally, and will not use the
5858
# internal/embedded copies of these packages. This behavior is
59-
# strongly recomended for packagers. However, if you want to override
59+
# strongly recommended for packagers. However, if you want to override
6060
# this behavior, change the definition below to 0.
6161
#
6262
# NOTE: This option will cause "--with-libevent=external
@@ -105,7 +105,7 @@
105105
%{!?mpi_selector_rpm_name: %define mpi_selector_rpm_name mpi-selector}
106106
# The location of the mpi-selector executable (can be a relative path
107107
# name if "mpi-selector" can be found in the path)
108-
# type: string (path to mpi-selector exectuable)
108+
# type: string (path to mpi-selector executable)
109109
%{!?mpi_selector: %define mpi_selector mpi-selector}
110110

111111
# Should we build a debuginfo RPM or not?
@@ -159,7 +159,7 @@
159159
%global _binary_filedigest_algorithm 1
160160
%global _source_filedigest_algorithm 1
161161

162-
# Define this to 1 if you want to keep libtool achive files
162+
# Define this to 1 if you want to keep libtool archive files
163163
# Default is 0 (remove *.la files)
164164
# type: bool (0/1)
165165
%{!?install_libtool_archive: %define install_libtool_archive 0}
@@ -398,7 +398,7 @@ This subpackage provides the documentation for Open MPI/OpenSHMEM.
398398

399399
#############################################################################
400400
#
401-
# Prepatory Section
401+
# Preparatory Section
402402
#
403403
#############################################################################
404404
%prep
@@ -539,7 +539,7 @@ proc ModulesHelp { } {
539539
puts stderr "This module adds Open MPI/SHMEM v%{version} to various paths"
540540
}
541541

542-
module-whatis "Sets up Open MPI/SHMEM v%{version} in your enviornment"
542+
module-whatis "Sets up Open MPI/SHMEM v%{version} in your environment"
543543

544544
prepend-path PATH "%{_prefix}/bin/"
545545
prepend-path LD_LIBRARY_PATH %{_libdir}
@@ -722,7 +722,7 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
722722
%if !%{sysconfdir_in_prefix}
723723
%{_sysconfdir}
724724
%endif
725-
# If install_in_opt, then we're instaling OMPI to
725+
# If install_in_opt, then we're installing OMPI to
726726
# /opt/openmpi/<version>. But be sure to also explicitly mention
727727
# /opt/openmpi so that it can be removed by RPM when everything under
728728
# there is also removed.
@@ -761,7 +761,7 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
761761
%endif
762762
%endif
763763

764-
# If install_in_opt, then we're instaling OMPI to
764+
# If install_in_opt, then we're installing OMPI to
765765
# /opt/openmpi/<version>. But be sure to also explicitly mention
766766
# /opt/openmpi so that it can be removed by RPM when everything under
767767
# there is also removed. Also list /opt/openmpi/<version>/share so
@@ -871,11 +871,11 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
871871

872872
* Tue Sep 8 2009 Jeff Squyres <jsquyres@cisco.com>
873873
- Change shell_scripts_basename to not include version number to
874-
accomodate what mpi-selector expects.
874+
accommodate what mpi-selector expects.
875875

876876
* Mon Feb 4 2008 Jeff Squyres <jsquyres@cisco.com>
877877
- OFED 1.3 has a much better installer; remove all the
878-
leave_build_root kludge nastyness. W00t!
878+
leave_build_root kludge nastiness. W00t!
879879

880880
* Fri Jan 18 2008 Jeff Squyres <jsquyres@cisco.com>
881881
- Remove the hard-coded "openmpi" name from two Requires statements
@@ -918,7 +918,7 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
918918
shell script files be %{_bindir}/mpivars.{sh|csh}
919919
- Add %{munge_build_into_install} option for OFED 1.2 installer on SLES
920920
- Change shell script files and modulefile to *pre*pend all the OMPI paths
921-
- Make shell script and modulefile installation indepdendent of
921+
- Make shell script and modulefile installation independent of
922922
%{install_in_opt} (they're really separate issues)
923923
- Add more "ofed" shortcut qualifiers
924924
- Slightly better test for basename CC in the fortify source section

0 commit comments

Comments
 (0)