Skip to content

Commit 6271c38

Browse files
committed
Fixed memory usage calculation.
1 parent 5185a95 commit 6271c38

File tree

3 files changed

+2
-235
lines changed

3 files changed

+2
-235
lines changed

mpi_source/#execute_pjayci.c#

-232
This file was deleted.

mpi_source/.#execute_pjayci.c

-1
This file was deleted.

mpi_source/execute_pjayci.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,13 @@ int execute_pjayci ()
170170
printf(" Alpha strings = %15d\n", pstr_len);
171171
printf(" Beta strings = %15d\n", qstr_len);
172172
memusage = ((pstr_len + qstr_len) *
173-
(8 + 4 + 4 + 4 + (20 * 4)) +
173+
(8 + 4 + 4 + 4 + (20 * 4) + 4000) +
174174
(pegrps * qegrps) * 2 * 4 +
175175
(pegrps + qegrps) *
176176
(4 + 4 + 4 + 4 + 4 + 4 + (20 * 4)))
177177
/ 1048576;
178178
}
179-
179+
180180
/* Read the molecular orbitals */
181181
m1len = index1e(orbitals, orbitals);
182182
m2len = index2e(orbitals, orbitals, orbitals, orbitals);

0 commit comments

Comments
 (0)