From: George M. <ge...@ma...> - 2009-06-11 14:02:37
|
Dear all, I am sending you an email because I have a problem to profile a fortran program with libpshwc. I can profile the program with psrun but because I want to profile specific blocks of the code only, I would like to use |PSF_hwpc_init(ierr) |etc. The program is one from NAS Parallel benchmarks (FT) and when I compile it I see the errors ft.f:(.text+0x24): undefined reference to `psf_hwpc_init_' ft.f:(.text+0x76): undefined reference to `psf_hwpc_start_' ft.f:(.text+0x2b7): undefined reference to `psf_hwpc_stop_' ft.f:(.text+0x471): undefined reference to `psf_hwpc_shutdown_' ||I have included fperfsuite.h and I have linked with -lpshwpc -lperfsuite Could you propose something to solve my problem? Also a simple question: I am confused, PerfSuite measures with statistic sampling? I now that with multiplexing is less accurate. I ask because I want to count flops and I don't want to loose any info. Thanks in advance, Best regards, George Markomanolis |