Skip to content

Commit

Permalink
fixed MPI example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
josura committed Sep 26, 2024
1 parent 770dec0 commit 93efa5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ For the structure of the input see the following reference example data in the r
--outputFolder outputs
```

To use the MPI version with 4 processors, the command is the following
To use the MPI version with 2 processors(as the subtypes used are only 2), the command is the following
```bash
mpirun -np 4 ./build/c2c-sepia-MPI --graphsFilesFolder data/testdata/testHeterogeneousGraph/graphs \
mpirun -np 2 ./build/c2c-sepia-MPI --graphsFilesFolder data/testdata/testHeterogeneousGraph/graphs \
--initialPerturbationPerTypeFolder data/testdata/testHeterogeneousGraph/initialValuesPartialTypes \
--typeInteractionFolder data/testdata/testHeterogeneousGraph/interactions \
--subtypes data/testdata/testGraph/subcelltypes.txt \
--subtypes data/testdata/testGraph/testHeterogeneousGraph/subcelltypes.txt \
--dissipationModel scaled \
--dissipationModelParameters 0.2 \
--virtualNodesGranularity typeAndNode \
Expand Down
2 changes: 2 additions & 0 deletions data/testdata/testHeterogeneousGraph/subcelltypes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
t0
t1

0 comments on commit 93efa5f

Please sign in to comment.