Skip to content

Commit 7ab682f

Browse files
committed
replace oversubscribe instruction in mpirun calls
1 parent 551650a commit 7ab682f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/buildandtest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,15 @@ jobs:
143143
if: ${{ matrix.compiler == 'GCC' && matrix.mpi == 'ON' && matrix.omp == 'OFF' }}
144144
working-directory: example/Silicon-coupled
145145
run: |
146-
mpirun -np 4 ../../build/phoebe -in coupledTransport.in
146+
mpirun -np 4 --oversubscribe ../../build/phoebe -in coupledTransport.in
147147
python3 reference/run_check.py
148148
# run rta kappa with phph and phel ------------------
149149
- name: Run RTA kappa with phph and phel with MPI and OMP
150150
if: ${{ matrix.compiler == 'GCC' && matrix.mpi == 'ON' && matrix.omp == 'ON' }}
151151
working-directory: example/Silicon-ph/kappa_phph-phel/
152152
run: |
153153
export OMP_NUM_THREADS=2
154-
mpirun -np 2 ../../../build/phoebe -in phononTransport.in
154+
mpirun -np 2 --oversubscribe ../../../build/phoebe -in phononTransport.in
155155
python3 reference/run_check.py
156156
# run JDFTx tests -----------------------------------
157157
- name: Run RTA kappa with phph and phel with MPI and OMP
@@ -163,5 +163,5 @@ jobs:
163163
python ../../../scripts/developerScripts/jdftx2Phoebe.py
164164
cd ../
165165
export OMP_NUM_THREADS=2
166-
mpirun -np 2 ../../../build/phoebe -in electronWannierTransport.in
166+
mpirun -np 2 --oversubscribe ../../../build/phoebe -in electronWannierTransport.in
167167
python3 reference/run_check.py

.github/workflows/buildandtest_push.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ jobs:
138138
if: ${{ matrix.compiler == 'GCC' && matrix.mpi == 'ON' && matrix.omp == 'OFF' }}
139139
working-directory: example/Silicon-coupled
140140
run: |
141-
mpirun -np 4 ../../build/phoebe -in coupledTransport.in
141+
mpirun -np 4 --oversubscribe ../../build/phoebe -in coupledTransport.in
142142
python3 reference/run_check.py
143143
# run rta kappa with phph and phel ------------------
144144
- name: Run RTA kappa with phph and phel with MPI and OMP
145145
if: ${{ matrix.compiler == 'GCC' && matrix.mpi == 'ON' && matrix.omp == 'ON' }}
146146
working-directory: example/Silicon-ph/kappa_phph-phel/
147147
run: |
148148
export OMP_NUM_THREADS=2
149-
mpirun -np 2 ../../../build/phoebe -in phononTransport.in
149+
mpirun -np 2 --oversubscribe ../../../build/phoebe -in phononTransport.in
150150
python3 reference/run_check.py
151151
# run JDFTx tests -----------------------------------
152152
- name: Run RTA kappa with phph and phel with MPI and OMP
@@ -158,5 +158,5 @@ jobs:
158158
python ../../../scripts/developerScripts/jdftx2Phoebe.py
159159
cd ../
160160
export OMP_NUM_THREADS=2
161-
mpirun -np 2 ../../../build/phoebe -in electronWannierTransport.in
161+
mpirun -np 2 --oversubscribe ../../../build/phoebe -in electronWannierTransport.in
162162
python3 reference/run_check.py

0 commit comments

Comments
 (0)