Sorry for response late.
The preprocessor problem is solved now, I don't know why Intel compiler
doesn't accept such kind of definitions. But if you use the latest
trunk, it should work.
I'm working on the import/export problem, and trying to fix it with a
better mechanism. I'll let you know when it's ready.
On 2010-4-19 11:00 AM, Ben.Kuppers@shell.com wrote:
am having more import/export issues once I start using the openmpi
binaries that I built with the Microsoft compiler. I get unresolved
errors for MPI::Comm::Comm and for MPI::Datatype::Free when I link our
program. The C functions MPI_Comm_create and MPI_Type_free are exported
C++ equivalents apparently are not. Our source code builds and runs
issues with the Linux version of openmpi.
you have any suggestions?
Shiqing Fan [mailto:firstname.lastname@example.org]
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
believe changing OMPI_DECLSPEC to
__declspec(dllexport) inside functions.h will allow the cxx module to
(and export the function) but will break any client using (and thus
import) it. OMPI_DECLSPEC should only be defined as
compiling the cxx module (say when libmpi_cxx_EXPORTS is defined).
Yes, as long as there are more functions to
have to be defined in that way. I don't see any option for Intel
manage this automatically.
also noticed that the Intel compiler has issues
with the preprocessor definitions for ompi_info
"OMPI_CONFIGURE_DATE=\"03:18 PM Wed 04/14/2010 \"" and
PM Wed 04/14/2010
\"". The quotes around the definitions throw it off completely. Is
that something that CMake does or do you instruct CMake to do this?
Intel and Microsoft compiler work correctly without them.
In which project did you see those preprocessor
Because for me, I don't see them. Actually, they are not used as
in the whole solution, but they are only some cached variables in
you please try to do a clean configuration with CMake, and see if they
users mailing list
Shiqing Fan http://www.hlrs.de/people/fan
High Performance Computing Tel.: +49 711 685 87234
Center Stuttgart (HLRS) Fax.: +49 711 685 65832
Address:Allmandring 30 email: email@example.com