!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_1959LowCutoff_Ba__MO_143487634619_002 Supported species : Ba random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ba (Configuration in file "config-F-Ba.xyz") ----------------------------------------------------------------------------------------------------- Energy = 1014.0231887 Forces: 1 -2.19838458e+01 -2.46266800e+01 -3.07752556e+01 2 -9.34413158e+00 -4.72339158e-01 -4.34070570e+01 3 9.09695802e-01 -4.25627911e+01 -2.09577347e+00 4 -3.96226401e+01 1.05593320e+01 -2.24128892e+00 5 5.68756366e+00 -3.73386395e+01 -2.60840476e+01 6 2.73945538e+01 -3.30385366e+00 -3.10048561e+01 7 2.71130518e+01 -3.69718224e+01 -2.10713634e+01 8 5.52364588e+00 -1.92022404e+01 -1.46928959e+00 9 -2.85269997e+01 -1.07517831e+01 -4.51758061e+01 10 -3.87590818e+00 4.22045533e+01 -4.18680192e+01 11 -2.15783279e+01 -4.71334796e+00 -8.37772385e+00 12 -3.99833504e+01 3.52494594e+01 7.54894504e+00 13 1.28829353e+01 -7.21723189e+00 -5.83133268e+01 14 2.78203644e+01 2.39157412e+01 -2.29092557e+01 15 5.39412567e+01 -1.76223340e+00 -5.35178631e+00 16 1.26156984e+01 5.46313908e+01 1.48559532e+00 17 -3.43524189e+01 -2.64457655e+01 2.97098344e+00 18 -7.24103848e+00 -7.75567087e+00 1.84698505e+01 19 6.97478861e+00 -3.05151859e+01 2.52163675e+01 20 -2.62186891e+01 3.16043510e+00 2.76513986e+01 21 -1.09748140e+01 -4.06068356e+01 1.56453679e+01 22 4.59241942e+01 1.18748145e+01 1.39102533e+01 23 2.23353363e+01 -1.39086527e+01 2.98807291e+01 24 7.62987169e-01 -2.98279624e+00 3.28700112e+01 25 -4.57575395e+01 1.47662878e+00 1.00462236e+00 26 -9.92907682e+00 5.10465729e+01 4.62224490e+00 27 3.34674869e+00 -1.94612485e+01 3.80519425e+01 28 -3.76392348e+01 3.82272775e+01 2.32085554e+01 29 5.86918691e+00 -3.38060351e+00 1.70606038e+01 30 3.70798674e+01 3.69494488e+01 3.59379885e+00 31 3.55679904e+01 -5.53042191e+00 3.58142957e+01 32 5.27814982e+00 3.02144890e+01 4.11392841e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Ba (Configuration in file "config-T-Ba.xyz") ----------------------------------------------------------------------------------------------------- Energy = 1402.92166644 Forces: 1 1.71635489e+01 -5.68525812e+00 -4.27331862e-01 2 -1.09668896e+01 8.19879721e+00 1.82792414e+00 3 6.24733266e+00 6.83841605e+00 6.81875849e+00 4 1.26441228e+01 2.48685927e+01 -2.61556107e-02 5 5.78704401e+00 4.26450311e+00 -5.04550053e+00 6 -1.89595233e+01 2.76978290e+01 3.77927275e+00 7 -1.17442050e+01 -1.06760565e+01 -1.24604329e+01 8 -9.97971135e-01 -1.31243937e+01 5.45295177e+00 9 -1.42335779e+01 -3.42968986e+01 1.05095512e+01 10 -6.90170378e-01 8.38891306e+00 -1.04934621e+01 11 -1.40185186e+01 -1.33344604e+01 8.10509083e-01 12 -2.90907363e+00 5.62869470e-01 2.26790314e+01 13 6.90403698e+00 -1.63575437e+01 -2.59586019e+01 14 -1.44066034e+01 -1.39983842e+00 -9.48408871e+00 15 2.16514179e+01 -8.59446742e+00 1.62427105e+00 16 1.08556046e+01 1.61224896e+01 1.33976103e+01 17 1.23847198e+01 -8.04950186e+00 -3.12561261e+00 18 4.32260948e+00 2.43088316e-01 1.43817439e+01 19 1.69050443e+01 9.67065433e+00 -2.25389000e+00 20 1.23007152e+01 2.93082229e+01 -4.69704184e+00 21 -2.74370611e+01 -2.87476543e-01 1.11999328e+01 22 -3.76224012e+00 3.22529406e+01 1.45694797e+01 23 -1.83733963e+01 -1.23167764e+01 -7.89902613e+00 24 5.49077427e+00 7.89372671e+00 -1.95044040e+01 25 -8.87261443e+00 -1.40716813e+01 -2.96405460e+00 26 3.91562602e-01 1.07490828e+01 -7.56051651e-01 27 2.06395238e+01 -3.59804408e+01 -1.21498194e+01 28 -2.07990385e+01 1.64942889e+01 -1.21286374e+01 29 -8.82450418e-01 -1.60089201e+01 1.20123262e+01 30 2.87096320e+00 -1.03579726e+00 -5.30644387e-01 31 6.14482985e+00 -1.86136812e+01 9.34356424e+00 32 6.34948326e+00 6.27877761e+00 1.49782869e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==18625== Memcheck, a memory error detector ==18625== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==18625== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==18625== Command: python runner2.py Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Ba__MO_143487634619_002 ==18625== ==18625== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==18625== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==18625== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==18625== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==18625== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==18625== by 0x4010732: call_init (dl-init.c:72) ==18625== by 0x4010732: _dl_init (dl-init.c:119) ==18625== by 0x40151FE: dl_open_worker (dl-open.c:522) ==18625== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==18625== by 0x40147C9: _dl_open (dl-open.c:605) ==18625== by 0x544CF95: dlopen_doit (dlopen.c:66) ==18625== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==18625== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==18625== by 0x544D734: _dlerror_run (dlerror.c:162) ==18625== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==18625== ==18625== ==18625== HEAP SUMMARY: ==18625== in use at exit: 5,218,466 bytes in 3,907 blocks ==18625== total heap usage: 140,127 allocs, 136,220 frees, 61,079,229 bytes allocated ==18625== ==18625== LEAK SUMMARY: ==18625== definitely lost: 0 bytes in 0 blocks ==18625== indirectly lost: 0 bytes in 0 blocks ==18625== possibly lost: 182,191 bytes in 111 blocks ==18625== still reachable: 5,036,275 bytes in 3,796 blocks ==18625== suppressed: 0 bytes in 0 blocks ==18625== Rerun with --leak-check=full to see details of leaked memory ==18625== ==18625== For counts of detected and suppressed errors, rerun with: -v ==18625== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2510 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.