mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 03:23:29 +01:00
Changed total memory to resident memory in check
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
15f435428a
commit
4e692558a6
@ -107,7 +107,7 @@ subroutine check_mem(rss_in,routine)
|
|||||||
double precision, intent(in) :: rss_in
|
double precision, intent(in) :: rss_in
|
||||||
character*(*) :: routine
|
character*(*) :: routine
|
||||||
double precision :: mem
|
double precision :: mem
|
||||||
call total_memory(mem)
|
call resident_memory(mem)
|
||||||
mem += rss_in
|
mem += rss_in
|
||||||
if (mem > qp_max_mem) then
|
if (mem > qp_max_mem) then
|
||||||
call print_memory_usage()
|
call print_memory_usage()
|
||||||
|
Loading…
Reference in New Issue
Block a user