Leo P. wrote:
Okay. Hmm. For me, when I try Analyzer, I don't see any of the internals of MPI. Then, when I "Show All", all the internal OMPI layers are exposed: PML, opal_progress, BTL, etc. I don't know. To turn on -g, I add it via environment variables. E.g., to build OMPI with Sun Studio compilers, I use: setenv CC cc setenv CXX CC setenv F77 f77 setenv FC f90 setenv CFLAGS "-fast -xarch=native -g -m64" setenv CXXFLAGS "-fast -xarch=native -g -m64" setenv FFLAGS "-fast -xarch=native -g -m64" setenv FCFLAGS "-fast -xarch=native -g -m64" With GCC compilers, I use: setenv CFLAGS "-O -g -m64" setenv CXXFLAGS "-O -g -m64" setenv FFLAGS "-O -g -m64" setenv FCFLAGS "-O -g -m64" I don't know if that's politically correct or whatever, but that's what I did. Then: ./configure \ --with-mpi-param_check=never \ --disable-mpi-cxx \ --disable-mpi-cxx-seek \ --enable-mpirun-prefix-by-default \ --prefix=blahblahblah make all make install That seems to work for me. Doesn't matter if I build OMPI and my MPI code with GCC or with Sun Studio compilers. I just use Sun Studio Performance Analyzer, turn on "Show All", and see where time is spent in the internal OMPI layers. That's a little unrelated. It means the opinion that OMPI is just MPI, without a bunch of tools (debuggers, performance analysis, etc.), that go along with it. It's not really fair since you can use TotalView debugging, VampirTrace, PERUSE, etc. with OMPI. There's a subjective judgment about whether all those things are well integrated together or just add-ons. E.g., with MPICH, they have MPE extensions, the Jumpshot tool, etc. It's all understood to be one set of software. (Yipes, I hope I don't start too controversial an e-mail storm here. Again, it's not an entirely fair assessment of OMPI. I guess I just mean there is no such thing as *THE* OMPI performance analysis tool. OMPI is MPI, and you have to get a tool to work with it.) For now, you can just send Nik or me e-mail offline. Indeed, maybe you, Nik, and I just take this offline. Maybe some FAQ entries to help other users/developers benefit from your experience once you've learned something you'd like to report. |
- Re: [OMPI devel] Enabling debugging and profiling in op... Ralph Castain
- [OMPI devel] complete newbie question regarding --... Leo P.
- Re: [OMPI devel] complete newbie question rega... Leo P.
- Re: [OMPI devel] complete newbie question ... Nikolay Molchanov
- Re: [OMPI devel] complete newbie question ... Leo P.
- Re: [OMPI devel] complete newbie question ... Leo P.
- Re: [OMPI devel] complete newbie question ... Nikolay Molchanov
- Re: [OMPI devel] complete newbie question ... Leo P.
- Re: [OMPI devel] complete newbie question ... Eugene Loh
- Re: [OMPI devel] complete newbie question ... Leo P.
- Re: [OMPI devel] complete newbie question ... Eugene Loh
- Re: [OMPI devel] complete newbie question ... Nifty Tom Mitchell
- Re: [OMPI devel] Enabling debugging and profiling ... Jeff Squyres
- Re: [OMPI devel] Enabling debugging and profiling in op... Nifty Tom Mitchell