@@ -937,7 +937,7 @@ write("distributed_arch_example.jl", make_distributed_arch)
937937#
938938# from the terminal.
939939using MPI
940- run(`$(mpiexec()) -n 2 $(Base.julia_cmd()) --project distributed_arch_example.jl`)
940+ run(`$(mpiexec()) -n 2 $(Base.julia_cmd()) -O0 --check-bounds=auto - -project distributed_arch_example.jl`)
941941rm("distributed_arch_example.jl")
942942nothing # hide
943943```
@@ -975,7 +975,7 @@ grid = RectilinearGrid(architecture,
975975write("distributed_grid_example.jl", make_distributed_grid)
976976
977977using MPI
978- run(`$(mpiexec()) -n 2 $(Base.julia_cmd()) --project distributed_grid_example.jl`)
978+ run(`$(mpiexec()) -n 2 $(Base.julia_cmd()) -O0 --check-bounds=auto - -project distributed_grid_example.jl`)
979979nothing # hide
980980```
981981
@@ -998,7 +998,7 @@ Now we're getting somewhere. Let's note a few things:
998998To drive these points home, let's run the same script, but using 3 processors instead of 2:
999999
10001000``` @example distributed_grids
1001- run(`$(mpiexec()) -n 3 $(Base.julia_cmd()) --project distributed_grid_example.jl`)
1001+ run(`$(mpiexec()) -n 3 $(Base.julia_cmd()) -O0 --check-bounds=auto - -project distributed_grid_example.jl`)
10021002nothing # hide
10031003```
10041004
@@ -1033,7 +1033,7 @@ end
10331033write("partition_example.jl", make_y_partition)
10341034
10351035using MPI
1036- run(`$(mpiexec()) -n 2 $(Base.julia_cmd()) --project partition_example.jl`)
1036+ run(`$(mpiexec()) -n 2 $(Base.julia_cmd()) -O0 --check-bounds=auto - -project partition_example.jl`)
10371037nothing # hide
10381038```
10391039
@@ -1076,7 +1076,7 @@ end
10761076write("programmatic_partition_example.jl", make_xy_partition)
10771077
10781078using MPI
1079- run(`$(mpiexec()) -n 6 $(Base.julia_cmd()) --project programmatic_partition_example.jl`)
1079+ run(`$(mpiexec()) -n 6 $(Base.julia_cmd()) -O0 --check-bounds=auto - -project programmatic_partition_example.jl`)
10801080nothing # hide
10811081```
10821082
@@ -1125,6 +1125,6 @@ end
11251125write("equally_partitioned_grids.jl", partitioned_grid_example)
11261126
11271127using MPI
1128- run(`$(mpiexec()) -n 4 $(Base.julia_cmd()) --project equally_partitioned_grids.jl`)
1128+ run(`$(mpiexec()) -n 4 $(Base.julia_cmd()) -O0 --check-bounds=auto - -project equally_partitioned_grids.jl`)
11291129nothing # hide
11301130```
0 commit comments