Re: [OMPI users] Where to start with MPI on OSX?
Make sure the mpicc commands are in your path. Most likely the permissions are too restrictive on the commands. Make sure they're all group/world read & execute (I set them with chmod 755 ...) As for XCode, I cheat. Since I build multi-platform, I use CMake or SCons. In one case, I setup XCode as an external compile project, and then use scons as the compile command. And since you're using "import" you must be compiling in Objective-C, of which, I can provide no assistance (c/c++/python). Mark On Thu, Nov 15, 2012 at 2:20 AM, shiny knight wrote: > Thanks Mark, > > Figured out that I had both pointing to the same locationremoved > MPICH2 by hand, as you mentioned. > > Installed OMPI and it works finally (via console thou). > > Altho I gotta use sudo before the mpicc or mpiexec, or I get nothing (plus > I gotta be in the dir where I installed OMPI to use the commands...not sure > if this is right or if I gotta make changes somewhere...I would like to > call these commands like I do for grep and other commands ). > > Now the next obstacle is to find out how to let Xcode to see the MPI > libraries; I can run programs via terminal, but if I try to run them in > Xcode I get an error because it cannot find MPI.h; even if i do a > > #import > > I suspect that it should work but I am probably missing somethinghow > are you able to use MPI on Xcode? Gotta change some build settings? > > Thanks! > > > On Nov 12, 2012, at 7:29 AM, Mark Bolstad wrote: > > You may want to see if you have MacPorts installed. Typically (but not > always), /opt/local is from a MacPorts installation. If it is then it's > very easy to remove mpich and install openmpi. > > To check for MacPorts, see if /opt/local/bin/port exists. Then, > > sudo port uninstall --follow-dependencies mpich2 > sudo port install openmpi > > FYI, I'm using OpenMPI 1.6 with XCode 4.5.2 on 10.8.2 and it works fine. > > Mark > > On Fri, Nov 9, 2012 at 6:55 PM, shiny knight wrote: > >> Thanks Reuti for the sample. >> >> I have the latest Xcode available on the Apple dev center; Xcode 4 >> probably? >> >> I think that the reason why nothing happens is because the code runs via >> MPICH2; tried to launch mpicc with the -echo flag and i see in the output >> >> -I/opt/local/include/mpich2 -L/opt/local/lib -lpmpich -lmpich -lopa -lmpl >> -lpthread >> >> which makes me think that i am using MPICH2; I just need to figure out >> how to remove it now...found a dir in opt/local/include that is called >> mpich2 but I am not sure if is enough to just delete that dir. >> >> >> When I have installed OpenMPI I followed the instructions on this site: >> >> >> https://sites.google.com/site/dwhipp/tutorials/installing-open-mpi-on-mac-os-x >> >> While for MPICH2 I've followed this one: >> >> http://www.mpitutorial.com/installing-mpich2/ >> >> Most likely I've put them on top of each other and messed up both >> >> >> >> On Nov 9, 2012, at 2:32 AM, Reuti wrote: >> >> > Am 09.11.2012 um 08:47 schrieb shiny knight: >> > >> >> Thanks for your replies. >> >> >> >> I use Snow Leopard, running ompi_info returns an error (command not >> found). >> > >> > I'm on this version too. Which version of Xcode do you use - "Xcode >> 3.2.6 and iOS SDK 4.3"? Attached is a small file which I can compile with >> the mentioned command. >> > >> > $ mpicc demo.m -o demo -O0 -ObjC -framework Foundation -framework >> CoreLocation >> > $ mpiexec -np 2 ./demo >> > >> > >> >> I was looking for installers and I remember that I have installed >> MPICH2 if I recall correctly (I didn't knew about openMPI until today), so >> I have mpicc installed. >> >> >> >> Should I remove MPICH2 and install OpenMPI? >> > >> > Yes. >> > >> > Different MPI implementations have to be installed in different >> locations and the paths set accordingly. Also note, that an application >> compiled with Open MPI can't be started with MPICH2 `mpiexec` and vice >> versa. Well, yes - it could be started but it will only run in serial in >> all instances like you can start any application with `mpiexec`. As `mpicc` >> is only a wrapper to provide additonal paths arguments to -I/-L/-l, all >> usual options apply. In principle MPI applications can also be compiled by >> a plain gcc, but then you have to take care of all the necessary libraries >> on your own. >> > >> > -- Reuti >> > >> > ___ >> > users mailing list >> > us...@open-mpi.org >> > http://www.open-mpi.org/mailman/listinfo.cgi/users >> >> ___ >> users mailing list >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users >> > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > > > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >
Re: [OMPI users] Where to start with MPI on OSX?
Thanks Mark, Figured out that I had both pointing to the same locationremoved MPICH2 by hand, as you mentioned. Installed OMPI and it works finally (via console thou). Altho I gotta use sudo before the mpicc or mpiexec, or I get nothing (plus I gotta be in the dir where I installed OMPI to use the commands...not sure if this is right or if I gotta make changes somewhere...I would like to call these commands like I do for grep and other commands ). Now the next obstacle is to find out how to let Xcode to see the MPI libraries; I can run programs via terminal, but if I try to run them in Xcode I get an error because it cannot find MPI.h; even if i do a #import I suspect that it should work but I am probably missing somethinghow are you able to use MPI on Xcode? Gotta change some build settings? Thanks! On Nov 12, 2012, at 7:29 AM, Mark Bolstad wrote: > You may want to see if you have MacPorts installed. Typically (but not > always), /opt/local is from a MacPorts installation. If it is then it's very > easy to remove mpich and install openmpi. > > To check for MacPorts, see if /opt/local/bin/port exists. Then, > > sudo port uninstall --follow-dependencies mpich2 > sudo port install openmpi > > FYI, I'm using OpenMPI 1.6 with XCode 4.5.2 on 10.8.2 and it works fine. > > Mark > > On Fri, Nov 9, 2012 at 6:55 PM, shiny knight wrote: > Thanks Reuti for the sample. > > I have the latest Xcode available on the Apple dev center; Xcode 4 probably? > > I think that the reason why nothing happens is because the code runs via > MPICH2; tried to launch mpicc with the -echo flag and i see in the output > > -I/opt/local/include/mpich2 -L/opt/local/lib -lpmpich -lmpich -lopa -lmpl > -lpthread > > which makes me think that i am using MPICH2; I just need to figure out how to > remove it now...found a dir in opt/local/include that is called mpich2 but I > am not sure if is enough to just delete that dir. > > > When I have installed OpenMPI I followed the instructions on this site: > > https://sites.google.com/site/dwhipp/tutorials/installing-open-mpi-on-mac-os-x > > While for MPICH2 I've followed this one: > > http://www.mpitutorial.com/installing-mpich2/ > > Most likely I've put them on top of each other and messed up both > > > > On Nov 9, 2012, at 2:32 AM, Reuti wrote: > > > Am 09.11.2012 um 08:47 schrieb shiny knight: > > > >> Thanks for your replies. > >> > >> I use Snow Leopard, running ompi_info returns an error (command not found). > > > > I'm on this version too. Which version of Xcode do you use - "Xcode 3.2.6 > > and iOS SDK 4.3"? Attached is a small file which I can compile with the > > mentioned command. > > > > $ mpicc demo.m -o demo -O0 -ObjC -framework Foundation -framework > > CoreLocation > > $ mpiexec -np 2 ./demo > > > > > >> I was looking for installers and I remember that I have installed MPICH2 > >> if I recall correctly (I didn't knew about openMPI until today), so I have > >> mpicc installed. > >> > >> Should I remove MPICH2 and install OpenMPI? > > > > Yes. > > > > Different MPI implementations have to be installed in different locations > > and the paths set accordingly. Also note, that an application compiled with > > Open MPI can't be started with MPICH2 `mpiexec` and vice versa. Well, yes - > > it could be started but it will only run in serial in all instances like > > you can start any application with `mpiexec`. As `mpicc` is only a wrapper > > to provide additonal paths arguments to -I/-L/-l, all usual options apply. > > In principle MPI applications can also be compiled by a plain gcc, but then > > you have to take care of all the necessary libraries on your own. > > > > -- Reuti > > > > ___ > > users mailing list > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] Where to start with MPI on OSX?
You may want to see if you have MacPorts installed. Typically (but not always), /opt/local is from a MacPorts installation. If it is then it's very easy to remove mpich and install openmpi. To check for MacPorts, see if /opt/local/bin/port exists. Then, sudo port uninstall --follow-dependencies mpich2 sudo port install openmpi FYI, I'm using OpenMPI 1.6 with XCode 4.5.2 on 10.8.2 and it works fine. Mark On Fri, Nov 9, 2012 at 6:55 PM, shiny knight wrote: > Thanks Reuti for the sample. > > I have the latest Xcode available on the Apple dev center; Xcode 4 > probably? > > I think that the reason why nothing happens is because the code runs via > MPICH2; tried to launch mpicc with the -echo flag and i see in the output > > -I/opt/local/include/mpich2 -L/opt/local/lib -lpmpich -lmpich -lopa -lmpl > -lpthread > > which makes me think that i am using MPICH2; I just need to figure out how > to remove it now...found a dir in opt/local/include that is called mpich2 > but I am not sure if is enough to just delete that dir. > > > When I have installed OpenMPI I followed the instructions on this site: > > > https://sites.google.com/site/dwhipp/tutorials/installing-open-mpi-on-mac-os-x > > While for MPICH2 I've followed this one: > > http://www.mpitutorial.com/installing-mpich2/ > > Most likely I've put them on top of each other and messed up both > > > > On Nov 9, 2012, at 2:32 AM, Reuti wrote: > > > Am 09.11.2012 um 08:47 schrieb shiny knight: > > > >> Thanks for your replies. > >> > >> I use Snow Leopard, running ompi_info returns an error (command not > found). > > > > I'm on this version too. Which version of Xcode do you use - "Xcode > 3.2.6 and iOS SDK 4.3"? Attached is a small file which I can compile with > the mentioned command. > > > > $ mpicc demo.m -o demo -O0 -ObjC -framework Foundation -framework > CoreLocation > > $ mpiexec -np 2 ./demo > > > > > >> I was looking for installers and I remember that I have installed > MPICH2 if I recall correctly (I didn't knew about openMPI until today), so > I have mpicc installed. > >> > >> Should I remove MPICH2 and install OpenMPI? > > > > Yes. > > > > Different MPI implementations have to be installed in different > locations and the paths set accordingly. Also note, that an application > compiled with Open MPI can't be started with MPICH2 `mpiexec` and vice > versa. Well, yes - it could be started but it will only run in serial in > all instances like you can start any application with `mpiexec`. As `mpicc` > is only a wrapper to provide additonal paths arguments to -I/-L/-l, all > usual options apply. In principle MPI applications can also be compiled by > a plain gcc, but then you have to take care of all the necessary libraries > on your own. > > > > -- Reuti > > > > ___ > > users mailing list > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >
Re: [OMPI users] Where to start with MPI on OSX?
Am 10.11.2012 um 00:55 schrieb shiny knight: > Thanks Reuti for the sample. > > I have the latest Xcode available on the Apple dev center; Xcode 4 probably? As I don't intend to develop for 10.7 or above I stayed with 3.2.6. In the beginning Xcode wasn't free and so I didn't look into it. I can also compile the latest Open MPI 1.6.3 with the above version. > I think that the reason why nothing happens is because the code runs via > MPICH2; tried to launch mpicc with the -echo flag and i see in the output > > -I/opt/local/include/mpich2 -L/opt/local/lib -lpmpich -lmpich -lopa -lmpl > -lpthread Yep. -- Reuti > which makes me think that i am using MPICH2; I just need to figure out how to > remove it now...found a dir in opt/local/include that is called mpich2 but I > am not sure if is enough to just delete that dir. > > > When I have installed OpenMPI I followed the instructions on this site: > > https://sites.google.com/site/dwhipp/tutorials/installing-open-mpi-on-mac-os-x > > While for MPICH2 I've followed this one: > > http://www.mpitutorial.com/installing-mpich2/ > > Most likely I've put them on top of each other and messed up both > > > > On Nov 9, 2012, at 2:32 AM, Reuti wrote: > >> Am 09.11.2012 um 08:47 schrieb shiny knight: >> >>> Thanks for your replies. >>> >>> I use Snow Leopard, running ompi_info returns an error (command not found). >> >> I'm on this version too. Which version of Xcode do you use - "Xcode 3.2.6 >> and iOS SDK 4.3"? Attached is a small file which I can compile with the >> mentioned command. >> >> $ mpicc demo.m -o demo -O0 -ObjC -framework Foundation -framework >> CoreLocation >> $ mpiexec -np 2 ./demo >> >> >>> I was looking for installers and I remember that I have installed MPICH2 if >>> I recall correctly (I didn't knew about openMPI until today), so I have >>> mpicc installed. >>> >>> Should I remove MPICH2 and install OpenMPI? >> >> Yes. >> >> Different MPI implementations have to be installed in different locations >> and the paths set accordingly. Also note, that an application compiled with >> Open MPI can't be started with MPICH2 `mpiexec` and vice versa. Well, yes - >> it could be started but it will only run in serial in all instances like you >> can start any application with `mpiexec`. As `mpicc` is only a wrapper to >> provide additonal paths arguments to -I/-L/-l, all usual options apply. In >> principle MPI applications can also be compiled by a plain gcc, but then you >> have to take care of all the necessary libraries on your own. >> >> -- Reuti >> >> ___ >> users mailing list >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] Where to start with MPI on OSX?
Thanks Reuti for the sample. I have the latest Xcode available on the Apple dev center; Xcode 4 probably? I think that the reason why nothing happens is because the code runs via MPICH2; tried to launch mpicc with the -echo flag and i see in the output -I/opt/local/include/mpich2 -L/opt/local/lib -lpmpich -lmpich -lopa -lmpl -lpthread which makes me think that i am using MPICH2; I just need to figure out how to remove it now...found a dir in opt/local/include that is called mpich2 but I am not sure if is enough to just delete that dir. When I have installed OpenMPI I followed the instructions on this site: https://sites.google.com/site/dwhipp/tutorials/installing-open-mpi-on-mac-os-x While for MPICH2 I've followed this one: http://www.mpitutorial.com/installing-mpich2/ Most likely I've put them on top of each other and messed up both On Nov 9, 2012, at 2:32 AM, Reuti wrote: > Am 09.11.2012 um 08:47 schrieb shiny knight: > >> Thanks for your replies. >> >> I use Snow Leopard, running ompi_info returns an error (command not found). > > I'm on this version too. Which version of Xcode do you use - "Xcode 3.2.6 and > iOS SDK 4.3"? Attached is a small file which I can compile with the mentioned > command. > > $ mpicc demo.m -o demo -O0 -ObjC -framework Foundation -framework CoreLocation > $ mpiexec -np 2 ./demo > > >> I was looking for installers and I remember that I have installed MPICH2 if >> I recall correctly (I didn't knew about openMPI until today), so I have >> mpicc installed. >> >> Should I remove MPICH2 and install OpenMPI? > > Yes. > > Different MPI implementations have to be installed in different locations and > the paths set accordingly. Also note, that an application compiled with Open > MPI can't be started with MPICH2 `mpiexec` and vice versa. Well, yes - it > could be started but it will only run in serial in all instances like you can > start any application with `mpiexec`. As `mpicc` is only a wrapper to provide > additonal paths arguments to -I/-L/-l, all usual options apply. In principle > MPI applications can also be compiled by a plain gcc, but then you have to > take care of all the necessary libraries on your own. > > -- Reuti > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] Where to start with MPI on OSX?
On Nov 8, 2012, at 6:55 PM, Beatty, Daniel D CIV NAVAIR, 474300D wrote: > I have read that OMPI from source works on Mountain Lion, but there are some > dependencies to make it work with LLVM and to make GCC-Fortran transition to > LLVM. > > If there are some gurus out there who have done this fill us with wisdom. Several OMPI dev have Mountain Lion on their laptops, and are able to compile/install/run/develop Open MPI with no problems. I have Lion myself -- haven't upgraded to ML yet -- but I'm not anticipating any problems when I do eventually upgrade. -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [OMPI users] Where to start with MPI on OSX?
Am 09.11.2012 um 08:47 schrieb shiny knight: > Thanks for your replies. > > I use Snow Leopard, running ompi_info returns an error (command not found). I'm on this version too. Which version of Xcode do you use - "Xcode 3.2.6 and iOS SDK 4.3"? Attached is a small file which I can compile with the mentioned command. $ mpicc demo.m -o demo -O0 -ObjC -framework Foundation -framework CoreLocation $ mpiexec -np 2 ./demo > I was looking for installers and I remember that I have installed MPICH2 if I > recall correctly (I didn't knew about openMPI until today), so I have mpicc > installed. > > Should I remove MPICH2 and install OpenMPI? Yes. Different MPI implementations have to be installed in different locations and the paths set accordingly. Also note, that an application compiled with Open MPI can't be started with MPICH2 `mpiexec` and vice versa. Well, yes - it could be started but it will only run in serial in all instances like you can start any application with `mpiexec`. As `mpicc` is only a wrapper to provide additonal paths arguments to -I/-L/-l, all usual options apply. In principle MPI applications can also be compiled by a plain gcc, but then you have to take care of all the necessary libraries on your own. -- Reuti demo.m Description: Binary data
Re: [OMPI users] Where to start with MPI on OSX?
Thanks for your replies. I use Snow Leopard, running ompi_info returns an error (command not found). I was looking for installers and I remember that I have installed MPICH2 if I recall correctly (I didn't knew about openMPI until today), so I have mpicc installed. Should I remove MPICH2 and install OpenMPI? So I can use any of the tutorials already out there? Is there some in particular that explains well the basics? I am planning to write my own wrapper for Objective-C, so maybe other mac users could benefit from it (never learned C properly, started directly with C++). I've also purchased today a book called "parallel programming with MPI (Peter Pacheco), so I can start to learn the basics. OF course if anyone is using a mac and want to share their hello world, I will be more than happy to check them. So far I had no luck running even a basic app (and it is quite disappointing to see that there are examples for OpenCL even on the Apple dev documentation, while there is not that much around for MPI). tried to run "mpicc -ObjC -framework Foundation -framework CoreLocation", but I get an error (symbols not found). On Nov 8, 2012, at 3:55 PM, Beatty, Daniel D CIV NAVAIR, 474300D wrote: > Greetings ladies and gentlemen, > I believe that the last version of OSX to have OpenMPI shipped with the dev > tools or the OS was Snow Leopard. That version I believe was version OMPI > 1.29. > > I am starting to get back to working with MPI myself. The last time I worked > with MPI, I basically wrapped the C function into Objective-C. Often I would > let Objective-C do the marshaling for me, and have MPI do the message passing > itself. > > I have read that OMPI from source works on Mountain Lion, but there are some > dependencies to make it work with LLVM and to make GCC-Fortran transition to > LLVM. > > If there are some gurus out there who have done this fill us with wisdom. > > V/R, > Dan > > -Original Message- > From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On > Behalf Of Reuti > Sent: Thursday, November 08, 2012 15:09 > To: Open MPI Users > Subject: Re: [OMPI users] Where to start with MPI on OSX? > > Am 08.11.2012 um 23:25 schrieb shiny knight: > >> I've discovered MPI recently, and I would like to start to write some >> applications to use it's potential. >> >> Now the problem is that I use a mac, and I see no tutorials or books that >> are targeting OSX, so I was wondering if you could give me some pointers >> about where to find info. >> >> I use Xcode; from what I can understand, MPI uses C, so I need to use a >> console application template for Xcode. I do not see any wrapper for >> Objective-C, so I assume that C is the only language used for MPI? > > There is also C++ and Fortran support, while the C++ interface is deprecated > as the C one will do here too. > > >> Thanks in advance for any info that you can give me; I really like the idea >> to use MPI for scientific applications, but I am totally new to this (I have >> experience in C++ on Windows, and a bit of Objective-C on mac). I would love >> to see tutorials that explains how to do simple apps on mac using MPI, but >> if they exist, they are very well hidden :) > > With some versions of OS X it's installed already - well an older version. > Can you issue: > > $ ompi_info > > on the command line? As MPI is a standard which is not targeting any specific > platform, most of the tutorials should apply here too, as long as they don't > access any OS specific functions. > > For an Objective-C application: > > $ mpicc -ObjC -framework Foundation -framework CoreLocation > > -- Reuti > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] Where to start with MPI on OSX?
Greetings ladies and gentlemen, I believe that the last version of OSX to have OpenMPI shipped with the dev tools or the OS was Snow Leopard. That version I believe was version OMPI 1.29. I am starting to get back to working with MPI myself. The last time I worked with MPI, I basically wrapped the C function into Objective-C. Often I would let Objective-C do the marshaling for me, and have MPI do the message passing itself. I have read that OMPI from source works on Mountain Lion, but there are some dependencies to make it work with LLVM and to make GCC-Fortran transition to LLVM. If there are some gurus out there who have done this fill us with wisdom. V/R, Dan -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Reuti Sent: Thursday, November 08, 2012 15:09 To: Open MPI Users Subject: Re: [OMPI users] Where to start with MPI on OSX? Am 08.11.2012 um 23:25 schrieb shiny knight: > I've discovered MPI recently, and I would like to start to write some > applications to use it's potential. > > Now the problem is that I use a mac, and I see no tutorials or books that are > targeting OSX, so I was wondering if you could give me some pointers about > where to find info. > > I use Xcode; from what I can understand, MPI uses C, so I need to use a > console application template for Xcode. I do not see any wrapper for > Objective-C, so I assume that C is the only language used for MPI? There is also C++ and Fortran support, while the C++ interface is deprecated as the C one will do here too. > Thanks in advance for any info that you can give me; I really like the idea > to use MPI for scientific applications, but I am totally new to this (I have > experience in C++ on Windows, and a bit of Objective-C on mac). I would love > to see tutorials that explains how to do simple apps on mac using MPI, but if > they exist, they are very well hidden :) With some versions of OS X it's installed already - well an older version. Can you issue: $ ompi_info on the command line? As MPI is a standard which is not targeting any specific platform, most of the tutorials should apply here too, as long as they don't access any OS specific functions. For an Objective-C application: $ mpicc -ObjC -framework Foundation -framework CoreLocation -- Reuti ___ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users smime.p7s Description: S/MIME cryptographic signature
Re: [OMPI users] Where to start with MPI on OSX?
Am 08.11.2012 um 23:25 schrieb shiny knight: > I've discovered MPI recently, and I would like to start to write some > applications to use it's potential. > > Now the problem is that I use a mac, and I see no tutorials or books that are > targeting OSX, so I was wondering if you could give me some pointers about > where to find info. > > I use Xcode; from what I can understand, MPI uses C, so I need to use a > console application template for Xcode. I do not see any wrapper for > Objective-C, so I assume that C is the only language used for MPI? There is also C++ and Fortran support, while the C++ interface is deprecated as the C one will do here too. > Thanks in advance for any info that you can give me; I really like the idea > to use MPI for scientific applications, but I am totally new to this (I have > experience in C++ on Windows, and a bit of Objective-C on mac). I would love > to see tutorials that explains how to do simple apps on mac using MPI, but if > they exist, they are very well hidden :) With some versions of OS X it's installed already - well an older version. Can you issue: $ ompi_info on the command line? As MPI is a standard which is not targeting any specific platform, most of the tutorials should apply here too, as long as they don't access any OS specific functions. For an Objective-C application: $ mpicc -ObjC -framework Foundation -framework CoreLocation -- Reuti
[OMPI users] Where to start with MPI on OSX?
Hi I've discovered MPI recently, and I would like to start to write some applications to use it's potential. Now the problem is that I use a mac, and I see no tutorials or books that are targeting OSX, so I was wondering if you could give me some pointers about where to find info. I use Xcode; from what I can understand, MPI uses C, so I need to use a console application template for Xcode. I do not see any wrapper for Objective-C, so I assume that C is the only language used for MPI? Thanks in advance for any info that you can give me; I really like the idea to use MPI for scientific applications, but I am totally new to this (I have experience in C++ on Windows, and a bit of Objective-C on mac). I would love to see tutorials that explains how to do simple apps on mac using MPI, but if they exist, they are very well hidden :)