Hi Greg,
Glad to hear that it works for you.
And yes, these definitions are necessary for compiling any MPI
application on Windows.
Regards,
Shiqing
On 2012-04-09 6:12 PM, Greg Blair wrote:
> After we had OpenMPI 1.54 working, we moved to OpenMPI 1.55 without incident.
>
> However, neither 1.54 nor 1.55 would link any reference to comm_world
> generated
> from C or C++ until we defined the following three compiler defines
> 1. OMPI_IMPORTS
> 2. OPAL_IMPORTS
> 3. ORTE_IMPORTS
>
> (drill down the MSVC IDE menu system: View Solution Explorer,
> Solution explorer, properties, C/C++, Preprocessor, Preprocessor
> Definitions and set OMPI_IMPORTS OPAL_IMPORTS and ORTE_IMPORTS)
>
> On 4/9/12, Greg Blair<greg.blair_at_[hidden]> wrote:
>> After we had OpenMPI 1.54 working, we moved to OpenMPI 1.55 without
>> incident.
>>
>> However, neither 1.54 nor 1.55 would link any reference to comm_world
>> from C or C++ until we defined the following three compile defines
>>
>
--
---------------------------------------------------------------
Shiqing Fan
High Performance Computing Center Stuttgart (HLRS)
Tel: ++49(0)711-685-87234 Nobelstrasse 19
Fax: ++49(0)711-685-65832 70569 Stuttgart
http://www.hlrs.de/organization/people/shiqing-fan/
email: fan_at_[hidden]
|