p3m/chkMemLeak$ valgrind --leak-check=full mpirun -np 2 glmp-unstable-gcc7 -nc -sc none -l log.lammps -sf gpu -pk gpu 1 -in in.emdCombo >> memCheckOutput.txt ==3870== Memcheck, a memory error detector ==3870== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==3870== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==3870== Command: mpirun -np 2 glmp-unstable-gcc7 -nc -sc none -l log.lammps -sf gpu -pk gpu 1 -in in.emdCombo ==3870== ==3870== Warning: noted but unhandled ioctl 0x5441 with no size/direction hints. ==3870== This could cause spurious value errors to appear. ==3870== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==3874== Warning: invalid file descriptor 1024 in syscall close() ==3874== Warning: invalid file descriptor 1025 in syscall close() ==3874== Warning: invalid file descriptor 1026 in syscall close() ==3874== Warning: invalid file descriptor 1027 in syscall close() ==3874== Use --log-fd= to select an alternative log fd. ==3874== Warning: invalid file descriptor 1028 in syscall close() ==3874== Warning: invalid file descriptor 1029 in syscall close() ==3874== Warning: invalid file descriptor 1030 in syscall close() ==3875== Warning: invalid file descriptor 1024 in syscall close() ==3875== Warning: invalid file descriptor 1025 in syscall close() ==3875== Warning: invalid file descriptor 1026 in syscall close() ==3875== Warning: invalid file descriptor 1027 in syscall close() ==3875== Use --log-fd= to select an alternative log fd. ==3875== Warning: invalid file descriptor 1028 in syscall close() ==3875== Warning: invalid file descriptor 1029 in syscall close() ==3875== Warning: invalid file descriptor 1030 in syscall close() ==3870== ==3870== HEAP SUMMARY: ==3870== in use at exit: 9,193 bytes in 51 blocks ==3870== total heap usage: 26,923 allocs, 26,872 frees, 6,608,916 bytes allocated ==3870== ==3870== 5 bytes in 1 blocks are definitely lost in loss record 1 of 42 ==3870== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==3870== by 0x54ABAF9: strdup (strdup.c:42) ==3870== by 0x8AE7DAF: ??? ==3870== by 0x8A6F9FA: ??? ==3870== by 0x4E87566: pmix_server_init (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x7E1849B: ??? ==3870== by 0x4ED0000: orte_init (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x4E81A43: orte_submit_init (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x108F0E: orterun (in /usr/local/bin/orterun) ==3870== by 0x542FBF6: (below main) (libc-start.c:310) ==3870== ==3870== 136 bytes in 1 blocks are definitely lost in loss record 29 of 42 ==3870== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==3870== by 0x4EC1879: orte_rmaps_base_print_mapping (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x4E89CA4: orte_pmix_server_register_nspace (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x4EA5246: orte_odls_base_default_construct_child_list (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0xEAA5631: ??? ==3870== by 0x4E79236: orte_daemon_recv (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x4EC525A: orte_rml_base_process_msg (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x517AFB8: event_process_active_single_queue (event.c:1370) ==3870== by 0x517AFB8: event_process_active (event.c:1440) ==3870== by 0x517AFB8: opal_libevent2022_event_base_loop (event.c:1644) ==3870== by 0x108FE1: orterun (in /usr/local/bin/orterun) ==3870== by 0x542FBF6: (below main) (libc-start.c:310) ==3870== ==3870== 580 (64 direct, 516 indirect) bytes in 1 blocks are definitely lost in loss record 37 of 42 ==3870== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==3870== by 0xECAA14F: ??? ==3870== by 0x4EC7DD1: orte_rtc_base_assign (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x4EA5375: orte_odls_base_default_construct_child_list (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0xEAA5631: ??? ==3870== by 0x4E79236: orte_daemon_recv (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x4EC525A: orte_rml_base_process_msg (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x517AFB8: event_process_active_single_queue (event.c:1370) ==3870== by 0x517AFB8: event_process_active (event.c:1440) ==3870== by 0x517AFB8: opal_libevent2022_event_base_loop (event.c:1644) ==3870== by 0x108FE1: orterun (in /usr/local/bin/orterun) ==3870== by 0x542FBF6: (below main) (libc-start.c:310) ==3870== ==3870== 618 (144 direct, 474 indirect) bytes in 3 blocks are definitely lost in loss record 38 of 42 ==3870== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==3870== by 0x8AEF5CC: ??? ==3870== by 0x8AF6366: ??? ==3870== by 0x8AE9B0A: ??? ==3870== by 0x8AEA851: ??? ==3870== by 0x8B6975D: ??? ==3870== by 0x517AFB8: event_process_active_single_queue (event.c:1370) ==3870== by 0x517AFB8: event_process_active (event.c:1440) ==3870== by 0x517AFB8: opal_libevent2022_event_base_loop (event.c:1644) ==3870== by 0x8B07F1D: ??? ==3870== by 0x5A236DA: start_thread (pthread_create.c:463) ==3870== by 0x552F71E: clone (clone.S:95) ==3870== ==3870== 1,212 (640 direct, 572 indirect) bytes in 1 blocks are definitely lost in loss record 39 of 42 ==3870== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==3870== by 0x8AD7511: ??? ==3870== by 0x8AE7AA1: ??? ==3870== by 0x8A6F9FA: ??? ==3870== by 0x4E87566: pmix_server_init (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x7E1849B: ??? ==3870== by 0x4ED0000: orte_init (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x4E81A43: orte_submit_init (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x108F0E: orterun (in /usr/local/bin/orterun) ==3870== by 0x542FBF6: (below main) (libc-start.c:310) ==3870== ==3870== 1,864 (336 direct, 1,528 indirect) bytes in 2 blocks are definitely lost in loss record 40 of 42 ==3870== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==3870== by 0x4EBECE0: orte_rmaps_base_setup_proc (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x7809AFC: ??? ==3870== by 0x78088C2: ??? ==3870== by 0x4EBCA99: orte_rmaps_base_map_job (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x517AFB8: event_process_active_single_queue (event.c:1370) ==3870== by 0x517AFB8: event_process_active (event.c:1440) ==3870== by 0x517AFB8: opal_libevent2022_event_base_loop (event.c:1644) ==3870== by 0x108FE1: orterun (in /usr/local/bin/orterun) ==3870== by 0x542FBF6: (below main) (libc-start.c:310) ==3870== ==3870== 2,048 bytes in 1 blocks are definitely lost in loss record 41 of 42 ==3870== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==3870== by 0x513232E: opal_dss_buffer_extend (in /usr/local/lib/libopen-pal.so.40.20.6) ==3870== by 0x5134411: opal_dss_pack_int32 (in /usr/local/lib/libopen-pal.so.40.20.6) ==3870== by 0x5134496: opal_dss_pack (in /usr/local/lib/libopen-pal.so.40.20.6) ==3870== by 0x4E8AD59: orte_pmix_server_register_nspace (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x4EA5246: orte_odls_base_default_construct_child_list (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0xEAA5631: ??? ==3870== by 0x4E79236: orte_daemon_recv (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x4EC525A: orte_rml_base_process_msg (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x517AFB8: event_process_active_single_queue (event.c:1370) ==3870== by 0x517AFB8: event_process_active (event.c:1440) ==3870== by 0x517AFB8: opal_libevent2022_event_base_loop (event.c:1644) ==3870== by 0x108FE1: orterun (in /usr/local/bin/orterun) ==3870== by 0x542FBF6: (below main) (libc-start.c:310) ==3870== ==3870== 2,048 bytes in 1 blocks are definitely lost in loss record 42 of 42 ==3870== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==3870== by 0x513232E: opal_dss_buffer_extend (in /usr/local/lib/libopen-pal.so.40.20.6) ==3870== by 0x5134411: opal_dss_pack_int32 (in /usr/local/lib/libopen-pal.so.40.20.6) ==3870== by 0x5134496: opal_dss_pack (in /usr/local/lib/libopen-pal.so.40.20.6) ==3870== by 0x4E8AE12: orte_pmix_server_register_nspace (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x4EA5246: orte_odls_base_default_construct_child_list (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0xEAA5631: ??? ==3870== by 0x4E79236: orte_daemon_recv (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x4EC525A: orte_rml_base_process_msg (in /usr/local/lib/libopen-rte.so.40.20.6) ==3870== by 0x517AFB8: event_process_active_single_queue (event.c:1370) ==3870== by 0x517AFB8: event_process_active (event.c:1440) ==3870== by 0x517AFB8: opal_libevent2022_event_base_loop (event.c:1644) ==3870== by 0x108FE1: orterun (in /usr/local/bin/orterun) ==3870== by 0x542FBF6: (below main) (libc-start.c:310) ==3870== ==3870== LEAK SUMMARY: ==3870== definitely lost: 5,421 bytes in 11 blocks ==3870== indirectly lost: 3,090 bytes in 26 blocks ==3870== possibly lost: 0 bytes in 0 blocks ==3870== still reachable: 682 bytes in 14 blocks ==3870== suppressed: 0 bytes in 0 blocks ==3870== Reachable blocks (those to which a pointer was found) are not shown. ==3870== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==3870== ==3870== For counts of detected and suppressed errors, rerun with: -v ==3870== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)