Linux: Mellanox HPCX
Jump to navigation
Jump to search
Installing HPC-X
- Extract hpcx.tar
- update the shell variable of the location of hpc-x installation
cd hpcx
export HPCX_HOME=$PWD
Loading HPC-X Envirtonment from Bash
$ source $HPCX_HOME/hpcx-init.sh
$ hpcx_load
$ env | grep HPCX
$ mpirun -np 2 $HPCX_HOME_MPI_TESTS_DIR/examples/hello_usempi
$ oshrun -np 2 $HPCX_HOME_MPI_TESTS_DIR/examples/hello_oshmem
$ hpcx_unload