Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES #1

Open
jingan-181 opened this issue Sep 9, 2022 · 4 comments
Open

BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES #1

jingan-181 opened this issue Sep 9, 2022 · 4 comments

Comments

@jingan-181
Copy link

After ABACUS completes the scf calculation of the pw basis set, "BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES" appears. like this:

 CG243  -4.97e-01 7.75e+00  -6.431792e+03  1.131020e-04   2.483e-06  2.593e+00
 CG244  -4.97e-01 7.75e+00  -6.431792e+03  -1.326852e-04  2.277e-06  3.743e+00
 CG245  -4.95e-01 7.75e+00  -6.431792e+03  -3.074012e-06  7.418e-07  2.367e+00
 CG246  -4.96e-01 7.75e+00  -6.431792e+03  1.246874e-04   8.012e-07  2.347e+00
 CG247  -4.93e-01 7.75e+00  -6.431792e+03  6.287470e-05   9.806e-07  3.176e+00
 CG248  -4.95e-01 7.75e+00  -6.431792e+03  -2.028726e-04  8.872e-08  3.214e+00
 DONE(5.919e+02  SEC) : cal_overlap_Q
 DONE(6.003e+02  SEC) : cal_overlap_Sq
 DONE(6.012e+02  SEC) : cal_overlap_Q
 DONE(6.094e+02  SEC) : cal_overlap_Sq

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 177624 RUNNING AT cu13
=   EXIT CODE: 139
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
=============================================
======================================

The corresponding test files are here, Fe.zip.

@wszhang
Copy link
Contributor

wszhang commented Sep 9, 2022

计算 trimer 结构 pw 与 lcao时,没有问题,计算单晶时出现了问题,看起 PW 与 LCAO 是同样的。

26_Fe_E100_DZP_add_1z1p_BE VE

所用轨道文件见此附件:
Orbital_Fe_.zip

@dyzheng
Copy link
Contributor

dyzheng commented Sep 10, 2022

@jingan-181 Which ABACUS version did you used? I recalculated your case and get different result as :
CG767 8.00e+00 8.10e+00 -6.432034e+03 -5.150284e-06 9.639e-08 9.980e+00
which differ from your result:
CG248 -4.95e-01 7.75e+00 -6.431792e+03 -2.028726e-04 8.872e-08 3.214e+00

@dyzheng
Copy link
Contributor

dyzheng commented Sep 11, 2022

The branch develop in abacusmodeling/abacus-develop has fixed bug reported in your tests, but the consequence different problem mentioned above should be studied. @jingan-181

@jingan-181
Copy link
Author

I use the updated ABACUS version, Fix: setting of k-points in NSPIN=2 has conflict with Pkpoints in numerical_basis.cpp, and now the ABACUS pw basis set self-consistent calculation can pass normally. As mentioned above, I use 1 core, 14 cores, and 28 cores respectively to generate Fe orbitals using the same input file. The iteration steps of the self-consistent calculation are inconsistent, and the calculated total magnetism is also Different. As follows (final self-consistent result for bond length 4.0):

            ITER   TMAG      AMAG      ETOT(eV)       EDIFF(eV)      DRHO       TIME(s)
 1 cores -> CG910  -5.00e-01 7.75e+00  -6.431792e+03  -2.065332e-05  8.526e-08  3.884e+01
14 cores -> CG208  -5.28e-01 7.76e+00  -6.431791e+03  -6.266238e-05  9.077e-08  5.172e+00  
28 cores -> CG248  -4.95e-01 7.75e+00  -6.431792e+03  -2.028726e-04  8.872e-08  3.209e+00  

When performing the dpsi calculation, I encountered a problem. I suspect that there is a problem with the file format generated when ABACUS does nspin=2. The problem is reported as follows:

Traceback (most recent call last):
  File "/home/jingan/my_work/2022-9/generate_Fe_orbit/ABACUS-orbitals-main/SIAB/SIAB.py", line 823, in <module>
    mainFunc.main() #!!!
  File "/home/jingan/my_work/2022-9/generate_Fe_orbit/ABACUS-orbitals-main/SIAB/opt_orb_pytorch_dpsi/main.py", line 40, in main
    QI,SI,VI_origin = IO.read_QSV.read_QSV(info_stru, info_element, file_list["origin"], V_info)
  File "/home/jingan/my_work/2022-9/generate_Fe_orbit/ABACUS-orbitals-main/SIAB/opt_orb_pytorch_dpsi/IO/read_QSV.py", line 70, in read_QSV
    qi = read_QI(info_stru[ist+ik], info_element, data)
  File "/home/jingan/my_work/2022-9/generate_Fe_orbit/ABACUS-orbitals-main/SIAB/opt_orb_pytorch_dpsi/IO/read_QSV.py", line 107, in read_QI
    QI[it][il][ib,ia,im,ie] = complex(next(data), next(data))
StopIteration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants