Re: [OMPI users] import/export issues on Windows

2010-04-21 Thread Ben.Kuppers
Thank you Shiqing. -Ben From: Shiqing Fan [mailto:f...@hlrs.de] Sent: Wednesday, April 21, 2010 11:30 AM To: Open MPI Users Cc: Kuppers, Ben SIEP-PTT/SDRM Subject: Re: [OMPI users] import/export issues on Windows Hi Ben, Sorry for response late. The preprocessor problem is solved now

Re: [OMPI users] import/export issues on Windows

2010-04-21 Thread Shiqing Fan
[mailto:f...@hlrs.de] *Sent:* Friday, April 16, 2010 10:59 AM *To:* Open MPI Users *Cc:* Kuppers, Ben SIEP-PTT/SDRM *Subject:* Re: [OMPI users] import/export issues on Windows Hi Ben, I believe changing OMPI_DECLSPEC to __declspec(dllexport) inside functions.h will allow the cxx module to build

Re: [OMPI users] import/export issues on Windows

2010-04-19 Thread Ben.Kuppers
-PTT/SDRM Subject: Re: [OMPI users] import/export issues on Windows Hi Ben, I believe changing OMPI_DECLSPEC to __declspec(dllexport) inside functions.h will allow the cxx module to build (and export the function) but will break any client using (and thus trying to import) it. OMPI_DECLSPEC

Re: [OMPI users] import/export issues on Windows

2010-04-19 Thread Ben.Kuppers
"" "OMPI_BUILD_DATE=\"07:54 AM Mon 04/19/2010 \"" CMAKE_INTDIR=\"Debug\" -Ben From: Shiqing Fan [mailto:f...@hlrs.de] Sent: Friday, April 16, 2010 10:59 AM To: Open MPI Users Cc: Kuppers, Ben SIEP-PTT/SDRM Subject: Re: [OMPI users] import/

Re: [OMPI users] import/export issues on Windows

2010-04-16 Thread Shiqing Fan
, Ben SIEP-PTT/SDRM *Subject:* Re: [OMPI users] import/export issues on Windows Hi, It seems Microsoft C++ compiler could recognize what the code wants to do, while Intel C++ compiler couldn't. I know a solution for this kind of problem, but it involves some code base changes, I need some time t

Re: [OMPI users] import/export issues on Windows

2010-04-16 Thread Ben.Kuppers
Of Shiqing Fan Sent: Thursday, April 15, 2010 1:28 PM To: us...@open-mpi.org Cc: Kuppers, Ben SIEP-PTT/SDRM Subject: Re: [OMPI users] import/export issues on Windows Hi, It seems Microsoft C++ compiler could recognize what the code wants to do, while Intel C++ compiler couldn't. I

Re: [OMPI users] import/export issues on Windows

2010-04-15 Thread Shiqing Fan
Hi, It seems Microsoft C++ compiler could recognize what the code wants to do, while Intel C++ compiler couldn't. I know a solution for this kind of problem, but it involves some code base changes, I need some time to test it. At moment, if you want to use Intel C++ compiler, the dirty

[OMPI users] import/export issues on Windows

2010-04-15 Thread Ben.Kuppers
Hello, When I use 1.4.2rc1 I am able build in Visual Studio 2005 (CMake 2.6.4 default settings VS2005 x64)but I get the following warning (among others): 11>..\..\..\..\..\ompi\mpi\cxx\intercepts.cc(81) : warning C4273: 'MPI::InitializeIntercepts' : inconsistent dll linkage 11>