Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] configuration of openmpi-1.5.4 with visual studio
From: Jeffrey Squyres (jsquyres_at_[hidden])
Date: 2012-04-16 09:48:42


Shiqing --

What are these defines? Shouldn't they be invisible when compiling MPI applications?

On Apr 9, 2012, at 4:13 PM, Shiqing Fan wrote:

> 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]
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/