Yes, you'll have to compile MADlib with DEBUG flag. Use `cmake -DCMAKE_BUILD_TYPE=Debug ..` to get MADlib symbols. You would benefit by compiling Postgres (with debug) as well but may not be necessary for what you're doing.
On Tue, Sep 13, 2016 at 10:20 PM, Wang ChenLiang <[email protected]> wrote: > Hi Rahul > > Thanks for your reply. Should I build MADlib and Postgres with > enable-debug and no optimization flags? How can I list source code of > MADlib in GDB ? Sorry for asking such silly questions. > > Best, > Chenliang Wang > > On 09/14/2016 02:18 AM, Rahul Iyer wrote: > > Hi Chengliang > > > > There's some information on debugging > > βin β > > our old wiki page > > <https://github.com/madlib/madlib/wiki/Building-MADlib- > from-Source#debugging> > > β. There's no example there but the process is simple once you have the > > server process id. > > > > - Rahul β > > > > On Tue, Sep 13, 2016 at 6:41 AM, Wang ChenLiang <[email protected]> > wrote: > > > >> Hi Frank, > >> > >> I was being on a business trip for several months and began to work on > >> MADlib again in the past few days. But I have a trouble with debugging > >> MADlib with GDB. Could you kindly give me a detailed example for > >> debugging MADlib with CodeBlocks or GDB? > >> > >> Many Thanks ! > >> > >> > >> On 03/15/2016 12:31 AM, Frank McQuillan wrote: > >>> OK. Please don't hesitate to ask if you have any questions. > >>> > >>> Frank > >>> > >>> On Mon, Mar 14, 2016 at 4:17 AM, chenliang wang <[email protected]> > >> wrote: > >>> > >>>> Hi, Frank > >>>> > >>>> Recently,I am just looking at the detail of development guide and > trying > >>>> to complete the serial algorithm. And I plan to implement GWR dividing > >>>> the loop into pieces of chunks executed in several nodes. However, I > am > >>>> not sure if there are some specials details need to be designed for > >>>> distributed models in GPDB because I haven't developed model in MPP > >>>> architecture. I hope this distributed manner would be implemented > >> easily. > >>>> > >>>> Best, > >>>> Chenliang Wang > >>>> > >>>> On 03/10/2016 08:33 AM, Frank McQuillan wrote: > >>>>> Hi ChenLiang Wang, > >>>>> > >>>>> I am checking to see how things are going regarding the GWR model for > >>>>> MADlib that you proposed. Not sure which phase you are at, but a > >>>> suggested > >>>>> next step might be how you plan to implement the GWR algorithm in a > >>>>> distributed manner. That is, how will it run in parallel? > >>>>> > >>>>> (Starting as a new thread since the previous thread fragmented.) > >>>>> > >>>>> Regards, > >>>>> Frank > >>>>> > >>>> > >>> > >> > > >
