Re: [OMPI users] Moving an installation

2020-07-27 Thread Lana Deere via users
On Fri, Jul 24, 2020 at 2:00 PM Reuti  wrote:

> There is OPAL_PREFIX to be set:
> https://www.open-mpi.org/faq/?category=building#installdirs
>

Thanks.  I will experiment with the OPAL_PREFIX.

.. Lana (lana.de...@gmail.com)


Re: [OMPI users] Moving an installation

2020-07-24 Thread Reuti via users
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Am 24.07.2020 um 18:55 schrieb Lana Deere via users:

> I have open-mpi 4.0.4 installed on my desktop and my small test programs are 
> working.
> 
> I would like to migrate the open-mpi to a cluster and run a larger program 
> there.  When moved, the open-mpi installation is in a different pathname than 
> it was on my desktop and it doesn't seem to work any longer.  I can make the 
> libraries visible via LD_LIBRARY_PATH but this seems insufficient.  Is there 
> an environment variable which can be used to tell the open-mpi where it is 
> installed?

There is OPAL_PREFIX to be set:

https://www.open-mpi.org/faq/?category=building#installdirs

- -- Reuti
-BEGIN PGP SIGNATURE-
Comment: GPGTools - https://gpgtools.org

iEYEARECAAYFAl8bIa0ACgkQo/GbGkBRnRrGywCgj5PHSKdMRwSx3jVB4en+wbmV
yG8AniYxICQCHrAsxg/Mbx59YpC9ElvW
=y8nX
-END PGP SIGNATURE-


Re: [OMPI users] Moving an installation

2020-07-24 Thread Steven Varga via users
Hi
Currently i am approaching a similar problem/workflow with spack and an AWS
S3 shared storage. Mounting the storage from a laptop gives you same layout
as on each node of my AWC EC2 cluster.

As others mentioned before: you still have to recompile your work, to take
advantage of the XEON class cpu-s.

This should not be a problem as SLURM can distribute your appilication;
however on a proper cluster you already have a parallel filesystem running
so all nodes can run the mpi application.

Steve

On Fri., Jul. 24, 2020, 13:00 Lana Deere via users, <
users@lists.open-mpi.org> wrote:

> I have open-mpi 4.0.4 installed on my desktop and my small test programs
> are working.
>
> I would like to migrate the open-mpi to a cluster and run a larger program
> there.  When moved, the open-mpi installation is in a different pathname
> than it was on my desktop and it doesn't seem to work any longer.  I can
> make the libraries visible via LD_LIBRARY_PATH but this seems
> insufficient.  Is there an environment variable which can be used to tell
> the open-mpi where it is installed?
>
> Is it mandatory to actually compile the release in the ultimate
> destination on each system where it will be used?
>
> Thanks.
>
> .. Lana (lana.de...@gmail.com)
>
>
>


Re: [OMPI users] Moving an installation

2020-07-24 Thread Gus Correa via users
+1
In my experience moving software, especially something of the complexity of
(Open) MPI,
is much more troublesome (and often just useless frustration) and time
consuming than recompiling it.
Hardware, OS, kernel, libraries, etc, are unlikely to be compatible.
Gus Correa

On Fri, Jul 24, 2020 at 1:03 PM Ralph Castain via users <
users@lists.open-mpi.org> wrote:

> While possible, it is highly unlikely that your desktop version is going
> to be binary compatible with your cluster...
>
> On Jul 24, 2020, at 9:55 AM, Lana Deere via users <
> users@lists.open-mpi.org> wrote:
>
> I have open-mpi 4.0.4 installed on my desktop and my small test programs
> are working.
>
> I would like to migrate the open-mpi to a cluster and run a larger program
> there.  When moved, the open-mpi installation is in a different pathname
> than it was on my desktop and it doesn't seem to work any longer.  I can
> make the libraries visible via LD_LIBRARY_PATH but this seems
> insufficient.  Is there an environment variable which can be used to tell
> the open-mpi where it is installed?
>
> Is it mandatory to actually compile the release in the ultimate
> destination on each system where it will be used?
>
> Thanks.
>
> .. Lana (lana.de...@gmail.com)
>
>
>
>


Re: [OMPI users] Moving an installation

2020-07-24 Thread Benson Muite via users

On 7/24/20 7:55 PM, Lana Deere via users wrote:
I have open-mpi 4.0.4 installed on my desktop and my small test programs 
are working.


I would like to migrate the open-mpi to a cluster and run a larger 
program there.  When moved, the open-mpi installation is in a different 
pathname than it was on my desktop and it doesn't seem to work any 
longer.  I can make the libraries visible via LD_LIBRARY_PATH but this 
seems insufficient.  Is there an environment variable which can be used 
to tell the open-mpi where it is installed?


Is it mandatory to actually compile the release in the ultimate 
destination on each system where it will be used?


Thanks.

.. Lana (lana.de...@gmail.com )


You may want to install OpenMPI on the cluster directly if it is not 
already installed, or if you need a specific version - most versions 
should likely work ok unless your code uses something very new or that 
has been deprecated. This will then use the appropriate libraries. You 
will then likely want to compile your program again.


Re: [OMPI users] Moving an installation

2020-07-24 Thread Ralph Castain via users
While possible, it is highly unlikely that your desktop version is going to be 
binary compatible with your cluster...

On Jul 24, 2020, at 9:55 AM, Lana Deere via users mailto:users@lists.open-mpi.org> > wrote:

I have open-mpi 4.0.4 installed on my desktop and my small test programs are 
working.

I would like to migrate the open-mpi to a cluster and run a larger program 
there.  When moved, the open-mpi installation is in a different pathname than 
it was on my desktop and it doesn't seem to work any longer.  I can make the 
libraries visible via LD_LIBRARY_PATH but this seems insufficient.  Is there an 
environment variable which can be used to tell the open-mpi where it is 
installed?

Is it mandatory to actually compile the release in the ultimate destination on 
each system where it will be used?

Thanks.

.. Lana (lana.de...@gmail.com  )





[OMPI users] Moving an installation

2020-07-24 Thread Lana Deere via users
I have open-mpi 4.0.4 installed on my desktop and my small test programs
are working.

I would like to migrate the open-mpi to a cluster and run a larger program
there.  When moved, the open-mpi installation is in a different pathname
than it was on my desktop and it doesn't seem to work any longer.  I can
make the libraries visible via LD_LIBRARY_PATH but this seems
insufficient.  Is there an environment variable which can be used to tell
the open-mpi where it is installed?

Is it mandatory to actually compile the release in the ultimate destination
on each system where it will be used?

Thanks.

.. Lana (lana.de...@gmail.com)