!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : Morse_Shifted_GirifalcoWeizer_1959MedCutoff_Rb__MO_147245690895_002 Supported species : Rb random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Rb (Configuration in file "config-F-Rb.xyz") ----------------------------------------------------------------------------------------------------- Energy = 449.16983054 Forces: 1 -7.75830433e+00 -7.13153750e+00 -7.82280170e+00 2 -2.38180999e+00 -3.05124342e+00 -1.34746145e+01 3 -2.54364629e+00 -1.29376053e+01 -2.77054014e+00 4 -1.30639161e+01 -1.50435282e+00 -2.82978186e+00 5 2.00894953e+00 -1.14524266e+01 -9.29526210e+00 6 9.53357689e+00 -2.90581118e+00 -1.07193290e+01 7 9.91134701e+00 -1.20062508e+01 -4.05258840e+00 8 2.59195097e+00 -4.94945652e+00 -3.24734099e+00 9 -9.09621807e+00 1.74377292e+00 -1.22116913e+01 10 -2.52531231e+00 1.21798133e+01 -1.16570323e+01 11 -5.58837228e+00 7.45456976e-01 -4.05468241e+00 12 -1.15660772e+01 1.04298066e+01 -2.26486609e+00 13 3.70727797e+00 1.84518385e+00 -1.55545180e+01 14 8.83511162e+00 8.44941087e+00 -7.95473801e+00 15 1.51958517e+01 2.50179050e+00 -3.22913908e+00 16 2.35576627e+00 1.56825546e+01 -2.09368606e+00 17 -1.12997468e+01 -8.96156014e+00 8.70586536e-01 18 -3.23170795e+00 -3.71601529e+00 3.39864079e+00 19 -9.16247088e-01 -1.10459851e+01 9.49581941e+00 20 -9.84490741e+00 -5.81940217e-01 9.92143525e+00 21 1.83158618e+00 -1.32247060e+01 4.60762017e+00 22 1.46992424e+01 -1.97834185e+00 3.78455977e+00 23 7.46977125e+00 -5.95284073e+00 8.50969788e+00 24 1.97948615e+00 -3.32072055e+00 1.34681095e+01 25 -1.34831300e+01 2.66524600e+00 2.70497642e+00 26 -3.30697196e+00 1.48221730e+01 3.14693525e+00 27 -3.69049518e+00 4.21886274e-01 1.29906800e+01 28 -9.54848776e+00 8.34315525e+00 7.95772965e+00 29 3.38826839e+00 1.92863388e+00 5.69056714e+00 30 1.17059137e+01 1.10001013e+01 3.12563700e+00 31 1.11667928e+01 1.80895095e+00 1.11495154e+01 32 3.46445784e+00 1.01528578e+01 1.24101017e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Rb (Configuration in file "config-T-Rb.xyz") ----------------------------------------------------------------------------------------------------- Energy = 418.50053246 Forces: 1 1.86158634e+00 -5.31432090e-01 1.00582510e+00 2 -7.77676495e-01 5.73731138e-01 1.08495708e+00 3 9.24917976e-01 2.22246749e+00 1.54229930e-01 4 2.52403318e+00 1.78923947e+00 -1.01642263e-01 5 1.99901574e-01 6.99862308e-01 -1.04686091e+00 6 -2.06649899e+00 3.17852411e+00 -3.27401264e-01 7 -1.12912061e+00 -1.69388228e+00 -1.39843077e+00 8 -2.54473437e+00 -1.88003539e+00 1.75547535e-01 9 -2.18573581e+00 -3.18478394e+00 4.17550610e-01 10 -3.64296182e-01 1.69187416e+00 -1.25400765e+00 11 -1.63069891e+00 -3.42747091e+00 5.19216175e-01 12 -7.67406336e-02 1.10660907e-01 9.79443338e-01 13 5.12219947e-01 -2.37268101e+00 -4.00555841e+00 14 -9.22615508e-01 1.25685283e-01 -2.25385420e+00 15 3.08208733e+00 -1.11123134e+00 1.86303589e-01 16 5.93231004e-01 2.82013860e+00 1.21573126e+00 17 9.09165890e-01 -8.26561083e-01 -1.29171336e+00 18 1.38311891e+00 1.40955101e+00 -2.42881950e-01 19 3.34097217e+00 9.26854191e-01 6.79630262e-01 20 1.33029255e+00 4.68721073e+00 -5.10201659e-01 21 -2.22908528e+00 5.39987487e-01 1.84865584e+00 22 -4.35339743e-01 3.62593828e+00 2.45027620e+00 23 -3.75538132e+00 -1.82980423e+00 -5.97421626e-01 24 9.45650894e-01 4.82567790e-01 -2.06881774e+00 25 -9.22047739e-01 -2.40333333e+00 6.92356413e-01 26 1.55236859e-01 1.10437516e+00 -2.89568207e-01 27 1.17597627e+00 -3.90810885e+00 -1.12804135e+00 28 -2.90226967e+00 -7.59049154e-02 -5.13713788e-01 29 -3.62144402e-01 -2.39015413e+00 2.70659784e+00 30 -4.78247835e-03 -4.26512784e-02 1.46475535e+00 31 1.16093721e+00 -1.72713300e+00 1.30621260e+00 32 2.20984003e+00 1.41649966e+00 1.42826046e-01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==1594== Memcheck, a memory error detector ==1594== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1594== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==1594== Command: python runner2.py Morse_Shifted_GirifalcoWeizer_1959MedCutoff_Rb__MO_147245690895_002 ==1594== ==1594== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==1594== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==1594== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==1594== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==1594== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==1594== by 0x4010732: call_init (dl-init.c:72) ==1594== by 0x4010732: _dl_init (dl-init.c:119) ==1594== by 0x40151FE: dl_open_worker (dl-open.c:522) ==1594== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==1594== by 0x40147C9: _dl_open (dl-open.c:605) ==1594== by 0x544CF95: dlopen_doit (dlopen.c:66) ==1594== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==1594== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==1594== by 0x544D734: _dlerror_run (dlerror.c:162) ==1594== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1594== ==1594== ==1594== HEAP SUMMARY: ==1594== in use at exit: 9,245,906 bytes in 3,908 blocks ==1594== total heap usage: 272,296 allocs, 268,388 frees, 79,360,761 bytes allocated ==1594== ==1594== LEAK SUMMARY: ==1594== definitely lost: 0 bytes in 0 blocks ==1594== indirectly lost: 0 bytes in 0 blocks ==1594== possibly lost: 182,191 bytes in 111 blocks ==1594== still reachable: 9,063,715 bytes in 3,797 blocks ==1594== suppressed: 0 bytes in 0 blocks ==1594== Rerun with --leak-check=full to see details of leaked memory ==1594== ==1594== For counts of detected and suppressed errors, rerun with: -v ==1594== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2504 from 174) ================================================================================ 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.