Skip to content

Commit

Permalink
add missing --mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Oct 25, 2021
1 parent e7bb17d commit ae3746b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions benchmarks/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# Running the benchmakrs

## Installation

In `benchmarks/`:

```
spack env activate .
spack concretize
despacktivate
spack env activate .
julia --project. -e "import Pkg; Pkg.instantiate()"
```


## Launching
```
spack env activate .
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/run.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const workdir = realpath(joinpath(@__DIR__, "..", "examples"))
let flux = Flux()
for i in 0:floor(Int,log2(N))
n = 2^i
jobspec = juliaspec(`benchmark.jl -s 45`, workdir, num_nodes=n)
jobspec = juliaspec(`benchmark.jl -s 45 --mpi`, workdir, num_nodes=n)
sub = FluxRM.submit(flux, jobspec)
job = FluxRM.Job(sub)
@info "Launched" jobid = FluxRM.encode(job) n
Expand Down

0 comments on commit ae3746b

Please sign in to comment.