!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_1959HighCutoff_Na__MO_587469264453_002 Supported species : Na random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Na (Configuration in file "config-F-Na.xyz") ----------------------------------------------------------------------------------------------------- Energy = 249.564892462 Forces: 1 -5.50276504e+00 -5.78445895e+00 -7.67437719e+00 2 -2.27365623e+00 -3.25011200e-01 -1.07441700e+01 3 -2.93046530e-01 -1.03319222e+01 -2.16990550e+00 4 -9.44691990e+00 2.81429166e+00 -1.09511679e+00 5 1.50354376e+00 -9.12035490e+00 -6.81134318e+00 6 6.85354603e+00 -1.16403335e+00 -7.71202803e+00 7 6.67003349e+00 -9.70544571e+00 -3.39059836e+00 8 7.60786145e-01 -4.68223252e+00 -2.08486096e+00 9 -6.83222895e+00 -1.90299967e+00 -1.05829157e+01 10 3.92544197e-01 9.93158934e+00 -9.01599611e+00 11 -5.38733792e+00 -7.95662507e-01 -2.04850878e+00 12 -9.42358135e+00 8.32517748e+00 1.54191236e+00 13 2.55464402e+00 1.92292392e-01 -1.36368664e+01 14 6.19805862e+00 5.95459303e+00 -5.53019985e+00 15 1.33574983e+01 4.25963894e-01 -2.13907155e+00 16 2.25054918e+00 1.29665001e+01 -4.63073774e-01 17 -9.28024986e+00 -6.68128151e+00 2.49202304e+00 18 -2.58352850e+00 -3.40335762e-01 2.76509243e+00 19 -9.30331101e-01 -8.06205778e+00 8.07410265e+00 20 -7.21405444e+00 -5.88136967e-01 6.65371154e+00 21 1.80064864e+00 -9.91907554e+00 3.44185857e+00 22 1.11705644e+01 -8.30312986e-02 3.13197391e+00 23 4.60612944e+00 -4.39177752e+00 6.14631274e+00 24 4.18799364e-01 -3.20424318e+00 1.03619312e+01 25 -1.08187303e+01 6.91668595e-01 5.66459706e-01 26 -2.23735150e+00 1.18931705e+01 6.54823331e-01 27 -1.71729751e+00 -1.92892541e+00 9.62038743e+00 28 -8.56488470e+00 7.28035058e+00 5.53561750e+00 29 1.74796004e+00 7.72542214e-01 4.22911942e+00 30 8.60402934e+00 8.32102236e+00 2.34561018e+00 31 9.62384990e+00 1.12786879e+00 8.30242476e+00 32 3.99277905e+00 8.31395508e+00 9.23567135e+00 MONOATOMIC STRUCTURE (pbc=True)-- Species = Na (Configuration in file "config-T-Na.xyz") ----------------------------------------------------------------------------------------------------- Energy = 175.913561381 Forces: 1 3.52361426e+00 -1.01243515e+00 -1.20717289e+00 2 -2.28000533e+00 5.73623914e-01 8.21472447e-01 3 1.22950483e+00 1.46994302e+00 -3.91444244e-02 4 3.18583273e+00 6.18279722e+00 -1.14127054e-01 5 1.49122318e+00 4.36564870e-01 -1.54581749e+00 6 -3.97941326e+00 4.84842505e+00 3.55457648e-01 7 -3.40856067e+00 -2.94277222e+00 -1.47636898e+00 8 -1.04697526e+00 -3.12985372e+00 -5.87866187e-02 9 -3.27729579e+00 -7.06715078e+00 1.07907455e+00 10 1.14839689e+00 1.95667074e+00 -1.01174399e+00 11 -3.41113466e+00 -3.25097763e+00 6.75614281e-01 12 -7.40295691e-01 -4.58029537e-01 4.73641365e+00 13 1.38196330e+00 -1.54631736e+00 -4.47270854e+00 14 -3.64719508e+00 -3.88949645e-01 -2.84964319e+00 15 5.27168217e+00 -1.22058967e+00 7.37294668e-02 16 2.02684776e+00 3.04341914e+00 1.24699256e+00 17 1.51735218e+00 -2.60628290e+00 1.84702017e+00 18 9.77831656e-02 2.57042608e+00 7.05589517e-01 19 1.27433252e+00 1.94034959e+00 1.22190522e+00 20 1.71534756e+00 3.97751580e+00 -7.94730628e-01 21 1.13714650e+00 7.30226995e-01 2.08178149e+00 22 -1.34014034e+00 5.15262676e+00 3.83341682e+00 23 -3.62158638e+00 -3.56007695e+00 -3.23529893e+00 24 1.14950173e+00 -1.05987041e+00 -2.15513167e+00 25 -1.95872201e+00 -2.63459520e+00 -3.49091529e-01 26 -4.07900337e-01 3.03023722e-01 -1.07017917e+00 27 1.64438315e+00 -5.71254111e+00 -1.79516281e+00 28 -5.34592008e+00 2.16474314e+00 -3.12422977e+00 29 -2.98925406e-01 -1.17203212e+00 2.83432224e+00 30 -9.73696578e-02 1.73911376e-01 1.98579432e+00 31 2.49670465e+00 2.42693761e-01 1.59158443e+00 32 4.56982339e+00 1.99551322e+00 2.09168873e-01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==17467== Memcheck, a memory error detector ==17467== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==17467== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==17467== Command: python runner2.py Morse_Shifted_GirifalcoWeizer_1959HighCutoff_Na__MO_587469264453_002 ==17467== ==17467== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==17467== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==17467== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==17467== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==17467== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==17467== by 0x4010732: call_init (dl-init.c:72) ==17467== by 0x4010732: _dl_init (dl-init.c:119) ==17467== by 0x40151FE: dl_open_worker (dl-open.c:522) ==17467== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==17467== by 0x40147C9: _dl_open (dl-open.c:605) ==17467== by 0x544CF95: dlopen_doit (dlopen.c:66) ==17467== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==17467== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==17467== by 0x544D734: _dlerror_run (dlerror.c:162) ==17467== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==17467== ==17467== ==17467== HEAP SUMMARY: ==17467== in use at exit: 7,777,232 bytes in 3,907 blocks ==17467== total heap usage: 222,773 allocs, 218,866 frees, 71,426,723 bytes allocated ==17467== ==17467== LEAK SUMMARY: ==17467== definitely lost: 0 bytes in 0 blocks ==17467== indirectly lost: 0 bytes in 0 blocks ==17467== possibly lost: 182,191 bytes in 111 blocks ==17467== still reachable: 7,595,041 bytes in 3,796 blocks ==17467== suppressed: 0 bytes in 0 blocks ==17467== Rerun with --leak-check=full to see details of leaked memory ==17467== ==17467== For counts of detected and suppressed errors, rerun with: -v ==17467== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2511 from 173) ================================================================================ 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.