Skip to content

Commit

Permalink
fix types in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleBug committed Nov 9, 2022
1 parent f022495 commit 74708ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ MCIntegration supports both MPI and multi-thread parallelization. You can even m
## MPI
To run your code in MPI mode, simply use the command,
```bash
mpiexec julia -n #NCPU ./your_script.jl
mpiexec -n #NCPU julia ./your_script.jl
```
where `#NCPU` is the number of workers. Internally, the MC sampler will send the blocks (controlled by the argument `Nblock`, see above example code) to different workers, then collect the estimates in the root node.
Expand Down
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ MCIntegration supports both MPI and multi-thread parallelization. You can even m
## MPI
To run your code in MPI mode, simply use the command,
```bash
mpiexec julia -n #NCPU ./your_script.jl
mpiexec -n #NCPU julia ./your_script.jl
```
where `#NCPU` is the number of workers. Internally, the MC sampler will send the blocks (controlled by the argument `Nblock`, see above example code) to different workers, then collect the estimates in the root node.
Expand Down
1 change: 1 addition & 0 deletions src/main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
measure::Union{Nothing,Function}=nothing,
measurefreq::Int=1,
inplace::Bool=false,
parallel::Symbol=:nothread,
kwargs...
)
Expand Down

0 comments on commit 74708ba

Please sign in to comment.