!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_ZhouJohnsonWadley_2004_Zr__MO_103270551167_005 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.6146609134 Forces: 1 -5.89565254e+00 -1.03833165e+01 -1.11081681e+01 2 -5.03116556e+00 6.74313625e+00 -1.06859856e+01 3 6.76901363e+00 -1.89492711e+01 -8.04432243e+00 4 -1.43402490e+01 6.33074407e+00 2.29035516e-01 5 -1.32009595e+00 -1.80707080e+01 -6.64668516e+00 6 1.11393336e+01 7.48453416e+00 -1.23718618e+01 7 1.33924420e+01 -3.24938471e+01 -2.08183632e+01 8 -1.53778484e+01 -1.18677356e+01 -2.49779354e+00 9 -1.19464811e+01 -8.41083264e+00 -1.90807637e+01 10 -4.93790313e+00 2.12405750e+01 -2.25432735e+01 11 -4.49182627e+00 -1.34519634e+01 3.57611025e+00 12 -1.31888481e+01 1.86705970e+01 2.50808154e+00 13 -5.94546529e+00 -1.50469764e+01 -4.43099195e+01 14 1.00449623e+01 1.24752191e+01 -8.49471656e+00 15 4.14370208e+01 -5.11383178e+00 8.43800989e+00 16 7.02875495e+00 3.55192577e+01 1.31422167e+01 17 -2.07040222e+01 -1.37216378e+01 -3.09783971e+00 18 1.16291874e+01 1.43682624e+01 1.03056619e+01 19 4.43331952e+00 -1.56907590e+01 9.39063061e+00 20 -8.29307870e+00 9.17028132e+00 9.97973621e+00 21 -1.31409830e+01 -1.42639140e+01 7.99087127e+00 22 2.24765184e+01 2.46838244e+01 1.69516783e+01 23 6.46877447e+00 -4.54444568e+00 1.30507071e+01 24 3.00379438e+00 7.02871846e+00 7.33179612e+00 25 -1.75944857e+01 -6.49492104e+00 9.94766476e+00 26 -7.31451579e+00 2.43613845e+01 -9.54334615e+00 27 9.30366552e+00 -3.25173490e+01 1.48855827e+01 28 -2.67832614e+01 2.27786826e+01 6.85862425e+00 29 -8.28278538e+00 -1.32133174e+01 1.01328506e+01 30 1.13027473e+01 1.77321884e+01 -1.31642912e+00 31 1.70564680e+01 -1.26377265e+01 1.70914416e+01 32 9.10266501e+00 1.82851477e+01 1.87487688e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==8952== Memcheck, a memory error detector ==8952== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8952== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==8952== Command: python runner2.py EAM_Dynamo_ZhouJohnsonWadley_2004_Zr__MO_103270551167_005 ==8952== ==8952== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==8952== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==8952== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==8952== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==8952== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==8952== by 0x4010732: call_init (dl-init.c:72) ==8952== by 0x4010732: _dl_init (dl-init.c:119) ==8952== by 0x40151FE: dl_open_worker (dl-open.c:522) ==8952== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==8952== by 0x40147C9: _dl_open (dl-open.c:605) ==8952== by 0x544CF95: dlopen_doit (dlopen.c:66) ==8952== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==8952== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==8952== by 0x544D734: _dlerror_run (dlerror.c:162) ==8952== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==8952== ==8952== ==8952== HEAP SUMMARY: ==8952== in use at exit: 5,903,358 bytes in 3,963 blocks ==8952== total heap usage: 113,013 allocs, 109,050 frees, 63,820,070 bytes allocated ==8952== ==8952== LEAK SUMMARY: ==8952== definitely lost: 0 bytes in 0 blocks ==8952== indirectly lost: 0 bytes in 0 blocks ==8952== possibly lost: 181,631 bytes in 110 blocks ==8952== still reachable: 5,721,727 bytes in 3,853 blocks ==8952== suppressed: 0 bytes in 0 blocks ==8952== Rerun with --leak-check=full to see details of leaked memory ==8952== ==8952== For counts of detected and suppressed errors, rerun with: -v ==8952== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2527 from 178) ================================================================================ 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.