!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_AdamsFoilesWolfer_1989Universal6_Pt__MO_388062184209_000 Supported species : Pt random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Pt (Configuration in file "config-F-Pt.xyz") ----------------------------------------------------------------------------------------------------- Energy = 181.548839578 Forces: 1 -1.85264477e+01 -3.75159055e+01 -4.21519631e+01 2 -1.23896513e+01 2.06758336e+01 -3.36121155e+01 3 1.68885900e+01 -3.25475308e+01 -2.91712968e-01 4 -2.84548486e+01 3.28703401e+01 2.05854385e+01 5 2.24107112e+01 -4.32347221e+01 -8.76833186e+00 6 1.38959732e+01 -6.67668111e+00 -1.94557915e+01 7 2.26704476e+01 -7.04367881e+01 -6.47257308e+01 8 -4.56118625e+01 -4.33193086e+01 -4.60477742e+00 9 -3.04103005e+01 -1.27516698e+01 -4.68988023e+01 10 -1.15488189e+01 5.41349759e+01 -5.33718984e+01 11 -2.46919762e+01 -3.50631137e+01 2.35236795e+01 12 -3.06593307e+01 3.17133813e+01 1.31772661e+01 13 -4.02448563e+00 -1.66014160e+01 -1.05600629e+02 14 1.82931223e+01 1.92528458e+01 -1.28386512e+01 15 1.04841410e+02 1.43309552e+01 1.81012101e+01 16 1.84373965e+01 8.09801111e+01 2.90038182e+01 17 -4.55956663e+01 -2.38603737e+01 1.20688486e+00 18 1.86188961e+01 2.03855352e+01 -3.27658612e+00 19 1.44268918e+01 -2.34940835e+01 2.80336974e+01 20 -1.75658811e+01 5.86520384e+00 2.01237530e+01 21 -3.07422707e+01 -3.04705621e+01 1.66937964e+01 22 5.85915371e+01 4.02421996e+01 5.18830762e+01 23 1.33230452e+01 -7.13202768e+00 2.26858902e+01 24 -1.18023616e+00 -1.21246051e+01 1.86935815e+01 25 -3.70359458e+01 -1.00455625e+01 -7.26932288e+00 26 -1.62228440e+01 5.61528462e+01 -1.81967129e+01 27 1.80884383e+01 -6.01891401e+01 4.07159778e+01 28 -6.12003605e+01 5.27700640e+01 1.93909596e+01 29 -1.34509214e+01 -1.92584185e+01 2.38756430e+01 30 2.47123479e+01 3.15523396e+01 -3.56008256e+00 31 4.24186281e+01 -1.58245587e+01 3.41563825e+01 32 2.16944123e+01 3.96198362e+01 4.27720540e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==29536== Memcheck, a memory error detector ==29536== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==29536== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==29536== Command: python runner2.py EAM_Dynamo_AdamsFoilesWolfer_1989Universal6_Pt__MO_388062184209_000 ==29536== ==29536== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==29536== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==29536== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==29536== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==29536== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==29536== by 0x4010732: call_init (dl-init.c:72) ==29536== by 0x4010732: _dl_init (dl-init.c:119) ==29536== by 0x40151FE: dl_open_worker (dl-open.c:522) ==29536== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==29536== by 0x40147C9: _dl_open (dl-open.c:605) ==29536== by 0x544CF95: dlopen_doit (dlopen.c:66) ==29536== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==29536== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==29536== by 0x544D734: _dlerror_run (dlerror.c:162) ==29536== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==29536== ==29536== ==29536== HEAP SUMMARY: ==29536== in use at exit: 5,105,449 bytes in 3,958 blocks ==29536== total heap usage: 110,772 allocs, 106,814 frees, 58,361,205 bytes allocated ==29536== ==29536== LEAK SUMMARY: ==29536== definitely lost: 0 bytes in 0 blocks ==29536== indirectly lost: 0 bytes in 0 blocks ==29536== possibly lost: 182,191 bytes in 111 blocks ==29536== still reachable: 4,923,258 bytes in 3,847 blocks ==29536== suppressed: 0 bytes in 0 blocks ==29536== Rerun with --leak-check=full to see details of leaked memory ==29536== ==29536== For counts of detected and suppressed errors, rerun with: -v ==29536== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2505 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.