Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskaus committed Aug 2, 2023
1 parent 4d4de3e commit 206cc21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/run_lamem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# (or the same as the current repository), since we have to manually update the builds.

"""
deactivate_multithreading!(cmd)
deactivate_multithreading(cmd)
This deactivates multithreading
"""
Expand All @@ -19,7 +19,7 @@ end


"""
run_lamem(ParamFile::String, cores::Int64=1, args:String=""; wait=true; deactivate_multithreads=true)
run_lamem(ParamFile::String, cores::Int64=1, args:String=""; wait=true, deactivate_multithreads=true)
This starts a LaMEM simulation, for using the parameter file `ParamFile` on `cores` number of cores.
Optional additional command-line parameters can be specified with `args`.
Expand All @@ -38,7 +38,7 @@ julia> ParamFile="../../input_models/BuildInSetups/FallingBlock_Multigrid.dat";
julia> run_lamem(ParamFile, 2, "-nstep_max = 1")
```
"""
function run_lamem(ParamFile::String, cores::Int64=1, args::String=""; wait=true; deactivate_multithreads=true)
function run_lamem(ParamFile::String, cores::Int64=1, args::String=""; wait=true, deactivate_multithreads=true)

if cores==1
# Run LaMEM on a single core, which does not require a working MPI
Expand Down

0 comments on commit 206cc21

Please sign in to comment.