|
24 | 24 | run: | |
25 | 25 | sudo apt-get update |
26 | 26 | sudo apt install -y libopenblas-dev liblapack-dev libhdf5-dev libhdf5-openmpi-dev libscalapack-openmpi-dev python3-pip gfortran cmake -o Acquire::Retries=3 --fix-missing |
27 | | - pip3 install numpy --break-system-packages |
| 27 | + pip3 install numpy h5py --break-system-packages |
28 | 28 | - name: Checkout |
29 | 29 | uses: actions/checkout@v2 |
30 | 30 | with: |
|
64 | 64 | unzip -j master.zip "phoebe-data-master/example/Silicon-ph/qe-phonons/*" -d "example/Silicon-ph/qe-phonons" |
65 | 65 | unzip -j master.zip "phoebe-data-master/example/Silicon-ph/qe-ph-anharmonic/*" -d "example/Silicon-ph/thirdorder.py-anharmonic" |
66 | 66 | unzip -j master.zip "phoebe-data-master/example/Silicon-el/qe-elph/*" -d "example/Silicon-el/qe-elph" |
| 67 | + unzip -j master.zip "phoebe-data-master/example/MgB2-elph-JDFTx/jdftx-elph/outputs/*" -d "example/MgB2-elph-JDFTx/jdftx-elph" |
67 | 68 | unzip 'example/Silicon-el/qe-elph/silicon.phoebe.*.dat.zip' -d example/Silicon-el/qe-elph/ |
68 | 69 | cp example/Silicon-el/qe-elph/* example/Silicon-epa/qe-elph |
69 | 70 | mkdir example/Silicon-epa/qe-elph/out |
@@ -144,16 +145,23 @@ jobs: |
144 | 145 | run: | |
145 | 146 | mpirun -np 4 --oversubscribe ../../build/phoebe -in coupledTransport.in |
146 | 147 | python3 reference/run_check.py |
147 | | - #- name: Run coupled BTE example without MPI (too slow...) |
148 | | - # if: ${{ matrix.compiler == 'GCC' && matrix.mpi == 'OFF' && matrix.omp == 'ON' }} |
149 | | - # working-directory: example/Silicon-coupled |
150 | | - # run: | |
151 | | - # mpirun -np 4 --oversubscribe ../../build/phoebe -in coupledTransport.in |
152 | | - # python3 reference/run_check.py |
153 | 148 | # run rta kappa with phph and phel ------------------ |
154 | 149 | - name: Run RTA kappa with phph and phel with MPI and OMP |
155 | 150 | if: ${{ matrix.compiler == 'GCC' && matrix.mpi == 'ON' && matrix.omp == 'ON' }} |
156 | 151 | working-directory: example/Silicon-ph/kappa_phph-phel/ |
157 | 152 | run: | |
| 153 | + export OMP_NUM_THREADS=2 |
158 | 154 | mpirun -np 2 --oversubscribe ../../../build/phoebe -in phononTransport.in |
159 | 155 | python3 reference/run_check.py |
| 156 | + # run JDFTx tests ----------------------------------- |
| 157 | + - name: Run a test with JDFTx files |
| 158 | + if: ${{ matrix.compiler == 'GCC' && matrix.mpi == 'ON' && matrix.omp == 'ON' }} |
| 159 | + working-directory: example/MgB2-elph-JDFTx/ |
| 160 | + run: | |
| 161 | + # test that conversion script is the same |
| 162 | + cd jdftx-elph |
| 163 | + python ../../../scripts/developerScripts/jdftx2Phoebe.py |
| 164 | + cd ../ |
| 165 | + export OMP_NUM_THREADS=2 |
| 166 | + mpirun -np 2 --oversubscribe ../../build/phoebe -in electronWannierTransport.in |
| 167 | + python3 reference/run_check.py |
0 commit comments