Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to build with recent OpenMPI versions #2

Closed
lnussbaum opened this issue Jan 8, 2021 · 1 comment
Closed

fails to build with recent OpenMPI versions #2

lnussbaum opened this issue Jan 8, 2021 · 1 comment

Comments

@lnussbaum
Copy link

Hi,

HPCC fails to build with recent OpenMPI versions, due to the use of functions that were removed in recent versions of the MPI standard.

> mpicc -o ../../../src/comm/HPL_copyL.o -c ../../../src/comm/HPL_copyL.c  -DHPL_CALL_CBLAS -I../../../include -I../../../include/Debian   -fomit-frame-pointer -O3 -funroll-loops -W -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/hpl/lib/arch/build=. -fstack-protector-strong -Wformat -Werror=format-security
> In file included from ../../../include/hpl_pmisc.h:54,
>                  from ../../../include/hpl.h:80,
>                  from ../../../src/comm/HPL_packL.c:50:
> ../../../src/comm/HPL_packL.c: In function ‘HPL_packL’:
> /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:322:57: error: expected expression before ‘_Static_assert’
>   322 | #define THIS_SYMBOL_WAS_REMOVED_IN_MPI30(func, newfunc) _Static_assert(0, #func " was removed in MPI-3.0.  Use " #newfunc " instead.")
>       |                                                         ^~~~~~~~~~~~~~
> /usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:2842:27: note: in expansion of macro ‘THIS_SYMBOL_WAS_REMOVED_IN_MPI30’
>  2842 | #define MPI_Address(...)  THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_Address, MPI_Get_address)
>       |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../../src/comm/HPL_packL.c:172:22: note: in expansion of macro ‘MPI_Address’
>   172 |             ierr =   MPI_Address( bufs[nbufs], &disp[nbufs] );
>       |                      ^~~~~~~~~~~

The corresponding Debian bug is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952067

@luszczek
Copy link
Contributor

Fixed by PR #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants