|
|
This patch provides a workaround for two bugs affecting the compilation of qe_6.4 and newer versions. The patch has been verified to work for Intel compiler versions from 11.0 to 15.0.
|
|
|
This patch provides a workaround for two bugs affecting the compilation of QE v.6.4 and 6.4.1. The patch has been verified to work for Intel compiler versions from 11.0 to 15.0. The patch must be adapted in order to work with v.6.5 and later.
|
|
|
|
|
|
These bugs are actually pretty different:
|
|
|
1. The first bug affects versions from 11.0 to 13.0. The compilation terminates correctly but at runtime presents a segmentation fault analogous to the one reported in this issue [https://gitlab.com/QEF/q-e/issues/106].
|
... | ... | @@ -14,16 +14,4 @@ patch -R -p1 --merge < patch_old_intel |
|
|
|
|
|
|
|
|
#### [qe_6.4.1](uploads/cfec41770a678247e1318d6b9a24900e/patch_old_intel_to_6.4.1)
|
|
|
#### [qe_6.4](https://gitlab.com/QEF/q-e/uploads/e4ae3b85e52c981380e6940dc1e60ae5/patch_old_intel)
|
|
|
#### V.6.5 and later:
|
|
|
1. Modify the routine `qexsd_init_dftU` in file `Modules/qexsd_init.f90`, replacing:
|
|
|
```
|
|
|
IF (PRESENT(U)) CALL ..
|
|
|
```
|
|
|
with
|
|
|
IF (PRESENT(U)) THEN
|
|
|
IF (SIZE(U) > 0 ) CALL ...
|
|
|
END IF
|
|
|
```
|
|
|
for all `OPTIONAL` arrays.
|
|
|
2. apply the above patch to `Modules/qexsd_input.f90` only. |
|
|
\ No newline at end of file |
|
|
#### [qe_6.4](https://gitlab.com/QEF/q-e/uploads/e4ae3b85e52c981380e6940dc1e60ae5/patch_old_intel) |
|
|
\ No newline at end of file |