Re: [OMPI devel] use of OBJ_NEW and related calls

2016-10-10 Thread Emani, Murali
imilar to an OO language, the intent was to have a thread-safe way to refcount objects to keep them around for as long as they are necessary. George. On Mon, Oct 10, 2016 at 4:18 PM, Emani, Murali mailto:ema...@llnl.gov>> wrote: Hi, Could someone help me in understanding where the fun

[OMPI devel] use of OBJ_NEW and related calls

2016-10-10 Thread Emani, Murali
Hi, Could someone help me in understanding where the functions OBJ_NEW/ OBJ_CONSTRUCT/ OBJ_DESTRUCT are defined in the source code. Are these specific to OpenMPI code base? Is the assumption correct that these calls are wrappers to create new objects, initialize and destroy, similar to any obje

Re: [OMPI devel] Memory trace using valgrind in OpenMPI

2016-10-04 Thread Emani, Murali
17) > >==2379==by 0x5B216FC: mca_base_framework_open >(mca_base_framework.c:174) > >==2379==by 0x4E8F8EA: ompi_mpi_init (ompi_mpi_init.c:604) > >==2379==by 0x4ECD472: PMPI_Init (pinit.c:66) > >==2379==by 0x4008F0: main (hello_c.c:18) > > > >On Sat, Oct 1, 201

Re: [OMPI devel] Memory trace using valgrind in OpenMPI

2016-09-30 Thread Emani, Murali
their own lib (for example mca_btl_tcp.so) which is dlopen'ed and dlclose'd at runtime, and that might not be supported by post mortem tools Cheers, Gilles On Thursday, September 29, 2016, Emani, Murali > wrote: Hi all, I am trying to perform memory allocation analysis in OpenMPI using v

Re: [OMPI devel] Memory trace using valgrind in OpenMPI

2016-09-30 Thread Emani, Murali
isable-dlopen CFLAGS='-g -O0' by default, components are built into their own lib (for example mca_btl_tcp.so) which is dlopen'ed and dlclose'd at runtime, and that might not be supported by post mortem tools Cheers, Gilles On Thursday, September 29, 2016, Emani, Murali m

[OMPI devel] Memory trace using valgrind in OpenMPI

2016-09-28 Thread Emani, Murali
Hi all, I am trying to perform memory allocation analysis in OpenMPI using valgrind and use addr2line to get the location in the source code in the application and the library. I have compiled OpenMPI with valgrind using ./configure —prefix= —enable-debug —enable-mem-debug —enable-memchecker

[OMPI devel] Change compiler

2016-07-18 Thread Emani, Murali
Hi all, I would like to know if there is Clang support for OpenMPI codebase. I am trying to change the underlying compiler from gcc to clang in ‘configure' and ‘make all install’, I changed these values in Makefile in root dir and another one in config directory. The steps during ‘configure’ re

Re: [OMPI devel] [OMPI users] Class information in OpenMPI

2016-07-12 Thread Emani, Murali
gt;sorry. The OPAL-level doxygen docs are probably the best you'll get, but >they're really only the utility classes in the portability layer. They >don't really include the message passing stuff, nor much (anything?) in >the ORTE or OMPI layers. :-\ > > > >>

Re: [OMPI devel] Class information in OpenMPI

2016-07-12 Thread Emani, Murali
Thanks Kawashima. This note is really helpful. ‹ Murali On 7/7/16, 4:17 PM, "devel on behalf of KAWASHIMA Takahiro" wrote: >FWIW, I have my private notes on process and datatype -related structs. > > https://rivis.github.io/doc/openmpi/openmpi-source-reading.en.xhtml > >They are created

Re: [OMPI devel] [OMPI users] Class information in OpenMPI

2016-07-12 Thread Emani, Murali
g time. I ran “doxygen” at the top-level directory and it did indeed generate a bunch of html, but I’m not sure it is all that helpful. You might take a look and see if it helps enough to be useful. Could be that someone will contribute updated Doxygen support to make it better… On Jul 7, 20

[OMPI devel] Class information in OpenMPI

2016-07-07 Thread Emani, Murali
Hi all, I want to know if there is “class diagram” for OpenMPI code base that shows existing classes and dependencies/associations. Are there any available tools to extract and visualize this information. — Murali