mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-21 19:13:29 +01:00
Merge branch 'master' into dev-stable
This commit is contained in:
commit
a209b1b8cb
@ -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