gprof Fortran空白输出

时间:2018-08-15 21:38:15

标签: linux fortran gprof

在Makefile中,我正在Linux上编译并链接一些Fortran代码,以包括用于分析的gprof,例如...

gfortran -c -Wuninitialized -fno-automatic -fno-range-check -ffixed-line-length-none -fno-f2c -C -pg -mcmodel=medium -fno-second-underscore -I. vst.f

gfortran -pg  -mcmodel=medium vst.o ./main.o -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lmfhdf -ldf -ljpeg -lz -lm -lsz  -lz -lm  -o vst.k

它编译并生成一个gmon.out文件,但输出为空:

个人资料:

Each sample counts as 0.01 seconds.
 no time accumulated

%   cumulative   self              self     total           
time   seconds   seconds    calls  Ts/call  Ts/call  name

%   the percentage of the total running time of the
time program used by this function.

...

等空白。

有什么想法吗?谢谢。

0 个答案:

没有答案
相关问题