Created attachment 573960 [details] build.log.xz Hi. Building openmpi-4.0.1 on my machine results in the following error: * Header files have changed between ABIs. * --- /var/tmp/portage/sys-cluster/openmpi-4.0.1/temp/.multilib_header_cksum 2019-04-24 14:53:53.306693151 +0200 * +++ /var/tmp/portage/sys-cluster/openmpi-4.0.1/temp/.multilib_header_cksum.new 2019-04-24 14:54:35.620958267 +0200 * @@ -24,7 +24,7 @@ * 3178862774 4923 /var/tmp/portage/sys-cluster/openmpi-4.0.1/image/usr/include/openmpi/ompi/mpi/cxx/functions_inln.h * 3626854394 5101 /var/tmp/portage/sys-cluster/openmpi-4.0.1/image/usr/include/openmpi/ompi/mpi/cxx/topology_inln.h * 2015540287 5156 /var/tmp/portage/sys-cluster/openmpi-4.0.1/image/usr/include/openmpi/ompi/mpi/cxx/intracomm.h * -4004980956 575 /var/tmp/portage/sys-cluster/openmpi-4.0.1/image/usr/include/openmpi/mpiext/mpiext_cuda_c.h * +2315801159 575 /var/tmp/portage/sys-cluster/openmpi-4.0.1/image/usr/include/openmpi/mpiext/mpiext_cuda_c.h * 2247402274 597 /var/tmp/portage/sys-cluster/openmpi-4.0.1/image/usr/include/mpi-ext.h * 35712708 6242 /var/tmp/portage/sys-cluster/openmpi-4.0.1/image/usr/include/openmpi/ompi/mpi/cxx/request.h * 3043828648 6550 /var/tmp/portage/sys-cluster/openmpi-4.0.1/image/usr/include/openmpi/ompi/mpi/cxx/intracomm_inln.h
emerge --info sys-cluster/openmpi please.
Created attachment 573968 [details] emerge-info.txt
Same here, confirming. USE="-abi_x86_32" seems to work (drags a bunch of dependencies to USE the same as well) as a temp solution. openmpi-3.1.3 manages to emerge with both ABI's (which I believe would be the ultimate solution.
Adding "sys-cluster/openmpi -cuda" to package.use resolves the issue as well.
got the same error
Same problem here. setting use flags -cuda and/or -abi_x86_32 are just workarounds. The second causes a bunch of dependencies to rebuild where more of them are needed with +abi_x86_32.
I couldn't figure out what that column of data/signatures are. the size seems consistent. I know it's not a good work around, but I edited ${port_tmp_dir}/temp/environment. line 3393 on my system. some die statements taken from an eclass. if you modify the eclass... it will have no effect over the already temporary thing you are ebuilding. btw... ebuilding things is not emerging things. i didin't realize what the "environment" file does so much... and am quite sure I still dont know all that it does, but, cutting out "die" statements is not that hard to track. and the package actually emerges and there is no breakage that I can report.
I'm having the same issue with 4.0.3, if USE=cuda is in effect. A diff between the abi_x86_32 and abi_x86_64 builds gives --- /var/tmp/portage/sys-cluster/openmpi-4.0.3/work/openmpi-4.0.3-abi_x86_32.x86/ompi/mpiext/cuda/c/mpiext_cuda_c.h 2020-06-11 17:17:56.685014559 +0200 +++ /var/tmp/portage/sys-cluster/openmpi-4.0.3/work/openmpi-4.0.3-abi_x86_64.amd64/ompi/mpiext/cuda/c/mpiext_cuda_c.h 2020-06-11 17:22:09.870642400 +0200 @@ -13,5 +13,5 @@ * */ -#define MPIX_CUDA_AWARE_SUPPORT 0 +#define MPIX_CUDA_AWARE_SUPPORT 1 OMPI_DECLSPEC int MPIX_Query_cuda_support(void); Maybe it can be solved by adding a MULTILIB_WRAPPED_HEADER for this include file whenever USE=cuda is active?
Same problem with both 4.0.3 and 4.0.4 versions... Iade
still no recommendation on what package to recompile ?? i had lots of those errors, when switching profile last week. this is the only one left. i had to recompile depending packages, so which is the depending package to fix this error ? any suggestions ?
(In reply to Markus Giese from comment #10) > still no recommendation on what package to recompile ?? I doubt this is easily be done by recompiling another package. It happens when you have USE=cuda active, omitting the cuda USE flag let's the package build. What I just noticed, nvidia-cuda-toolkit only has native ABI, but no multilib support. This could be the reason why the hack from comment #7 is working.
Appending /usr/include/openmpi/mpiext/mpiext_cuda_c.h to MULTILIB_WRAPPED_HEADERS looks to work for me
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e6df3a3171354dd3d67c0168bc2ab1fd1419ff commit a2e6df3a3171354dd3d67c0168bc2ab1fd1419ff Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2021-08-25 09:44:27 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2021-08-25 10:16:20 +0000 sys-cluster/openmpi: Add mpiext_cuda_c.h to MULTILIB_WRAPPED_HEADERS Closes: https://bugs.gentoo.org/684266 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho@gentoo.org> sys-cluster/openmpi/openmpi-4.0.5-r1.ebuild | 1 + 1 file changed, 1 insertion(+)