!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_Ti__MO_101966451181_000 Supported species : Ti random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ti (Configuration in file "config-F-Ti.xyz") ----------------------------------------------------------------------------------------------------- Energy = 128.307024607 Forces: 1 -1.70502481e+01 -1.40301628e+01 -1.55584139e+01 2 -5.09716291e+00 9.56812291e+00 -2.56500355e+01 3 1.63581229e+01 -3.11322718e+01 7.26230665e+00 4 -3.37833936e+01 1.07219716e+01 -7.91419158e+00 5 5.42430212e+00 -2.17724390e+01 -1.68096147e+01 6 1.78923129e+01 7.05667004e+00 -2.65237382e+01 7 1.86698677e+01 -3.24813842e+01 2.48700861e+00 8 -1.33709671e+01 -6.78500913e+00 5.39665150e+00 9 -1.54459527e+01 -5.45803152e+00 -2.17882871e+01 10 -1.10731893e+01 2.02099795e+01 -2.71754609e+01 11 -1.05270203e+01 2.94294408e+00 -6.00357485e+00 12 -1.83488246e+01 2.11303324e+01 4.68636073e+00 13 9.60301959e+00 -3.96094781e-02 -2.61803067e+01 14 1.52807958e+01 1.10676666e+01 -1.31340074e+01 15 2.78142609e+01 1.15883539e+01 -3.46772809e+00 16 1.02330539e+01 2.65439649e+01 1.20567862e+01 17 -1.71979571e+01 -2.70266758e+01 4.53710231e+00 18 1.28113902e+01 -1.01058038e+01 1.30742691e+01 19 -5.33056273e+00 -1.58684978e+01 1.88107859e+01 20 -1.65627888e+01 3.94286671e+00 2.35612044e+01 21 -8.34001145e+00 -2.55520021e+01 -2.30101303e+01 22 2.76504365e+01 5.86540760e+00 -4.57816817e+00 23 2.50793032e+01 -2.57447139e+01 2.76247643e+01 24 -1.79116264e+01 1.29498021e+01 2.60490028e+01 25 -2.97456632e+01 4.36023452e+00 -2.08454437e+00 26 7.62083742e+00 2.81328576e+01 -7.10086770e+00 27 6.31315614e+00 -1.11802487e+01 3.02216416e+01 28 -1.66272442e+01 1.41769650e+01 1.64999346e+01 29 9.99841155e-01 -2.87577161e+00 3.69104370e+00 30 2.09830083e+01 1.95233527e+01 -9.58618271e+00 31 1.98196152e+01 4.91756310e+00 2.02133452e+01 32 -6.14071136e+00 1.53535663e+01 2.03930447e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==10317== Memcheck, a memory error detector ==10317== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==10317== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==10317== Command: python runner2.py EAM_Dynamo_ZhouWadleyJohnson_2001NISTretabulation_Ti__MO_101966451181_000 ==10317== ==10317== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==10317== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==10317== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==10317== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==10317== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==10317== by 0x4010732: call_init (dl-init.c:72) ==10317== by 0x4010732: _dl_init (dl-init.c:119) ==10317== by 0x40151FE: dl_open_worker (dl-open.c:522) ==10317== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==10317== by 0x40147C9: _dl_open (dl-open.c:605) ==10317== by 0x544CF95: dlopen_doit (dlopen.c:66) ==10317== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==10317== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==10317== by 0x544D734: _dlerror_run (dlerror.c:162) ==10317== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==10317== ==10317== ==10317== HEAP SUMMARY: ==10317== in use at exit: 5,941,541 bytes in 3,961 blocks ==10317== total heap usage: 111,005 allocs, 107,044 frees, 59,408,303 bytes allocated ==10317== ==10317== LEAK SUMMARY: ==10317== definitely lost: 0 bytes in 0 blocks ==10317== indirectly lost: 0 bytes in 0 blocks ==10317== possibly lost: 181,631 bytes in 110 blocks ==10317== still reachable: 5,759,910 bytes in 3,851 blocks ==10317== suppressed: 0 bytes in 0 blocks ==10317== Rerun with --leak-check=full to see details of leaked memory ==10317== ==10317== For counts of detected and suppressed errors, rerun with: -v ==10317== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2509 from 175) ================================================================================ 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.