Hi Daniel,
Yes, my HDF5 was built from source using PGI. My ultimate goal is to find a memory leak in a pre-processor for the WRF meteorological program, which requires netCDF, which requires HDF5. I was trying to make sure as many components as possible in the software stack were compiled by the same compiler.
But I will try to compile hdf5-1.10.6 with GCC and get back to you.
Did you see my previous note about my $uid being < 1000 on CentOS 7? It’s a side-effect of retaining the same uid since CentOS 5.x days.
The results from the readelf tests have the same value for “Requesting program interpreter”.
readelf -l /usr/bin/dc
Elf file type is EXEC (Executable file)
Entry point 0x4012f4
There are 9 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
PHDR 0x0000000000000040 0x0000000000400040 0x0000000000400040
0x00000000000001f8 0x00000000000001f8 R E 8
INTERP 0x0000000000000238 0x0000000000400238 0x0000000000400238
0x000000000000001c 0x000000000000001c R 1
** [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]**
LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000
0x0000000000009974 0x0000000000009974 R E 200000
LOAD 0x0000000000009e10 0x0000000000609e10 0x0000000000609e10
0x0000000000000368 0x0000000000000c38 RW 200000
DYNAMIC 0x0000000000009e28 0x0000000000609e28 0x0000000000609e28
0x00000000000001d0 0x00000000000001d0 RW 8
NOTE 0x0000000000000254 0x0000000000400254 0x0000000000400254
0x0000000000000044 0x0000000000000044 R 4
GNU_EH_FRAME 0x00000000000082a4 0x00000000004082a4 0x00000000004082a4
0x000000000000035c 0x000000000000035c R 4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 10
GNU_RELRO 0x0000000000009e10 0x0000000000609e10 0x0000000000609e10
0x00000000000001f0 0x00000000000001f0 R 1
Section to Segment mapping:
Segment Sections…
00
01 .interp
02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame
03 .init_array .fini_array .jcr .dynamic .got .got.plt .data .bss
04 .dynamic
05 .note.ABI-tag .note.gnu.build-id
06 .eh_frame_hdr
07
08 .init_array .fini_array .jcr .dynamic .got
readelf -l /usr/local/src/hdf5-1.10.6.pgi/build/bin/h5copy
Elf file type is EXEC (Executable file)
Entry point 0x404d60
There are 9 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
PHDR 0x0000000000000040 0x0000000000400040 0x0000000000400040
0x00000000000001f8 0x00000000000001f8 R E 8
INTERP 0x0000000000000238 0x0000000000400238 0x0000000000400238
0x000000000000001c 0x000000000000001c R 1
** [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]**
LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000
0x000000000003326c 0x000000000003326c R E 200000
LOAD 0x0000000000033bc8 0x0000000000633bc8 0x0000000000633bc8
0x0000000000001530 0x0000000000001e78 RW 200000
DYNAMIC 0x0000000000033be0 0x0000000000633be0 0x0000000000633be0
0x0000000000000280 0x0000000000000280 RW 8
NOTE 0x0000000000000254 0x0000000000400254 0x0000000000400254
0x0000000000000020 0x0000000000000020 R 4
GNU_EH_FRAME 0x0000000000031fac 0x0000000000431fac 0x0000000000431fac
0x00000000000003b4 0x00000000000003b4 R 4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 10
GNU_RELRO 0x0000000000033bc8 0x0000000000633bc8 0x0000000000633bc8
0x0000000000000438 0x0000000000000438 R 1
Section to Segment mapping:
Segment Sections…
00
01 .interp
02 .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .plt.got .text .fini .rodata .eh_frame_hdr .eh_frame
03 .init_array .fini_array .jcr .dynamic .got .got.plt .data .bss
04 .dynamic
05 .note.ABI-tag
06 .eh_frame_hdr
07
08 .init_array .fini_array .jcr .dynamic .got