Skip to content

pplab/openmpi-inc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

OpenMPI-INC

An OpenMPI mod based on 4.0.5.

This mod support In Network Computing (INC) for Huawei CloudEngine 8800 (w/ FPGA).

Developed by Super Computing Center (SCC) in USTC.

INSTALL

The INC module is precompiled as a static library in INClib/lib and the interface header files are in INClib/include.

The library is compiled by gcc 10.2.0 on an aarch64 platform. It's recommanded to use the same compiler to install openmpi.

At the configure step, add CFLAGS=-I INClib/include and LIBS=-L INClib/lib -linc to the option, and then compile openmpi as usual.

USAGE

Set the enviorment variables to run the mpi program:

export OMPI_MCA_pml=ucx
export OMPI_MCA_btl=^vader,tcp,openib,uct
export UCX_NET_DEVICES=mlx5_0:1

Run mpi program with these parameters:

--bind-to core --rank-by core -x UCX_LOG_LEVEL=error -x UCX_TLS=sm,rc --mca coll_tuned_use_dynamic_rules 1 --mca coll_tuned_allreduce_algorithm 1 osu_allreduce

For examples:

mpirun -n 9 --hostfile hostfile --bind-to core --rank-by core -x UCX_LOG_LEVEL=error -x UCX_TLS=sm,rc --mca coll_tuned_use_dynamic_rules 1 --mca coll_tuned_allreduce_algorithm 1 osu_allreduce ./a.out

NOTE

The program is developped by Dr. CAI Wenjie and LI Jiaqun, supervised by Prof. LI Jing and Dr. SHEN Yu.

About

Openmpi with In Network Computing (INC) support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published