!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_Mo__MO_271256517527_005 Supported species : Mo random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Mo (Configuration in file "config-F-Mo.xyz") ----------------------------------------------------------------------------------------------------- Energy = 183.581304526 Forces: 1 -1.01693475e+01 -1.97968503e+01 -2.07434201e+01 2 -2.02931963e+01 3.25542718e+01 -2.72139080e+01 3 -3.45496700e+00 -2.96883684e+01 -2.98447146e+00 4 -1.59494937e+01 9.26157016e+00 1.06583823e+01 5 2.97680031e+01 -4.53902228e+01 -9.64316145e+00 6 1.09081078e+01 3.39444269e+00 -1.74544699e+01 7 1.63221004e+01 -6.55356734e+01 -5.95807007e+01 8 -2.04710995e+01 -2.17160222e+01 -1.04899813e+01 9 -2.39137548e+01 -3.47776668e+01 -5.76915359e+01 10 -2.68762959e+00 4.83480651e+01 -4.96893970e+01 11 -9.45500974e+00 -3.56358092e+01 2.10897013e+01 12 -3.58223272e+01 4.80154177e+01 2.65540831e+01 13 -1.03372245e+01 -2.70622697e+01 -9.57545954e+01 14 1.92589220e+01 2.30206849e+01 -1.60737884e+01 15 8.60781921e+01 -9.90171766e+00 2.12931586e+01 16 1.08640201e+01 6.97574408e+01 3.17999887e+01 17 -2.71136505e+01 -1.28462541e+01 -9.94395958e+00 18 -1.43843318e+01 2.00449025e+01 1.40743681e+01 19 1.28353644e+01 -2.31644483e+01 1.88876484e+01 20 -1.24756292e+01 1.73577048e+01 1.42513835e+01 21 -2.21219600e+01 -2.98879243e+01 2.00887250e+01 22 4.67819871e+01 4.96627556e+01 4.65788593e+01 23 9.51340255e+00 -4.78895882e+00 1.71065794e+01 24 5.60142157e+00 1.56058392e+00 1.56553800e+01 25 -2.56101997e+01 -8.90567513e+00 1.89592672e+01 26 -1.63321188e+01 4.33759395e+01 -2.07969134e+01 27 2.03000446e+01 -6.95123972e+01 2.47859581e+01 28 -5.99230581e+01 4.89959717e+01 1.02498772e+01 29 -1.50253709e+01 -2.20878942e+01 1.68489742e+01 30 2.20823269e+01 3.26625708e+01 2.15738118e+00 31 3.55385428e+01 -2.18773952e+01 3.01410564e+01 32 1.96879333e+01 3.45632258e+01 3.68795309e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==8551== Memcheck, a memory error detector ==8551== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8551== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==8551== Command: python runner2.py EAM_Dynamo_ZhouJohnsonWadley_2004_Mo__MO_271256517527_005 ==8551== ==8551== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==8551== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==8551== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==8551== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==8551== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==8551== by 0x4010732: call_init (dl-init.c:72) ==8551== by 0x4010732: _dl_init (dl-init.c:119) ==8551== by 0x40151FE: dl_open_worker (dl-open.c:522) ==8551== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==8551== by 0x40147C9: _dl_open (dl-open.c:605) ==8551== by 0x544CF95: dlopen_doit (dlopen.c:66) ==8551== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==8551== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==8551== by 0x544D734: _dlerror_run (dlerror.c:162) ==8551== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==8551== ==8551== ==8551== HEAP SUMMARY: ==8551== in use at exit: 5,901,941 bytes in 3,957 blocks ==8551== total heap usage: 110,779 allocs, 106,822 frees, 59,268,823 bytes allocated ==8551== ==8551== LEAK SUMMARY: ==8551== definitely lost: 0 bytes in 0 blocks ==8551== indirectly lost: 0 bytes in 0 blocks ==8551== possibly lost: 182,191 bytes in 111 blocks ==8551== still reachable: 5,719,750 bytes in 3,846 blocks ==8551== suppressed: 0 bytes in 0 blocks ==8551== Rerun with --leak-check=full to see details of leaked memory ==8551== ==8551== For counts of detected and suppressed errors, rerun with: -v ==8551== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2515 from 176) ================================================================================ 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.