[mpich-discuss] mpich2-1.3.2p1 compile error

Pavan Balaji balaji at mcs.anl.gov
Wed May 4 14:35:02 CDT 2011


FYI, please do not recommend using PLPA to users -- PLPA is deprecated 
in 1.4.x and will be removed in a later version.

If hwloc is having a build issue, it needs to be reported to the hwloc 
developers.

  -- Pavan

On 05/04/2011 02:33 PM, Anthony Chan wrote:
>
> The -fvisibility=hidden is just a warning.  The problem seems to be pgcc does
> not like certain construct in topology.c.  I think you could either follow what
> Dave said : Try configuring with the following argument:
>
> "--without-hydra-bindlib" or possibly "--with-hydra-bindlib=plpa"
>
> or use another C compiler to compile 1.3.2p1.  If you want to use
> gcc/g++/pgf77/pgf90 to compile mpich2, you probably need something
> newer than mpich2 1.4rc2, see
> http://trac.mcs.anl.gov/projects/mpich2/ticket/1476
>
> A.Chan
>
> ----- Original Message -----
>> Anthony,
>>
>> The config.log attached.
>>
>>
>>
>> Wei Huang
>> huangwei at ucar.edu
>> VETS/CISL
>> National Center for Atmospheric Research
>> P.O. Box 3000 (1850 Table Mesa Dr.)
>> Boulder, CO 80307-3000 USA
>> (303) 497-8924
>>
>>
>>
>>
>>
>> On May 4, 2011, at 11:29 AM, Anthony Chan wrote:
>>
>>>
>>> Your configure output shows that hwloc added -fvisibility=hidden to
>>> CFLAGS
>>> and that causes the make failure. Could you send us this file
>>>
>>> src/pm/hydra/tools/bind/hwloc/hwloc/config.log
>>>
>>> in your build directory ?
>>>
>>> A.Chan
>>>
>>> ----- Original Message -----
>>>> Anthony,
>>>>
>>>> Probably line:
>>>> PATH: /neem2/huangwei/apps/mpich2-1.4rc2/bin
>>>> caused the confusion, but it is the log file for 1.3.2p1.
>>>> (As I tried 1.4rc2 before and put that line into my path.)
>>>>
>>>> Attached are two files of the configure and make output
>>>> (saved to files).
>>>>
>>>> Thanks,
>>>>
>>>> Wei Huang
>>>> huangwei at ucar.edu
>>>> VETS/CISL
>>>> National Center for Atmospheric Research
>>>> P.O. Box 3000 (1850 Table Mesa Dr.)
>>>> Boulder, CO 80307-3000 USA
>>>> (303) 497-8924
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On May 4, 2011, at 10:43 AM, Anthony Chan wrote:
>>>>
>>>>>
>>>>> The config.log you sent is from mpich2-1.4rc2 not mpich2-1.3.2p1
>>>>> that you originally reported to have problem. Also pgcc does not
>>>>> seem
>>>>> to have option -fvisibility=hidden which AFAIK is a gcc option...
>>>>> Need your configure and make outputs to find out what's wrong.
>>>>>
>>>>> ----- Original Message -----
>>>>>> config.log which is generated automatically by configure isn't
>>>>>> what
>>>>>> I need yet. We need the configure and make outputs as shown
>>>>>> on your screen, see MPICH2's top-level README file for more
>>>>>> details.
>>>>>>
>>>>>> ----- Original Message -----
>>>>>>> Attached is the config.log.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Wei Huang
>>>>>>> huangwei at ucar.edu
>>>>>>> VETS/CISL
>>>>>>> National Center for Atmospheric Research
>>>>>>> P.O. Box 3000 (1850 Table Mesa Dr.)
>>>>>>> Boulder, CO 80307-3000 USA
>>>>>>> (303) 497-8924
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On May 4, 2011, at 9:40 AM, Anthony Chan wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Can you send us the configure and make outputs as stated in the
>>>>>>>> README ?
>>>>>>>>
>>>>>>>> A.Chan
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>>> Hi, there,
>>>>>>>>>
>>>>>>>>> I tried to compile mpich2-1.3.2p1, and configure with:
>>>>>>>>>
>>>>>>>>> setenv CC pgcc
>>>>>>>>> setenv FC pgf90
>>>>>>>>>
>>>>>>>>> ./configure \
>>>>>>>>> --prefix=/neem2/huangwei/apps/mpich2-1.3.2p1
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> When I compile, I go the error message below.
>>>>>>>>>
>>>>>>>>> How do I solve this issue?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> Wei
>>>>>>>>>
>>>>>>>>> huangwei at ucar.edu
>>>>>>>>> VETS/CISL
>>>>>>>>> National Center for Atmospheric Research
>>>>>>>>> P.O. Box 3000 (1850 Table Mesa Dr.)
>>>>>>>>> Boulder, CO 80307-3000 USA
>>>>>>>>> (303) 497-8924
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -----------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Making all in src
>>>>>>>>> make[5]: Entering directory
>>>>>>>>> `/neem2/huangwei/src/mpich2-1.3.2p1/src/pm/hydra/tools/bind/hwloc/hwloc/src'
>>>>>>>>> CC topology.lo
>>>>>>>>> pgcc-Warning-Unknown switch: -fvisibility=hidden
>>>>>>>>> pgcc-Warning-Unknown switch: -fvisibility=hidden
>>>>>>>>> PGC-S-0170-Designated initializers are not supported
>>>>>>>>> (topology.c:
>>>>>>>>> 497)
>>>>>>>>> PGC-S-0170-Designated initializers are not supported
>>>>>>>>> (topology.c:
>>>>>>>>> 509)
>>>>>>>>> PGC/x86-64 Linux/x86-64 6.2-5: compilation completed with
>>>>>>>>> severe
>>>>>>>>> errors
>>>>>>>>> make[5]: *** [topology.lo] Error 1
>>>>>>>>> make[5]: Leaving directory
>>>>>>>>> `/neem2/huangwei/src/mpich2-1.3.2p1/src/pm/hydra/tools/bind/hwloc/hwloc/src'
>>>>>>>>> make[4]: *** [all-recursive] Error 1
>>>>>>>>> make[4]: Leaving directory
>>>>>>>>> `/neem2/huangwei/src/mpich2-1.3.2p1/src/pm/hydra/tools/bind/hwloc/hwloc'
>>>>>>>>> make[3]: *** [all-recursive] Error 1
>>>>>>>>> make[3]: Leaving directory
>>>>>>>>> `/neem2/huangwei/src/mpich2-1.3.2p1/src/pm/hydra'
>>>>>>>>> make[2]: *** [all-redirect] Error 1
>>>>>>>>> make[2]: Leaving directory
>>>>>>>>> `/neem2/huangwei/src/mpich2-1.3.2p1/src/pm'
>>>>>>>>> make[1]: *** [all-redirect] Error 2
>>>>>>>>> make[1]: Leaving directory
>>>>>>>>> `/neem2/huangwei/src/mpich2-1.3.2p1/src'
>>>>>>>>> make: *** [all-redirect] Error 2
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------
>>>>>>>>> compiler info:
>>>>>>>>>
>>>>>>>>> neem>pgcc -V
>>>>>>>>>
>>>>>>>>> pgcc 6.2-5 64-bit target on x86-64 Linux
>>>>>>>>> Copyright 1989-2000, The Portland Group, Inc. All Rights
>>>>>>>>> Reserved.
>>>>>>>>> Copyright 2000-2006, STMicroelectronics, Inc. All Rights
>>>>>>>>> Reserved.
>>>>>>>>> neem>pgf90 -V
>>>>>>>>>
>>>>>>>>> pgf90 6.2-5 64-bit target on x86-64 Linux
>>>>>>>>> Copyright 1989-2000, The Portland Group, Inc. All Rights
>>>>>>>>> Reserved.
>>>>>>>>> Copyright 2000-2006, STMicroelectronics, Inc. All Rights
>>>>>>>>> Reserved.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> mpich-discuss mailing list
>>>>>>>>> mpich-discuss at mcs.anl.gov
>>>>>>>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>>>>>>> _______________________________________________
>>>>>>>> mpich-discuss mailing list
>>>>>>>> mpich-discuss at mcs.anl.gov
>>>>>>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list