Re: [OMPI users] [version 2.1.5] invalid memory reference

2018-10-11 Thread Jeff Squyres (jsquyres) via users
Patrick -- You might want to update your HDF code to not use MPI_LB and MPI_UB -- these constants were deprecated in MPI-2.1 in 2009 (an equivalent function, MPI_TYPE_CREATE_RESIZED was added in MPI-2.0 in 1997), and were removed from the MPI-3.0 standard in 2012. Meaning: the death of these

Re: [OMPI users] issue compiling openmpi 3.2.1 with pmi and slurm

2018-10-11 Thread Ross, Daniel B. via users
$ ./configure --prefix=/usr/local/ --with-cuda --with-slurm --with-pmi=/usr/local/slurm/include/slurm --with- pmi-libdir=/usr/local/slurm/lib64 CPPFLAGS=-I/usr/local/slurm/include/slurm LDFLAGS=-L/usr/local/slurm/lib64 seemed to work just fine. Thanks for the assistance. From: Charles A

Re: [OMPI users] Cannot run MPI code on multiple cores with PBS

2018-10-11 Thread Jeff Squyres (jsquyres) via users
If you don't have ibv_devinfo installed on your compute nodes, then you likely don't have the verbs package installed at all on your compute nodes. That's why you're getting errors about not finding libibverbs.so. Specifically: - It sounds like Open MPI was able to find libibverbs.so when it

Re: [OMPI users] [version 2.1.5] invalid memory reference

2018-10-11 Thread Patrick Begou
Hi Jeff and George thanks for your answer. I find some time to work again on this problem dans I have downloaded OpenMPI 4.0.0rc4. It compiles without any problem but building the first dependance of my code (hdf5 1.8.12) with this version 4 fails: ../../src/H5Smpio.c:355:28: error: 'MPI_LB'

Re: [OMPI users] [version 2.1.5] invalid memory reference

2018-10-11 Thread Nathan Hjelm via users
Those features (MPI_LB/MPI_UB/MPI_Type_struct) were removed in MPI-3.0. It is fairly straightforward to update the code to be MPI-3.0 compliant. MPI_Type_struct -> MPI_Type_create_struct MPI_LB/MPI_UB -> MPI_Type_create_resized Example: types[0] = MPI_LB; disp[0] = my_lb; lens[0] = 1;

Re: [OMPI users] [version 2.1.5] invalid memory reference

2018-10-11 Thread Jeff Hammond
MPI_LB, MPI_UB and MPI_Type_struct have been deprecated since MPI-2 and were removed in MPI-3 ( https://www.mpi-forum.org/docs/mpi-3.1/mpi31-report/node34.htm). It is trivial to replace MPI_Type_struct with MPI_Type_create_struct. Replacing MPI_UB and MPI_LB with MPI_Type_create_resized but it