!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_Ti__MO_723456820410_005 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.306960971 Forces: 1 -1.70504787e+01 -1.40303638e+01 -1.55586031e+01 2 -5.09750238e+00 9.56811644e+00 -2.56500088e+01 3 1.63583887e+01 -3.11327131e+01 7.26223423e+00 4 -3.37838094e+01 1.07224909e+01 -7.91453968e+00 5 5.42395306e+00 -2.17725635e+01 -1.68098046e+01 6 1.78928045e+01 7.05679989e+00 -2.65243141e+01 7 1.86702623e+01 -3.24818383e+01 2.48700083e+00 8 -1.33706004e+01 -6.78408094e+00 5.39669695e+00 9 -1.54456317e+01 -5.45823566e+00 -2.17883709e+01 10 -1.10734663e+01 2.02103390e+01 -2.71757328e+01 11 -1.05272761e+01 2.94271604e+00 -6.00333374e+00 12 -1.83487897e+01 2.11304197e+01 4.68635897e+00 13 9.60319680e+00 -3.96345456e-02 -2.61799622e+01 14 1.52807288e+01 1.10674725e+01 -1.31339221e+01 15 2.78139553e+01 1.15881141e+01 -3.46814367e+00 16 1.02329979e+01 2.65443604e+01 1.20567690e+01 17 -1.71978282e+01 -2.70273433e+01 4.53668940e+00 18 1.28119149e+01 -1.01057888e+01 1.30741729e+01 19 -5.33082459e+00 -1.58689986e+01 1.88109399e+01 20 -1.65633967e+01 3.94311125e+00 2.35622425e+01 21 -8.34011754e+00 -2.55524049e+01 -2.30101355e+01 22 2.76506601e+01 5.86500966e+00 -4.57734913e+00 23 2.50795230e+01 -2.57440926e+01 2.76244028e+01 24 -1.79117976e+01 1.29500500e+01 2.60489252e+01 25 -2.97458906e+01 4.36068716e+00 -2.08462768e+00 26 7.62091057e+00 2.81326621e+01 -7.10048156e+00 27 6.31350782e+00 -1.11803434e+01 3.02216109e+01 28 -1.66270687e+01 1.41771143e+01 1.64995617e+01 29 9.99606857e-01 -2.87567160e+00 3.69124378e+00 30 2.09823766e+01 1.95232739e+01 -9.58573717e+00 31 1.98199396e+01 4.91759508e+00 2.02136575e+01 32 -6.14024831e+00 1.53537407e+01 2.03925599e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==8845== Memcheck, a memory error detector ==8845== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==8845== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==8845== Command: python runner2.py EAM_Dynamo_ZhouJohnsonWadley_2004_Ti__MO_723456820410_005 ==8845== ==8845== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==8845== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==8845== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==8845== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==8845== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==8845== by 0x4010732: call_init (dl-init.c:72) ==8845== by 0x4010732: _dl_init (dl-init.c:119) ==8845== by 0x40151FE: dl_open_worker (dl-open.c:522) ==8845== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==8845== by 0x40147C9: _dl_open (dl-open.c:605) ==8845== by 0x544CF95: dlopen_doit (dlopen.c:66) ==8845== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==8845== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==8845== by 0x544D734: _dlerror_run (dlerror.c:162) ==8845== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==8845== ==8845== ==8845== HEAP SUMMARY: ==8845== in use at exit: 5,941,445 bytes in 3,961 blocks ==8845== total heap usage: 111,005 allocs, 107,044 frees, 59,408,013 bytes allocated ==8845== ==8845== LEAK SUMMARY: ==8845== definitely lost: 0 bytes in 0 blocks ==8845== indirectly lost: 0 bytes in 0 blocks ==8845== possibly lost: 181,631 bytes in 110 blocks ==8845== still reachable: 5,759,814 bytes in 3,851 blocks ==8845== suppressed: 0 bytes in 0 blocks ==8845== Rerun with --leak-check=full to see details of leaked memory ==8845== ==8845== For counts of detected and suppressed errors, rerun with: -v ==8845== 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.