9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-07 05:53:37 +01:00

Merge branch 'master' into dev-stable

This commit is contained in:
Anthony Scemama 2024-04-02 17:43:53 +02:00
commit a209b1b8cb

View File

@ -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()