!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! VERIFICATION CHECK: vc-memory-leak !!!!! !!!!! !!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Description: Check that the model has no memory leaks. This is tested using the Valgrind memory debugging tool (http://valgrind.org) by performing a series of energy and force calculations on a randomly distorted face-centered cubic (FCC) cube base structure for both non-periodic and periodic boundary conditions. Separate configurations are tested for each species supported by the model, as well as one containing a random distribution of all species. Configurations used for testing are provided as auxiliary files. Author: Ellad Tadmor ----------------------------------------------------------------------------------------------------- Results for KIM Model : EAM_Dynamo_ZhouWadleyJohnson_2001NISTretabulation_Zr__MO_380166217430_000 Supported species : Zr random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Zr (Configuration in file "config-F-Zr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 30.6145948076 Forces: 1 -5.89580110e+00 -1.03832577e+01 -1.11084422e+01 2 -5.03107669e+00 6.74282662e+00 -1.06860296e+01 3 6.76878902e+00 -1.89493950e+01 -8.04375143e+00 4 -1.43403963e+01 6.33081691e+00 2.28909988e-01 5 -1.31974983e+00 -1.80703745e+01 -6.64696983e+00 6 1.11389125e+01 7.48454638e+00 -1.23714571e+01 7 1.33924563e+01 -3.24940043e+01 -2.08170520e+01 8 -1.53784058e+01 -1.18663883e+01 -2.49770062e+00 9 -1.19465827e+01 -8.41084729e+00 -1.90804910e+01 10 -4.93728046e+00 2.12406380e+01 -2.25426098e+01 11 -4.49037696e+00 -1.34515070e+01 3.57443328e+00 12 -1.31887741e+01 1.86708100e+01 2.50739490e+00 13 -5.94608477e+00 -1.50468532e+01 -4.43106306e+01 14 1.00447191e+01 1.24752745e+01 -8.49499516e+00 15 4.14374813e+01 -5.11492424e+00 8.43911778e+00 16 7.02807371e+00 3.55194982e+01 1.31414465e+01 17 -2.07035610e+01 -1.37215278e+01 -3.09871241e+00 18 1.16285296e+01 1.43677675e+01 1.03055572e+01 19 4.43308718e+00 -1.56908409e+01 9.39113615e+00 20 -8.29290849e+00 9.17034185e+00 9.98025220e+00 21 -1.31394969e+01 -1.42638251e+01 7.99004233e+00 22 2.24761429e+01 2.46833689e+01 1.69516759e+01 23 6.46879418e+00 -4.54442389e+00 1.30502973e+01 24 3.00381017e+00 7.02900245e+00 7.33192376e+00 25 -1.75949989e+01 -6.49478474e+00 9.94869942e+00 26 -7.31470381e+00 2.43602915e+01 -9.54209072e+00 27 9.30416358e+00 -3.25164092e+01 1.48858161e+01 28 -2.67828005e+01 2.27782585e+01 6.85808744e+00 29 -8.28302369e+00 -1.32135018e+01 1.01330914e+01 30 1.13027640e+01 1.77321624e+01 -1.31679901e+00 31 1.70555727e+01 -1.26376465e+01 1.70908966e+01 32 9.10272571e+00 1.82849079e+01 1.87489532e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==10586== Memcheck, a memory error detector ==10586== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==10586== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==10586== Command: python runner2.py EAM_Dynamo_ZhouWadleyJohnson_2001NISTretabulation_Zr__MO_380166217430_000 ==10586== ==10586== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==10586== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==10586== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==10586== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==10586== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==10586== by 0x4010732: call_init (dl-init.c:72) ==10586== by 0x4010732: _dl_init (dl-init.c:119) ==10586== by 0x40151FE: dl_open_worker (dl-open.c:522) ==10586== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==10586== by 0x40147C9: _dl_open (dl-open.c:605) ==10586== by 0x544CF95: dlopen_doit (dlopen.c:66) ==10586== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==10586== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==10586== by 0x544D734: _dlerror_run (dlerror.c:162) ==10586== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==10586== ==10586== ==10586== HEAP SUMMARY: ==10586== in use at exit: 5,904,446 bytes in 3,964 blocks ==10586== total heap usage: 113,013 allocs, 109,049 frees, 63,820,632 bytes allocated ==10586== ==10586== LEAK SUMMARY: ==10586== definitely lost: 0 bytes in 0 blocks ==10586== indirectly lost: 0 bytes in 0 blocks ==10586== possibly lost: 181,631 bytes in 110 blocks ==10586== still reachable: 5,722,815 bytes in 3,854 blocks ==10586== suppressed: 0 bytes in 0 blocks ==10586== Rerun with --leak-check=full to see details of leaked memory ==10586== ==10586== For counts of detected and suppressed errors, rerun with: -v ==10586== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2526 from 176) ================================================================================ To pass this verification check the number of bytes that are "definitely lost" or "indirectly lost" must be zero. NOTE that Valgrind will typically report non-zero "possibly lost" bytes due to Python's internal memory allocation and garbage collection that it does not monitor. Full Valgrind output written to auxiliary file "valgrind.out" Grade: P Comment: No memory leak detected.