Skip to content

Commit

Permalink
using 2 processors for mpi tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iraikov committed Feb 19, 2023
1 parent 777d9b0 commit 8a1aacd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/chicken-scheme-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: iraikov/setup-scheme@master
with:
implementation: 'chicken'
Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: macOS-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: iraikov/setup-scheme@master
with:
implementation: 'chicken'
Expand Down
4 changes: 2 additions & 2 deletions tests/run.scm
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
(define mpirun (or (get-environment-variable "MPIRUN") "mpirun"))
(define csi (or (get-environment-variable "CHICKEN_CSI") "csi"))

(if (not (and (zero? (system (conc mpirun " -np 8 " csi " -s "
(if (not (and (zero? (system (conc mpirun " -np 2 " csi " -s "
(make-pathname prefix "datatest.scm"))))
(zero? (system (conc mpirun " -np 8 " csi " -s "
(zero? (system (conc mpirun " -np 2 " csi " -s "
(make-pathname prefix "mpitest.scm"))))
))

Expand Down

0 comments on commit 8a1aacd

Please sign in to comment.