Skip to content

Commit f5d8ce2

Browse files
committed
add phel test to the gitactions workflows
1 parent 5c31483 commit f5d8ce2

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.github/workflows/buildandtest.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Install Clang
4141
if: ${{ startsWith(matrix.compiler, 'Clang') }}
4242
run: |
43-
sudo apt install -y clang-16 #-${{ steps.extract_matrix.outputs.CC_VERSION }}
43+
sudo apt install -y clang #-${{ steps.extract_matrix.outputs.CC_VERSION }}
4444
sudo apt install -y libomp-dev #${{ steps.extract_matrix.outputs.CC_VERSION }}-dev
4545
- name: Configure
4646
run: |
@@ -137,6 +137,7 @@ jobs:
137137
mpirun -np 4 --oversubscribe ../../../build/phoebe -ps 2 -in electronLifetimes.in
138138
cd ../
139139
python3 reference/run_check.py
140+
# run coupled BTE ------------------
140141
- name: Run coupled BTE example with MPI
141142
if: ${{ matrix.compiler == 'GCC' && matrix.mpi == 'ON' && matrix.omp == 'OFF' }}
142143
working-directory: example/Silicon-coupled
@@ -148,3 +149,10 @@ jobs:
148149
run: |
149150
mpirun -np 4 --oversubscribe ../../build/phoebe -in coupledTransport.in
150151
python3 reference/run_check.py
152+
# run rta kappa with phph and phel ------------------
153+
- name: Run RTA kappa with phph and phel
154+
if: ${{ matrix.compiler == 'GCC' && matrix.mpi == 'ON' && matrix.omp == 'ON' }}
155+
working-directory: example/Silicon-ph/kappa_phph-phel/
156+
run: |
157+
mpirun -np 2 --oversubscribe ../../../build/phoebe -in phononTransport.in
158+
python3 reference/run_check.py

.github/workflows/buildandtest_push.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ jobs:
132132
mpirun -np 4 --oversubscribe ../../../build/phoebe -ps 2 -in electronLifetimes.in
133133
cd ../
134134
python3 reference/run_check.py
135+
# run coupled BTE ------------------
135136
- name: Run coupled BTE example with MPI
136137
if: ${{ matrix.compiler == 'GCC' && matrix.mpi == 'ON' && matrix.omp == 'OFF' }}
137138
working-directory: example/Silicon-coupled
@@ -143,3 +144,10 @@ jobs:
143144
run: |
144145
mpirun -np 4 --oversubscribe ../../build/phoebe -in coupledTransport.in
145146
python3 reference/run_check.py
147+
# run rta kappa with phph and phel ------------------
148+
- name: Run RTA kappa with phph and phel
149+
if: ${{ matrix.compiler == 'GCC' && matrix.mpi == 'ON' && matrix.omp == 'ON' }}
150+
working-directory: example/Silicon-ph/kappa_phph-phel/
151+
run: |
152+
mpirun -np 2 --oversubscribe ../../../build/phoebe -in phononTransport.in
153+
python3 reference/run_check.py

example/Silicon-coupled/coupledTransport.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ phFC2FileName = "../Silicon-el/qe-elph/silicon.fc"
33
sumRuleFC2 = "crystal"
44
electronH0Name = "../Silicon-el/qe-elph/si_tb.dat",
55
elphFileName = "../Silicon-el/qe-elph/silicon.phoebe.elph.hdf5"
6-
#wsVecFileName = "../Silicon-el/qe-elph/si_wsvec.dat"
76

87
# phonon-phonon files
98
phFC3FileName = "../Silicon-ph/thirdorder.py-anharmonic/FORCE_CONSTANTS_3RD"

0 commit comments

Comments
 (0)