OpenMPI + 64-bit + intel compilers + x-grid: possible?
By Mark at Wed, Sep 5 2007 11:11am |
I followed the article on compiling and using openMPI via gcc and xgrid. It worked great. That being said, the code I am using is much more efficient when using icpc + Intel MKL (I am using the 64-bit libraries). When I attempt to compile OpenMPI for 64-bit, using the intel compilers, It is unable to compile the x-grid module. Has anyone done this successfully or have any tips as to getting the x-grid module to compile for the intel compiler OpenMPI?
-Mark




How soon do you need it?
I can't give you any tips for that -- I haven't tried compiling with the Intel compiler myself.
But if you're thinking about a Leopard upgrade, you might want to know that OpenMPI is included as a standard install:
http://www.apple.com/macosx/leopard/technology/multicore.html
That may fix your problem, since there won't be any need to compile OpenMPI yourself.
Thanks for the info
Thanks for the info ghutchis.
I was aware that Leopard would have an OpenMPI implementation. The issue is that OpenMPI supplies some pre-processors (essentially wrappers around a compiler) that allow you to compile an MPI app easily. When you compile OpenMPI using the intel compiler, you get an intel compiler wrapper. When you compile OpenMPI using the GCC compiler, you get a GCC wrapper. I would think that Apple's implementation will be using GCC, which still leaves me compiling an intel compiler version on my own.
Now, I'm not sure if it is possible to compile OpenMPI using GCC, then have it create an intel compiler wrapper. In theory, as long as I compile OpenMPI as 64-bit libraries in whatever compiler, I should be able to link the libraries using icpc for my apps.
MPI wrappers
The wrappers in question is usually just shell scripts. All they will typically do is link in the OpenMPI libraries. If I were you, I would just compile OpenMPI with gcc, and take a look in the wrapper scripts to figure out which libraries you need, and then link them directly into your own app using the intel compiler command to link.
The wrappers are just a minor convenience.
Drew
---------------------------
Drew McCormack
http://www.maccoremac.com
http://www.macanics.net
http://www.macresearch.org
Just a quick follow-up to
Just a quick follow-up to this.
The root of the problem was in that the Tiger X-Grid libraries were only 32-bit, so I couldn't compile a 64-bit version of OpenMPI using X-Grid. Now that there is a 64-bit version of X-Grid with Leopard, it should be possible.
Did you get this combo working yet?
If you were able to get it all working together, would you mind sharing your story?
Thank you,
-Bryan
I have noticed lately that
I have noticed lately that OpenMPI 1.5 and 1.4 are dropping support for XGrid. I definitely find this to be sad, since OpenMPI has worked so faithfully under Leopard.
What would probably need to see is if we can reproduce the scripts for using any of the MPI's with XGrid, and preferably in an universal way. Namely, if we have code that is configured for "-arch=i386 -arch=x86_64 -arch=ppc", that we could use that effectively. Maybe just a thought with some over the counter pharmaceutical, but if there is any guidance to had on this issue, I would appreciate it.
Thank you,
Dan Beatty