!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Sr__MO_801083489225_002 Supported species : Sr random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Sr (Configuration in file "config-F-Sr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 1007.36107681 Forces: 1 -2.28659849e+01 -2.99088274e+01 -3.46765507e+01 2 -3.88621887e+00 1.49078307e+00 -4.03708772e+01 3 1.26557501e+00 -4.61738458e+01 -1.03497824e+01 4 -3.83450677e+01 1.50905522e+01 6.94153263e+00 5 5.33821573e+00 -3.99466463e+01 -2.73788351e+01 6 2.89709603e+01 -7.94406808e-01 -3.50274650e+01 7 3.18133187e+01 -4.73840540e+01 -2.79893784e+01 8 -1.08093097e+01 -1.83831325e+01 -1.16663112e+01 9 -2.59205053e+01 -8.70481868e-01 -3.75305872e+01 10 -1.12185592e+01 4.13652145e+01 -5.18908926e+01 11 -1.83407465e+01 -2.59636319e+01 -8.30689347e+00 12 -4.16666700e+01 3.34454381e+01 -5.90667557e+00 13 1.06857781e+01 -7.27933863e+00 -6.19197334e+01 14 2.57192447e+01 2.44611365e+01 -2.18397385e+01 15 6.25775370e+01 6.79287707e+00 -1.76039002e+01 16 2.26570689e+01 5.88525205e+01 -2.34367672e+00 17 -4.08148970e+01 -2.67870416e+01 4.92623726e+00 18 -2.32069004e+00 8.87684842e+00 9.86924591e+00 19 3.15764907e+00 -3.77376865e+01 3.38793668e+01 20 -2.72660832e+01 7.97092307e+00 2.68436608e+01 21 -1.15918899e+01 -4.92569506e+01 1.83662255e+01 22 5.76933841e+01 1.46271434e+01 1.95411462e+01 23 2.54063334e+01 -1.47693823e+01 3.40658771e+01 24 1.85015081e+00 -5.52321341e-01 3.84035836e+01 25 -5.40048529e+01 -5.87082253e+00 1.33368948e+01 26 -1.17975368e+01 5.64196533e+01 2.26216409e+01 27 -1.52844084e+00 -2.12102055e+01 3.57289310e+01 28 -3.84169842e+01 3.24258634e+01 2.18663979e+01 29 -4.03442446e+00 -4.94657088e+00 2.25384608e+01 30 3.91363174e+01 4.47448515e+01 1.12258693e+00 31 4.21318342e+01 -5.82096390e+00 4.52463496e+01 32 6.42549406e+00 3.70925052e+01 3.95031599e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Sr (Configuration in file "config-T-Sr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 1435.05693184 Forces: 1 2.37599000e+01 -1.59146678e+01 -2.45387170e+00 2 -1.04843267e+01 9.00763549e+00 1.14913345e+01 3 1.87805376e+00 1.29843438e+01 -4.01639210e+00 4 2.19822209e+01 2.97738650e+01 5.54522458e+00 5 8.89052493e+00 1.29976889e+00 -4.13036091e+00 6 -2.65986776e+01 3.28561455e+01 4.97012644e+00 7 -1.22280650e+01 -2.31736431e+01 -2.01129902e+01 8 -2.06865689e+01 -1.27719694e+01 -5.07786700e+00 9 -1.57544991e+01 -1.48451727e+01 8.37760221e+00 10 -1.13151182e+01 5.81590914e+00 -1.72152277e+01 11 -1.17979087e+01 -3.36264140e+01 -3.64165413e+00 12 -1.40983717e+00 -4.94600630e+00 9.61029136e+00 13 8.47777059e+00 -1.78527678e+01 -2.55741886e+01 14 -1.47471034e+01 -4.77202323e+00 -1.20504881e+01 15 2.90068777e+01 1.54440371e+00 -1.10271339e+01 16 2.54520603e+01 1.67515821e+01 5.72164472e+00 17 1.35967550e+01 -1.20882671e+01 1.16039574e+00 18 4.14290319e+00 2.33099136e+01 4.83406078e+00 19 1.06452419e+01 1.24166878e+00 5.48579482e+00 20 1.61137195e+01 3.29310334e+01 -1.28337807e+01 21 -2.81106134e+01 -7.26636437e+00 1.57595324e+01 22 4.63299548e+00 3.84278537e+01 2.29600639e+01 23 -1.99306383e+01 -2.10508561e+01 -1.09098272e+01 24 1.10610358e+01 1.11735256e+01 -1.83750534e+01 25 -1.38219062e+01 -2.05116960e+01 1.04185525e+01 26 -2.01681108e+00 8.86311079e+00 2.13020006e+01 27 1.23729301e+01 -2.83318377e+01 -1.41173879e+01 28 -2.02919803e+01 8.15532775e+00 -3.00357654e+00 29 -1.22006676e+01 -1.27826137e+01 1.88915366e+01 30 4.67747674e+00 2.24740106e+00 -2.24398643e-01 31 1.47178473e+01 -1.78035008e+01 1.96431317e+01 32 9.98640855e+00 1.13543120e+01 -1.40709411e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==20748== Memcheck, a memory error detector ==20748== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==20748== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==20748== Command: python runner2.py Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Sr__MO_801083489225_002 ==20748== ==20748== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==20748== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==20748== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==20748== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==20748== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==20748== by 0x4010732: call_init (dl-init.c:72) ==20748== by 0x4010732: _dl_init (dl-init.c:119) ==20748== by 0x40151FE: dl_open_worker (dl-open.c:522) ==20748== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==20748== by 0x40147C9: _dl_open (dl-open.c:605) ==20748== by 0x544CF95: dlopen_doit (dlopen.c:66) ==20748== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==20748== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==20748== by 0x544D734: _dlerror_run (dlerror.c:162) ==20748== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==20748== ==20748== ==20748== HEAP SUMMARY: ==20748== in use at exit: 5,049,734 bytes in 3,907 blocks ==20748== total heap usage: 134,770 allocs, 130,863 frees, 60,225,533 bytes allocated ==20748== ==20748== LEAK SUMMARY: ==20748== definitely lost: 0 bytes in 0 blocks ==20748== indirectly lost: 0 bytes in 0 blocks ==20748== possibly lost: 182,191 bytes in 111 blocks ==20748== still reachable: 4,867,543 bytes in 3,796 blocks ==20748== suppressed: 0 bytes in 0 blocks ==20748== Rerun with --leak-check=full to see details of leaked memory ==20748== ==20748== For counts of detected and suppressed errors, rerun with: -v ==20748== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2511 from 173) ================================================================================ 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.