M**********n 发帖数: 432 | 1 I used "ifort -c -g -O0 -i8" to compile a fortran program.
But when I used idb to print out some variables, it gave totally wrong
answers.
Here is some output from "idb a.out"
70253 itt = 1111111
(idb) n
70254 print*,nexcg,itt
(idb) n
1 1111111
As you can see, the program outputs 1 and 1111111 for nexcg and itt, which
are the right answers.
But when I used "print nexcg" and "pirint itt", I got
gabbage. Do someone know what coul |
|
M**********n 发帖数: 432 | 2 【 以下文字转载自 Computation 讨论区 】
发信人: ManshengChen (像琼瑶一样老去), 信区: Computation
标 题: idb problem
发信站: BBS 未名空间站 (Tue Mar 16 12:47:25 2010, 美东)
I used "ifort -c -g -O0 -i8" to compile a fortran program.
But when I used idb to print out some variables, it gave totally wrong
answers.
Here is some output from "idb a.out"
70253 itt = 1111111
(idb) n
70254 print*,nexcg,itt
(idb) n
1 1111111
As you can see, the program outputs 1 and 1111111 |
|
M**********n 发帖数: 432 | 3 【 以下文字转载自 Computation 讨论区 】
发信人: ManshengChen (像琼瑶一样老去), 信区: Computation
标 题: idb problem
发信站: BBS 未名空间站 (Tue Mar 16 12:47:25 2010, 美东)
I used "ifort -c -g -O0 -i8" to compile a fortran program.
But when I used idb to print out some variables, it gave totally wrong
answers.
Here is some output from "idb a.out"
70253 itt = 1111111
(idb) n
70254 print*,nexcg,itt
(idb) n
1 1111111
As you can see, the program outputs 1 and 1111111 |
|
M**********n 发帖数: 432 | 4 【 以下文字转载自 Computation 讨论区 】
发信人: ManshengChen (像琼瑶一样老去), 信区: Computation
标 题: idb problem
发信站: BBS 未名空间站 (Tue Mar 16 12:47:25 2010, 美东)
I used "ifort -c -g -O0 -i8" to compile a fortran program.
But when I used idb to print out some variables, it gave totally wrong
answers.
Here is some output from "idb a.out"
70253 itt = 1111111
(idb) n
70254 print*,nexcg,itt
(idb) n
1 1111111
As you can see, the program outputs 1 and 1111111 |
|
|