!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_LiuErcolessiAdams_2004_Al__MO_051157671505_000 Supported species : Al random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Al (Configuration in file "config-F-Al.xyz") ----------------------------------------------------------------------------------------------------- Energy = -63.93443514 Forces: 1 -9.88224412e-01 -1.38908316e+00 -2.06436834e+00 2 -1.24015020e+00 2.58578262e+00 -1.29222351e+00 3 2.01114962e+00 -1.33086101e+00 2.10652370e+00 4 -5.90749127e-01 2.28450693e+00 1.74227110e+00 5 1.28556683e+00 -2.13277091e+00 1.36060602e-01 6 6.12028635e-01 1.54298897e+00 -1.35550455e+00 7 1.34393328e+00 -6.39406507e+00 -5.02469211e+00 8 -4.02288832e+00 -2.42112666e+00 -6.16780842e-01 9 -2.15299220e+00 -1.98694080e+00 -3.12475679e+00 10 -1.07508030e+00 3.77544015e+00 -4.01690633e+00 11 -1.06724148e+00 -3.37278290e+00 4.51322134e+00 12 -7.80916225e-01 1.56997804e+00 1.56190204e+00 13 -1.28368678e+00 -3.22521526e+00 -7.92553832e+00 14 6.13425894e-01 1.13205370e+00 -3.13761182e-01 15 7.10878590e+00 -1.24752639e+00 1.84266151e+00 16 1.75774433e+00 5.49103372e+00 3.14699880e+00 17 -1.51767038e+00 -9.04332730e-01 -1.91028443e+00 18 4.53328954e-01 2.87554971e+00 -3.56325479e+00 19 1.80210270e+00 -2.78990049e+00 2.28724090e+00 20 -9.91457075e-01 1.99386409e+00 1.30688062e+00 21 -3.54442896e+00 -1.04608811e+00 1.04149812e+00 22 2.70088556e+00 5.19173781e+00 4.90925694e+00 23 4.52602934e-01 3.60399578e-01 7.64478579e-01 24 8.14096610e-01 -5.90619434e-01 1.16260409e+00 25 -1.96397002e+00 -2.79987474e+00 -2.06696262e+00 26 -1.30191190e+00 3.53709403e+00 -2.68095627e+00 27 2.90937718e+00 -6.88060764e+00 2.82200464e+00 28 -4.83375108e+00 4.98029867e+00 1.22008384e+00 29 -1.93268679e+00 -1.67577367e+00 1.04954058e+00 30 5.34013806e-01 2.04755201e+00 3.88101215e-01 31 3.14226373e+00 -1.78215777e+00 1.71787207e+00 32 1.74649928e+00 2.60144671e+00 2.23678939e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==1013== Memcheck, a memory error detector ==1013== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1013== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==1013== Command: python runner2.py EAM_Dynamo_LiuErcolessiAdams_2004_Al__MO_051157671505_000 ==1013== ==1013== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==1013== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==1013== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==1013== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==1013== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==1013== by 0x4010732: call_init (dl-init.c:72) ==1013== by 0x4010732: _dl_init (dl-init.c:119) ==1013== by 0x40151FE: dl_open_worker (dl-open.c:522) ==1013== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==1013== by 0x40147C9: _dl_open (dl-open.c:605) ==1013== by 0x544CF95: dlopen_doit (dlopen.c:66) ==1013== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==1013== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==1013== by 0x544D734: _dlerror_run (dlerror.c:162) ==1013== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==1013== ==1013== ==1013== HEAP SUMMARY: ==1013== in use at exit: 5,077,414 bytes in 3,963 blocks ==1013== total heap usage: 114,108 allocs, 110,145 frees, 65,067,509 bytes allocated ==1013== ==1013== LEAK SUMMARY: ==1013== definitely lost: 0 bytes in 0 blocks ==1013== indirectly lost: 0 bytes in 0 blocks ==1013== possibly lost: 181,631 bytes in 110 blocks ==1013== still reachable: 4,895,783 bytes in 3,853 blocks ==1013== suppressed: 0 bytes in 0 blocks ==1013== Rerun with --leak-check=full to see details of leaked memory ==1013== ==1013== For counts of detected and suppressed errors, rerun with: -v ==1013== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2527 from 172) ================================================================================ 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.