[Mvapich-discuss] OMB v7.1 - Build fails due to pointer-related issues in osu_util_mpi.c
Kandes, Martin
mkandes at sdsc.edu
Sat Jun 17 18:34:57 EDT 2023
Hi all,
Has anyone run into this build issue yet [1}? If not, I can post more details. No issue backing off to OMB v6.2.
Marty
[1]
...
config.status: executing libtool commands
Making all in c
make[1]: Entering directory '/tmp/osu-micro-benchmarks-7.1/c'
Making all in mpi
make[2]: Entering directory '/tmp/osu-micro-benchmarks-7.1/c/mpi'
Making all in pt2pt
make[3]: Entering directory '/tmp/osu-micro-benchmarks-7.1/c/mpi/pt2pt'
Making all in standard
make[4]: Entering directory '/tmp/osu-micro-benchmarks-7.1/c/mpi/pt2pt/standard'
depbase=`echo osu_bibw.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
mpicc -DPACKAGE_NAME=\"OSU-Micro-Benchmarks\" -DPACKAGE_TARNAME=\"osu-micro-benchmarks\" -DPACKAGE_VERSION=\"7.1\" -DPACKAGE_STRING=\"OSU-Micro-Benchmarks\ 7.1\" -DPACKAGE_BUGREPORT=\"mvapich-discuss at cse.ohio-state.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"osu-micro-benchmarks\" -DVERSION=\"7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 -DFIELD_WIDTH=18 -DFLOAT_PRECISION=2 -I. -I../../../../c/util -g -O2 -MT osu_bibw.o -MD -MP -MF $depbase.Tpo -c -o osu_bibw.o osu_bibw.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo ../../../util/osu_util.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
mpicc -DPACKAGE_NAME=\"OSU-Micro-Benchmarks\" -DPACKAGE_TARNAME=\"osu-micro-benchmarks\" -DPACKAGE_VERSION=\"7.1\" -DPACKAGE_STRING=\"OSU-Micro-Benchmarks\ 7.1\" -DPACKAGE_BUGREPORT=\"mvapich-discuss at cse.ohio-state.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"osu-micro-benchmarks\" -DVERSION=\"7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 -DFIELD_WIDTH=18 -DFLOAT_PRECISION=2 -I. -I../../../../c/util -g -O2 -MT ../../../util/osu_util.o -MD -MP -MF $depbase.Tpo -c -o ../../../util/osu_util.o ../../../util/osu_util.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo ../../../util/osu_util_mpi.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
mpicc -DPACKAGE_NAME=\"OSU-Micro-Benchmarks\" -DPACKAGE_TARNAME=\"osu-micro-benchmarks\" -DPACKAGE_VERSION=\"7.1\" -DPACKAGE_STRING=\"OSU-Micro-Benchmarks\ 7.1\" -DPACKAGE_BUGREPORT=\"mvapich-discuss at cse.ohio-state.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"osu-micro-benchmarks\" -DVERSION=\"7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 -DFIELD_WIDTH=18 -DFLOAT_PRECISION=2 -I. -I../../../../c/util -g -O2 -MT ../../../util/osu_util_mpi.o -MD -MP -MF $depbase.Tpo -c -o ../../../util/osu_util_mpi.o ../../../util/osu_util_mpi.c &&\
mv -f $depbase.Tpo $depbase.Po
../../../util/osu_util_mpi.c: In function 'omb_assign_to_type':
../../../util/osu_util_mpi.c:1411:13: error: switch quantity not an integer
1411 | switch (dtype) {
| ^~~~~
../../../util/osu_util_mpi.c:1412:9: error: pointers are not permitted as case values
1412 | case MPI_CHAR:
| ^~~~
../../../util/osu_util_mpi.c:1416:9: error: pointers are not permitted as case values
1416 | case MPI_INT:
| ^~~~
../../../util/osu_util_mpi.c:1419:9: error: pointers are not permitted as case values
1419 | case MPI_FLOAT:
| ^~~~
../../../util/osu_util_mpi.c: In function 'omb_get_num_elements':
../../../util/osu_util_mpi.c:1430:13: error: switch quantity not an integer
1430 | switch (dtype) {
| ^~~~~
../../../util/osu_util_mpi.c:1431:9: error: pointers are not permitted as case values
1431 | case MPI_CHAR:
| ^~~~
../../../util/osu_util_mpi.c:1434:9: error: pointers are not permitted as case values
1434 | case MPI_FLOAT:
| ^~~~
../../../util/osu_util_mpi.c:1437:9: error: pointers are not permitted as case values
1437 | case MPI_INT:
| ^~~~
../../../util/osu_util_mpi.c: In function 'omb_validate_neighbour_col':
../../../util/osu_util_mpi.c:1970:21: error: switch quantity not an integer
1970 | switch (dtype) {
| ^~~~~
../../../util/osu_util_mpi.c:1971:17: error: pointers are not permitted as case values
1971 | case MPI_CHAR:
| ^~~~
../../../util/osu_util_mpi.c:1980:17: error: pointers are not permitted as case values
1980 | case MPI_INT:
| ^~~~
../../../util/osu_util_mpi.c:1988:17: error: pointers are not permitted as case values
1988 | case MPI_FLOAT:
| ^~~~
../../../util/osu_util_mpi.c: In function 'validate_reduce_scatter':
../../../util/osu_util_mpi.c:2039:17: error: switch quantity not an integer
2039 | switch (dtype) {
| ^~~~~
../../../util/osu_util_mpi.c:2040:13: error: pointers are not permitted as case values
2040 | case MPI_CHAR:
| ^~~~
../../../util/osu_util_mpi.c:2046:13: error: pointers are not permitted as case values
2046 | case MPI_INT:
| ^~~~
../../../util/osu_util_mpi.c:2052:13: error: pointers are not permitted as case values
2052 | case MPI_FLOAT:
| ^~~~
make[4]: *** [Makefile:582: ../../../util/osu_util_mpi.o] Error 1
make[4]: Leaving directory '/tmp/osu-micro-benchmarks-7.1/c/mpi/pt2pt/standard'
make[3]: *** [Makefile:353: all-recursive] Error 1
make[3]: Leaving directory '/tmp/osu-micro-benchmarks-7.1/c/mpi/pt2pt'
make[2]: *** [Makefile:354: all-recursive] Error 1
make[2]: Leaving directory '/tmp/osu-micro-benchmarks-7.1/c/mpi'
make[1]: *** [Makefile:428: all-recursive] Error 1
make[1]: Leaving directory '/tmp/osu-micro-benchmarks-7.1/c'
make: *** [Makefile:382: all-recursive] Error 1
Making install in c
make[1]: Entering directory '/tmp/osu-micro-benchmarks-7.1/c'
Making install in mpi
make[2]: Entering directory '/tmp/osu-micro-benchmarks-7.1/c/mpi'
Making install in pt2pt
make[3]: Entering directory '/tmp/osu-micro-benchmarks-7.1/c/mpi/pt2pt'
Making install in standard
make[4]: Entering directory '/tmp/osu-micro-benchmarks-7.1/c/mpi/pt2pt/standard'
depbase=`echo ../../../util/osu_util_mpi.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
mpicc -DPACKAGE_NAME=\"OSU-Micro-Benchmarks\" -DPACKAGE_TARNAME=\"osu-micro-benchmarks\" -DPACKAGE_VERSION=\"7.1\" -DPACKAGE_STRING=\"OSU-Micro-Benchmarks\ 7.1\" -DPACKAGE_BUGREPORT=\"mvapich-discuss at cse.ohio-state.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"osu-micro-benchmarks\" -DVERSION=\"7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 -DFIELD_WIDTH=18 -DFLOAT_PRECISION=2 -I. -I../../../../c/util -g -O2 -MT ../../../util/osu_util_mpi.o -MD -MP -MF $depbase.Tpo -c -o ../../../util/osu_util_mpi.o ../../../util/osu_util_mpi.c &&\
mv -f $depbase.Tpo $depbase.Po
../../../util/osu_util_mpi.c: In function 'omb_assign_to_type':
../../../util/osu_util_mpi.c:1411:13: error: switch quantity not an integer
1411 | switch (dtype) {
| ^~~~~
../../../util/osu_util_mpi.c:1412:9: error: pointers are not permitted as case values
1412 | case MPI_CHAR:
| ^~~~
../../../util/osu_util_mpi.c:1416:9: error: pointers are not permitted as case values
1416 | case MPI_INT:
| ^~~~
../../../util/osu_util_mpi.c:1419:9: error: pointers are not permitted as case values
1419 | case MPI_FLOAT:
| ^~~~
../../../util/osu_util_mpi.c: In function 'omb_get_num_elements':
../../../util/osu_util_mpi.c:1430:13: error: switch quantity not an integer
1430 | switch (dtype) {
| ^~~~~
../../../util/osu_util_mpi.c:1431:9: error: pointers are not permitted as case values
1431 | case MPI_CHAR:
| ^~~~
../../../util/osu_util_mpi.c:1434:9: error: pointers are not permitted as case values
1434 | case MPI_FLOAT:
| ^~~~
../../../util/osu_util_mpi.c:1437:9: error: pointers are not permitted as case values
1437 | case MPI_INT:
| ^~~~
../../../util/osu_util_mpi.c: In function 'omb_validate_neighbour_col':
../../../util/osu_util_mpi.c:1970:21: error: switch quantity not an integer
1970 | switch (dtype) {
| ^~~~~
../../../util/osu_util_mpi.c:1971:17: error: pointers are not permitted as case values
1971 | case MPI_CHAR:
| ^~~~
../../../util/osu_util_mpi.c:1980:17: error: pointers are not permitted as case values
1980 | case MPI_INT:
| ^~~~
../../../util/osu_util_mpi.c:1988:17: error: pointers are not permitted as case values
1988 | case MPI_FLOAT:
| ^~~~
../../../util/osu_util_mpi.c: In function 'validate_reduce_scatter':
../../../util/osu_util_mpi.c:2039:17: error: switch quantity not an integer
2039 | switch (dtype) {
| ^~~~~
../../../util/osu_util_mpi.c:2040:13: error: pointers are not permitted as case values
2040 | case MPI_CHAR:
| ^~~~
../../../util/osu_util_mpi.c:2046:13: error: pointers are not permitted as case values
2046 | case MPI_INT:
| ^~~~
../../../util/osu_util_mpi.c:2052:13: error: pointers are not permitted as case values
2052 | case MPI_FLOAT:
| ^~~~
make[4]: *** [Makefile:582: ../../../util/osu_util_mpi.o] Error 1
make[4]: Leaving directory '/tmp/osu-micro-benchmarks-7.1/c/mpi/pt2pt/standard'
make[3]: *** [Makefile:353: install-recursive] Error 1
make[3]: Leaving directory '/tmp/osu-micro-benchmarks-7.1/c/mpi/pt2pt'
make[2]: *** [Makefile:354: install-recursive] Error 1
make[2]: Leaving directory '/tmp/osu-micro-benchmarks-7.1/c/mpi'
make[1]: *** [Makefile:428: install-recursive] Error 1
make[1]: Leaving directory '/tmp/osu-micro-benchmarks-7.1/c'
make: *** [Makefile:382: install-recursive] Error 1
/.post.script: line 50: cd: /opt/omb/7.1: No such file or directory
mv: cannot stat 'libexec/osu-micro-benchmarks/mpi/collective': No such file or directory
mv: cannot stat 'libexec/osu-micro-benchmarks/mpi/one-sided': No such file or directory
mv: cannot stat 'libexec/osu-micro-benchmarks/mpi/pt2pt': No such file or directory
mv: cannot stat 'libexec/osu-micro-benchmarks/mpi/startup': No such file or directory
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
INFO: Adding labels
INFO: Adding environment to container
INFO: Adding runscript
INFO: Creating SIF file...
INFO: Build complete: omb-7.1-ubuntu-22.04-openmpi-4.1.3.sif
ubuntu at mkandes-container-builder:~/naked-singularity/definition-files/omb$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/mvapich-discuss/attachments/20230617/6a349d5b/attachment-0004.html>
More information about the Mvapich-discuss
mailing list