• 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
Xcode 3 with OpenMPI compile problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 3 with OpenMPI compile problem


  • Subject: Xcode 3 with OpenMPI compile problem
  • From: Andrew Forrest <email@hidden>
  • Date: Sat, 05 Apr 2008 18:25:28 +0100

Hello All,

I'm attempting to get openMPI working with Xcode 3. From the
documentation I have read it is very strongly recommended that
rather than linking with libraries directly or changing
makefiles that a wrapper compiler is used, that is instead of :

   shell$ gcc my_mpi_application.c -o my_mpi_application

use:

   shell$ mpicc my_mpi_application.c -o my_mpi_application

To do this in Xcode one needs to set the compiler to be different from
the standard gcc options.
Following advice from:

   http://www.open-mpi.org/faq/?category=osx

In Xcode 2.3 it is possible to create a new compiler name with the
correct characteristics by adding a script at

   Library/Application Support/Apple/Developer Tools/Specifications/

In Xcode 3 this directory does not exist. The directory

   Developer/Library/Xcode/Specifications/

does exist, but putting the script in this directory does not help. The
only other way of changing the default C or C++ compiler
is using the target get info. and adding a custom script, but I have found no examples, so do not know what to put in the script.


Has anyone solved the problem? Has anyone a script to change the
compiler or add a new custom script for a new
type of file that I could use as a basis for this?

Thanks in advance for any help you can give

                Andrew



_______________________________________________
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: Xcode 3 with OpenMPI compile problem
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: Getting started with Xcode 3
  • Next by Date: Re: Subversion no longer working in 3.0
  • Previous by thread: Re: Getting started with Xcode 3
  • Next by thread: Re: Xcode 3 with OpenMPI compile problem
  • Index(es):
    • Date
    • Thread