Discussion:
[OMPI users] redeclared identifier for openmpi-v2.0.1-130-gb3a367d witj Sun C on Linux
Siegmar Gross
2016-10-27 10:45:21 UTC
Permalink
Hi,

I tried to install openmpi-v2.0.1-130-gb3a367d on my "SUSE Linux
Enterprise Server 12.1 (x86_64)" with Sun C 5.14 beta. Unfortunately,
I get the following error. I was able to build it with gcc-6.2.0.


loki openmpi-v2.0.1-130-gb3a367d-Linux.x86_64.64_cc 124 tail -18
log.make.Linux.x86_64.64_cc
CC cxx_glue.lo
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h",
line 159: warning: parameter in inline asm statement unused: %3
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h",
line 205: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h",
line 226: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h",
line 247: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h",
line 268: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-v2.0.1-130-gb3a367d/ompi/mpi/cxx/cxx_glue.h", line 50:
identifier redeclared: ompi_errhandler_cxx_dispatch_fn_t
current : function(pointer to void, pointer to int, pointer to const char,
pointer to function(..) returning void) returning void
previous: function(pointer to void, pointer to int, pointer to const char,
pointer to function(..) returning void) returning void :
"../../../../openmpi-v2.0.1-130-gb3a367d/ompi/errhandler/errhandler.h", line 97
cc: acomp failed for
../../../../openmpi-v2.0.1-130-gb3a367d/ompi/mpi/cxx/cxx_glue.c
Makefile:1832: recipe for target 'cxx_glue.lo' failed
make[2]: *** [cxx_glue.lo] Error 1
make[2]: Leaving directory
'/export2/src/openmpi-2.0.2/openmpi-v2.0.1-130-gb3a367d-Linux.x86_64.64_cc/ompi/mpi/cxx'
Makefile:3325: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/export2/src/openmpi-2.0.2/openmpi-v2.0.1-130-gb3a367d-Linux.x86_64.64_cc/ompi'
Makefile:1801: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


I would be grateful, if somebody can fix the problem. Thank you
very much for any help in advance.


Kind regards

Siegmar
Gilles Gouaillardet
2016-10-27 11:35:42 UTC
Permalink
Siegmar,

The fix is in the pipe.
Meanwhile, you can download it at https://github.com/open-mpi/ompi/pull/2295.patch

Cheers,

Gilles
Post by Siegmar Gross
Hi,
I tried to install openmpi-v2.0.1-130-gb3a367d on my "SUSE Linux
Enterprise Server 12.1 (x86_64)" with Sun C 5.14 beta. Unfortunately,
I get the following error. I was able to build it with gcc-6.2.0.
loki openmpi-v2.0.1-130-gb3a367d-Linux.x86_64.64_cc 124 tail -18
log.make.Linux.x86_64.64_cc
CC cxx_glue.lo
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h",
line 159: warning: parameter in inline asm statement unused: %3
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h",
line 205: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h",
line 226: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h",
line 247: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h",
line 268: warning: parameter in inline asm statement unused: %2
identifier redeclared: ompi_errhandler_cxx_dispatch_fn_t
current : function(pointer to void, pointer to int, pointer to const char,
pointer to function(..) returning void) returning void
previous: function(pointer to void, pointer to int, pointer to const char,
"../../../../openmpi-v2.0.1-130-gb3a367d/ompi/errhandler/errhandler.h", line 97
cc: acomp failed for
../../../../openmpi-v2.0.1-130-gb3a367d/ompi/mpi/cxx/cxx_glue.c
Makefile:1832: recipe for target 'cxx_glue.lo' failed
make[2]: *** [cxx_glue.lo] Error 1
make[2]: Leaving directory
'/export2/src/openmpi-2.0.2/openmpi-v2.0.1-130-gb3a367d-Linux.x86_64.64_cc/ompi/mpi/cxx'
Makefile:3325: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/export2/src/openmpi-2.0.2/openmpi-v2.0.1-130-gb3a367d-Linux.x86_64.64_cc/ompi'
Makefile:1801: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
I would be grateful, if somebody can fix the problem. Thank you
very much for any help in advance.
Kind regards
Siegmar
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Jeff Squyres (jsquyres)
2016-10-27 14:54:11 UTC
Permalink
This fix for this was just merged (we had previously fixed it in the v2.x branch, but neglected to also put it on the v2.0.x branch) -- it should be in tonight's tarball:

https://github.com/open-mpi/ompi/pull/2295
Post by Siegmar Gross
Hi,
I tried to install openmpi-v2.0.1-130-gb3a367d on my "SUSE Linux
Enterprise Server 12.1 (x86_64)" with Sun C 5.14 beta. Unfortunately,
I get the following error. I was able to build it with gcc-6.2.0.
loki openmpi-v2.0.1-130-gb3a367d-Linux.x86_64.64_cc 124 tail -18 log.make.Linux.x86_64.64_cc
CC cxx_glue.lo
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h", line 159: warning: parameter in inline asm statement unused: %3
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h", line 205: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h", line 226: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h", line 247: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-v2.0.1-130-gb3a367d/opal/include/opal/sys/amd64/atomic.h", line 268: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-v2.0.1-130-gb3a367d/ompi/mpi/cxx/cxx_glue.h", line 50: identifier redeclared: ompi_errhandler_cxx_dispatch_fn_t
current : function(pointer to void, pointer to int, pointer to const char, pointer to function(..) returning void) returning void
previous: function(pointer to void, pointer to int, pointer to const char, pointer to function(..) returning void) returning void : "../../../../openmpi-v2.0.1-130-gb3a367d/ompi/errhandler/errhandler.h", line 97
cc: acomp failed for ../../../../openmpi-v2.0.1-130-gb3a367d/ompi/mpi/cxx/cxx_glue.c
Makefile:1832: recipe for target 'cxx_glue.lo' failed
make[2]: *** [cxx_glue.lo] Error 1
make[2]: Leaving directory '/export2/src/openmpi-2.0.2/openmpi-v2.0.1-130-gb3a367d-Linux.x86_64.64_cc/ompi/mpi/cxx'
Makefile:3325: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/export2/src/openmpi-2.0.2/openmpi-v2.0.1-130-gb3a367d-Linux.x86_64.64_cc/ompi'
Makefile:1801: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
I would be grateful, if somebody can fix the problem. Thank you
very much for any help in advance.
Kind regards
Siegmar
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
--
Jeff Squyres
***@cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Loading...