[mpich-discuss] Error buildingmpich-master-v3.2-88-gbbb40df74d46

Rob Latham robl at mcs.anl.gov
Wed Feb 3 15:28:09 CST 2016



On 02/03/2016 07:12 AM, Siegmar Gross wrote:
> Hi Rob,
>
> today I tried to build mpich-master-v3.2-169-gff06d55a59a3 and got the
> same errors as before. Installing "libunwind-devel" solved the problem
> for gcc-5.2.0 but not for Sun C 5.13. Do you know, when your patches
> will be available in a nightly tarball?
>

sorry about that.  it's sitting in my working copy, but I never got it 
reviewed and into master.   I just committed it and any nightly tarball 
that includes commit 14f0484f will do the trick.  should be a day or two.

==rob

>
> Kind regards
>
> Siegmar
>
>
> On 01/20/16 13:18, Siegmar Gross wrote:
>> Hi Rob,
>>
>> thank you very much for the second patch. Unfortunately it didn't
>> solve the problem completely. I looked around and found two more
>> files which needed your patches. After applying your patches I was
>> able to build the system with both compilers. I patched the following
>> files.
>>
>> loki bt 159 pwd
>> /export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46/src/pm/hydra/mpl/src/bt
>>
>> loki bt 160 diff mpl_bt.c*
>> 47,51c47
>> < /* we need not only the symbols but the header file too (for the
>> cursor and
>> <  * context), so tighten up when we take the libunwind path.  Thanks
>> <  * Siegmar.Gross at informatik.hs-fulda.de for the bug report about
>> systems with
>> <  * libunwind libraries but no libunwind development headers */
>> < #elif defined MPL_HAVE_LIBUNWIND && defined(MPL_HAVE_LIBUNWIND_H)
>> ---
>>  > #elif defined MPL_HAVE_LIBUNWIND
>> 125c121
>> < #elif defined MPL_HAVE_LIBUNWIND && defined(MPL_HAVE_LIBUNWIND_H)
>> ---
>>  > #elif defined MPL_HAVE_LIBUNWIND
>> loki bt 161
>> loki bt 161
>> loki bt 161
>> loki bt 161 cd
>> /export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt
>>
>> loki bt 162 diff
>> mpl_bt.c*
>> 47,51c47
>> < /* we need not only the symbols but the header file too (for the
>> cursor and
>> <  * context), so tighten up when we take the libunwind path.  Thanks
>> <  * Siegmar.Gross at informatik.hs-fulda.de for the bug report about
>> systems with
>> <  * libunwind libraries but no libunwind development headers */
>> < #elif defined MPL_HAVE_LIBUNWIND && defined(MPL_HAVE_LIBUNWIND_H)
>> ---
>>  > #elif defined MPL_HAVE_LIBUNWIND
>> 125c121
>> < #elif defined MPL_HAVE_LIBUNWIND && defined(MPL_HAVE_LIBUNWIND_H)
>> ---
>>  > #elif defined MPL_HAVE_LIBUNWIND
>> loki bt 163
>> loki bt 163
>> loki bt 163
>> loki bt 163 cd
>> /export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/
>>
>> loki bt 164 diff mpl_bt.c mpl_bt.c.orig
>> 47,51c47
>> < /* we need not only the symbols but the header file too (for the
>> cursor and
>> <  * context), so tighten up when we take the libunwind path.  Thanks
>> <  * Siegmar.Gross at informatik.hs-fulda.de for the bug report about
>> systems with
>> <  * libunwind libraries but no libunwind development headers */
>> < #elif defined MPL_HAVE_LIBUNWIND && defined(MPL_HAVE_LIBUNWIND_H)
>> ---
>>  > #elif defined MPL_HAVE_LIBUNWIND
>> 125c121
>> < #elif defined MPL_HAVE_LIBUNWIND && defined(MPL_HAVE_LIBUNWIND_H)
>> ---
>>  > #elif defined MPL_HAVE_LIBUNWIND
>> loki bt 165
>>
>>
>>
>> I also got a lot of errors for Sun C. I don't know if they break
>> anything or are just a kind of "warning".
>>
>> loki mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc 176
>> loki mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc 176 grep
>> error: log.make.Linux.x86_64.64_cc | sort | uniq
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/channels/nemesis/include/mpid_nem_datatypes.h",
>> line 156: warning:
>> syntax error:  empty member declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/channels/nemesis/include/mpid_nem_datatypes.h",
>> line 161: warning:
>> syntax error:  empty member declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/channels/nemesis/src/ch3_win_fns.c",
>> line 17: warning: syntax error:
>>   empty declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/include/mpid_rma_lockqueue.h",
>> line 13: warning: syntax error: empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/include/mpid_rma_lockqueue.h",
>> line 14: warning: syntax error: empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/include/mpid_rma_oplist.h",
>> line 21: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/include/mpidi_recvq_statistics.h",
>> line 13: warning: syntax error:
>> empty declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_recvq.c",
>> line 100: warning: syntax error:  empty declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_recvq.c",
>> line 103: warning: syntax error:  empty declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_recvq.c",
>> line 95: warning: syntax error:  empty declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_recvq.c",
>> line 96: warning: syntax error:  empty declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_recvq.c",
>> line 97: warning: syntax error:  empty declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_recvq.c",
>> line 98: warning: syntax error:  empty declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_recvq.c",
>> line 99: warning: syntax error:  empty declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_ops.c",
>> line 9: warning: syntax error:  empty declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 10: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 11: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 12: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 13: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 14: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 15: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 16: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 17: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 18: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 19: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 20: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 21: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 22: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 23: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 24: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_pkthandler.c",
>> line 25: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_sync.c",
>> line 259: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_sync.c",
>> line 260: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_sync.c",
>> line 261: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_sync.c",
>> line 263: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_rma_sync.c",
>> line 264: warning: syntax error:  empty
>> declaration
>> "../mpich-master-v3.2-88-gbbb40df74d46/src/mpid/ch3/src/ch3u_win_fns.c",
>> line 11: warning: syntax error:  empty declaration
>> loki mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc 177
>>
>>
>> I'll try to test this version later and let you know if something doesn't
>> work as expected.
>>
>>
>> Best regards and thank you very much for your help again
>>
>> Siegmar
>>
>>
>> On 01/19/16 18:45, Rob Latham wrote:
>>>
>>>
>>> On 01/16/2016 02:35 AM, Siegmar Gross wrote:
>>>> Hi Rob,
>>>>
>>>> I've attached the files for both compilers.
>>>>
>>>> Best regards and thank you very much for your help
>>>
>>> It looks like the compiler doesn't matter in your environment.
>>>
>>> I did find one more spot to update, and now with your mplconfig.h in
>>> place I get no warnings.
>>>
>>>  From the messages you included, it still looks like MPICH is trying
>>> to compile the libunwind functions, even though
>>> I've done everything I can to check for that.
>>>
>>> If the attached patch does nothing for you, then I will simply remove
>>> libunwind support until I can set  up a suse
>>> virtual machine and figure out what's going on.
>>>
>>> ==rob
>>>
>>>>
>>>> Siegmar
>>>>
>>>>
>>>> Am 15.01.2016 um 16:55 schrieb Rob Latham:
>>>>>
>>>>>
>>>>> On 01/15/2016 06:56 AM, Siegmar Gross wrote:
>>>>>> Hi Rob,
>>>>>>
>>>>>> I had to change "#if" to "#elif", but I still get errors. I've
>>>>>> attached the
>>>>>> log files.
>>>>>
>>>>> OK, you can see what I'm trying to do, yes?  On my end, everything
>>>>> I've done
>>>>> to re-create your environment works for me.  One more favor: send
>>>>> me your
>>>>> src/mpl/include/mplconfig.h
>>>>>
>>>>> Thanks
>>>>> ==rob
>>>>> _______________________________________________
>>>>> discuss mailing list     discuss at mpich.org
>>>>> To manage subscription options or unsubscribe:
>>>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>>
>>>>
>>>> _______________________________________________
>>>> discuss mailing list     discuss at mpich.org
>>>> To manage subscription options or unsubscribe:
>>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>>
>>>
>>>
>>> _______________________________________________
>>> discuss mailing list     discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>
>> _______________________________________________
>> discuss mailing list     discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list