アプリケーション・バイナリー・ファイルで指定されたディレクトリー、またはバイナリーファイルが存在するディレクトリーにソースファイルが見つからない場合、デバッガーはソースコードを表示できません。
問題を解決するには、コマンドラインで -I オプションを指定します。mpirun コマンドを使用してデバッグセッションを開始した場合、-idbopt オプションの後にこのオプションを指定してください。
または、すべてのリーフデバッガーに use コマンドや map source directory コマンドを適用して問題を解決します。
(idb) w Source file not found or not readable, tried... ./cpi.c /usr/users/smith/idb-sandbox/test/src/common/Funct/bin/cpi.c (Cannot find source file mpirun.c) (idb) use /usr/proj/debug/idb/test/src/common/Funct/src [0:7] Directory search path for source files: [0:7] . /usr/users/smith/idb-sandbox/test/src/common/Funct/bin /usr/proj/debug/idb/test/src/common/Funct/src (idb) w [0:7] 20 [0:7] 21 double f(double); [0:7] 22 [0:7] 23 int main(int argc, char *argv[]) [0:7] 24 { [0:7] 25 int done = 0, n, myid, numprocs, i; [0:7] 26 double PI25DT = 3.141592653589793238462643; [0:7] 27 double mypi, pi, h, sum, x; [0:7] 28 double startwtime = 0.0, endwtime; [0:7] 29 int namelen;