[OMPI users] relocating an installation

2019-04-09 Thread Dave Love
Is it possible to use the environment or mpirun flags to run an OMPI that's been relocated from where it was configured/installed? (Say you've unpacked a system package that expects to be under /usr and want to run it from home without containers etc.) I thought that was possible, but I haven't f

Re: [OMPI users] relocating an installation

2019-04-09 Thread Reuti
Hi, > Am 09.04.2019 um 13:31 schrieb Dave Love : > > Is it possible to use the environment or mpirun flags to run an OMPI > that's been relocated from where it was configured/installed? (Say > you've unpacked a system package that expects to be under /usr and want > to run it from home without c

Re: [OMPI users] relocating an installation

2019-04-09 Thread Dave Love
Reuti writes: > export OPAL_PREFIX= > > to point it to the new location of installation before you start `mpiexec`. Thanks; that's now familiar, and I don't know how I missed it with strings. It should be documented. I'd have expected --prefix to have the same effect, and for there to be an MC

Re: [OMPI users] relocating an installation

2019-04-09 Thread Gilles Gouaillardet
Dave, Can you please post the configure command line of the Open MPI you are trying to relocate ? Cheers, Gilles Dave Love wrote: >Reuti writes: > >> export OPAL_PREFIX= >> >> to point it to the new location of installation before you start `mpiexec`. > >Thanks; that's now familiar, and I d

Re: [OMPI users] relocating an installation

2019-04-09 Thread Reuti
> Am 09.04.2019 um 14:52 schrieb Dave Love : > > Reuti writes: > >> export OPAL_PREFIX= >> >> to point it to the new location of installation before you start `mpiexec`. > > Thanks; that's now familiar, and I don't know how I missed it with > strings. > > It should be documented. There is

Re: [OMPI users] Error when Building an MPI Java program

2019-04-09 Thread Jeff Squyres (jsquyres) via users
Can you provide a small, standalone example + recipe to show the problem? > On Apr 8, 2019, at 6:45 AM, Benson Muite wrote: > > Hi > > Am trying to build an MPI Java program using OpenMPI 4.0.1: > > I get the following error: > > Compilation failure > /MY_DIRECTORY/ping-pong-mpi-tcp/src/mai

Re: [OMPI users] relocating an installation

2019-04-09 Thread Jeff Squyres (jsquyres) via users
Reuti's right. Sorry about the potentially misleading use of "--prefix" -- we basically inherited that CLI option from a different MPI implementation (i.e., people asked for it). So we were locked into that meaning for the "--prefix" CLI options. > On Apr 9, 2019, at 9:14 AM, Reuti wrote: