Mukesh K Srivastava wrote:
Hi OMPI Community.
Is there any thought process to extend GCC support to OpenMPI or
implementation of OpenMPI specification in GCC for C, C++ & Fortran and
making it generally available for platforms which supports POSIX.
Hi Mukesh:
Open MPI is already written in C, and compiles correctly under
several different GCC flavors. It works with C, C++, and Fortran90
currently, on multiple POSIX platforms.
Are you asking about including this natively with GCC? As OpenMP is
integrated into the compiler?
Please remember that MPI is generally a set of function/method calls
that implement particular operations. Even with a system as "simple" as
OpenMP (not Open MPI), automatic parallelization in the general quite
hard (and you don't get great performance). MPI does force you to think
about communication topology as well as many other issues. It would be
great if the compiler could handle this for you, but unfortunately, it
is far more than a "simple matter of programming". This is a genuinely
hard problem.
Can GCC community think extending a support library for OpenMPI in it's
releases.
You can build the lib*.so for each compiler, but please remember that
the builds can be different (just look at all those nice options in
configure!). The API should be the same, so as long as you build
against the same version (Jeff and others, please correct me if this
assumption is not correct), you should be able to move your runtime
linked binaries around.
BR
Mukesh
Joe
--
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics LLC,
email: land...@scalableinformatics.com
web : http://www.scalableinformatics.com
http://jackrabbit.scalableinformatics.com
phone: +1 734 786 8423
fax : +1 866 888 3112
cell : +1 734 612 4615