1
0
mirror of https://gitlab.com/scemama/qp_plugins_scemama.git synced 2024-12-22 20:34:05 +01:00

Merge branch 'master' of gitlab.com:scemama/qp_plugins_scemama

This commit is contained in:
Anthony Scemama 2022-01-10 13:19:25 +01:00
commit 44ef244fc0
3 changed files with 10 additions and 5 deletions

View File

@ -1,2 +1,2 @@
-ltrexio -L/home/scemama/.conda/envs/trexio_v2/lib -ltrexio

View File

@ -313,8 +313,8 @@ subroutine run
if (icount == BUFSIZE) then if (icount == BUFSIZE) then
rc = trexio_write_ao_2e_int_eri(f, offset, icount, eri_index, eri_buffer) rc = trexio_write_ao_2e_int_eri(f, offset, icount, eri_index, eri_buffer)
call check_success(rc) call check_success(rc)
icount = 0_8
offset += icount offset += icount
icount = 0_8
end if end if
end do end do
end do end do
@ -393,8 +393,8 @@ subroutine run
if (icount == BUFSIZE) then if (icount == BUFSIZE) then
rc = trexio_write_mo_2e_int_eri(f, offset, icount, eri_index, eri_buffer) rc = trexio_write_mo_2e_int_eri(f, offset, icount, eri_index, eri_buffer)
call check_success(rc) call check_success(rc)
icount = 0_8
offset += icount offset += icount
icount = 0_8
end if end if
end do end do
end do end do
@ -445,8 +445,8 @@ subroutine run
if (icount == BUFSIZE) then if (icount == BUFSIZE) then
rc = trexio_write_rdm_2e(f, offset, icount, eri_index, eri_buffer) rc = trexio_write_rdm_2e(f, offset, icount, eri_index, eri_buffer)
call check_success(rc) call check_success(rc)
icount = 0_8
offset += icount offset += icount
icount = 0_8
end if end if
end do end do
end do end do

View File

@ -243,7 +243,12 @@ def write_ezfio(trexio_filename, filename):
print("MOS\t\t...\t", end=' ') print("MOS\t\t...\t", end=' ')
label = trexio.read_mo_type(trexio_file) labels = { "Canonical" : "Canonical",
"RHF" : "Canonical",
"ROHF" : "Canonical",
"UHF" : "Canonical",
"Natural": "Natural" }
label = labels[trexio.read_mo_type(trexio_file)]
ezfio.set_mo_basis_mo_label(label) ezfio.set_mo_basis_mo_label(label)
try: try: