Thank you very much, Gilles. Declaring globals as static indeed fixed it,
even without initialization (some are complicated structures, so
initializing at declaration is not easy.)

Best regards
Durga

1% of the executables have 99% of CPU privilege!
Userspace code! Unite!! Occupy the kernel!!!

On Tue, Apr 19, 2016 at 10:58 PM, Gilles Gouaillardet <gil...@rist.or.jp>
wrote:

> This is just a warning.
>
> there are some potential issues with uninitialized common symbols, but i
> cannot remember the details.
>
> bottom line, they should be avoided :
> - declare global variables as static if the scope is only one source file
> - always initialize global variables
>
> Cheers,
>
> Gilles
>
>
> On 4/20/2016 11:48 AM, dpchoudh . wrote:
>
> Hello all
>
> While doing a 'make install' with some additional code written by me, I
> get the following message:
> WARNING!  Common symbols found:
> Doing a search on previous mails, I found the following thread that is
> pertinent:
> https://www.open-mpi.org/community/lists/devel/2015/04/17220.php
>
> However, I could not find out exactly what this warning/error is trying to
> tell me: is there a multiple definition of a global symbol? (that should be
> an error, not a warning, right?)
>
> Thanks in advance
> Durga
>
> 1% of the executables have 99% of CPU privilege!
> Userspace code! Unite!! Occupy the kernel!!!
>
>
> _______________________________________________
> users mailing listus...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2016/04/28974.php
>
>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2016/04/28975.php
>

Reply via email to