Open MPI logo

Docs Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI docs] How to compile OpenMPI applications?
From: Leonardo Fialho (leonardofialho_at_[hidden])
Date: 2013-08-24 13:18:09


:-)

On Aug 24, 2013, at 11:50, Ralph Castain <rhc_at_[hidden]> wrote:

> We generally refrain from helping students with assignments as that somewhat violates the intent of the teacher, but we can certainly provide direction. Constructing your own version of mpicc would mean that you dig thru the various .m4 files in the config directory to see what compiler and linker flags are being set. The code base tests the local environment using the .m4 files to determine which are applicable.
>
> Good luck with your assignment!
>
> On Aug 24, 2013, at 9:44 AM, manday_at_[hidden] wrote:
>
>> 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
>> _______________________________________________
>> 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