Re: [OMPI devel] question to OMPI_DECLSPEC

2014-11-26 Thread Edgar Gabriel
On 11/26/2014 11:02 AM, George Bosilca wrote: We had similar problems in the PML V, and we decided to try to minimize the increase in size of the main library. Thus, instead of moving everything in the base, we added a structure in the base that will contain all the pointer to the functions we w

Re: [OMPI devel] question to OMPI_DECLSPEC

2014-11-26 Thread George Bosilca
Edgar, The restriction you are facing doesn't come from Open MPI, but instead it comes from the default behavior of how dlopen loads the .so files. As we do not manually force the RTLD_GLOBAL flag the scope of our modules is local, which means that the symbols defined in this library are not made

Re: [OMPI devel] question to OMPI_DECLSPEC

2014-11-26 Thread Ralph Castain
> On Nov 26, 2014, at 7:16 AM, Edgar Gabriel wrote: > > ok, so I thought about it a bit, and while I am still baffled by the actual > outcome and the missing symbol (for the main reason that the function of the > fcoll component is being called from the ompio module, so the function of the >

Re: [OMPI devel] question to OMPI_DECLSPEC

2014-11-26 Thread Edgar Gabriel
ok, so I thought about it a bit, and while I am still baffled by the actual outcome and the missing symbol (for the main reason that the function of the fcoll component is being called from the ompio module, so the function of the ompio that was called from the fcoll component is guaranteed to

Re: [OMPI devel] question to OMPI_DECLSPEC

2014-11-25 Thread Ralph Castain
> On Nov 25, 2014, at 9:36 AM, Edgar Gabriel wrote: > > On 11/25/2014 11:31 AM, Ralph Castain wrote: >> >>> On Nov 25, 2014, at 8:24 AM, Edgar Gabriel >> > wrote: >>> >>> On 11/25/2014 10:18 AM, Ralph Castain wrote: Hmmm…no, nothing has changed with regard to dec

Re: [OMPI devel] question to OMPI_DECLSPEC

2014-11-25 Thread Edgar Gabriel
On 11/25/2014 11:31 AM, Ralph Castain wrote: On Nov 25, 2014, at 8:24 AM, Edgar Gabriel mailto:gabr...@cs.uh.edu>> wrote: On 11/25/2014 10:18 AM, Ralph Castain wrote: Hmmm…no, nothing has changed with regard to declspec that I know about. I’ll ask the obvious things to check: * does that com

Re: [OMPI devel] question to OMPI_DECLSPEC

2014-11-25 Thread Ralph Castain
> On Nov 25, 2014, at 8:24 AM, Edgar Gabriel wrote: > > On 11/25/2014 10:18 AM, Ralph Castain wrote: >> Hmmm…no, nothing has changed with regard to declspec that I know >> about. I’ll ask the obvious things to check: >> >> * does that component have the proper include to find this function? >>

Re: [OMPI devel] question to OMPI_DECLSPEC

2014-11-25 Thread Edgar Gabriel
On 11/25/2014 10:18 AM, Ralph Castain wrote: Hmmm…no, nothing has changed with regard to declspec that I know about. I’ll ask the obvious things to check: * does that component have the proper include to find this function? Could be that it used to be found thru some chain, but the chain is now

Re: [OMPI devel] question to OMPI_DECLSPEC

2014-11-25 Thread Ralph Castain
Hmmm…no, nothing has changed with regard to declspec that I know about. I’ll ask the obvious things to check: * does that component have the proper include to find this function? Could be that it used to be found thru some chain, but the chain is now broken and it needs to be directly included