Re: OpenMPI in XCode 3.2
Re: OpenMPI in XCode 3.2
- Subject: Re: OpenMPI in XCode 3.2
- From: Dave Reed <email@hidden>
- Date: Mon, 11 Jan 2010 14:26:18 -0500
On Jan 11, 2010, at 10:57 AM, Adam Mooz wrote:
> Hey Dave,
>
> Could you post your .xconfig file as a sample for anyone else who's looking to do the same?
>
> Adam Mooz
> Blog: http://www.adammooz.com
> LinkedIn: http://www.linkedin.com/ln/adammooz
>
>
> On Sun, Jan 10, 2010 at 10:04 AM, <email@hidden> wrote:
>
> On Jan 9, 2010, at 8:35 PM, Adam Mooz wrote:
>
> > Hello All,
> >
> > I'm trying to setup XCode so I can compile OpenMPI programs from within XCode, but the only documentation seems to be for setting up XCode 2.3, not 3.2. Has anyone successfully setup OpenMPI within XCode or can someone point me to documentation on adding a custom compiler to XCode?
> >
> > Thanks,
> > -----------------------------------------------------------------
> > Adam Mooz
> > email@hidden
> > http://www.AdamMooz.com
>
>
> Funny you should ask, I was just getting ready to post a question about running MPI programs from Xcode. I'll post it in a separate message to keep the mail threads clean. Here's what I did to use mpi to compile within Xcode.
>
> The way I've done it is to create a build configuration file (see the following documentation for how to do this).
>
> <http://developer.apple.com/Mac/library/documentation/DeveloperTools/Conceptual/XcodeBuildSystem/400-Build_Configurations/build_configs.html>
>
> In the xcconfig configuration file, put the line:
> CC = /usr/bin/mpic++
>
> since I'm writing C++ MPI code.
>
> and the tell Xcode to use that configuration file as shown in figure 4.2 of the above link.
>
> Dave
There's only one line in my mpi.xcconfig file:
CC = /usr/bin/mpic++
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden