!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_MishinFarkasMehl_1999_Ni__MO_400591584784_005 Supported species : Ni random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ni (Configuration in file "config-F-Ni.xyz") ----------------------------------------------------------------------------------------------------- Energy = -43.6723764275 Forces: 1 -2.87534541e+00 -2.46581605e+00 -3.25628966e+00 2 5.19690103e-01 1.15160832e+00 -2.32374480e+00 3 4.24112634e+00 -4.30834602e+00 1.97641866e-01 4 -2.99905134e+00 1.85002417e+00 1.27655968e+00 5 -2.38085622e+00 -4.65183710e+00 -3.47844113e+00 6 3.03884825e+00 4.26650449e+00 -3.85212832e+00 7 2.67722297e+00 -5.66585123e+00 1.27943145e+00 8 -2.00197707e+00 -2.33342739e+00 -1.88511545e-01 9 -4.21893491e+00 -3.43622338e+00 -6.45187750e+00 10 4.85250837e+00 6.92254525e+00 -4.33761570e+00 11 -4.58418818e-01 -5.64154329e+00 9.03087277e-01 12 -6.16244166e+00 5.87941804e+00 1.65855290e+00 13 -4.96755071e-01 -5.42556151e-01 -4.90527616e+00 14 3.09876475e+00 4.12232256e+00 -3.62082594e+00 15 6.18779265e+00 -4.86080501e+00 -4.38443016e-01 16 -3.03853775e+00 6.61782978e+00 -2.77951337e+00 17 -8.61717739e+00 -4.63047593e+00 -2.87734796e+00 18 2.27457232e+00 6.40222642e+00 -2.63843699e+00 19 2.68928886e+00 -8.03421086e+00 4.34761323e+00 20 -3.74168641e+00 6.42145461e+00 4.72808826e+00 21 -4.38774956e+00 -5.80662409e+00 -1.93230536e+00 22 7.19163555e+00 6.92345827e+00 1.65035707e+00 23 2.54733791e+00 -8.21292506e-01 5.04409263e+00 24 2.54028640e+00 3.37241905e+00 3.65886712e+00 25 -4.77729603e+00 -3.98606037e+00 -8.64679117e-01 26 -9.59926495e-01 6.73631387e+00 -2.54536224e+00 27 2.63430525e+00 -6.88665154e+00 5.09836592e+00 28 -6.17707841e+00 4.69558133e+00 5.44963633e+00 29 -2.07884251e+00 -7.12150319e+00 3.80598002e+00 30 5.69064744e+00 4.88540107e+00 -2.64512513e-02 31 2.29742117e+00 -3.29639939e+00 3.24706933e+00 32 2.89062674e+00 4.24251628e+00 4.17190699e+00 MONOATOMIC STRUCTURE (pbc=True)-- Species = Ni (Configuration in file "config-T-Ni.xyz") ----------------------------------------------------------------------------------------------------- Energy = -58.8669289367 Forces: 1 2.51132879e+00 2.32844912e-01 3.91021928e-01 2 -2.34246240e+00 9.24114772e-01 7.64846097e+00 3 1.39530303e+00 4.57956972e+00 1.31715853e+00 4 4.22970860e+00 3.02228387e+00 -9.22475128e-02 5 -5.03538285e-01 -1.69995544e+00 -2.44956497e+00 6 6.02055615e-01 4.84073085e+00 -3.16572133e+00 7 -5.39662859e+00 -3.78605617e+00 -9.14383936e-02 8 -1.29745577e+00 -2.62983813e+00 -3.77294612e-01 9 -2.86233772e+00 -4.30924557e+00 -5.20065465e+00 10 4.14464566e+00 5.11231226e+00 2.89674420e-01 11 -1.47883699e+00 -4.95086646e+00 -7.35590372e-01 12 -3.10633944e+00 2.73552068e+00 -4.11101451e-01 13 4.34929318e-03 -6.44850783e-01 -2.42844311e-01 14 1.02839358e+00 2.08060167e+00 4.85830322e-01 15 1.11071387e+00 -3.92584343e+00 -1.83925825e+00 16 -1.74514690e+00 8.76861825e-01 -2.26762940e+00 17 -3.09871344e+00 -1.74009755e+00 -2.27225351e+00 18 1.65495839e+00 5.67139895e+00 -2.12081645e+00 19 2.42572691e+00 -5.80481391e+00 2.06071823e+00 20 -7.13920722e-01 8.41074498e+00 8.91769491e-01 21 -4.55493951e+00 -1.96832364e+00 -5.55162067e-01 22 4.92868277e+00 5.61494011e+00 2.96783944e-01 23 -3.16266114e+00 -2.83902823e+00 3.05731693e+00 24 6.18654896e+00 6.87113848e+00 -6.29143473e+00 25 -7.87651493e-01 -4.35875614e+00 -8.60532477e-02 26 -4.42566333e-01 3.07113105e-01 -7.04508297e-01 27 6.78440732e-01 -7.71671353e+00 1.13265071e+00 28 -6.76627452e+00 2.23087429e+00 4.06530344e+00 29 -1.47622490e+00 -6.66875458e+00 4.24419390e+00 30 3.00441108e+00 -3.77383295e-01 1.30706859e+00 31 6.15844517e-01 -3.77033310e+00 3.07482059e+00 32 5.21458636e+00 3.67980947e+00 -1.35919844e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==4558== Memcheck, a memory error detector ==4558== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==4558== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==4558== Command: python runner2.py EAM_Dynamo_MishinFarkasMehl_1999_Ni__MO_400591584784_005 ==4558== ==4558== Syscall param sched_getaffinity(mask) points to unaddressable byte(s) ==4558== at 0x4F3FF2F: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36) ==4558== by 0x705438B: get_num_procs (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==4558== by 0x705447C: blas_get_cpu_number (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==4558== by 0x6E2C077: gotoblas_init (in /usr/local/lib/python2.7/dist-packages/numpy/.libs/libopenblasp-r0-8dca6697.3.0.dev.so) ==4558== by 0x4010732: call_init (dl-init.c:72) ==4558== by 0x4010732: _dl_init (dl-init.c:119) ==4558== by 0x40151FE: dl_open_worker (dl-open.c:522) ==4558== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==4558== by 0x40147C9: _dl_open (dl-open.c:605) ==4558== by 0x544CF95: dlopen_doit (dlopen.c:66) ==4558== by 0x4FA32DE: _dl_catch_exception (dl-error-skeleton.c:196) ==4558== by 0x4FA336E: _dl_catch_error (dl-error-skeleton.c:215) ==4558== by 0x544D734: _dlerror_run (dlerror.c:162) ==4558== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==4558== ==4558== ==4558== HEAP SUMMARY: ==4558== in use at exit: 9,976,351 bytes in 3,961 blocks ==4558== total heap usage: 114,082 allocs, 110,121 frees, 63,883,911 bytes allocated ==4558== ==4558== LEAK SUMMARY: ==4558== definitely lost: 0 bytes in 0 blocks ==4558== indirectly lost: 0 bytes in 0 blocks ==4558== possibly lost: 182,191 bytes in 111 blocks ==4558== still reachable: 9,794,160 bytes in 3,850 blocks ==4558== suppressed: 0 bytes in 0 blocks ==4558== Rerun with --leak-check=full to see details of leaked memory ==4558== ==4558== For counts of detected and suppressed errors, rerun with: -v ==4558== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2503 from 170) ================================================================================ 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.