The attached simple test program (when compiled in debug mode with gfortran and 
mpich) throws a lot of valgrind errors on the call to PetscViewerAsciiOpen, as 
well as the call to MPI_Comm_split.

I can’t figure out if it is a problem in the code, or a bug somewhere else.

Any advice is appreciated.

Thanks

Randy M.


Attachment: cmd_test
Description: Binary data

Attachment: makefile
Description: Binary data

Attachment: test.F90
Description: Binary data

==8828== 12 bytes in 1 blocks are definitely lost in loss record 2 of 21
==8828==    at 0x4C2D110: memalign (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8828==    by 0x4FB45CA: PetscMallocAlign (mal.c:41)
==8828==    by 0x4FB5E44: PetscMallocA (mal.c:397)
==8828==    by 0x4F2BB05: PetscCommDuplicate (tagm.c:143)
==8828==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8828==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8828==    by 0x401988: MAIN__ (test.F90:60)
==8828==    by 0x401BBE: main (test.F90:4)
==8828== 
==8828== 16 bytes in 1 blocks are definitely lost in loss record 3 of 21
==8828==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8828==    by 0x8B6A6E4: MPIR_Find_local_and_external (local_proc.c:92)
==8828==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8828==    by 0x8A5980D: MPIR_Comm_split_impl (comm_split.c:380)
==8828==    by 0x8A59C52: PMPI_Comm_split (comm_split.c:478)
==8828==    by 0x721ECA0: MPI_COMM_SPLIT (comm_splitf.c:269)
==8828==    by 0x401387: MAIN__ (test.F90:44)
==8828==    by 0x401BBE: main (test.F90:4)
==8828== 
==8828== 16 bytes in 1 blocks are definitely lost in loss record 4 of 21
==8828==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8828==    by 0x8B6A7C0: MPIR_Find_local_and_external (local_proc.c:93)
==8828==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8828==    by 0x8A5980D: MPIR_Comm_split_impl (comm_split.c:380)
==8828==    by 0x8A59C52: PMPI_Comm_split (comm_split.c:478)
==8828==    by 0x721ECA0: MPI_COMM_SPLIT (comm_splitf.c:269)
==8828==    by 0x401387: MAIN__ (test.F90:44)
==8828==    by 0x401BBE: main (test.F90:4)
==8828== 
==8828== 16 bytes in 1 blocks are definitely lost in loss record 5 of 21
==8828==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8828==    by 0x8B6A6E4: MPIR_Find_local_and_external (local_proc.c:92)
==8828==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8828==    by 0x8B4B1FF: MPII_Comm_copy (commutil.c:822)
==8828==    by 0x8A50656: MPIR_Comm_dup_impl (comm_dup.c:56)
==8828==    by 0x8A50AC7: PMPI_Comm_dup (comm_dup.c:161)
==8828==    by 0x4F2B9CE: PetscCommDuplicate (tagm.c:140)
==8828==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8828==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8828==    by 0x401988: MAIN__ (test.F90:60)
==8828==    by 0x401BBE: main (test.F90:4)
==8828== 
==8828== 16 bytes in 1 blocks are definitely lost in loss record 6 of 21
==8828==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8828==    by 0x8B6A7C0: MPIR_Find_local_and_external (local_proc.c:93)
==8828==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8828==    by 0x8B4B1FF: MPII_Comm_copy (commutil.c:822)
==8828==    by 0x8A50656: MPIR_Comm_dup_impl (comm_dup.c:56)
==8828==    by 0x8A50AC7: PMPI_Comm_dup (comm_dup.c:161)
==8828==    by 0x4F2B9CE: PetscCommDuplicate (tagm.c:140)
==8828==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8828==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8828==    by 0x401988: MAIN__ (test.F90:60)
==8828==    by 0x401BBE: main (test.F90:4)
==8828== 
==8828== 16 bytes in 1 blocks are definitely lost in loss record 7 of 21
==8828==    at 0x4C2D110: memalign (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8828==    by 0x4FB45CA: PetscMallocAlign (mal.c:41)
==8828==    by 0x4FB5E44: PetscMallocA (mal.c:397)
==8828==    by 0x506A4FC: PetscViewerASCIIOpen (vcreatea.c:266)
==8828==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8828==    by 0x401988: MAIN__ (test.F90:60)
==8828==    by 0x401BBE: main (test.F90:4)
==8828== 
==8828== 368 bytes in 1 blocks are definitely lost in loss record 20 of 21
==8828==    at 0x4C2CC70: calloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8828==    by 0x8B49B17: init_default_collops (commutil.c:263)
==8828==    by 0x8B4A0D2: set_collops (commutil.c:390)
==8828==    by 0x8B4A6F4: MPIR_Comm_commit (commutil.c:544)
==8828==    by 0x8BF1542: MPID_Init (mpid_init.c:244)
==8828==    by 0x8A9FD7A: MPIR_Init_thread (initthread.c:504)
==8828==    by 0x8A9EE06: PMPI_Init (init.c:178)
==8828==    by 0x72618D5: PMPI_INIT (initf.c:275)
==8828==    by 0x4F7EFD8: petscinitialize_internal (zstart.c:317)
==8828==    by 0x4F7F997: petscinitialize_ (zstart.c:504)
==8828==    by 0x40104D: MAIN__ (test.F90:20)
==8828==    by 0x401BBE: main (test.F90:4)
==8828== 
==8827== 12 bytes in 1 blocks are definitely lost in loss record 2 of 22
==8827==    at 0x4C2D110: memalign (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8827==    by 0x4FB45CA: PetscMallocAlign (mal.c:41)
==8827==    by 0x4FB5E44: PetscMallocA (mal.c:397)
==8827==    by 0x4F2BB05: PetscCommDuplicate (tagm.c:143)
==8827==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8827==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8827==    by 0x401988: MAIN__ (test.F90:60)
==8827==    by 0x401BBE: main (test.F90:4)
==8827== 
==8827== 16 bytes in 1 blocks are definitely lost in loss record 3 of 22
==8827==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8827==    by 0x8B6A6E4: MPIR_Find_local_and_external (local_proc.c:92)
==8827==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8827==    by 0x8A5980D: MPIR_Comm_split_impl (comm_split.c:380)
==8827==    by 0x8A59C52: PMPI_Comm_split (comm_split.c:478)
==8827==    by 0x721ECA0: MPI_COMM_SPLIT (comm_splitf.c:269)
==8827==    by 0x401387: MAIN__ (test.F90:44)
==8827==    by 0x401BBE: main (test.F90:4)
==8827== 
==8827== 16 bytes in 1 blocks are definitely lost in loss record 4 of 22
==8827==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8827==    by 0x8B6A7C0: MPIR_Find_local_and_external (local_proc.c:93)
==8827==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8827==    by 0x8A5980D: MPIR_Comm_split_impl (comm_split.c:380)
==8827==    by 0x8A59C52: PMPI_Comm_split (comm_split.c:478)
==8827==    by 0x721ECA0: MPI_COMM_SPLIT (comm_splitf.c:269)
==8827==    by 0x401387: MAIN__ (test.F90:44)
==8827==    by 0x401BBE: main (test.F90:4)
==8827== 
==8827== 16 bytes in 1 blocks are definitely lost in loss record 5 of 22
==8827==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8827==    by 0x8B6A6E4: MPIR_Find_local_and_external (local_proc.c:92)
==8827==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8827==    by 0x8B4B1FF: MPII_Comm_copy (commutil.c:822)
==8827==    by 0x8A50656: MPIR_Comm_dup_impl (comm_dup.c:56)
==8827==    by 0x8A50AC7: PMPI_Comm_dup (comm_dup.c:161)
==8827==    by 0x4F2B9CE: PetscCommDuplicate (tagm.c:140)
==8827==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8827==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8827==    by 0x401988: MAIN__ (test.F90:60)
==8827==    by 0x401BBE: main (test.F90:4)
==8827== 
==8827== 16 bytes in 1 blocks are definitely lost in loss record 6 of 22
==8827==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8827==    by 0x8B6A7C0: MPIR_Find_local_and_external (local_proc.c:93)
==8827==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8827==    by 0x8B4B1FF: MPII_Comm_copy (commutil.c:822)
==8827==    by 0x8A50656: MPIR_Comm_dup_impl (comm_dup.c:56)
==8827==    by 0x8A50AC7: PMPI_Comm_dup (comm_dup.c:161)
==8827==    by 0x4F2B9CE: PetscCommDuplicate (tagm.c:140)
==8827==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8827==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8827==    by 0x401988: MAIN__ (test.F90:60)
==8827==    by 0x401BBE: main (test.F90:4)
==8827== 
==8827== 16 bytes in 1 blocks are definitely lost in loss record 7 of 22
==8827==    at 0x4C2D110: memalign (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8827==    by 0x4FB45CA: PetscMallocAlign (mal.c:41)
==8827==    by 0x4FB5E44: PetscMallocA (mal.c:397)
==8827==    by 0x506A4FC: PetscViewerASCIIOpen (vcreatea.c:266)
==8827==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8827==    by 0x401988: MAIN__ (test.F90:60)
==8827==    by 0x401BBE: main (test.F90:4)
==8827== 
==8827== 736 bytes in 2 blocks are definitely lost in loss record 21 of 22
==8827==    at 0x4C2CC70: calloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8827==    by 0x8B49B17: init_default_collops (commutil.c:263)
==8827==    by 0x8B4A0D2: set_collops (commutil.c:390)
==8827==    by 0x8B4A6F4: MPIR_Comm_commit (commutil.c:544)
==8827==    by 0x8BF1542: MPID_Init (mpid_init.c:244)
==8827==    by 0x8A9FD7A: MPIR_Init_thread (initthread.c:504)
==8827==    by 0x8A9EE06: PMPI_Init (init.c:178)
==8827==    by 0x72618D5: PMPI_INIT (initf.c:275)
==8827==    by 0x4F7EFD8: petscinitialize_internal (zstart.c:317)
==8827==    by 0x4F7F997: petscinitialize_ (zstart.c:504)
==8827==    by 0x40104D: MAIN__ (test.F90:20)
==8827==    by 0x401BBE: main (test.F90:4)
==8827== 
==8830== 12 bytes in 1 blocks are definitely lost in loss record 2 of 21
==8830==    at 0x4C2D110: memalign (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8830==    by 0x4FB45CA: PetscMallocAlign (mal.c:41)
==8830==    by 0x4FB5E44: PetscMallocA (mal.c:397)
==8830==    by 0x4F2BB05: PetscCommDuplicate (tagm.c:143)
==8830==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8830==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8830==    by 0x401988: MAIN__ (test.F90:60)
==8830==    by 0x401BBE: main (test.F90:4)
==8830== 
==8830== 16 bytes in 1 blocks are definitely lost in loss record 3 of 21
==8830==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8830==    by 0x8B6A6E4: MPIR_Find_local_and_external (local_proc.c:92)
==8830==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8830==    by 0x8A5980D: MPIR_Comm_split_impl (comm_split.c:380)
==8830==    by 0x8A59C52: PMPI_Comm_split (comm_split.c:478)
==8830==    by 0x721ECA0: MPI_COMM_SPLIT (comm_splitf.c:269)
==8830==    by 0x401387: MAIN__ (test.F90:44)
==8830==    by 0x401BBE: main (test.F90:4)
==8830== 
==8830== 16 bytes in 1 blocks are definitely lost in loss record 4 of 21
==8830==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8830==    by 0x8B6A7C0: MPIR_Find_local_and_external (local_proc.c:93)
==8830==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8830==    by 0x8A5980D: MPIR_Comm_split_impl (comm_split.c:380)
==8830==    by 0x8A59C52: PMPI_Comm_split (comm_split.c:478)
==8830==    by 0x721ECA0: MPI_COMM_SPLIT (comm_splitf.c:269)
==8830==    by 0x401387: MAIN__ (test.F90:44)
==8830==    by 0x401BBE: main (test.F90:4)
==8830== 
==8830== 16 bytes in 1 blocks are definitely lost in loss record 5 of 21
==8830==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8830==    by 0x8B6A6E4: MPIR_Find_local_and_external (local_proc.c:92)
==8830==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8830==    by 0x8B4B1FF: MPII_Comm_copy (commutil.c:822)
==8830==    by 0x8A50656: MPIR_Comm_dup_impl (comm_dup.c:56)
==8830==    by 0x8A50AC7: PMPI_Comm_dup (comm_dup.c:161)
==8830==    by 0x4F2B9CE: PetscCommDuplicate (tagm.c:140)
==8830==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8830==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8830==    by 0x401988: MAIN__ (test.F90:60)
==8830==    by 0x401BBE: main (test.F90:4)
==8830== 
==8830== 16 bytes in 1 blocks are definitely lost in loss record 6 of 21
==8830==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8830==    by 0x8B6A7C0: MPIR_Find_local_and_external (local_proc.c:93)
==8830==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8830==    by 0x8B4B1FF: MPII_Comm_copy (commutil.c:822)
==8830==    by 0x8A50656: MPIR_Comm_dup_impl (comm_dup.c:56)
==8830==    by 0x8A50AC7: PMPI_Comm_dup (comm_dup.c:161)
==8830==    by 0x4F2B9CE: PetscCommDuplicate (tagm.c:140)
==8830==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8830==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8830==    by 0x401988: MAIN__ (test.F90:60)
==8830==    by 0x401BBE: main (test.F90:4)
==8830== 
==8830== 16 bytes in 1 blocks are definitely lost in loss record 7 of 21
==8830==    at 0x4C2D110: memalign (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8830==    by 0x4FB45CA: PetscMallocAlign (mal.c:41)
==8830==    by 0x4FB5E44: PetscMallocA (mal.c:397)
==8830==    by 0x506A4FC: PetscViewerASCIIOpen (vcreatea.c:266)
==8830==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8830==    by 0x401988: MAIN__ (test.F90:60)
==8830==    by 0x401BBE: main (test.F90:4)
==8830== 
==8830== 368 bytes in 1 blocks are definitely lost in loss record 20 of 21
==8830==    at 0x4C2CC70: calloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8830==    by 0x8B49B17: init_default_collops (commutil.c:263)
==8830==    by 0x8B4A0D2: set_collops (commutil.c:390)
==8830==    by 0x8B4A6F4: MPIR_Comm_commit (commutil.c:544)
==8830==    by 0x8BF1542: MPID_Init (mpid_init.c:244)
==8830==    by 0x8A9FD7A: MPIR_Init_thread (initthread.c:504)
==8830==    by 0x8A9EE06: PMPI_Init (init.c:178)
==8830==    by 0x72618D5: PMPI_INIT (initf.c:275)
==8830==    by 0x4F7EFD8: petscinitialize_internal (zstart.c:317)
==8830==    by 0x4F7F997: petscinitialize_ (zstart.c:504)
==8830==    by 0x40104D: MAIN__ (test.F90:20)
==8830==    by 0x401BBE: main (test.F90:4)
==8830== 
==8829== 12 bytes in 1 blocks are definitely lost in loss record 2 of 21
==8829==    at 0x4C2D110: memalign (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8829==    by 0x4FB45CA: PetscMallocAlign (mal.c:41)
==8829==    by 0x4FB5E44: PetscMallocA (mal.c:397)
==8829==    by 0x4F2BB05: PetscCommDuplicate (tagm.c:143)
==8829==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8829==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8829==    by 0x401988: MAIN__ (test.F90:60)
==8829==    by 0x401BBE: main (test.F90:4)
==8829== 
==8829== 16 bytes in 1 blocks are definitely lost in loss record 3 of 21
==8829==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8829==    by 0x8B6A6E4: MPIR_Find_local_and_external (local_proc.c:92)
==8829==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8829==    by 0x8A5980D: MPIR_Comm_split_impl (comm_split.c:380)
==8829==    by 0x8A59C52: PMPI_Comm_split (comm_split.c:478)
==8829==    by 0x721ECA0: MPI_COMM_SPLIT (comm_splitf.c:269)
==8829==    by 0x401387: MAIN__ (test.F90:44)
==8829==    by 0x401BBE: main (test.F90:4)
==8829== 
==8829== 16 bytes in 1 blocks are definitely lost in loss record 4 of 21
==8829==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8829==    by 0x8B6A7C0: MPIR_Find_local_and_external (local_proc.c:93)
==8829==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8829==    by 0x8A5980D: MPIR_Comm_split_impl (comm_split.c:380)
==8829==    by 0x8A59C52: PMPI_Comm_split (comm_split.c:478)
==8829==    by 0x721ECA0: MPI_COMM_SPLIT (comm_splitf.c:269)
==8829==    by 0x401387: MAIN__ (test.F90:44)
==8829==    by 0x401BBE: main (test.F90:4)
==8829== 
==8829== 16 bytes in 1 blocks are definitely lost in loss record 5 of 21
==8829==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8829==    by 0x8B6A6E4: MPIR_Find_local_and_external (local_proc.c:92)
==8829==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8829==    by 0x8B4B1FF: MPII_Comm_copy (commutil.c:822)
==8829==    by 0x8A50656: MPIR_Comm_dup_impl (comm_dup.c:56)
==8829==    by 0x8A50AC7: PMPI_Comm_dup (comm_dup.c:161)
==8829==    by 0x4F2B9CE: PetscCommDuplicate (tagm.c:140)
==8829==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8829==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8829==    by 0x401988: MAIN__ (test.F90:60)
==8829==    by 0x401BBE: main (test.F90:4)
==8829== 
==8829== 16 bytes in 1 blocks are definitely lost in loss record 6 of 21
==8829==    at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8829==    by 0x8B6A7C0: MPIR_Find_local_and_external (local_proc.c:93)
==8829==    by 0x8B4A807: MPIR_Comm_commit (commutil.c:558)
==8829==    by 0x8B4B1FF: MPII_Comm_copy (commutil.c:822)
==8829==    by 0x8A50656: MPIR_Comm_dup_impl (comm_dup.c:56)
==8829==    by 0x8A50AC7: PMPI_Comm_dup (comm_dup.c:161)
==8829==    by 0x4F2B9CE: PetscCommDuplicate (tagm.c:140)
==8829==    by 0x5069FE4: PetscViewerASCIIOpen (vcreatea.c:244)
==8829==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8829==    by 0x401988: MAIN__ (test.F90:60)
==8829==    by 0x401BBE: main (test.F90:4)
==8829== 
==8829== 16 bytes in 1 blocks are definitely lost in loss record 7 of 21
==8829==    at 0x4C2D110: memalign (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8829==    by 0x4FB45CA: PetscMallocAlign (mal.c:41)
==8829==    by 0x4FB5E44: PetscMallocA (mal.c:397)
==8829==    by 0x506A4FC: PetscViewerASCIIOpen (vcreatea.c:266)
==8829==    by 0x506C614: petscviewerasciiopen_ (zvcreatef.c:21)
==8829==    by 0x401988: MAIN__ (test.F90:60)
==8829==    by 0x401BBE: main (test.F90:4)
==8829== 
==8829== 368 bytes in 1 blocks are definitely lost in loss record 20 of 21
==8829==    at 0x4C2CC70: calloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8829==    by 0x8B49B17: init_default_collops (commutil.c:263)
==8829==    by 0x8B4A0D2: set_collops (commutil.c:390)
==8829==    by 0x8B4A6F4: MPIR_Comm_commit (commutil.c:544)
==8829==    by 0x8BF1542: MPID_Init (mpid_init.c:244)
==8829==    by 0x8A9FD7A: MPIR_Init_thread (initthread.c:504)
==8829==    by 0x8A9EE06: PMPI_Init (init.c:178)
==8829==    by 0x72618D5: PMPI_INIT (initf.c:275)
==8829==    by 0x4F7EFD8: petscinitialize_internal (zstart.c:317)
==8829==    by 0x4F7F997: petscinitialize_ (zstart.c:504)
==8829==    by 0x40104D: MAIN__ (test.F90:20)
==8829==    by 0x401BBE: main (test.F90:4)
==8829== 


Reply via email to