Routine ZPOTRF ZTRTRI failed
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 21
- Joined: Thu Jun 27, 2024 3:43 pm
Routine ZPOTRF ZTRTRI failed
I am trying to run an OPTICS job with Algo=Exact and NBANDS=560.
The error disappears with Algo= (any other thing rather than Exact). However, Algo=Exact is mandatory to run the following GW calculation.
However, I receive an error
scaLAPACK: Routine ZPOTRF ZTRTRI failed! 52684 1 1
LAPACK: Routine ZTRTRI failed!
I think this is an error related to the compilation of scaLAPACK and LAPACK, I used intel-mkl/2020.4.304 to compile the attached make file for VASP5.4.4.
Please, advise!
Thank you,
Basant
The error disappears with Algo= (any other thing rather than Exact). However, Algo=Exact is mandatory to run the following GW calculation.
However, I receive an error
scaLAPACK: Routine ZPOTRF ZTRTRI failed! 52684 1 1
LAPACK: Routine ZTRTRI failed!
I think this is an error related to the compilation of scaLAPACK and LAPACK, I used intel-mkl/2020.4.304 to compile the attached make file for VASP5.4.4.
Please, advise!
Thank you,
Basant
You do not have the required permissions to view the files attached to this post.
-
- Global Moderator
- Posts: 126
- Joined: Mon May 08, 2023 4:08 pm
Re: Routine ZPOTRF ZTRTRI failed
Hi Basant,
I see that this is related to your other post. They might share a common issue. I don't believe that this is related to your installation since the library call functions correctly but the library returns with an error, indicating that there is a problem with the orthonormalization of the orbitals. Could you please upload the input and output files of the optics run? I would like to see if there is an underlying issue with the system you care calculating.
I see that this is related to your other post. They might share a common issue. I don't believe that this is related to your installation since the library call functions correctly but the library returns with an error, indicating that there is a problem with the orthonormalization of the orbitals. Could you please upload the input and output files of the optics run? I would like to see if there is an underlying issue with the system you care calculating.
Manuel
VASP developer
VASP developer
-
- Newbie
- Posts: 21
- Joined: Thu Jun 27, 2024 3:43 pm
Re: Routine ZPOTRF ZTRTRI failed
Thank you for your reply, Kindly find the INPUT and OUTPUT attached.
You do not have the required permissions to view the files attached to this post.
-
- Global Moderator
- Posts: 126
- Joined: Mon May 08, 2023 4:08 pm
Re: Routine ZPOTRF ZTRTRI failed
There are a few things you could try:
- Try calculating without symmetrizing (ISYM=0 or ISYM=-1).
- Try generating a WAVECAR and CHGCAR in a preparatory calculation using ALGO=Normal (or similar). Then restart from those preconverged files using ALGO=Exact.
- Disabling real-space projectors (LREAL=False).
- Symmetrize your POSCAR. Judging by the lattice vectors, it seems like the symmetry is slightly broken. Maybe this is on purpose, but otherwise it could greatly help converge the system.
Manuel
VASP developer
VASP developer
-
- Newbie
- Posts: 21
- Joined: Thu Jun 27, 2024 3:43 pm
Re: Routine ZPOTRF ZTRTRI failed
Thank you for your reply.
I have tried all the suggested steps, however, the error is still there.
The run freezes for 2 hours after starting to write the OSZICAR then stops with a (Routine ZPOTRF ZTRTRI failed) error without writing any electronic step.
Thank you,
Basant
I have tried all the suggested steps, however, the error is still there.
The run freezes for 2 hours after starting to write the OSZICAR then stops with a (Routine ZPOTRF ZTRTRI failed) error without writing any electronic step.
Thank you,
Basant
-
- Global Moderator
- Posts: 126
- Joined: Mon May 08, 2023 4:08 pm
Re: Routine ZPOTRF ZTRTRI failed
Some final things you could try:
- Switch to PREC=Accurate to increase your FFT grid dimensions.
- Swap the POTCAR of some of the atoms for a different one. For example, you could use the GW POTCAR for the Br atom.
- Use a smaller cell. I have noticed while looking at the POSCAR that your structure could be approximately described by a smaller unit cell (there is a 2x2 replication of the unit cell with some small atomic distortions). This would help with convergence.
Manuel
VASP developer
VASP developer
-
- Newbie
- Posts: 21
- Joined: Thu Jun 27, 2024 3:43 pm
Re: Routine ZPOTRF ZTRTRI failed
Thank you for your advice.
I have already tried PREC= Accurate and I can not decrease the unit cell since I have four different distorted tetrahedral angles.
Using a different Algo and conversion of the system let us go back to the error of the GW calculation of NaN dielectric values.
Thank you for your help and support.
I have already tried PREC= Accurate and I can not decrease the unit cell since I have four different distorted tetrahedral angles.
Using a different Algo and conversion of the system let us go back to the error of the GW calculation of NaN dielectric values.
Thank you for your help and support.
-
- Global Moderator
- Posts: 126
- Joined: Mon May 08, 2023 4:08 pm
Re: Routine ZPOTRF ZTRTRI failed
I understand. Maybe another note: ALGO=Exact is not a strict necessity for subsequent GW calculations. What's important is that enough unoccupied states are well converged. ALGO=Exact is usually an easy way to accomplish this but with enough care, you can achieve the same result with other diagonalization methods. This is a rather large system for what you are trying to accomplish so proper convergence might be very difficult.
Manuel
VASP developer
VASP developer