Subject: Re: [OMPI docs] How to compile OpenMPI applications?
From: manday_at_[hidden]
Date: 2013-08-24 12:44:11


Basically, yes. But what are the "right librarlies" and the necessary
header files? I would like to find documentation which does *not* assume
a "black box" (mpicc) which does all the "magic".

Of course, I could just look at the example output of mpicc --showme,
but then I couldn't be sure that this is generally the right LD and CC
flags - therefore I'm looking for a documentation which covers the
compilation requirements generally.

On Sat, Aug 24, 2013 at 11:13:31AM -0500, Leonardo Fialho wrote:
> If I'm not wrong, you just have to link the right libraries and be sure the preprocessor will find the header files. Usually, the mpicc is a compiler wraper that does that for you. Check if actually it is not a script that you can just change the content to adapt it to your necessities.
>
> On Aug 24, 2013, at 10:02 AM, manday_at_[hidden] wrote:
>
> > Hello,
> >
> > without mpicc, documentation of the general requirements. mpicc --showme
> > will just give an example, that's not what I meant when I referred to
> > "documentation".
> >
> > Freely rephrased, I'm looking for documentation which would
> > theoretically allow me to write a working mpicc myself (although that is
> > obviously not my goal).
> >
> > Thank you.
> >
> >
> > On Sat, Aug 24, 2013 at 07:34:07AM -0700, Ralph Castain wrote:
> >> Just type "mpicc --showme" and it will tell you the cmd line
> >>
> >> On Aug 24, 2013, at 3:49 AM, manday_at_[hidden] wrote:
> >>
> >>> Hello,
> >>>
> >>> could you please provide me with documentation of how to compile OpenMPI
> >>> C applications in general (without a does-it-for-you tool such as mpicc)?
> >>>
> >>> Thank you
> >>> _______________________________________________
> >>> docs mailing list
> >>> docs_at_[hidden]
> >>> http://www.open-mpi.org/mailman/listinfo.cgi/docs
> >>
> >> _______________________________________________
> >> docs mailing list
> >> docs_at_[hidden]
> >> http://www.open-mpi.org/mailman/listinfo.cgi/docs
> > _______________________________________________
> > docs mailing list
> > docs_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/docs
> _______________________________________________
> docs mailing list
> docs_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/docs