Skip to content

Commit 3f26709

Browse files
authored
typos (#805)
Fixes #804
1 parent b3b83cd commit 3f26709

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

docs/src/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ configures `MPIPreferences` for use on Cray systems with `srun`.
125125
Currently `vendor` only supports Cray systems.
126126

127127
This populates the `library_names`, `preloads`, `preloads_env_switch` and
128-
`cclibs` preferences. These are defermined by parsing `cc --cray-print-opts=all`
128+
`cclibs` preferences. These are determined by parsing `cc --cray-print-opts=all`
129129
emitted from the Cray Compiler Wrappers. Therefore `use_system_binary` needs
130130
to be run on the target system, with the corresponding `PrgEnv` loaded.
131131

@@ -157,7 +157,7 @@ preloads_env_switch = "MPICH_GPU_SUPPORT_ENABLED"
157157

158158
This is an example of CrayMPICH requiring `libmpi_gtl_cuda.so` to be preloaded,
159159
unless `MPICH_GPU_SUPPORT_ENABLED=0` (the latter allowing MPI-enabled code to
160-
run on a non-GPU enabled node without needing a seperate `LocalPreferences.toml`).
160+
run on a non-GPU enabled node without needing a separate `LocalPreferences.toml`).
161161

162162
## [Using an alternative JLL-provided MPI library](@id configure_jll_binary)
163163

docs/src/external.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ccall((:cfunc2, lib), Cint, (Ptr{MPI.MPI_Comm},), comm)
2323

2424
## Object finalizers and `MPI.Finalize`
2525

26-
External libraries may allocate their own MPI handles (e.g., create or duplicate MPI communictors), which need to be cleaned up before MPI is finalized. If these are attached to [object finalizers](https://docs.julialang.org/en/v1/base/base/#Base.finalizer), they may not be guaranteed to be called before `MPI.Finalize`, which can result in an error upon program exit. (By default, MPI.jl will install an [`atexit`](https://docs.julialang.org/en/v1/base/base/#Base.atexit) hook that calls `MPI.Finalize` if it hasn't already been invoked.)
26+
External libraries may allocate their own MPI handles (e.g., create or duplicate MPI communicators), which need to be cleaned up before MPI is finalized. If these are attached to [object finalizers](https://docs.julialang.org/en/v1/base/base/#Base.finalizer), they may not be guaranteed to be called before `MPI.Finalize`, which can result in an error upon program exit. (By default, MPI.jl will install an [`atexit`](https://docs.julialang.org/en/v1/base/base/#Base.atexit) hook that calls `MPI.Finalize` if it hasn't already been invoked.)
2727

2828
There are two typical solutions to this problem:
2929

docs/src/reference/mpipreferences.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ If `binary == "system"`, then the following keys are also required (otherwise th
3737
- `abi`: The ABI of the MPI implementation. This should be one of the strings listed in [`MPIPreferences.abi`](@ref).
3838
- `mpiexec`: either
3939
- a string corresponding to the MPI launcher executable
40-
- an array of strings, with the first entry being the executable and remaining entried being additional flags that should be used with the executable.
40+
- an array of strings, with the first entry being the executable and remaining entries being additional flags that should be used with the executable.

lib/MPIPreferences/src/parse_cray_cc.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ struct CrayPE
1515
gtl_dl::T,
1616
cclibs::Vector{T}
1717
) where T <:AbstractString = new(
18-
"lib" * mpi_dl * ".so", # Assuming Linux -- CrayPE is only avaialbe for linux anyway
18+
"lib" * mpi_dl * ".so", # Assuming Linux -- CrayPE is only available for linux anyway
1919
"lib" * gtl_dl * ".so",
2020
cclibs,
2121
"MPICH_GPU_SUPPORT_ENABLED"
@@ -25,7 +25,7 @@ struct CrayPE
2525
gtl_dl::Nothing,
2626
cclibs::Vector{T}
2727
) where T <:AbstractString = new(
28-
"lib" * mpi_dl * ".so", # Assuming Linux -- CrayPE is only avaialbe for linux anyway
28+
"lib" * mpi_dl * ".so", # Assuming Linux -- CrayPE is only available for linux anyway
2929
nothing,
3030
cclibs,
3131
"MPICH_GPU_SUPPORT_ENABLED"

src/implementations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ using PkgVersion
8484
"""
8585
MPI.versioninfo(io::IO=stdout)
8686
87-
Print a summary of the curent MPI configuration.
87+
Print a summary of the current MPI configuration.
8888
"""
8989
function versioninfo(io::IO=stdout)
9090
println(io, "MPIPreferences:")

src/info.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ x = info[key]
2222
delete!(info, key)
2323
```
2424
25-
If `init=false` is used in the costructor (the default), a "null" `Info` object will be
25+
If `init=false` is used in the constructor (the default), a "null" `Info` object will be
2626
returned: no keys can be added to such an object.
2727
"""
2828
mutable struct Info <: AbstractDict{Symbol,String}

src/io.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ end
464464
"""
465465
MPI.File.set_atomicity(file::FileHandle, flag::Bool)
466466
467-
Set the consitency option for the `fh`.
467+
Set the consistency option for the `fh`.
468468
469469
# External links
470470
$(_doc_external("MPI_File_get_atomicity"))

src/pointtopoint.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Isend(data, dest::Integer, tag::Integer, comm::Comm, req::AbstractRequest=Reques
7676
Starts a nonblocking send of using a serialized version of `obj` to MPI rank
7777
`dest` of communicator `comm` using with the message tag `tag`.
7878
79-
Returns the commication `Request` for the nonblocking send.
79+
Returns the communication `Request` for the nonblocking send.
8080
"""
8181
isend(data, comm::Comm, req::AbstractRequest = Request(); dest::Integer, tag::Integer=0) =
8282
isend(data, dest, tag, comm, req)

test/test_bcast.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ matsize = (17,17)
99

1010
for T in MPITestTypes
1111
# This test depends on the stability of the rng and we have observed with
12-
# CUDA.jl that it is not gurantueed that the same number of rand calls will
12+
# CUDA.jl that it is not guaranteed that the same number of rand calls will
1313
# occur on each rank. (This is a hypothesis). To be sure we shall seed the rng
1414
# just before we call rand.
1515
Random.seed!(17)

0 commit comments

Comments
 (0)