• 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: email@hidden
  • Date: Sun, 10 Jan 2010 10:04:52 -0500

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

 _______________________________________________
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

  • Follow-Ups:
    • Re: OpenMPI in XCode 3.2
      • From: Adam Mooz <email@hidden>
References: 
 >OpenMPI in XCode 3.2 (From: Adam Mooz <email@hidden>)

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