|
[Sponsors] |
gdbOF question.. b (or break) fvScalarMatrix.C:144 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 1, 2015, 10:53 |
Solved _ gdbOF question.. b (or break) fvScalarMatrix.C:144
|
#1 |
New Member
Seokwon Whang
Join Date: May 2012
Posts: 25
Rep Power: 13 |
Dear Foamer,
I recently read 'gdbOF debugger document' and tried to follow its example, Scalar Transport Test. (http://openfoamwiki.net/index.php/Contrib_gdbOF) # .. run the solver in debug mode ($ gdb scalarTransportFoam) >> it works GNU gdb (GDB) Fedora 7.6.50.20130731-16.fc20 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". .. Reading symbols from /home/whang/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPDebug/bin/scalarTransportFoam...done. [/FONT] # when I try to set the break point in the fvScalarMatrix.C:144...>> it does not work (gdb) b backtrace bookmark break break-range bt (gdb) break fvScalarMatrix.C:144 No source file named fvScalarMatrix.C. Make breakpoint pending on future shared library load? (y or [n]) # if I press 'y' and 'run'... (gdb) break fvScalarMatrix.C:144 No source file named fvScalarMatrix.C. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (fvScalarMatrix.C:144) pending. (gdb) run Starting program: /home/whang/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPDebug/bin/scalarTransportFoam [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.0-f5222ca19ce6 Exec : /home/whang/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPDebug/bin/scalarTransportFoam Date : Aug 01 2015 Time : 10:47:32 Host : "localhost.localdomain" PID : 7083 Case : /home/whang/OpenFOAM/whang-2.3.0/run/gdbOFtest/pitzDaily nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading field T Reading field U Reading transportProperties Reading diffusivity DT Reading/calculating face flux field phi No finite volume options present SIMPLE: no convergence criteria found. Calculations will run for 0.1 steps. Calculating scalar transport Courant Number mean: 0.01 max: 0.015 Time = 0.005 DILUPBiCG: Solving for T, Initial residual = 1, Final residual = 6.63182e-07, No Iterations 2 Time = 0.01 DILUPBiCG: Solving for T, Initial residual = 0.30043, Final residual = 9.64897e-08, No Iterations 2 Time = 0.015 DILUPBiCG: Solving for T, Initial residual = 0.168124, Final residual = 4.0184e-08, No Iterations 2 Time = 0.02 DILUPBiCG: Solving for T, Initial residual = 0.114029, Final residual = 2.31015e-08, No Iterations 2 Time = 0.025 DILUPBiCG: Solving for T, Initial residual = 0.0847056, Final residual = 1.53854e-08, No Iterations 2 Time = 0.03 DILUPBiCG: Solving for T, Initial residual = 0.0663648, Final residual = 1.10537e-08, No Iterations 2 Time = 0.035 DILUPBiCG: Solving for T, Initial residual = 0.0538484, Final residual = 7.94162e-09, No Iterations 2 Time = 0.04 DILUPBiCG: Solving for T, Initial residual = 0.0447899, Final residual = 1.27641e-07, No Iterations 2 Time = 0.045 DILUPBiCG: Solving for T, Initial residual = 0.0379509, Final residual = 7.66767e-09, No Iterations 2 Time = 0.05 DILUPBiCG: Solving for T, Initial residual = 0.0326205, Final residual = 6.21113e-09, No Iterations 2 Time = 0.055 DILUPBiCG: Solving for T, Initial residual = 0.0283615, Final residual = 5.38958e-09, No Iterations 2 Time = 0.06 DILUPBiCG: Solving for T, Initial residual = 0.0248903, Final residual = 4.79019e-09, No Iterations 2 Time = 0.065 DILUPBiCG: Solving for T, Initial residual = 0.0220149, Final residual = 4.31777e-09, No Iterations 2 Time = 0.07 DILUPBiCG: Solving for T, Initial residual = 0.0198328, Final residual = 3.93061e-09, No Iterations 2 Time = 0.075 DILUPBiCG: Solving for T, Initial residual = 0.0182746, Final residual = 3.60532e-09, No Iterations 2 Time = 0.08 DILUPBiCG: Solving for T, Initial residual = 0.0169228, Final residual = 3.32708e-09, No Iterations 2 Time = 0.085 DILUPBiCG: Solving for T, Initial residual = 0.0157395, Final residual = 3.08573e-09, No Iterations 2 Time = 0.09 DILUPBiCG: Solving for T, Initial residual = 0.0146955, Final residual = 2.87396e-09, No Iterations 2 Time = 0.095 DILUPBiCG: Solving for T, Initial residual = 0.0137678, Final residual = 2.68636e-09, No Iterations 2 Time = 0.1 DILUPBiCG: Solving for T, Initial residual = 0.0129383, Final residual = 2.51879e-09, No Iterations 2 End [Inferior 1 (process 7083) exited normally] Missing separate debuginfos, use: debuginfo-install glibc-2.18-19.fc20.x86_64 hwloc-libs-1.7-2.fc20.x86_64 libX11-1.6.1-1.fc20.x86_64 libXNVCtrl-169.12-9.fc20.x86_64 libXau-1.0.8-2.fc20.x86_64 libXext-1.3.2-2.fc20.x86_64 libgcc-4.8.3-7.fc20.x86_64 libpciaccess-0.13.1-4.fc20.x86_64 libstdc++-4.8.3-7.fc20.x86_64 libtool-ltdl-2.4.2-21.fc20.x86_64 libxcb-1.9.1-3.fc20.x86_64 libxml2-2.9.1-2.fc20.x86_64 numactl-libs-2.0.9-1.fc20.x86_64 openmpi-1.7.3-1.fc20.x86_64 xz-libs-5.1.2-6alpha.fc20.x86_64 zlib-1.2.8-3.fc20.x86_64 (gdb) ppatchlist Use "pPatchList <objeto> " (gdb) ppatchlist T No symbol "T" in current context. what is the problem..? Last edited by hswzzz; August 3, 2015 at 07:28. Reason: Problem is solved |
|
August 3, 2015, 07:27 |
|
#2 |
New Member
Seokwon Whang
Join Date: May 2012
Posts: 25
Rep Power: 13 |
Solved... after installing debugging-info package
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
small question about the functionalities of topological changes in OpenFoam | ngj | OpenFOAM Running, Solving & CFD | 2 | February 28, 2013 10:02 |
Question Re Engineering Data Source | imnull | ANSYS | 0 | March 5, 2012 13:51 |
internal field question - PitzDaily Case | atareen64 | OpenFOAM Running, Solving & CFD | 2 | January 26, 2011 15:26 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 12:24 |
CHANNEL FLOW: a question and a request | Carlos | Main CFD Forum | 4 | August 23, 2002 05:55 |