Re: [OMPI devel] [OMPI svn] svn:open-mpi r22014

2009-09-30 Thread George Bosilca
Ethan is right. The MPIR_Breakpoint function will be queried by your preferred parallel debugger, in order to set a breakpoint. Therefore, to allow the debuggers to be able to find the function we have to make sure it is externally visible, i.e. flagged with OMPI_DECLSPEC (for the one in li

Re: [OMPI devel] [OMPI svn] svn:open-mpi r22014

2009-09-30 Thread Jeff Squyres
I still don't think these need to be DECLSPEC. Debuggers can find local symbols (including static symbols). Sun was having a problem with the Intel compilers because the function was being inlined -- and therefore the symbol didn't exist at all. Removing the "static" was a simple optimiza

Re: [OMPI devel] [OMPI svn] svn:open-mpi r22014

2009-09-30 Thread Ralph Castain
On the positive side: it did solve the compiler warning issue. Not saying I disagree with these points. On Sep 30, 2009, at 4:01 AM, Jeff Squyres wrote: I still don't think these need to be DECLSPEC. Debuggers can find local symbols (including static symbols). Sun was having a problem wit

Re: [OMPI devel] [OMPI svn] svn:open-mpi r22014

2009-09-30 Thread George Bosilca
After spending few hours reading through some pretty good papers about shared libraries, I came to the conclusion that somehow this whole stuff is even more obfuscated that one might think. If I understand correctly, there is no need for all local symbols to be visible at all. The linker is