• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OpenMPI in XCode 3.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenMPI in XCode 3.2


  • Subject: Re: OpenMPI in XCode 3.2
  • From: Adam Mooz <email@hidden>
  • Date: Mon, 11 Jan 2010 14:38:07 -0500

Well now I just feel plain silly.  I thought you meant that was the only line you changed to implement OpenMPI.

Thanks!

Adam Mooz
Blog: http://www.adammooz.com
LinkedIn: http://www.linkedin.com/ln/adammooz


On Mon, Jan 11, 2010 at 2:26 PM, Dave Reed <email@hidden> wrote:

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

References: 
 >OpenMPI in XCode 3.2 (From: Adam Mooz <email@hidden>)
 >Re: OpenMPI in XCode 3.2 (From: email@hidden)
 >Re: OpenMPI in XCode 3.2 (From: Adam Mooz <email@hidden>)
 >Re: OpenMPI in XCode 3.2 (From: Dave Reed <email@hidden>)

  • Prev by Date: Re: getting standard input when running MPI program using custom executable
  • Next by Date: Re: #pragma ignored
  • Previous by thread: Re: OpenMPI in XCode 3.2
  • Next by thread: How to resolve bulk warning "Creating selector for nonexistent method ..."?
  • Index(es):
    • Date
    • Thread