Re: [hwloc-users] unusual memory binding results

2019-01-25 Thread Biddiscombe, John A.
Dear List/Brice I experimented with disabling the memory touch on threads except for N=1,2,3,4 etc and found a problem in hwloc, which is that the function hwloc_get_area_memlocation was returning '0' when the status of the memory null move operation was -14 (#define EFAULT 14 /* Bad address

Re: [OMPI users] Open MPI installation problem

2019-01-25 Thread Serdar Hiçdurmaz
Hi folks, After installing OpenMPI, I executed these lines echo 'PATH=$HOME/openmpi/bin:$PATH' >> ~/.bashrc echo 'LD_LIBRARY_PATH=$HOME/openmpi/' >> ~/.bashrc source. bashrc and run a simple file by using mpirun np 1 helloworld The error message is helloworld: error while loading shared

Re: [OMPI users] Open MPI installation problem

2019-01-25 Thread Shrader, David Lee via users
The error about not finding shared libraries can be fixed by adding the proper path to LD_LIBRARY_PATH, which Ralph has already mentioned. If Open MPI is installed in $HOME/openmpi, LD_LIBRARY_PATH needs to be set like this: export LD_LIBRARY_PATH=$HOME/openmpi/lib:$LD_LIBRARY_PATH The mpi

Re: [OMPI users] Open MPI installation problem

2019-01-25 Thread gilles
Serdar, you need to export PATH and LD_LIBRARY_PATH in your .bashrc (e.g. export PATH=$HOME/openmpi/bin:$PATH) Also, make sure you built your application with Open MPI installed in $ HOME/openmpi Cheers, Gilles - Original Message - Hi folks, After installing OpenMPI,

[OMPI users] rmaps_base_oversubscribe Option in Open MPI 4.0

2019-01-25 Thread Benjamin Brock
I used to be able to (e.g. in Open MPI 3.1) put the line rmaps_base_oversubscribe = true in my `openmpi-mca-params.conf`, and this would enable oversubscription by default. In 4.0.0, it appears that this option doesn't work anymore, and I have to use `--oversubscribe`. Am I missing something,

Re: [hwloc-users] unusual memory binding results

2019-01-25 Thread Brice Goglin
Le 25/01/2019 à 14:17, Biddiscombe, John A. a écrit : > Dear List/Brice > > I experimented with disabling the memory touch on threads except for > N=1,2,3,4 etc and found a problem in hwloc, which is that the function > hwloc_get_area_memlocation was returning '0' when the status of the memory

Re: [hwloc-users] unusual memory binding results

2019-01-25 Thread Biddiscombe, John A.
> move_pages() returning 0 with -14 in the status array? As opposed to > move_pages() returning -1 with errno set to 14, which would definitely be a > bug in hwloc. I think it was move_pages returning zero with -14 in the status array, and then hwloc returning 0 with an empty nodeset (which I

Re: [OMPI users] Open MPI installation problem

2019-01-25 Thread Gilles Gouaillardet
Great point from David ! As a side note, you can configure --enable-mpirun-prefix-by-default ... && make install If you choose to do so, you will not have to set LD_LIBRARY_PATH since it will be "built in" the Open MPI binaries/libraries (via the -rpath linker option) Cheers, Gilles On Sat,