Skip to content

ompi 4.1.4 fails to compile in oshmem/mca/spml/ikrit/spml_ikrit.c:513:36: error: too few arguments to function ‘memheap_find_segnum’ #10453

Open
@torehl

Description

@torehl

What version of Open MPI are you using? (e.g., v3.0.5, v4.0.2, git branch name and hash, etc.)

openmpi-4.1.4.tar.bz2 from download page
92912e175fd1234368c8730c03f4996fe5942e7479bb1d10059405e7f2b3930d openmpi-4.1.4.tar.bz2

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

Currently Loaded Modulefiles:
 1) slurm/20.02.7                 6) hwloc/gcc/2.7.1            11) mpfr/gcc/4.1.0(default)  
 2) google/gdrive/2.1.0           7) golang/1.17.10             12) mpc/gcc/1.2.1(default)   
 3) numactl/gcc/2.0.14(default)   8) cmake/gcc/3.22.2(default)  13) gcc/11.2.0(default)      
 4) amd/rocm/5.1.1                9) ucx/1.12.1(default)        
 5) cuda11.6/toolkit/11.6.0      10) gmp/gcc/6.2.1(default)   

mkdir Build-x86_64 ; cd Build-x86_64; ../configure --prefix=/cm/shared/apps/openmpi/gcc/64/4.1.4 --with-pmi=/cm/shared/apps/slurm/20.02.7 --enable-mpi-cxx --enable-mpi-fortran=all --with-knem --enable-mpi --enable-mpi1-compatibility --with-xpmem=/cm/shared/apps/xpmem/2.6.5 --with-hwloc=/cm/shared/apps/hwloc/gcc/2.7.1 --with-libevent=/cm/shared/apps/libevent/2.1.12-stable --with-mxm=/opt/mellanox/mxm/ --with-cuda=/cm/shared/apps/cuda11.6/toolkit/11.6.0 --with-ucx=/cm/shared/apps/ucx/1.12.1 --with-ucc=/cm/shared/apps/ucc/1.0.0

Please describe the system on which you are running

  • Operating system/version: Ubuntu 18.04.6LTS
  • Computer hardware: Xeon SP 6130, Epyc +++
  • Network type: Mellanox HDR IB

Details of the problem

../../../../../oshmem/mca/spml/ikrit/spml_ikrit.c: In function ‘mca_spml_ikrit_register’:
../../../../../oshmem/mca/spml/ikrit/spml_ikrit.c:513:36: error: too few arguments to function ‘memheap_find_segnum’
  513 |                                    memheap_find_segnum(addr), my_rank, i);
      |                                    ^~~~~~~~~~~~~~~~~~~
In file included from ../../../../../oshmem/mca/spml/ikrit/spml_ikrit.h:36,
                 from ../../../../../oshmem/mca/spml/ikrit/spml_ikrit.c:28:
../../../../../oshmem/mca/memheap/base/base.h:179:19: note: declared here
  179 | static inline int memheap_find_segnum(void *va, int pe)
      |                   ^~~~~~~~~~~~~~~~~~~
Makefile:1890: recipe for target 'spml_ikrit.lo' failed
make[2]: *** [spml_ikrit.lo] Error 1
make[2]: Leaving directory '/global/D1/homes/torel/workspace/OpenMPI/openmpi-4.1.4/Build-x86_64/oshmem/mca/spml/ikrit'
Makefile:2593: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/global/D1/homes/torel/workspace/OpenMPI/openmpi-4.1.4/Build-x86_64/oshmem'
Makefile:1912: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

while memheap_find_segnum defined in base.h as static inline int memheap_find_segnum(void *va, int pe)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions