!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_1959HighCutoff_K__MO_836927321152_002 Supported species : K random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = K (Configuration in file "config-F-K.xyz") ----------------------------------------------------------------------------------------------------- Energy = 407.108539386 Forces: 1 -7.84727396e+00 -7.59357703e+00 -8.43699404e+00 2 -1.87296321e+00 -2.93640390e+00 -1.39296972e+01 3 -1.57294489e+00 -1.33990473e+01 -3.02691462e+00 4 -1.35786043e+01 -6.00657882e-01 -1.75946628e+00 5 2.00665082e+00 -1.20452991e+01 -9.51913630e+00 6 9.92392462e+00 -2.59603569e+00 -1.10908099e+01 7 1.01015543e+01 -1.31142234e+01 -5.06955914e+00 8 2.15437274e+00 -5.12961683e+00 -3.50767413e+00 9 -9.20582130e+00 2.10911946e+00 -1.26556542e+01 10 -3.95057879e+00 1.25266267e+01 -1.25411318e+01 11 -5.56649301e+00 7.39691982e-01 -2.97462719e+00 12 -1.15647914e+01 1.05795524e+01 -2.38675924e+00 13 3.50089362e+00 5.46431009e-01 -1.69574973e+01 14 9.20864944e+00 8.64726612e+00 -8.00849728e+00 15 1.64031061e+01 2.75974163e+00 -2.01238371e+00 16 2.42853800e+00 1.63686013e+01 -5.32801645e-01 17 -1.15820872e+01 -9.18525369e+00 2.62874720e+00 18 -4.43466162e+00 -2.30241859e+00 3.81673530e+00 19 -2.39173440e+00 -1.15958418e+01 9.96725609e+00 20 -9.30825518e+00 -1.39857458e+00 9.46905512e+00 21 2.15954027e+00 -1.37666414e+01 3.51402375e+00 22 1.58032985e+01 -1.03742738e+00 4.36637637e+00 23 7.87212270e+00 -5.77989204e+00 8.87504287e+00 24 1.73188952e+00 -1.54228529e+00 1.42941322e+01 25 -1.37978344e+01 1.86405098e+00 2.93855058e+00 26 -1.97069958e+00 1.51981598e+01 1.27379886e+00 27 -3.20207082e+00 -1.30272518e+00 1.31409319e+01 28 -1.08152721e+01 8.61522387e+00 7.84600337e+00 29 2.60527958e+00 2.14511358e+00 6.26692623e+00 30 1.09532386e+01 1.11456816e+01 2.97642399e+00 31 1.15309481e+01 1.67756998e+00 1.10623698e+01 32 4.27807929e+00 1.04030907e+01 1.19732304e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = K (Configuration in file "config-T-K.xyz") ----------------------------------------------------------------------------------------------------- Energy = 384.306829556 Forces: 1 2.77928452e+00 -1.78556192e+00 1.98335027e-01 2 -1.84870741e+00 1.02249496e+00 1.33599828e+00 3 1.56777132e+00 1.92624980e+00 8.34728220e-03 4 2.95980246e+00 2.94421164e+00 2.80461111e-01 5 7.52830587e-01 8.51672440e-01 -5.57280295e-01 6 -2.28261111e+00 4.17999059e+00 -7.73122057e-01 7 -2.13115331e+00 -3.16107954e+00 -2.22970219e+00 8 -2.92203500e+00 -2.35555408e+00 -1.89805327e-01 9 -2.73147052e+00 -2.13752282e+00 -3.93992607e-01 10 -2.49354410e+00 1.49511839e+00 -1.51093573e+00 11 -2.14851455e+00 -3.00932916e+00 1.18870970e+00 12 1.68810976e-01 -7.63749904e-01 5.05731381e-01 13 7.95282231e-01 -2.99424654e+00 -5.30948953e+00 14 -1.89642849e-01 -2.49166269e-01 -3.28321045e+00 15 4.26191121e+00 -3.97989946e-01 1.10754206e+00 16 1.23183217e+00 3.05308639e+00 3.71452768e+00 17 2.57108754e+00 -1.98191278e+00 1.75166814e+00 18 -4.82863110e-02 2.31639088e+00 2.81335457e-01 19 -5.80520265e-01 1.34459026e+00 5.56946244e-01 20 3.18484542e+00 4.75612016e+00 -2.09140259e+00 21 -7.08661341e-01 -3.12432513e-01 8.63007793e-01 22 -2.20177881e-01 5.50098878e+00 4.50376369e+00 23 -3.61016482e+00 -3.39228512e+00 -1.68106129e+00 24 1.59297183e+00 1.96811881e+00 -2.45363893e+00 25 -1.43512217e+00 -2.94717249e+00 1.35197660e+00 26 1.58673149e-01 1.38629607e-01 -1.96121913e+00 27 7.84411973e-01 -5.30022532e+00 -1.37128361e+00 28 -4.44603443e+00 1.44972517e+00 -4.54986012e-01 29 -6.83696319e-01 -6.06676087e-01 3.57670623e+00 30 -5.74082777e-01 -3.82897860e-01 2.28560964e+00 31 2.25666833e+00 -1.61041185e+00 1.21832446e+00 32 3.98824145e+00 4.40826313e-01 -4.67861038e-01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==17285== Memcheck, a memory error detector ==17285== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==17285== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==17285== Command: python runner2.py Morse_Shifted_GirifalcoWeizer_1959HighCutoff_K__MO_836927321152_002 ==17285== ==17285== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==17285== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==17285== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==17285== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==17285== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==17285== by 0x4010732: call_init (dl-init.c:72) ==17285== by 0x4010732: _dl_init (dl-init.c:119) ==17285== by 0x40151FE: dl_open_worker (dl-open.c:522) ==17285== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==17285== by 0x40147C9: _dl_open (dl-open.c:605) ==17285== by 0x544CF95: dlopen_doit (dlopen.c:66) ==17285== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==17285== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==17285== by 0x544D734: _dlerror_run (dlerror.c:162) ==17285== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==17285== ==17285== ==17285== HEAP SUMMARY: ==17285== in use at exit: 10,135,118 bytes in 3,908 blocks ==17285== total heap usage: 302,534 allocs, 298,626 frees, 83,257,154 bytes allocated ==17285== ==17285== LEAK SUMMARY: ==17285== definitely lost: 0 bytes in 0 blocks ==17285== indirectly lost: 0 bytes in 0 blocks ==17285== possibly lost: 182,191 bytes in 111 blocks ==17285== still reachable: 9,952,927 bytes in 3,797 blocks ==17285== suppressed: 0 bytes in 0 blocks ==17285== Rerun with --leak-check=full to see details of leaked memory ==17285== ==17285== For counts of detected and suppressed errors, rerun with: -v ==17285== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2505 from 174) ================================================================================ 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.