AC_LINK_IFELSE ( in config/opal_check_visibility.m4) test of conftest.c is
failing with following error. It seems, this also causing AC_LINK_IFELSE
failures at many other places after PMI check..
$gcc -std=gnu99 -o conftest -g -fvisibility=hidden -Werror
-I/hpc/home/USERS/devendar11/ompi-vendor/opal/mca/hwloc/hwloc191/hwloc/include
-I/hpc/home/USERS/devendar11/ompi-vendor/opal/mca/event/libevent2021/libevent
-I/hpc/home/USERS/devendar11/ompi-vendor/opal/mca/event/libevent2021/libevent/include
a1.c -lrt -lm -lutil -lm -lutil
a1.c:715:1: error: "WANT_PMI_SUPPORT" redefined
a1.c:712:1: error: this is the location of the previous definition
a1.c:716:1: error: "WANT_PMI2_SUPPORT" redefined
a1.c:713:1: error: this is the location of the previous definition
$echo $?
1
I think these PMI definitions coming from both OPAL_CHECK_CRAY_PMI and
OPAL_CHECK_PMI checks
-Devendar
-----Original Message-----
From: devel [mailto:[email protected]] On Behalf Of Jeff Squyres
(jsquyres)
Sent: Tuesday, September 30, 2014 10:38 AM
To: Open MPI Developers List
Subject: Re: [OMPI devel] --enable-visibility ( OPAL_C_HAVE_VISIBILITY)
behavior in trunk
Probably not.
Can you dig into why configure thinks your compiler doesn't have visibility
capabilities?
On Sep 29, 2014, at 7:36 PM, Devendar Bureddy <[email protected]> wrote:
> I see behavioral difference between 1.8.x and trunk for
> OPAL_C_HAVE_VISIBILITY definition on same build environment. is this
> expected?
>
> -Devendar
>
> -----Original Message-----
> From: devel [mailto:[email protected]] On Behalf Of Jeff
> Squyres (jsquyres)
> Sent: Monday, September 29, 2014 4:25 PM
> To: Open MPI Developers List
> Subject: Re: [OMPI devel] --enable-visibility (
> OPAL_C_HAVE_VISIBILITY) behavior in trunk
>
> I can't quite parse what you are saying -- do you have a specific question?
>
>
> On Sep 29, 2014, at 7:18 PM, Devendar Bureddy <[email protected]> wrote:
>
>> This is supposed to be enable by default. In trunk, I see that
>> OPAL_C_HAVE_VISIBILITY is defined to 0 by default. 1.8.x looks fine
>>
>> Configure : ./configure -prefix=$PWD/install
>> --enable-mpirun-prefix-by-default --disable-mpi-fortran --disable-vt
>> --enable-debug --enable-oshmem --with-pmi GCC : gcc version 4.4.7
>> 20120313 (Red Hat 4.4.7-3) (GCC)
>>
>> -Devendar
>> _______________________________________________
>> devel mailing list
>> [email protected]
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
>> Link to this post:
>> http://www.open-mpi.org/community/lists/devel/2014/09/15936.php
>
>
> --
> Jeff Squyres
> [email protected]
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
> _______________________________________________
> devel mailing list
> [email protected]
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post:
> http://www.open-mpi.org/community/lists/devel/2014/09/15937.php
> _______________________________________________
> devel mailing list
> [email protected]
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post:
> http://www.open-mpi.org/community/lists/devel/2014/09/15938.php
--
Jeff Squyres
[email protected]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/
_______________________________________________
devel mailing list
[email protected]
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
Link to this post:
http://www.open-mpi.org/community/lists/devel/2014/09/15949.php