Skip to content

Commit ae3746b

Browse files
committed
add missing --mpi
1 parent e7bb17d commit ae3746b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

benchmarks/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# Running the benchmakrs
22

33
## Installation
4+
5+
In `benchmarks/`:
6+
47
```
58
spack env activate .
69
spack concretize
710
despacktivate
11+
spack env activate .
12+
julia --project. -e "import Pkg; Pkg.instantiate()"
813
```
914

15+
1016
## Launching
1117
```
1218
spack env activate .

benchmarks/run.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const workdir = realpath(joinpath(@__DIR__, "..", "examples"))
5858
let flux = Flux()
5959
for i in 0:floor(Int,log2(N))
6060
n = 2^i
61-
jobspec = juliaspec(`benchmark.jl -s 45`, workdir, num_nodes=n)
61+
jobspec = juliaspec(`benchmark.jl -s 45 --mpi`, workdir, num_nodes=n)
6262
sub = FluxRM.submit(flux, jobspec)
6363
job = FluxRM.Job(sub)
6464
@info "Launched" jobid = FluxRM.encode(job) n

0 commit comments

Comments
 (0)