Re: [OMPI users] Newbie Question.

2021-11-01 Thread Jeff Squyres (jsquyres) via users
Gilles' question is correct; the larger point to make here: the openib BTL is 
obsolete and is actively replaced by the UCX PML.  UCX is supported by the 
vendor (NVIDIA); openib is not.

If you're just starting a new project, I would strongly advocate using UCX 
instead of openib.



On Nov 1, 2021, at 8:26 AM, Gilles Gouaillardet via users 
mailto:users@lists.open-mpi.org>> wrote:

Hi Ben,

have you tried

export OMPI_MCA_common_ucx_opal_mem_hooks=1

Cheers,

Gilles

On Mon, Nov 1, 2021 at 9:22 PM bend linux4ms.net via 
users mailto:users@lists.open-mpi.org>> wrote:
Ok, I a am newbie supporting the a HPC project and learning about MPI.

I have the following portion of a shells script:

export OMPI_MCA_btl_openib_allow_ib=1
export OMPI_MCA_btl_openib_if_include="mlx5_0:1"

mpirun -machinefile ${hostlist} \
  --mca opal_common_ucx_opal_mem_hooks 1 \
  -np $NP \
  -N $rpn \
  -vv \

My question is there a way to take the '-mca opal_common_ucx_opal_mem_hooks 1 ' 
and make
it into a environment variable like the others ?

Thanks

Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor




--
Jeff Squyres
jsquy...@cisco.com





Re: [OMPI users] Newbie Question.

2021-11-01 Thread Gilles Gouaillardet via users
Hi Ben,

have you tried

export OMPI_MCA_common_ucx_opal_mem_hooks=1

Cheers,

Gilles

On Mon, Nov 1, 2021 at 9:22 PM bend linux4ms.net via users <
users@lists.open-mpi.org> wrote:

> Ok, I a am newbie supporting the a HPC project and learning about MPI.
>
> I have the following portion of a shells script:
>
> export OMPI_MCA_btl_openib_allow_ib=1
> export OMPI_MCA_btl_openib_if_include="mlx5_0:1"
>
> mpirun -machinefile ${hostlist} \
>   --mca opal_common_ucx_opal_mem_hooks 1 \
>   -np $NP \
>   -N $rpn \
>   -vv \
>
> My question is there a way to take the '-mca
> opal_common_ucx_opal_mem_hooks 1 ' and make
> it into a environment variable like the others ?
>
> Thanks
>
> Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS,
> 39212
> "Never attribute to malice, that which can be adequately explained by
> stupidity"
> - Hanlon's Razor
>
>
>


[OMPI users] Newbie Question.

2021-11-01 Thread bend linux4ms.net via users
Ok, I a am newbie supporting the a HPC project and learning about MPI.

I have the following portion of a shells script:

export OMPI_MCA_btl_openib_allow_ib=1
export OMPI_MCA_btl_openib_if_include="mlx5_0:1"

mpirun -machinefile ${hostlist} \
  --mca opal_common_ucx_opal_mem_hooks 1 \
  -np $NP \
  -N $rpn \
  -vv \

My question is there a way to take the '-mca opal_common_ucx_opal_mem_hooks 1 ' 
and make
it into a environment variable like the others ?

Thanks

Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor